Pull request #162 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from 7686bc774fb40174b3cad436c0db71a2f5a267b7+3870cf64a21da350ccd1352be90d06d1a491a75a (ab54c61e95a46ba3f3ab94323582493213ca5753) 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-ssh5379634757271458695.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13424484856937105762.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8147583540002178573.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10493318648750026329.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9255841005711895255.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh252603926653555657.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-2484 in /w/workspace/y_app-rfid-llrp-inventory_PR-162 [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-162 # 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/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3870cf64a21da350ccd1352be90d06d1a491a75a into PR head commit 7686bc774fb40174b3cad436c0db71a2f5a267b7 Merge succeeded, producing 7686bc774fb40174b3cad436c0db71a2f5a267b7 Checking out Revision 7686bc774fb40174b3cad436c0db71a2f5a267b7 (PR-162) > git config core.sparsecheckout # timeout=10 > git checkout -f 7686bc774fb40174b3cad436c0db71a2f5a267b7 # 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 3870cf64a21da350ccd1352be90d06d1a491a75a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7686bc774fb40174b3cad436c0db71a2f5a267b7 # timeout=10 Commit message: "refactor(snap): Update command and metadata sourcing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T17:00:11.234Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T17:00:11.429Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T17:00:11.534Z] ========================================================= [2023-03-16T17:00:11.535Z] EdgeX Global Pipelines Version Info [2023-03-16T17:00:11.535Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:00:12.279Z] ------------------- [2023-03-16T17:00:12.279Z] stable info: [2023-03-16T17:00:12.279Z] ------------------- [2023-03-16T17:00:12.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T17:00:12.279Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T17:00:12.279Z] Message: update stable to v1.0.245 [2023-03-16T17:00:13.667Z] ------------------- [2023-03-16T17:00:13.667Z] experimental info: [2023-03-16T17:00:13.667Z] ------------------- [2023-03-16T17:00:13.667Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T17:00:13.667Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T17:00:13.667Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T17:00:13.985Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-03-16T17:00:14.020Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-03-16T17:00:14.055Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T17:00:14.097Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T17:00:14.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T17:00:14.170Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T17:00:14.206Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T17:00:14.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T17:00:14.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T17:00:14.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T17:00:14.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T17:00:14.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-03-16T17:00:14.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T17:00:14.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T17:00:14.514Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T17:00:14.559Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T17:00:14.604Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T17:00:14.651Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T17:00:14.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T17:00:14.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T17:00:14.774Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-16T17:00:14.816Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-16T17:00:14.860Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T17:00:14.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T17:00:14.945Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T17:00:14.988Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T17:00:15.033Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T17:00:15.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo [2023-03-16T17:00:15.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo [2023-03-16T17:00:15.163Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo [2023-03-16T17:00:15.202Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7686bc774fb40174b3cad436c0db71a2f5a267b7 [Pipeline] echo [2023-03-16T17:00:15.246Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7686bc7 [Pipeline] echo [2023-03-16T17:00:15.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T17:00:15.407Z] provisioning config files... [2023-03-16T17:00:15.423Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/config3099013080663415104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:00:15.780Z] ---> docker-login.sh [2023-03-16T17:00:15.780Z] nexus3.edgexfoundry.org:10001 [2023-03-16T17:00:16.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:16.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:16.300Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:16.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:16.300Z] [2023-03-16T17:00:16.300Z] Login Succeeded [2023-03-16T17:00:16.300Z] nexus3.edgexfoundry.org:10002 [2023-03-16T17:00:16.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:16.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:16.300Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:16.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:16.300Z] [2023-03-16T17:00:16.300Z] Login Succeeded [2023-03-16T17:00:16.300Z] nexus3.edgexfoundry.org:10003 [2023-03-16T17:00:16.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:16.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:16.560Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:16.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:16.560Z] [2023-03-16T17:00:16.560Z] Login Succeeded [2023-03-16T17:00:16.560Z] nexus3.edgexfoundry.org:10004 [2023-03-16T17:00:16.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:16.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:16.560Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:16.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:16.560Z] [2023-03-16T17:00:16.560Z] Login Succeeded [2023-03-16T17:00:16.560Z] docker.io [2023-03-16T17:00:16.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:18.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:18.475Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:18.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:18.475Z] [2023-03-16T17:00:18.475Z] Login Succeeded [2023-03-16T17:00:18.475Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T17:00:18.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T17:00:19.198Z] + git rev-list -1 --merges 7686bc774fb40174b3cad436c0db71a2f5a267b7~1..7686bc774fb40174b3cad436c0db71a2f5a267b7 [Pipeline] echo [2023-03-16T17:00:19.262Z] -----------> git rev-list -1 --merges 7686bc774fb40174b3cad436c0db71a2f5a267b7~1..7686bc774fb40174b3cad436c0db71a2f5a267b7 7686bc774fb40174b3cad436c0db71a2f5a267b7 [false] [Pipeline] sh [2023-03-16T17:00:19.573Z] + git log --format=format:%s -1 7686bc774fb40174b3cad436c0db71a2f5a267b7 [Pipeline] echo [2023-03-16T17:00:19.606Z] ========================================================= [2023-03-16T17:00:19.606Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T17:00:19.606Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T17:00:20.041Z] + git log --format=format:%s -1 7686bc774fb40174b3cad436c0db71a2f5a267b7 [Pipeline] echo [2023-03-16T17:00:20.071Z] [semverPrep] GIT_COMMIT: 7686bc774fb40174b3cad436c0db71a2f5a267b7, Commit Message: refactor(snap): Update command and metadata sourcing [Pipeline] echo [2023-03-16T17:00:20.099Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T17:00:20.497Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T17:00:20.497Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T17:00:20.497Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T17:00:20.497Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T17:00:20.497Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T17:00:20.497Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T17:00:20.497Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:00:21.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T17:00:21.074Z] [2023-03-16T17:00:21.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:00:21.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T17:00:21.451Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T17:00:21.451Z] b85a868b505f: Pulling fs layer [2023-03-16T17:00:21.451Z] e2be974225ed: Pulling fs layer [2023-03-16T17:00:21.451Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T17:00:21.451Z] 988bab9f4d93: Pulling fs layer [2023-03-16T17:00:21.451Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T17:00:21.451Z] eaf3925da568: Pulling fs layer [2023-03-16T17:00:21.451Z] bab4dde63d76: Pulling fs layer [2023-03-16T17:00:21.451Z] bde34c3a00c8: Pulling fs layer [2023-03-16T17:00:21.451Z] b352a97aabf1: Pulling fs layer [2023-03-16T17:00:21.451Z] 4872d77fe225: Pulling fs layer [2023-03-16T17:00:21.451Z] 5851b861e8e6: Pulling fs layer [2023-03-16T17:00:21.451Z] 1469e6f7b9e6: Waiting [2023-03-16T17:00:21.451Z] eaf3925da568: Waiting [2023-03-16T17:00:21.451Z] bab4dde63d76: Waiting [2023-03-16T17:00:21.451Z] 988bab9f4d93: Waiting [2023-03-16T17:00:21.451Z] bde34c3a00c8: Waiting [2023-03-16T17:00:21.451Z] b352a97aabf1: Waiting [2023-03-16T17:00:21.451Z] 4872d77fe225: Waiting [2023-03-16T17:00:21.451Z] 5851b861e8e6: Waiting [2023-03-16T17:00:21.451Z] e2be974225ed: Verifying Checksum [2023-03-16T17:00:21.451Z] e2be974225ed: Download complete [2023-03-16T17:00:21.451Z] 988bab9f4d93: Verifying Checksum [2023-03-16T17:00:21.451Z] 988bab9f4d93: Download complete [2023-03-16T17:00:21.713Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T17:00:21.713Z] 1469e6f7b9e6: Download complete [2023-03-16T17:00:21.713Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T17:00:21.713Z] 339a4e72a1f5: Download complete [2023-03-16T17:00:21.713Z] eaf3925da568: Verifying Checksum [2023-03-16T17:00:21.713Z] eaf3925da568: Download complete [2023-03-16T17:00:21.713Z] bde34c3a00c8: Verifying Checksum [2023-03-16T17:00:21.713Z] bde34c3a00c8: Download complete [2023-03-16T17:00:21.713Z] b352a97aabf1: Verifying Checksum [2023-03-16T17:00:21.713Z] b352a97aabf1: Download complete [2023-03-16T17:00:21.713Z] 4872d77fe225: Verifying Checksum [2023-03-16T17:00:21.713Z] 4872d77fe225: Download complete [2023-03-16T17:00:21.713Z] 5851b861e8e6: Download complete [2023-03-16T17:00:21.713Z] b85a868b505f: Verifying Checksum [2023-03-16T17:00:21.713Z] b85a868b505f: Download complete [2023-03-16T17:00:21.974Z] bab4dde63d76: Verifying Checksum [2023-03-16T17:00:21.974Z] bab4dde63d76: Download complete [2023-03-16T17:00:23.348Z] b85a868b505f: Pull complete [2023-03-16T17:00:23.348Z] e2be974225ed: Pull complete [2023-03-16T17:00:23.609Z] 339a4e72a1f5: Pull complete [2023-03-16T17:00:23.609Z] 988bab9f4d93: Pull complete [2023-03-16T17:00:23.867Z] 1469e6f7b9e6: Pull complete [2023-03-16T17:00:24.126Z] eaf3925da568: Pull complete [2023-03-16T17:00:26.029Z] bab4dde63d76: Pull complete [2023-03-16T17:00:26.029Z] bde34c3a00c8: Pull complete [2023-03-16T17:00:26.029Z] b352a97aabf1: Pull complete [2023-03-16T17:00:26.029Z] 4872d77fe225: Pull complete [2023-03-16T17:00:26.029Z] 5851b861e8e6: Pull complete [2023-03-16T17:00:26.029Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T17:00:26.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T17:00:26.029Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:00:26.540Z] prd-ubuntu20.04-docker-8c-8g-2484 does not seem to be running inside a container [2023-03-16T17:00:26.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-162 -v /w/workspace/y_app-rfid-llrp-inventory_PR-162:/w/workspace/y_app-rfid-llrp-inventory_PR-162:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T17:00:29.527Z] $ docker top fb92124ba133e3732836045749c9f574293a84af2af7b4c11729884d4c6ad802 -eo pid,comm [2023-03-16T17:00:29.574Z] 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-03-16T17:00:29.574Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T17:00:29.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T17:00:29.690Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T17:00:29.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T17:00:29.811Z] $ docker exec fb92124ba133e3732836045749c9f574293a84af2af7b4c11729884d4c6ad802 ssh-agent [2023-03-16T17:00:29.917Z] SSH_AUTH_SOCK=/tmp/ssh-94TkpXGvlcwu/agent.31 [2023-03-16T17:00:29.917Z] SSH_AGENT_PID=37 [2023-03-16T17:00:29.923Z] Running ssh-add (command line suppressed) [2023-03-16T17:00:30.037Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/private_key_4003838417774352439.key (/w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/private_key_4003838417774352439.key) [2023-03-16T17:00:30.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T17:00:30.375Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T17:00:30.407Z] $ docker exec --env ******** --env ******** fb92124ba133e3732836045749c9f574293a84af2af7b4c11729884d4c6ad802 ssh-agent -k [2023-03-16T17:00:30.506Z] unset SSH_AUTH_SOCK; [2023-03-16T17:00:30.507Z] unset SSH_AGENT_PID; [2023-03-16T17:00:30.507Z] echo Agent pid 37 killed; [2023-03-16T17:00:30.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T17:00:30.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T17:00:30.596Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T17:00:30.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T17:00:30.708Z] $ docker exec fb92124ba133e3732836045749c9f574293a84af2af7b4c11729884d4c6ad802 ssh-agent [2023-03-16T17:00:30.812Z] SSH_AUTH_SOCK=/tmp/ssh-jKQB22tSjmTo/agent.69 [2023-03-16T17:00:30.812Z] SSH_AGENT_PID=75 [2023-03-16T17:00:30.816Z] Running ssh-add (command line suppressed) [2023-03-16T17:00:30.926Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/private_key_7992469322875243476.key (/w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/private_key_7992469322875243476.key) [2023-03-16T17:00:30.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T17:00:31.258Z] + git semver init [2023-03-16T17:00:31.516Z] 2023-03-16 17:00:31,429 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T17:00:31.516Z] 2023-03-16 17:00:31,430 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver [2023-03-16T17:00:31.516Z] 2023-03-16 17:00:31,431 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver [2023-03-16T17:00:31.516Z] 2023-03-16 17:00:31,431 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-162, universal_newlines=False, shell=None, istream=None) [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,805 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-162/.git/info/exclude [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,806 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver/PR-162 with force:False [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,806 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver/PR-162 [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,810 [execute] INFO git cat-file --batch-check [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,817 [execute] INFO git cat-file --batch [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T17:00:32.895Z] 2023-03-16 17:00:32,822 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-162/.semver/PR-162 [2023-03-16T17:00:32.895Z] 0.0.0 [Pipeline] } [2023-03-16T17:00:32.923Z] $ docker exec --env ******** --env ******** fb92124ba133e3732836045749c9f574293a84af2af7b4c11729884d4c6ad802 ssh-agent -k [2023-03-16T17:00:33.031Z] unset SSH_AUTH_SOCK; [2023-03-16T17:00:33.031Z] unset SSH_AGENT_PID; [2023-03-16T17:00:33.032Z] echo Agent pid 75 killed; [2023-03-16T17:00:33.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T17:00:33.449Z] + git semver [Pipeline] } [2023-03-16T17:00:33.732Z] $ docker stop --time=1 fb92124ba133e3732836045749c9f574293a84af2af7b4c11729884d4c6ad802 [2023-03-16T17:00:35.054Z] $ docker rm -f --volumes fb92124ba133e3732836045749c9f574293a84af2af7b4c11729884d4c6ad802 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T17:00:35.444Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T17:00:35.733Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T17:00:35.751Z] [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-03-16T17:00:36.329Z] provisioning config files... [2023-03-16T17:00:36.364Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/config316812076190713865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:00:36.726Z] ---> docker-login.sh [2023-03-16T17:00:36.726Z] nexus3.edgexfoundry.org:10001 [2023-03-16T17:00:36.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:36.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:36.726Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:36.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:36.726Z] [2023-03-16T17:00:36.726Z] Login Succeeded [2023-03-16T17:00:36.726Z] nexus3.edgexfoundry.org:10002 [2023-03-16T17:00:36.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:36.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:36.726Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:36.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:36.726Z] [2023-03-16T17:00:36.726Z] Login Succeeded [2023-03-16T17:00:36.726Z] nexus3.edgexfoundry.org:10003 [2023-03-16T17:00:36.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:36.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:36.984Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:36.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:36.984Z] [2023-03-16T17:00:36.984Z] Login Succeeded [2023-03-16T17:00:36.984Z] nexus3.edgexfoundry.org:10004 [2023-03-16T17:00:36.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:36.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:36.984Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:36.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:36.984Z] [2023-03-16T17:00:36.984Z] Login Succeeded [2023-03-16T17:00:36.984Z] docker.io [2023-03-16T17:00:36.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:00:37.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:00:37.243Z] Configure a credential helper to remove this warning. See [2023-03-16T17:00:37.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:00:37.243Z] [2023-03-16T17:00:37.243Z] Login Succeeded [2023-03-16T17:00:37.243Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T17:00:37.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T17:00:37.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:00:37.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:00:37.509Z] ========================================================= [2023-03-16T17:00:37.509Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T17:00:37.509Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:00:37.969Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T17:00:37.969Z] Sending build context to Docker daemon 12.59MB [2023-03-16T17:00:37.969Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T17:00:37.969Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T17:00:37.969Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T17:00:37.969Z] 63b65145d645: Pulling fs layer [2023-03-16T17:00:37.969Z] a2d21d5440eb: Pulling fs layer [2023-03-16T17:00:37.969Z] 935e6c44a52c: Pulling fs layer [2023-03-16T17:00:37.969Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T17:00:37.969Z] 30dea6a524f1: Pulling fs layer [2023-03-16T17:00:37.969Z] a2aff8979fd8: Pulling fs layer [2023-03-16T17:00:37.969Z] 6808be2612f2: Pulling fs layer [2023-03-16T17:00:37.969Z] f25807f1079a: Pulling fs layer [2023-03-16T17:00:37.969Z] 30dea6a524f1: Waiting [2023-03-16T17:00:37.969Z] a2aff8979fd8: Waiting [2023-03-16T17:00:37.969Z] f25807f1079a: Waiting [2023-03-16T17:00:37.969Z] 94cc34f8dd06: Waiting [2023-03-16T17:00:37.969Z] a2d21d5440eb: Verifying Checksum [2023-03-16T17:00:37.969Z] a2d21d5440eb: Download complete [2023-03-16T17:00:38.231Z] 94cc34f8dd06: Download complete [2023-03-16T17:00:38.231Z] 30dea6a524f1: Verifying Checksum [2023-03-16T17:00:38.231Z] 30dea6a524f1: Download complete [2023-03-16T17:00:38.231Z] 63b65145d645: Verifying Checksum [2023-03-16T17:00:38.231Z] 63b65145d645: Download complete [2023-03-16T17:00:38.231Z] a2aff8979fd8: Verifying Checksum [2023-03-16T17:00:38.231Z] a2aff8979fd8: Download complete [2023-03-16T17:00:38.231Z] 63b65145d645: Pull complete [2023-03-16T17:00:38.500Z] a2d21d5440eb: Pull complete [2023-03-16T17:00:38.762Z] 935e6c44a52c: Download complete [2023-03-16T17:00:39.021Z] f25807f1079a: Verifying Checksum [2023-03-16T17:00:39.021Z] f25807f1079a: Download complete [2023-03-16T17:00:39.281Z] 6808be2612f2: Verifying Checksum [2023-03-16T17:00:39.281Z] 6808be2612f2: Download complete [2023-03-16T17:00:41.811Z] 935e6c44a52c: Pull complete [2023-03-16T17:00:42.069Z] 94cc34f8dd06: Pull complete [2023-03-16T17:00:42.069Z] 30dea6a524f1: Pull complete [2023-03-16T17:00:42.069Z] a2aff8979fd8: Pull complete [2023-03-16T17:00:44.596Z] 6808be2612f2: Pull complete [2023-03-16T17:00:45.161Z] f25807f1079a: Pull complete [2023-03-16T17:00:45.161Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T17:00:45.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T17:00:45.161Z] ---> 3b553350e43f [2023-03-16T17:00:45.161Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T17:00:50.435Z] ---> Running in b6ad86500be6 [2023-03-16T17:00:50.435Z] Removing intermediate container b6ad86500be6 [2023-03-16T17:00:50.435Z] ---> 08473c0908d6 [2023-03-16T17:00:50.435Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T17:00:50.435Z] ---> Running in 82ab1b03ab1b [2023-03-16T17:00:50.435Z] Removing intermediate container 82ab1b03ab1b [2023-03-16T17:00:50.435Z] ---> cf430549f9b4 [2023-03-16T17:00:50.435Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T17:00:50.435Z] ---> Running in c39fd334ac87 [2023-03-16T17:00:50.435Z] Removing intermediate container c39fd334ac87 [2023-03-16T17:00:50.435Z] ---> ffa4e74622b2 [2023-03-16T17:00:50.435Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T17:00:50.435Z] ---> Running in cf321a0f2adf [2023-03-16T17:00:50.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:00:50.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T17:00:51.159Z] Still waiting to schedule task [2023-03-16T17:00:51.160Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-16T17:00:51.218Z] OK: 265 MiB in 53 packages [2023-03-16T17:00:51.478Z] Removing intermediate container cf321a0f2adf [2023-03-16T17:00:51.478Z] ---> ce2bad38a3fe [2023-03-16T17:00:51.478Z] Step 7/12 : WORKDIR /app [2023-03-16T17:00:51.478Z] ---> Running in bd7aea7d919d [2023-03-16T17:00:51.478Z] Removing intermediate container bd7aea7d919d [2023-03-16T17:00:51.478Z] ---> 350fe5e36dd6 [2023-03-16T17:00:51.478Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-16T17:00:51.737Z] ---> ce6b48b09466 [2023-03-16T17:00:51.737Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T17:00:51.737Z] ---> Running in ae132d189da1 [2023-03-16T17:01:23.885Z] Removing intermediate container ae132d189da1 [2023-03-16T17:01:23.885Z] ---> 9fb5933ec0c3 [2023-03-16T17:01:23.885Z] Step 10/12 : COPY . . [2023-03-16T17:01:23.885Z] ---> 39e19ef66aaf [2023-03-16T17:01:23.885Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T17:01:23.885Z] ---> Running in 9e681a33548b [2023-03-16T17:01:23.885Z] Removing intermediate container 9e681a33548b [2023-03-16T17:01:23.885Z] ---> ae9532bfbad0 [2023-03-16T17:01:23.885Z] Step 12/12 : RUN $MAKE [2023-03-16T17:01:23.885Z] ---> Running in 550bbbb4a664 [2023-03-16T17:01:23.885Z] noop [2023-03-16T17:01:23.885Z] Removing intermediate container 550bbbb4a664 [2023-03-16T17:01:23.885Z] ---> 06586fbff98c [2023-03-16T17:01:23.885Z] Successfully built 06586fbff98c [2023-03-16T17:01:23.885Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:01:24.323Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T17:01:24.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:01:24.462Z] prd-ubuntu20.04-docker-8c-8g-2484 does not seem to be running inside a container [2023-03-16T17:01:24.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-162 -v /w/workspace/y_app-rfid-llrp-inventory_PR-162:/w/workspace/y_app-rfid-llrp-inventory_PR-162:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-162@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 ******** ci-base-image-x86_64 cat [2023-03-16T17:01:24.827Z] $ docker top 6e7e3665efadb1eb43116cd99360916c386f06e26223e079558f0f4e616a1ce9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:01:25.213Z] + go version [2023-03-16T17:01:25.213Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T17:01:25.251Z] $ docker stop --time=1 6e7e3665efadb1eb43116cd99360916c386f06e26223e079558f0f4e616a1ce9 [2023-03-16T17:01:26.533Z] $ docker rm -f --volumes 6e7e3665efadb1eb43116cd99360916c386f06e26223e079558f0f4e616a1ce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:01:27.247Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T17:01:27.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:01:27.400Z] prd-ubuntu20.04-docker-8c-8g-2484 does not seem to be running inside a container [2023-03-16T17:01:27.432Z] $ 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-162 -v /w/workspace/y_app-rfid-llrp-inventory_PR-162:/w/workspace/y_app-rfid-llrp-inventory_PR-162:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-162@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 ******** ci-base-image-x86_64 cat [2023-03-16T17:01:27.804Z] $ docker top f66958cfe2bcb8f439fb8841957f88943623ca3442f90874a863f2e7a2e0ca44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:01:28.195Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-162 [Pipeline] fileExists [Pipeline] sh [2023-03-16T17:01:28.549Z] + make test [2023-03-16T17:01:28.549Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-16T17:01:46.626Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-16T17:01:46.626Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-16T17:01:46.626Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.128s coverage: 86.2% of statements [2023-03-16T17:01:48.528Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.672s coverage: 71.9% of statements [2023-03-16T17:02:10.448Z] go vet ./... [2023-03-16T17:02:11.390Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T17:02:11.390Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T17:02:11.390Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-16T17:02:11.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T17:02:11.567Z] $ docker stop --time=1 f66958cfe2bcb8f439fb8841957f88943623ca3442f90874a863f2e7a2e0ca44 [2023-03-16T17:02:16.539Z] $ docker rm -f --volumes f66958cfe2bcb8f439fb8841957f88943623ca3442f90874a863f2e7a2e0ca44 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T17:02:17.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T17:02:17.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T17:02:17.842Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T17:02:18.150Z] + ls -al . [2023-03-16T17:02:18.150Z] total 228 [2023-03-16T17:02:18.150Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 17:01 . [2023-03-16T17:02:18.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:00 .. [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 16 17:00 .dockerignore [2023-03-16T17:02:18.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:00 .git [2023-03-16T17:02:18.150Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:00 .github [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 16 17:00 .gitignore [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 17:00 .golangci.yml [2023-03-16T17:02:18.150Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 17:00 .semver [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 16 17:00 Attribution.txt [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 16 17:00 CHANGELOG.md [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 16 17:00 Dockerfile [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 17:00 GOVERNANCE.md [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 16 17:00 Jenkinsfile [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 16 17:00 LICENSE [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 16 17:00 Makefile [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 17:00 OWNERS.md [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 16 17:00 README.md [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 17:00 VERSION [2023-03-16T17:02:18.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:00 bin [2023-03-16T17:02:18.150Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 16 17:01 coverage.out [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 16 17:00 go.mod [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 16 17:00 go.sum [2023-03-16T17:02:18.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:00 images [2023-03-16T17:02:18.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:00 internal [2023-03-16T17:02:18.150Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 16 17:00 main.go [2023-03-16T17:02:18.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:00 res [2023-03-16T17:02:18.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:00 snap [2023-03-16T17:02:18.150Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:00 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:02:18.566Z] + 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=7686bc774fb40174b3cad436c0db71a2f5a267b7 --label arch=amd64 --label version=0.0.0 . [2023-03-16T17:02:18.566Z] Sending build context to Docker daemon 12.59MB [2023-03-16T17:02:18.566Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T17:02:18.566Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-16T17:02:18.566Z] ---> 06586fbff98c [2023-03-16T17:02:18.566Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T17:02:18.840Z] ---> Running in 8b1b69e4efc8 [2023-03-16T17:02:18.841Z] Removing intermediate container 8b1b69e4efc8 [2023-03-16T17:02:18.841Z] ---> 0e20bce813a0 [2023-03-16T17:02:18.841Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T17:02:18.841Z] ---> Running in 2175bc4a7e94 [2023-03-16T17:02:19.100Z] Removing intermediate container 2175bc4a7e94 [2023-03-16T17:02:19.100Z] ---> 99bb502f280c [2023-03-16T17:02:19.100Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-16T17:02:19.100Z] ---> Running in e9b66e37ce97 [2023-03-16T17:02:19.100Z] Removing intermediate container e9b66e37ce97 [2023-03-16T17:02:19.100Z] ---> 8b1aa3550ca7 [2023-03-16T17:02:19.100Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T17:02:19.100Z] ---> Running in 7a9a5792eded [2023-03-16T17:02:19.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:02:19.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T17:02:19.630Z] OK: 265 MiB in 53 packages [2023-03-16T17:02:19.889Z] Removing intermediate container 7a9a5792eded [2023-03-16T17:02:19.889Z] ---> 4b97547fea97 [2023-03-16T17:02:19.889Z] Step 7/29 : WORKDIR /app [2023-03-16T17:02:20.147Z] ---> Running in e80bef7f9b9f [2023-03-16T17:02:20.148Z] Removing intermediate container e80bef7f9b9f [2023-03-16T17:02:20.148Z] ---> f1d9a416e1aa [2023-03-16T17:02:20.148Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-16T17:02:20.148Z] ---> 53ab4cdfbfde [2023-03-16T17:02:20.148Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T17:02:20.148Z] ---> Running in 359e17093665 [2023-03-16T17:02:21.085Z] Removing intermediate container 359e17093665 [2023-03-16T17:02:21.085Z] ---> dcfcd09e6f53 [2023-03-16T17:02:21.085Z] Step 10/29 : COPY . . [2023-03-16T17:02:21.343Z] ---> c331d5df2067 [2023-03-16T17:02:21.343Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T17:02:21.343Z] ---> Running in ea84e50e2e3e [2023-03-16T17:02:21.602Z] Removing intermediate container ea84e50e2e3e [2023-03-16T17:02:21.602Z] ---> 7647ce2d52d4 [2023-03-16T17:02:21.602Z] Step 12/29 : RUN $MAKE [2023-03-16T17:02:21.602Z] ---> Running in 4386deb8b50d [2023-03-16T17:02:21.860Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -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-03-16T17:02:31.334Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2485 in /w/workspace/y_app-rfid-llrp-inventory_PR-162 [Pipeline] { [Pipeline] ws [2023-03-16T17:02:31.392Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-03-16T17:02:31.473Z] The recommended git tool is: git [2023-03-16T17:02:36.992Z] using credential edgex-jenkins-ssh [2023-03-16T17:02:37.016Z] Cloning the remote Git repository [2023-03-16T17:02:37.064Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-16T17:02:37.174Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-03-16T17:02:37.344Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-16T17:02:37.345Z] > git --version # timeout=10 [2023-03-16T17:02:37.369Z] > git --version # 'git version 2.25.1' [2023-03-16T17:02:37.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T17:02:37.531Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T17:02:39.929Z] Removing intermediate container 4386deb8b50d [2023-03-16T17:02:39.929Z] ---> b08e0877c5b8 [2023-03-16T17:02:39.929Z] Step 13/29 : FROM alpine:3.17 [2023-03-16T17:02:40.496Z] 3.17: Pulling from library/alpine [2023-03-16T17:02:40.496Z] 63b65145d645: Already exists [2023-03-16T17:02:40.496Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T17:02:40.496Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T17:02:40.496Z] ---> b2aa39c304c2 [2023-03-16T17:02:40.496Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T17:02:40.496Z] ---> Running in 0831a6bcd362 [2023-03-16T17:02:40.753Z] Removing intermediate container 0831a6bcd362 [2023-03-16T17:02:40.753Z] ---> b52bdf15287f [2023-03-16T17:02:40.753Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-16T17:02:40.753Z] ---> Running in bbd29457b862 [2023-03-16T17:02:40.753Z] Removing intermediate container bbd29457b862 [2023-03-16T17:02:40.753Z] ---> 8bd84ea34124 [2023-03-16T17:02:40.753Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-16T17:02:40.753Z] ---> Running in 961b769f2ebf [2023-03-16T17:02:41.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:02:41.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T17:02:41.270Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-16T17:02:41.529Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-16T17:02:41.529Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T17:02:41.530Z] Executing ca-certificates-20220614-r4.trigger [2023-03-16T17:02:41.530Z] OK: 8 MiB in 17 packages [2023-03-16T17:02:41.788Z] Removing intermediate container 961b769f2ebf [2023-03-16T17:02:41.788Z] ---> 6539aa5f7e7f [2023-03-16T17:02:41.788Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-16T17:02:40.922Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-16T17:02:40.954Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T17:02:42.048Z] ---> f32d6c8a3f8c [2023-03-16T17:02:42.048Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-16T17:02:42.048Z] ---> 84d20cf24cee [2023-03-16T17:02:42.048Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-16T17:02:42.308Z] ---> dd497943872c [2023-03-16T17:02:42.308Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-16T17:02:42.308Z] ---> d538b0148866 [2023-03-16T17:02:42.308Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-16T17:02:42.437Z] Merging remotes/origin/main commit 3870cf64a21da350ccd1352be90d06d1a491a75a into PR head commit 7686bc774fb40174b3cad436c0db71a2f5a267b7 [2023-03-16T17:02:42.758Z] Merge succeeded, producing 7686bc774fb40174b3cad436c0db71a2f5a267b7 [2023-03-16T17:02:42.758Z] Checking out Revision 7686bc774fb40174b3cad436c0db71a2f5a267b7 (PR-162) [2023-03-16T17:02:43.251Z] ---> cb1b1c4ca4e5 [2023-03-16T17:02:43.251Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-16T17:02:43.251Z] ---> Running in 983910a70b61 [2023-03-16T17:02:41.814Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-16T17:02:41.860Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-16T17:02:41.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T17:02:41.876Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T17:02:42.469Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T17:02:42.555Z] > git checkout -f 7686bc774fb40174b3cad436c0db71a2f5a267b7 # timeout=10 [2023-03-16T17:02:42.651Z] > git remote # timeout=10 [2023-03-16T17:02:42.673Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T17:02:42.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T17:02:42.705Z] > git merge 3870cf64a21da350ccd1352be90d06d1a491a75a # timeout=10 [2023-03-16T17:02:42.735Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T17:02:42.764Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T17:02:42.781Z] > git checkout -f 7686bc774fb40174b3cad436c0db71a2f5a267b7 # timeout=10 [2023-03-16T17:02:43.820Z] Removing intermediate container 983910a70b61 [2023-03-16T17:02:43.820Z] ---> f057aa392aae [2023-03-16T17:02:43.820Z] Step 23/29 : VOLUME /cache [2023-03-16T17:02:43.820Z] ---> Running in 440853d80507 [2023-03-16T17:02:43.820Z] Removing intermediate container 440853d80507 [2023-03-16T17:02:43.820Z] ---> 185f1e48b9a4 [2023-03-16T17:02:43.820Z] Step 24/29 : EXPOSE 59711 [2023-03-16T17:02:43.820Z] ---> Running in 1c1f3cd3c656 [2023-03-16T17:02:43.820Z] Removing intermediate container 1c1f3cd3c656 [2023-03-16T17:02:43.820Z] ---> 5533f627d506 [2023-03-16T17:02:43.820Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-16T17:02:43.820Z] ---> Running in 17cc99751729 [2023-03-16T17:02:44.079Z] Removing intermediate container 17cc99751729 [2023-03-16T17:02:44.079Z] ---> 6d969b5b750b [2023-03-16T17:02:44.079Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-16T17:02:44.079Z] ---> Running in 9f9d170d4469 [2023-03-16T17:02:44.079Z] Removing intermediate container 9f9d170d4469 [2023-03-16T17:02:44.079Z] ---> b73f14bd7c6c [2023-03-16T17:02:44.079Z] Step 27/29 : LABEL arch=amd64 [2023-03-16T17:02:44.079Z] ---> Running in 657842dc67c6 [2023-03-16T17:02:44.339Z] Removing intermediate container 657842dc67c6 [2023-03-16T17:02:44.339Z] ---> eeb3a0f016d2 [2023-03-16T17:02:44.339Z] Step 28/29 : LABEL git_sha=7686bc774fb40174b3cad436c0db71a2f5a267b7 [2023-03-16T17:02:44.339Z] ---> Running in 4649e075d7cc [2023-03-16T17:02:44.339Z] Removing intermediate container 4649e075d7cc [2023-03-16T17:02:44.339Z] ---> 20a7d64c44c5 [2023-03-16T17:02:44.339Z] Step 29/29 : LABEL version=0.0.0 [2023-03-16T17:02:44.339Z] ---> Running in 69a0f09f7928 [2023-03-16T17:02:44.339Z] Removing intermediate container 69a0f09f7928 [2023-03-16T17:02:44.339Z] ---> cbc1108b3dc4 [2023-03-16T17:02:44.339Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T17:02:44.339Z] Successfully built cbc1108b3dc4 [2023-03-16T17:02:44.339Z] 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-03-16T17:02:45.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:02:45.194Z] [2023-03-16T17:02:45.194Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:02:45.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:02:45.560Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T17:02:45.560Z] 5eb5b503b376: Pulling fs layer [2023-03-16T17:02:45.560Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T17:02:45.560Z] ec43610c2a17: Pulling fs layer [2023-03-16T17:02:45.560Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T17:02:45.560Z] 33b1e0a273af: Pulling fs layer [2023-03-16T17:02:45.560Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T17:02:45.560Z] 2f39f015ded8: Pulling fs layer [2023-03-16T17:02:45.560Z] 3a2ae6a8a46f: Waiting [2023-03-16T17:02:45.560Z] 33b1e0a273af: Waiting [2023-03-16T17:02:45.560Z] 5d3b04190fa2: Waiting [2023-03-16T17:02:45.560Z] 2f39f015ded8: Waiting [2023-03-16T17:02:45.560Z] 5c69ac0246d0: Download complete [2023-03-16T17:02:45.560Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T17:02:45.560Z] 3a2ae6a8a46f: Download complete [2023-03-16T17:02:45.820Z] 33b1e0a273af: Verifying Checksum [2023-03-16T17:02:45.820Z] 33b1e0a273af: Download complete [2023-03-16T17:02:45.820Z] ec43610c2a17: Verifying Checksum [2023-03-16T17:02:45.820Z] ec43610c2a17: Download complete [2023-03-16T17:02:45.820Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T17:02:45.820Z] 5d3b04190fa2: Download complete [2023-03-16T17:02:45.820Z] 5eb5b503b376: Verifying Checksum [2023-03-16T17:02:45.820Z] 5eb5b503b376: Download complete [2023-03-16T17:02:46.233Z] Commit message: "refactor(snap): Update command and metadata sourcing" [2023-03-16T17:02:46.284Z] > git --version # timeout=10 [2023-03-16T17:02:46.301Z] > git --version # 'git version 2.25.1' [2023-03-16T17:02:46.315Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T17:02:46.385Z] 2f39f015ded8: Download complete [2023-03-16T17:02:46.840Z] [2023-03-16T17:02:46.840Z] GitHub has been notified of this commit’s build result [2023-03-16T17:02:46.840Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-03-16T17:02:46.952Z] 5eb5b503b376: Pull complete [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T17:02:47.210Z] 5c69ac0246d0: Pull complete [2023-03-16T17:02:47.468Z] ec43610c2a17: Pull complete [2023-03-16T17:02:47.566Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T17:02:47.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T17:02:47.566Z] Dload Upload Total Spent Left Speed [2023-03-16T17:02:47.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [2023-03-16T17:02:47.727Z] 3a2ae6a8a46f: Pull complete [2023-03-16T17:02:47.727Z] 33b1e0a273af: Pull complete [2023-03-16T17:02:47.727Z] 5d3b04190fa2: Pull complete [Pipeline] sh [2023-03-16T17:02:48.303Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T17:02:48.655Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T17:02:48.655Z] + sudo tee /etc/docker/daemon.new [2023-03-16T17:02:48.655Z] { [2023-03-16T17:02:48.655Z] "registry-mirrors": [ [2023-03-16T17:02:48.655Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T17:02:48.655Z] ], [2023-03-16T17:02:48.655Z] "bip": "10.250.0.254/24", [2023-03-16T17:02:48.655Z] "hosts": [ [2023-03-16T17:02:48.655Z] "tcp://0.0.0.0:5555", [2023-03-16T17:02:48.655Z] "unix:///var/run/docker.sock" [2023-03-16T17:02:48.655Z] ], [2023-03-16T17:02:48.655Z] "mtu": 1458, [2023-03-16T17:02:48.655Z] "selinux-enabled": true, [2023-03-16T17:02:48.655Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T17:02:48.655Z] } [Pipeline] sh [2023-03-16T17:02:48.998Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T17:02:49.351Z] + sudo service docker restart [2023-03-16T17:02:51.911Z] 2f39f015ded8: Pull complete [2023-03-16T17:02:51.911Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T17:02:51.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:02:51.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:02:52.123Z] prd-ubuntu20.04-docker-8c-8g-2484 does not seem to be running inside a container [2023-03-16T17:02:52.163Z] $ 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-162 -v /w/workspace/y_app-rfid-llrp-inventory_PR-162:/w/workspace/y_app-rfid-llrp-inventory_PR-162:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-162@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-03-16T17:02:56.814Z] $ docker top e6842ee112bbc80e9b61fe6309fda7232f9c0f5a0a77a5d99e0922edc876eafd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:02:57.262Z] ---> job-cost.sh [2023-03-16T17:02:57.262Z] lf-activate-venv: SKIPPING [2023-03-16T17:02:57.262Z] INFO: No Stack... [2023-03-16T17:02:57.519Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T17:02:57.778Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T17:02:58.098Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-162/archives/cost.csv [2023-03-16T17:02:58.098Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T17:02:58.139Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] [2023-03-16T17:02:58.144Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] did not exist. Created. [2023-03-16T17:02:58.144Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T17:02:58.537Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T17:02:58.587Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T17:02:58.624Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T17:02:58.707Z] $ docker stop --time=1 e6842ee112bbc80e9b61fe6309fda7232f9c0f5a0a77a5d99e0922edc876eafd [2023-03-16T17:02:59.847Z] $ docker rm -f --volumes e6842ee112bbc80e9b61fe6309fda7232f9c0f5a0a77a5d99e0922edc876eafd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T17:03:07.682Z] provisioning config files... [2023-03-16T17:03:07.712Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config7044765775679327213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:03:08.103Z] ---> docker-login.sh [2023-03-16T17:03:08.103Z] nexus3.edgexfoundry.org:10001 [2023-03-16T17:03:08.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:03:08.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:03:08.699Z] Configure a credential helper to remove this warning. See [2023-03-16T17:03:08.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:03:08.699Z] [2023-03-16T17:03:08.699Z] Login Succeeded [2023-03-16T17:03:08.699Z] nexus3.edgexfoundry.org:10002 [2023-03-16T17:03:08.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:03:08.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:03:08.973Z] Configure a credential helper to remove this warning. See [2023-03-16T17:03:08.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:03:08.973Z] [2023-03-16T17:03:08.973Z] Login Succeeded [2023-03-16T17:03:08.973Z] nexus3.edgexfoundry.org:10003 [2023-03-16T17:03:09.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:03:09.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:03:09.525Z] Configure a credential helper to remove this warning. See [2023-03-16T17:03:09.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:03:09.525Z] [2023-03-16T17:03:09.525Z] Login Succeeded [2023-03-16T17:03:09.525Z] nexus3.edgexfoundry.org:10004 [2023-03-16T17:03:09.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:03:09.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:03:09.799Z] Configure a credential helper to remove this warning. See [2023-03-16T17:03:09.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:03:09.799Z] [2023-03-16T17:03:09.799Z] Login Succeeded [2023-03-16T17:03:09.799Z] docker.io [2023-03-16T17:03:10.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:03:10.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:03:10.340Z] Configure a credential helper to remove this warning. See [2023-03-16T17:03:10.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:03:10.340Z] [2023-03-16T17:03:10.340Z] Login Succeeded [2023-03-16T17:03:10.340Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T17:03:10.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T17:03:10.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:03:10.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:03:10.840Z] ========================================================= [2023-03-16T17:03:10.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T17:03:10.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:03:11.345Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T17:03:11.615Z] Sending build context to Docker daemon 678.4kB [2023-03-16T17:03:11.615Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T17:03:11.615Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T17:03:11.885Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T17:03:11.885Z] af6eaf76a39c: Pulling fs layer [2023-03-16T17:03:11.885Z] 55522c791124: Pulling fs layer [2023-03-16T17:03:11.885Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T17:03:11.885Z] 169dfbe0d373: Pulling fs layer [2023-03-16T17:03:11.885Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T17:03:11.885Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T17:03:11.885Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T17:03:11.885Z] 169dfbe0d373: Waiting [2023-03-16T17:03:11.885Z] e1ff8fa3b103: Waiting [2023-03-16T17:03:11.885Z] 52ebb69f0ebf: Waiting [2023-03-16T17:03:11.885Z] 5abe8eddf0d5: Waiting [2023-03-16T17:03:11.885Z] 55522c791124: Verifying Checksum [2023-03-16T17:03:11.885Z] 55522c791124: Download complete [2023-03-16T17:03:11.885Z] 169dfbe0d373: Verifying Checksum [2023-03-16T17:03:11.885Z] 169dfbe0d373: Download complete [2023-03-16T17:03:11.885Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T17:03:11.885Z] e1ff8fa3b103: Download complete [2023-03-16T17:03:11.885Z] af6eaf76a39c: Verifying Checksum [2023-03-16T17:03:11.885Z] af6eaf76a39c: Download complete [2023-03-16T17:03:13.332Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T17:03:13.332Z] 5abe8eddf0d5: Download complete [2023-03-16T17:03:13.332Z] af6eaf76a39c: Pull complete [2023-03-16T17:03:13.603Z] 55522c791124: Pull complete [2023-03-16T17:03:14.572Z] ce5c4a1c91eb: Download complete [2023-03-16T17:03:14.572Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T17:03:14.572Z] 52ebb69f0ebf: Download complete [2023-03-16T17:03:26.914Z] ce5c4a1c91eb: Pull complete [2023-03-16T17:03:26.914Z] 169dfbe0d373: Pull complete [2023-03-16T17:03:26.914Z] e1ff8fa3b103: Pull complete [2023-03-16T17:03:33.578Z] 52ebb69f0ebf: Pull complete [2023-03-16T17:03:35.534Z] 5abe8eddf0d5: Pull complete [2023-03-16T17:03:35.800Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T17:03:35.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T17:03:35.800Z] ---> 6cb57ee374ae [2023-03-16T17:03:35.800Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T17:03:37.753Z] ---> Running in 670ab6cc9a13 [2023-03-16T17:03:37.753Z] Removing intermediate container 670ab6cc9a13 [2023-03-16T17:03:37.753Z] ---> 94e87d36e9c8 [2023-03-16T17:03:37.753Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T17:03:37.753Z] ---> Running in 9c4c2963c863 [2023-03-16T17:03:38.020Z] Removing intermediate container 9c4c2963c863 [2023-03-16T17:03:38.020Z] ---> 74a61c5c3f11 [2023-03-16T17:03:38.020Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T17:03:38.287Z] ---> Running in e3dd1d679626 [2023-03-16T17:03:38.554Z] Removing intermediate container e3dd1d679626 [2023-03-16T17:03:38.554Z] ---> 618857cd285f [2023-03-16T17:03:38.554Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T17:03:38.554Z] ---> Running in 6854cd878af0 [2023-03-16T17:03:39.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:03:40.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T17:03:41.507Z] OK: 263 MiB in 53 packages [2023-03-16T17:03:42.092Z] Removing intermediate container 6854cd878af0 [2023-03-16T17:03:42.092Z] ---> a51072280aa9 [2023-03-16T17:03:42.092Z] Step 7/12 : WORKDIR /app [2023-03-16T17:03:42.092Z] ---> Running in dabfa51f5f1a [2023-03-16T17:03:42.360Z] Removing intermediate container dabfa51f5f1a [2023-03-16T17:03:42.360Z] ---> cf53467b020e [2023-03-16T17:03:42.360Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-16T17:03:42.944Z] ---> 61be51e2f36d [2023-03-16T17:03:42.945Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T17:03:42.945Z] ---> Running in 326e2c997250 [2023-03-16T17:04:50.847Z] Removing intermediate container 326e2c997250 [2023-03-16T17:04:50.847Z] ---> 4b9b40223fc3 [2023-03-16T17:04:50.847Z] Step 10/12 : COPY . . [2023-03-16T17:04:50.847Z] ---> 283af45caf55 [2023-03-16T17:04:50.847Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T17:04:50.847Z] ---> Running in 331174298b58 [2023-03-16T17:04:50.847Z] Removing intermediate container 331174298b58 [2023-03-16T17:04:50.847Z] ---> 54ee262c67d6 [2023-03-16T17:04:50.847Z] Step 12/12 : RUN $MAKE [2023-03-16T17:04:50.847Z] ---> Running in c5a4a53f5010 [2023-03-16T17:04:50.847Z] noop [2023-03-16T17:04:50.847Z] Removing intermediate container c5a4a53f5010 [2023-03-16T17:04:50.847Z] ---> 6dd2432447ee [2023-03-16T17:04:50.847Z] Successfully built 6dd2432447ee [2023-03-16T17:04:50.847Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:04:51.328Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T17:04:51.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:04:51.627Z] prd-ubuntu20.04-docker-arm64-4c-16g-2485 does not seem to be running inside a container [2023-03-16T17:04:51.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T17:04:52.912Z] $ docker top 562d238d706aafe594a038ad3d3f41fe42d2dd9ad631236796daf79171e42b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:04:53.797Z] + go version [2023-03-16T17:04:53.798Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T17:04:53.829Z] $ docker stop --time=1 562d238d706aafe594a038ad3d3f41fe42d2dd9ad631236796daf79171e42b36 [2023-03-16T17:04:55.452Z] $ docker rm -f --volumes 562d238d706aafe594a038ad3d3f41fe42d2dd9ad631236796daf79171e42b36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:04:56.268Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T17:04:56.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:04:56.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-2485 does not seem to be running inside a container [2023-03-16T17:04:56.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T17:04:57.828Z] $ docker top f84fc6c1bbbb582da0e45fc6b5d8209f5d486176a6caa7d0f40bafa02f8fd1c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:04:58.399Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T17:04:59.101Z] + make test [2023-03-16T17:04:59.101Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-16T17:07:52.347Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-16T17:07:54.323Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-16T17:07:56.286Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.473s coverage: 86.2% of statements [2023-03-16T17:08:06.397Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.483s coverage: 71.9% of statements [2023-03-16T17:08:07.363Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T17:08:07.363Z] go vet ./... [2023-03-16T17:10:29.086Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T17:10:29.086Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T17:10:29.086Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-16T17:10:29.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T17:10:29.149Z] $ docker stop --time=1 f84fc6c1bbbb582da0e45fc6b5d8209f5d486176a6caa7d0f40bafa02f8fd1c1 [2023-03-16T17:10:30.968Z] $ docker rm -f --volumes f84fc6c1bbbb582da0e45fc6b5d8209f5d486176a6caa7d0f40bafa02f8fd1c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T17:10:32.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T17:10:32.523Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T17:10:33.055Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T17:10:33.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T17:10:33.971Z] + ls -al . [2023-03-16T17:10:33.971Z] total 224 [2023-03-16T17:10:33.971Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 17:05 . [2023-03-16T17:10:33.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:02 .. [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 16 17:02 .dockerignore [2023-03-16T17:10:33.971Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:02 .git [2023-03-16T17:10:33.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:02 .github [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 16 17:02 .gitignore [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 17:02 .golangci.yml [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 16 17:02 Attribution.txt [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 16 17:02 CHANGELOG.md [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 16 17:02 Dockerfile [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 17:02 GOVERNANCE.md [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 16 17:02 Jenkinsfile [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 16 17:02 LICENSE [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 16 17:02 Makefile [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 17:02 OWNERS.md [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 16 17:02 README.md [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 17:00 VERSION [2023-03-16T17:10:33.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:02 bin [2023-03-16T17:10:33.971Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 16 17:08 coverage.out [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 16 17:02 go.mod [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 16 17:02 go.sum [2023-03-16T17:10:33.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:02 images [2023-03-16T17:10:33.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:02 internal [2023-03-16T17:10:33.971Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 16 17:02 main.go [2023-03-16T17:10:33.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:02 res [2023-03-16T17:10:33.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:02 snap [2023-03-16T17:10:33.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 17:02 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:10:34.380Z] + 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=7686bc774fb40174b3cad436c0db71a2f5a267b7 --label arch=arm64 --label version=0.0.0 . [2023-03-16T17:10:34.650Z] Sending build context to Docker daemon 678.4kB [2023-03-16T17:10:34.650Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T17:10:34.650Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-16T17:10:34.650Z] ---> 6dd2432447ee [2023-03-16T17:10:34.650Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T17:10:34.650Z] ---> Running in 71ff044d7402 [2023-03-16T17:10:34.917Z] Removing intermediate container 71ff044d7402 [2023-03-16T17:10:34.917Z] ---> cabaf22bfa8d [2023-03-16T17:10:34.917Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T17:10:34.918Z] ---> Running in 553c54fbe075 [2023-03-16T17:10:35.183Z] Removing intermediate container 553c54fbe075 [2023-03-16T17:10:35.183Z] ---> ce8a61a6e116 [2023-03-16T17:10:35.183Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-16T17:10:35.457Z] ---> Running in 810adffd0968 [2023-03-16T17:10:35.723Z] Removing intermediate container 810adffd0968 [2023-03-16T17:10:35.723Z] ---> 695cc75c482f [2023-03-16T17:10:35.723Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T17:10:35.723Z] ---> Running in 52ae81c53d7d [2023-03-16T17:10:36.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:10:37.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T17:10:38.219Z] OK: 263 MiB in 53 packages [2023-03-16T17:10:38.813Z] Removing intermediate container 52ae81c53d7d [2023-03-16T17:10:38.813Z] ---> 4e6057798023 [2023-03-16T17:10:38.813Z] Step 7/29 : WORKDIR /app [2023-03-16T17:10:38.813Z] ---> Running in 5255b08ac916 [2023-03-16T17:10:39.082Z] Removing intermediate container 5255b08ac916 [2023-03-16T17:10:39.082Z] ---> 91d1f3394ba1 [2023-03-16T17:10:39.082Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-16T17:10:42.268Z] ---> a5cd4f46f7c6 [2023-03-16T17:10:42.268Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T17:10:42.268Z] ---> Running in e0e213a7231d [2023-03-16T17:10:42.848Z] Removing intermediate container e0e213a7231d [2023-03-16T17:10:42.848Z] ---> 0ca4c2afa090 [2023-03-16T17:10:42.848Z] Step 10/29 : COPY . . [2023-03-16T17:10:43.432Z] ---> f3184f286a6b [2023-03-16T17:10:43.432Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T17:10:43.432Z] ---> Running in 12b482d252d5 [2023-03-16T17:10:43.698Z] Removing intermediate container 12b482d252d5 [2023-03-16T17:10:43.698Z] ---> 95d8ea63e988 [2023-03-16T17:10:43.698Z] Step 12/29 : RUN $MAKE [2023-03-16T17:10:43.698Z] ---> Running in e539dca6e947 [2023-03-16T17:10:44.655Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -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-03-16T17:12:51.309Z] Removing intermediate container e539dca6e947 [2023-03-16T17:12:51.309Z] ---> 3a782e46a1a3 [2023-03-16T17:12:51.309Z] Step 13/29 : FROM alpine:3.17 [2023-03-16T17:12:51.309Z] 3.17: Pulling from library/alpine [2023-03-16T17:12:51.309Z] af6eaf76a39c: Already exists [2023-03-16T17:12:51.309Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T17:12:51.309Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T17:12:51.309Z] ---> d74e625d9115 [2023-03-16T17:12:51.309Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T17:12:51.309Z] ---> Running in ef90efa1c301 [2023-03-16T17:12:51.309Z] Removing intermediate container ef90efa1c301 [2023-03-16T17:12:51.309Z] ---> 18e1cc323f10 [2023-03-16T17:12:51.309Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-16T17:12:51.309Z] ---> Running in a281cc77640f [2023-03-16T17:12:51.309Z] Removing intermediate container a281cc77640f [2023-03-16T17:12:51.309Z] ---> 9995bdc0b453 [2023-03-16T17:12:51.309Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-16T17:12:51.309Z] ---> Running in 146b0bc893fc [2023-03-16T17:12:51.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:12:51.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T17:12:51.309Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-16T17:12:51.309Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-16T17:12:51.309Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T17:12:51.309Z] Executing ca-certificates-20220614-r4.trigger [2023-03-16T17:12:51.309Z] OK: 8 MiB in 17 packages [2023-03-16T17:12:51.309Z] Removing intermediate container 146b0bc893fc [2023-03-16T17:12:51.309Z] ---> 77322352a684 [2023-03-16T17:12:51.309Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-16T17:12:51.577Z] ---> 345ff0461788 [2023-03-16T17:12:51.577Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-16T17:12:52.162Z] ---> f4f935744e98 [2023-03-16T17:12:52.162Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-16T17:12:54.745Z] ---> ca2ac0fd202b [2023-03-16T17:12:54.745Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-16T17:12:55.330Z] ---> c88beb013a35 [2023-03-16T17:12:55.330Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-16T17:12:56.740Z] ---> 22340ab8ebd0 [2023-03-16T17:12:56.740Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-16T17:12:56.740Z] ---> Running in a9f63882d9b8 [2023-03-16T17:12:58.168Z] Removing intermediate container a9f63882d9b8 [2023-03-16T17:12:58.168Z] ---> d5e58f0adeb8 [2023-03-16T17:12:58.168Z] Step 23/29 : VOLUME /cache [2023-03-16T17:12:58.436Z] ---> Running in 14a0af786d16 [2023-03-16T17:12:58.705Z] Removing intermediate container 14a0af786d16 [2023-03-16T17:12:58.705Z] ---> a53060c22686 [2023-03-16T17:12:58.705Z] Step 24/29 : EXPOSE 59711 [2023-03-16T17:12:58.705Z] ---> Running in a318ccf5a8e2 [2023-03-16T17:12:58.974Z] Removing intermediate container a318ccf5a8e2 [2023-03-16T17:12:58.974Z] ---> 43de51a8a54d [2023-03-16T17:12:58.974Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-16T17:12:59.244Z] ---> Running in d9fcd75892a1 [2023-03-16T17:12:59.513Z] Removing intermediate container d9fcd75892a1 [2023-03-16T17:12:59.513Z] ---> c64247dfa4b9 [2023-03-16T17:12:59.513Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-16T17:12:59.513Z] ---> Running in ef52e3e64f71 [2023-03-16T17:12:59.782Z] Removing intermediate container ef52e3e64f71 [2023-03-16T17:12:59.782Z] ---> eab6dad59ca0 [2023-03-16T17:12:59.782Z] Step 27/29 : LABEL arch=arm64 [2023-03-16T17:12:59.782Z] ---> Running in a8678b01ac09 [2023-03-16T17:13:00.051Z] Removing intermediate container a8678b01ac09 [2023-03-16T17:13:00.051Z] ---> 46f176dc54f8 [2023-03-16T17:13:00.051Z] Step 28/29 : LABEL git_sha=7686bc774fb40174b3cad436c0db71a2f5a267b7 [2023-03-16T17:13:00.318Z] ---> Running in f9266d10d7f5 [2023-03-16T17:13:00.588Z] Removing intermediate container f9266d10d7f5 [2023-03-16T17:13:00.588Z] ---> 97dfb949588e [2023-03-16T17:13:00.588Z] Step 29/29 : LABEL version=0.0.0 [2023-03-16T17:13:00.588Z] ---> Running in 6544b289c484 [2023-03-16T17:13:00.854Z] Removing intermediate container 6544b289c484 [2023-03-16T17:13:00.854Z] ---> db3fabc4b3ea [2023-03-16T17:13:00.854Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T17:13:00.854Z] Successfully built db3fabc4b3ea [2023-03-16T17:13:00.854Z] 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-03-16T17:13:01.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T17:13:01.649Z] [2023-03-16T17:13:01.649Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:13:02.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T17:13:02.047Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T17:13:02.047Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T17:13:02.047Z] 04944245beec: Pulling fs layer [2023-03-16T17:13:02.047Z] 699f458cf7ca: Pulling fs layer [2023-03-16T17:13:02.047Z] 765212b225bb: Pulling fs layer [2023-03-16T17:13:02.047Z] f23df028b6ca: Pulling fs layer [2023-03-16T17:13:02.047Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T17:13:02.047Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T17:13:02.047Z] f23df028b6ca: Waiting [2023-03-16T17:13:02.047Z] d65c8cfc05b1: Waiting [2023-03-16T17:13:02.047Z] 765212b225bb: Waiting [2023-03-16T17:13:02.314Z] 04944245beec: Verifying Checksum [2023-03-16T17:13:02.314Z] 04944245beec: Download complete [2023-03-16T17:13:02.314Z] 765212b225bb: Verifying Checksum [2023-03-16T17:13:02.314Z] 765212b225bb: Download complete [2023-03-16T17:13:02.314Z] f23df028b6ca: Download complete [2023-03-16T17:13:02.314Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T17:13:02.314Z] d65c8cfc05b1: Download complete [2023-03-16T17:13:02.585Z] 699f458cf7ca: Verifying Checksum [2023-03-16T17:13:02.585Z] 699f458cf7ca: Download complete [2023-03-16T17:13:02.850Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T17:13:02.850Z] 8998bd30e6a1: Download complete [2023-03-16T17:13:05.425Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T17:13:05.426Z] 2437ff75d9bd: Download complete [2023-03-16T17:13:07.365Z] 8998bd30e6a1: Pull complete [2023-03-16T17:13:07.951Z] 04944245beec: Pull complete [2023-03-16T17:13:09.360Z] 699f458cf7ca: Pull complete [2023-03-16T17:13:09.360Z] 765212b225bb: Pull complete [2023-03-16T17:13:10.320Z] f23df028b6ca: Pull complete [2023-03-16T17:13:10.320Z] d65c8cfc05b1: Pull complete [2023-03-16T17:13:25.317Z] 2437ff75d9bd: Pull complete [2023-03-16T17:13:25.317Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T17:13:25.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T17:13:25.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:13:25.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-2485 does not seem to be running inside a container [2023-03-16T17:13:25.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T17:13:28.368Z] $ docker top 2f6063331642295f38cfb865be81e4824f94c7d620a28232240c2975021f90e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:29.277Z] ---> job-cost.sh [2023-03-16T17:13:29.277Z] lf-activate-venv: SKIPPING [2023-03-16T17:13:29.277Z] INFO: No Stack... [2023-03-16T17:13:29.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T17:13:30.440Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T17:13:31.090Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-03-16T17:13:31.090Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T17:13:31.164Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] [2023-03-16T17:13:31.168Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] did not exist. Created. [2023-03-16T17:13:31.168Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T17:13:31.895Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-f36c5b29/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T17:13:32.261Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T17:13:32.301Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T17:13:32.348Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T17:13:32.363Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-162-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T17:13:32.436Z] $ docker stop --time=1 2f6063331642295f38cfb865be81e4824f94c7d620a28232240c2975021f90e5 [2023-03-16T17:13:33.939Z] $ docker rm -f --volumes 2f6063331642295f38cfb865be81e4824f94c7d620a28232240c2975021f90e5 [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-03-16T17:13:34.976Z] provisioning config files... [2023-03-16T17:13:34.983Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/config7973014774183812511tmp [Pipeline] { [Pipeline] sh [2023-03-16T17:13:35.312Z] + set +x [2023-03-16T17:13:35.312Z] + curl -s https://codecov.io/bash [2023-03-16T17:13:35.312Z] + bash -s -- [2023-03-16T17:13:35.312Z] [2023-03-16T17:13:35.312Z] _____ _ [2023-03-16T17:13:35.312Z] / ____| | | [2023-03-16T17:13:35.312Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T17:13:35.312Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T17:13:35.312Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T17:13:35.312Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T17:13:35.312Z] Bash-1.0.6 [2023-03-16T17:13:35.312Z] [2023-03-16T17:13:35.312Z] [2023-03-16T17:13:35.312Z] ==> git version 2.25.1 found [2023-03-16T17:13:35.312Z] ==> 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-03-16T17:13:35.312Z] Release-Date: 2020-01-08 [2023-03-16T17:13:35.312Z] 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-03-16T17:13:35.312Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T17:13:35.312Z] ==> Jenkins CI detected. [2023-03-16T17:13:35.312Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-162 [2023-03-16T17:13:35.312Z] project root: . [2023-03-16T17:13:35.312Z] --> token set from env [2023-03-16T17:13:35.312Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T17:13:35.312Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T17:13:35.312Z] ==> Python coveragepy not found [2023-03-16T17:13:35.312Z] ==> Searching for coverage reports in: [2023-03-16T17:13:35.312Z] + . [2023-03-16T17:13:35.312Z] -> Found 1 reports [2023-03-16T17:13:35.312Z] ==> Detecting git/mercurial file structure [2023-03-16T17:13:35.312Z] ==> Reading reports [2023-03-16T17:13:35.312Z] + ./coverage.out bytes=41317 [2023-03-16T17:13:35.312Z] ==> Appending adjustments [2023-03-16T17:13:35.312Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T17:13:35.575Z] + Found adjustments [2023-03-16T17:13:35.575Z] ==> Gzipping contents [2023-03-16T17:13:35.575Z] 12K /tmp/codecov.a8OPXi.gz [2023-03-16T17:13:35.575Z] ==> Uploading reports [2023-03-16T17:13:35.575Z] url: https://codecov.io [2023-03-16T17:13:35.575Z] query: branch=PR-162&commit=7686bc774fb40174b3cad436c0db71a2f5a267b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=162&job=&cmd_args= [2023-03-16T17:13:35.575Z] -> Pinging Codecov [2023-03-16T17:13:35.575Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-162&commit=7686bc774fb40174b3cad436c0db71a2f5a267b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=162&job=&cmd_args= [2023-03-16T17:13:35.834Z] -> Uploading to [2023-03-16T17:13:35.834Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/581DD39554BDF9B6E22D074273EAD858/7686bc774fb40174b3cad436c0db71a2f5a267b7/b5b06e2b-14bc-4954-bb53-dd376c465d06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T171335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9cae1192154df6f9dce8393c671b8a89df4f70299351850ff7cc11fe3ab35822 [2023-03-16T17:13:35.834Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T17:13:35.834Z] Dload Upload Total Spent Left Speed [2023-03-16T17:13:36.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11805 0 0 100 11805 0 44885 --:--:-- --:--:-- --:--:-- 44885 [2023-03-16T17:13:36.094Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/7686bc774fb40174b3cad436c0db71a2f5a267b7 [Pipeline] } [2023-03-16T17:13:36.119Z] 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-03-16T17:13:37.825Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-162/archives ] [2023-03-16T17:13:37.825Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-162/archives [2023-03-16T17:13:37.825Z] total 16 [2023-03-16T17:13:37.825Z] drwxr-xr-x 3 root root 4096 Mar 16 17:02 . [2023-03-16T17:13:37.825Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 17:02 .. [2023-03-16T17:13:37.825Z] drwxr-xr-x 2 root root 4096 Mar 16 17:02 cost [2023-03-16T17:13:37.825Z] -rw-r--r-- 1 root root 95 Mar 16 17:02 cost.csv [2023-03-16T17:13:37.825Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-162/archives [2023-03-16T17:13:37.825Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-162/archives [2023-03-16T17:13:37.825Z] total 16 [2023-03-16T17:13:37.825Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 17:02 . [2023-03-16T17:13:37.825Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 17:02 .. [2023-03-16T17:13:37.825Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 17:02 cost [2023-03-16T17:13:37.825Z] -rw-r--r-- 1 jenkins jenkins 95 Mar 16 17:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:38.150Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:39.032Z] ---> package-listing.sh [2023-03-16T17:13:39.032Z] ++ facter osfamily [2023-03-16T17:13:39.032Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T17:13:39.292Z] + OS_FAMILY=debian [2023-03-16T17:13:39.292Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-162 [2023-03-16T17:13:39.292Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T17:13:39.292Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T17:13:39.292Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T17:13:39.292Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T17:13:39.292Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-162 ']' [2023-03-16T17:13:39.292Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T17:13:39.292Z] + case "${OS_FAMILY}" in [2023-03-16T17:13:39.292Z] + dpkg -l [2023-03-16T17:13:39.292Z] + grep '^ii' [2023-03-16T17:13:39.292Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T17:13:39.292Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T17:13:39.292Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T17:13:39.292Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-162 ']' [2023-03-16T17:13:39.292Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-162/archives/ [2023-03-16T17:13:39.292Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-162/archives/ [Pipeline] echo [2023-03-16T17:13:39.326Z] 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-162/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T17:13:39.615Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:13:40.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:13:40.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:13:40.423Z] prd-ubuntu20.04-docker-8c-8g-2484 does not seem to be running inside a container [2023-03-16T17:13:40.457Z] $ 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-162/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-162 -v /w/workspace/y_app-rfid-llrp-inventory_PR-162:/w/workspace/y_app-rfid-llrp-inventory_PR-162:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-162@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T17:13:40.693Z] $ docker top 1d6d2beeee7795237e1456bba6d21fb1126d7626eedce964cc1b04c13abf59e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:13:41.091Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T17:13:41.397Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T17:13:41.709Z] + ls /var/log/sa-host [2023-03-16T17:13:41.709Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T17:13:41.939Z] provisioning config files... [2023-03-16T17:13:41.949Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-162@tmp/config2521972918111863026tmp [Pipeline] { [Pipeline] echo [2023-03-16T17:13:42.000Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:42.309Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T17:13:42.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:42.732Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T17:13:42.766Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:43.074Z] ---> sudo-logs.sh [2023-03-16T17:13:43.074Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T17:13:43.164Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:43.469Z] ---> job-cost.sh [2023-03-16T17:13:43.470Z] lf-activate-venv: SKIPPING [2023-03-16T17:13:43.470Z] DEBUG: total: 0.2199999988079071 [2023-03-16T17:13:43.470Z] INFO: Retrieving Stack Cost... [2023-03-16T17:13:43.728Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T17:13:44.294Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T17:13:44.326Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:13:44.637Z] ---> logs-deploy.sh [2023-03-16T17:13:44.637Z] lf-activate-venv: SKIPPING [2023-03-16T17:13:44.637Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-162/1 [2023-03-16T17:13:44.637Z] INFO: archiving workspace using pattern(s): [2023-03-16T17:13:45.577Z] Archives upload complete. [2023-03-16T17:13:45.577Z] INFO: archiving logs to Nexus