Pull request #130 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d7a3e12637c701bfa72bacfa2342a668b5f2b89d+cbfcac44887bc7898a8a00a335521df61c6eaadd (d22a0aac92d3d8d1816e291bbdc9716fd656f572) 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-ssh6502469975151050851.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7340597048101293516.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-130/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-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3290360671106292045.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-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14413095274425749455.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6324558485947176633.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-130/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-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh835633557764805846.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1442 in /w/workspace/y_app-rfid-llrp-inventory_PR-130 [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-130 # 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/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cbfcac44887bc7898a8a00a335521df61c6eaadd into PR head commit d7a3e12637c701bfa72bacfa2342a668b5f2b89d Merge succeeded, producing d7a3e12637c701bfa72bacfa2342a668b5f2b89d Checking out Revision d7a3e12637c701bfa72bacfa2342a668b5f2b89d (PR-130) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-09T13:04:52.515Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d7a3e12637c701bfa72bacfa2342a668b5f2b89d # 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 cbfcac44887bc7898a8a00a335521df61c6eaadd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7a3e12637c701bfa72bacfa2342a668b5f2b89d # timeout=10 [Pipeline] withCredentials [2023-01-09T13:04:52.681Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T13:04:52.773Z] ========================================================= [2023-01-09T13:04:52.773Z] EdgeX Global Pipelines Version Info [2023-01-09T13:04:52.773Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:04:54.331Z] ------------------- [2023-01-09T13:04:54.331Z] stable info: [2023-01-09T13:04:54.331Z] ------------------- [2023-01-09T13:04:54.331Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T13:04:54.331Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T13:04:54.331Z] Message: update stable to v1.0.244 [2023-01-09T13:04:54.593Z] ------------------- [2023-01-09T13:04:54.593Z] experimental info: [2023-01-09T13:04:54.593Z] ------------------- [2023-01-09T13:04:54.593Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T13:04:54.593Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T13:04:54.593Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T13:04:54.900Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-01-09T13:04:54.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-01-09T13:04:54.975Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T13:04:55.010Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T13:04:55.045Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T13:04:55.084Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T13:04:55.117Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T13:04:55.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-09T13:04:55.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T13:04:55.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T13:04:55.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T13:04:55.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-01-09T13:04:55.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T13:04:55.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T13:04:55.423Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T13:04:55.458Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T13:04:55.494Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T13:04:55.537Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T13:04:55.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T13:04:55.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T13:04:55.648Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-09T13:04:55.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-09T13:04:55.714Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T13:04:55.757Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T13:04:55.791Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T13:04:55.824Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T13:04:55.858Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T13:04:55.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo [2023-01-09T13:04:55.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo [2023-01-09T13:04:55.970Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo [2023-01-09T13:04:56.010Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7a3e12637c701bfa72bacfa2342a668b5f2b89d [Pipeline] echo [2023-01-09T13:04:56.048Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7a3e12 [Pipeline] echo [2023-01-09T13:04:56.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T13:04:56.283Z] provisioning config files... [2023-01-09T13:04:56.323Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/config10092073603853682895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:04:56.678Z] ---> docker-login.sh [2023-01-09T13:04:56.678Z] nexus3.edgexfoundry.org:10001 [2023-01-09T13:04:56.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:04:57.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:04:57.198Z] Configure a credential helper to remove this warning. See [2023-01-09T13:04:57.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:04:57.198Z] [2023-01-09T13:04:57.198Z] Login Succeeded [2023-01-09T13:04:57.198Z] nexus3.edgexfoundry.org:10002 [2023-01-09T13:04:57.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:04:57.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:04:57.458Z] Configure a credential helper to remove this warning. See [2023-01-09T13:04:57.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:04:57.458Z] [2023-01-09T13:04:57.458Z] Login Succeeded [2023-01-09T13:04:57.458Z] nexus3.edgexfoundry.org:10003 [2023-01-09T13:04:57.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:04:57.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:04:57.458Z] Configure a credential helper to remove this warning. See [2023-01-09T13:04:57.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:04:57.458Z] [2023-01-09T13:04:57.458Z] Login Succeeded [2023-01-09T13:04:57.458Z] nexus3.edgexfoundry.org:10004 [2023-01-09T13:04:57.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:04:57.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:04:57.718Z] Configure a credential helper to remove this warning. See [2023-01-09T13:04:57.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:04:57.718Z] [2023-01-09T13:04:57.718Z] Login Succeeded [2023-01-09T13:04:57.718Z] docker.io [2023-01-09T13:04:57.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:04:57.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:04:57.979Z] Configure a credential helper to remove this warning. See [2023-01-09T13:04:57.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:04:57.979Z] [2023-01-09T13:04:57.979Z] Login Succeeded [2023-01-09T13:04:57.979Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T13:04:58.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T13:04:58.629Z] + git rev-list -1 --merges d7a3e12637c701bfa72bacfa2342a668b5f2b89d~1..d7a3e12637c701bfa72bacfa2342a668b5f2b89d [Pipeline] echo [2023-01-09T13:04:58.700Z] -----------> git rev-list -1 --merges d7a3e12637c701bfa72bacfa2342a668b5f2b89d~1..d7a3e12637c701bfa72bacfa2342a668b5f2b89d d7a3e12637c701bfa72bacfa2342a668b5f2b89d [false] [Pipeline] sh [2023-01-09T13:04:59.011Z] + git log --format=format:%s -1 d7a3e12637c701bfa72bacfa2342a668b5f2b89d [Pipeline] echo [2023-01-09T13:04:59.050Z] ========================================================= [2023-01-09T13:04:59.050Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T13:04:59.050Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T13:04:59.492Z] + git log --format=format:%s -1 d7a3e12637c701bfa72bacfa2342a668b5f2b89d [Pipeline] echo [2023-01-09T13:04:59.529Z] [semverPrep] GIT_COMMIT: d7a3e12637c701bfa72bacfa2342a668b5f2b89d, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo [2023-01-09T13:04:59.558Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T13:04:59.944Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T13:04:59.944Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T13:04:59.944Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T13:04:59.944Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T13:04:59.944Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T13:04:59.944Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T13:04:59.944Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:05:00.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T13:05:00.461Z] [2023-01-09T13:05:00.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:05:00.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T13:05:00.875Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T13:05:00.875Z] b85a868b505f: Pulling fs layer [2023-01-09T13:05:00.875Z] e2be974225ed: Pulling fs layer [2023-01-09T13:05:00.875Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T13:05:00.875Z] 988bab9f4d93: Pulling fs layer [2023-01-09T13:05:00.875Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T13:05:00.875Z] eaf3925da568: Pulling fs layer [2023-01-09T13:05:00.875Z] bab4dde63d76: Pulling fs layer [2023-01-09T13:05:00.875Z] bde34c3a00c8: Pulling fs layer [2023-01-09T13:05:00.875Z] b352a97aabf1: Pulling fs layer [2023-01-09T13:05:00.875Z] 4872d77fe225: Pulling fs layer [2023-01-09T13:05:00.875Z] 5851b861e8e6: Pulling fs layer [2023-01-09T13:05:00.875Z] 988bab9f4d93: Waiting [2023-01-09T13:05:00.875Z] 1469e6f7b9e6: Waiting [2023-01-09T13:05:00.875Z] eaf3925da568: Waiting [2023-01-09T13:05:00.875Z] bab4dde63d76: Waiting [2023-01-09T13:05:00.875Z] bde34c3a00c8: Waiting [2023-01-09T13:05:00.875Z] b352a97aabf1: Waiting [2023-01-09T13:05:00.875Z] 4872d77fe225: Waiting [2023-01-09T13:05:00.875Z] 5851b861e8e6: Waiting [2023-01-09T13:05:00.875Z] e2be974225ed: Download complete [2023-01-09T13:05:00.875Z] 988bab9f4d93: Verifying Checksum [2023-01-09T13:05:00.875Z] 988bab9f4d93: Download complete [2023-01-09T13:05:01.139Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T13:05:01.139Z] 1469e6f7b9e6: Download complete [2023-01-09T13:05:01.139Z] eaf3925da568: Verifying Checksum [2023-01-09T13:05:01.139Z] eaf3925da568: Download complete [2023-01-09T13:05:01.139Z] 339a4e72a1f5: Verifying Checksum [2023-01-09T13:05:01.139Z] 339a4e72a1f5: Download complete [2023-01-09T13:05:01.139Z] bde34c3a00c8: Download complete [2023-01-09T13:05:01.139Z] b352a97aabf1: Verifying Checksum [2023-01-09T13:05:01.139Z] b352a97aabf1: Download complete [2023-01-09T13:05:01.139Z] 4872d77fe225: Verifying Checksum [2023-01-09T13:05:01.139Z] 4872d77fe225: Download complete [2023-01-09T13:05:01.139Z] 5851b861e8e6: Verifying Checksum [2023-01-09T13:05:01.139Z] 5851b861e8e6: Download complete [2023-01-09T13:05:01.139Z] b85a868b505f: Verifying Checksum [2023-01-09T13:05:01.139Z] b85a868b505f: Download complete [2023-01-09T13:05:01.706Z] bab4dde63d76: Verifying Checksum [2023-01-09T13:05:01.706Z] bab4dde63d76: Download complete [2023-01-09T13:05:03.088Z] b85a868b505f: Pull complete [2023-01-09T13:05:03.665Z] e2be974225ed: Pull complete [2023-01-09T13:05:04.604Z] 339a4e72a1f5: Pull complete [2023-01-09T13:05:05.182Z] 988bab9f4d93: Pull complete [2023-01-09T13:05:06.562Z] 1469e6f7b9e6: Pull complete [2023-01-09T13:05:07.499Z] eaf3925da568: Pull complete [2023-01-09T13:05:10.786Z] bab4dde63d76: Pull complete [2023-01-09T13:05:10.786Z] bde34c3a00c8: Pull complete [2023-01-09T13:05:11.366Z] b352a97aabf1: Pull complete [2023-01-09T13:05:12.302Z] 4872d77fe225: Pull complete [2023-01-09T13:05:12.867Z] 5851b861e8e6: Pull complete [2023-01-09T13:05:13.125Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T13:05:13.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T13:05:13.382Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:05:13.594Z] prd-ubuntu20.04-docker-8c-8g-1442 does not seem to be running inside a container [2023-01-09T13:05:13.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-130 -v /w/workspace/y_app-rfid-llrp-inventory_PR-130:/w/workspace/y_app-rfid-llrp-inventory_PR-130:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T13:05:20.480Z] $ docker top cfb7e4420cd0289c22b1427981d31bca85b8dd9c6c252deeca234a556b3c7129 -eo pid,comm [2023-01-09T13:05:20.579Z] 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-01-09T13:05:20.579Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T13:05:20.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T13:05:20.703Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T13:05:20.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T13:05:20.802Z] $ docker exec cfb7e4420cd0289c22b1427981d31bca85b8dd9c6c252deeca234a556b3c7129 ssh-agent [2023-01-09T13:05:20.904Z] SSH_AUTH_SOCK=/tmp/ssh-8bAVQTPIIwXI/agent.13 [2023-01-09T13:05:20.904Z] SSH_AGENT_PID=19 [2023-01-09T13:05:20.911Z] Running ssh-add (command line suppressed) [2023-01-09T13:05:21.010Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/private_key_3072213307719562789.key (/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/private_key_3072213307719562789.key) [2023-01-09T13:05:21.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T13:05:21.383Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T13:05:21.409Z] $ docker exec --env ******** --env ******** cfb7e4420cd0289c22b1427981d31bca85b8dd9c6c252deeca234a556b3c7129 ssh-agent -k [2023-01-09T13:05:21.482Z] unset SSH_AUTH_SOCK; [2023-01-09T13:05:21.483Z] unset SSH_AGENT_PID; [2023-01-09T13:05:21.483Z] echo Agent pid 19 killed; [2023-01-09T13:05:21.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T13:05:21.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T13:05:21.591Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T13:05:21.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T13:05:21.702Z] $ docker exec cfb7e4420cd0289c22b1427981d31bca85b8dd9c6c252deeca234a556b3c7129 ssh-agent [2023-01-09T13:05:21.808Z] SSH_AUTH_SOCK=/tmp/ssh-2VJflXYqLnYs/agent.69 [2023-01-09T13:05:21.808Z] SSH_AGENT_PID=75 [2023-01-09T13:05:21.814Z] Running ssh-add (command line suppressed) [2023-01-09T13:05:21.914Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/private_key_17230410316732800462.key (/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/private_key_17230410316732800462.key) [2023-01-09T13:05:21.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T13:05:22.266Z] + git semver init [2023-01-09T13:05:22.524Z] 2023-01-09 13:05:22,512 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T13:05:22.524Z] 2023-01-09 13:05:22,513 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver [2023-01-09T13:05:22.524Z] 2023-01-09 13:05:22,513 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver [2023-01-09T13:05:22.524Z] 2023-01-09 13:05:22,514 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-130, universal_newlines=False, shell=None, istream=None) [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,914 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-130/.git/info/exclude [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,914 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver/PR-130 with force:False [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,914 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver/PR-130 [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,916 [execute] INFO git cat-file --batch-check [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,921 [execute] INFO git cat-file --batch [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T13:05:24.430Z] 2023-01-09 13:05:23,926 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-130/.semver/PR-130 [2023-01-09T13:05:24.430Z] 0.0.0 [Pipeline] } [2023-01-09T13:05:24.456Z] $ docker exec --env ******** --env ******** cfb7e4420cd0289c22b1427981d31bca85b8dd9c6c252deeca234a556b3c7129 ssh-agent -k [2023-01-09T13:05:24.547Z] unset SSH_AUTH_SOCK; [2023-01-09T13:05:24.547Z] unset SSH_AGENT_PID; [2023-01-09T13:05:24.547Z] echo Agent pid 75 killed; [2023-01-09T13:05:24.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T13:05:24.982Z] + git semver [Pipeline] } [2023-01-09T13:05:25.263Z] $ docker stop --time=1 cfb7e4420cd0289c22b1427981d31bca85b8dd9c6c252deeca234a556b3c7129 [2023-01-09T13:05:26.704Z] $ docker rm -f --volumes cfb7e4420cd0289c22b1427981d31bca85b8dd9c6c252deeca234a556b3c7129 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T13:05:27.143Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T13:05:27.405Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T13:05:27.422Z] [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-01-09T13:05:28.247Z] provisioning config files... [2023-01-09T13:05:28.256Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/config1006028786933839421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:05:28.597Z] ---> docker-login.sh [2023-01-09T13:05:28.598Z] nexus3.edgexfoundry.org:10001 [2023-01-09T13:05:28.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:05:28.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:05:28.598Z] Configure a credential helper to remove this warning. See [2023-01-09T13:05:28.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:05:28.598Z] [2023-01-09T13:05:28.598Z] Login Succeeded [2023-01-09T13:05:28.598Z] nexus3.edgexfoundry.org:10002 [2023-01-09T13:05:28.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:05:28.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:05:28.856Z] Configure a credential helper to remove this warning. See [2023-01-09T13:05:28.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:05:28.856Z] [2023-01-09T13:05:28.856Z] Login Succeeded [2023-01-09T13:05:28.856Z] nexus3.edgexfoundry.org:10003 [2023-01-09T13:05:28.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:05:28.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:05:28.856Z] Configure a credential helper to remove this warning. See [2023-01-09T13:05:28.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:05:28.856Z] [2023-01-09T13:05:28.856Z] Login Succeeded [2023-01-09T13:05:28.856Z] nexus3.edgexfoundry.org:10004 [2023-01-09T13:05:28.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:05:28.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:05:28.856Z] Configure a credential helper to remove this warning. See [2023-01-09T13:05:28.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:05:28.856Z] [2023-01-09T13:05:28.856Z] Login Succeeded [2023-01-09T13:05:28.856Z] docker.io [2023-01-09T13:05:29.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:05:29.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:05:29.116Z] Configure a credential helper to remove this warning. See [2023-01-09T13:05:29.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:05:29.116Z] [2023-01-09T13:05:29.116Z] Login Succeeded [2023-01-09T13:05:29.116Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T13:05:29.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T13:05:29.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T13:05:29.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T13:05:29.418Z] ========================================================= [2023-01-09T13:05:29.418Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T13:05:29.418Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:05:29.890Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T13:05:29.890Z] Sending build context to Docker daemon 12.55MB [2023-01-09T13:05:29.890Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T13:05:29.890Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-09T13:05:29.890Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T13:05:29.890Z] 213ec9aee27d: Pulling fs layer [2023-01-09T13:05:29.890Z] 4583459ba037: Pulling fs layer [2023-01-09T13:05:29.890Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T13:05:29.890Z] 53926ce57604: Pulling fs layer [2023-01-09T13:05:29.890Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T13:05:29.890Z] 22ff95d597cd: Pulling fs layer [2023-01-09T13:05:29.890Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T13:05:29.890Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T13:05:29.890Z] a7acece74701: Pulling fs layer [2023-01-09T13:05:29.890Z] 21b2b0c7a3f4: Waiting [2023-01-09T13:05:29.890Z] 53926ce57604: Waiting [2023-01-09T13:05:29.890Z] 22ff95d597cd: Waiting [2023-01-09T13:05:29.890Z] 96b7cbca73a9: Waiting [2023-01-09T13:05:29.890Z] 93c1e223e6f2: Verifying Checksum [2023-01-09T13:05:29.890Z] 93c1e223e6f2: Download complete [2023-01-09T13:05:29.890Z] 4583459ba037: Download complete [2023-01-09T13:05:29.890Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T13:05:29.890Z] 21b2b0c7a3f4: Download complete [2023-01-09T13:05:30.154Z] 22ff95d597cd: Verifying Checksum [2023-01-09T13:05:30.154Z] 22ff95d597cd: Download complete [2023-01-09T13:05:30.154Z] 213ec9aee27d: Verifying Checksum [2023-01-09T13:05:30.154Z] 213ec9aee27d: Download complete [2023-01-09T13:05:30.154Z] 12d6caf4c0d1: Download complete [2023-01-09T13:05:30.154Z] 213ec9aee27d: Pull complete [2023-01-09T13:05:30.424Z] 4583459ba037: Pull complete [2023-01-09T13:05:30.424Z] 93c1e223e6f2: Pull complete [2023-01-09T13:05:30.691Z] a7acece74701: Verifying Checksum [2023-01-09T13:05:30.691Z] a7acece74701: Download complete [2023-01-09T13:05:30.951Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T13:05:30.951Z] 96b7cbca73a9: Download complete [2023-01-09T13:05:30.951Z] 53926ce57604: Verifying Checksum [2023-01-09T13:05:30.951Z] 53926ce57604: Download complete [2023-01-09T13:05:34.233Z] 53926ce57604: Pull complete [2023-01-09T13:05:34.233Z] 21b2b0c7a3f4: Pull complete [2023-01-09T13:05:34.233Z] 22ff95d597cd: Pull complete [2023-01-09T13:05:34.492Z] 12d6caf4c0d1: Pull complete [2023-01-09T13:05:36.393Z] 96b7cbca73a9: Pull complete [2023-01-09T13:05:37.328Z] a7acece74701: Pull complete [2023-01-09T13:05:37.328Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T13:05:37.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T13:05:37.328Z] ---> db6d94c90886 [2023-01-09T13:05:37.328Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-01-09T13:05:42.607Z] ---> Running in 5402d6b5ddb2 [2023-01-09T13:05:42.607Z] Removing intermediate container 5402d6b5ddb2 [2023-01-09T13:05:42.607Z] ---> 7f0e03299600 [2023-01-09T13:05:42.607Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T13:05:42.607Z] ---> Running in 61440a665cc1 [2023-01-09T13:05:42.607Z] Removing intermediate container 61440a665cc1 [2023-01-09T13:05:42.607Z] ---> 54079ef9896b [2023-01-09T13:05:42.607Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-09T13:05:42.607Z] ---> Running in acf9656c7a2c [2023-01-09T13:05:42.607Z] Removing intermediate container acf9656c7a2c [2023-01-09T13:05:42.607Z] ---> 8c3f8215751a [2023-01-09T13:05:42.607Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T13:05:42.607Z] ---> Running in 8329df7b9223 [2023-01-09T13:05:42.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T13:05:42.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T13:05:43.083Z] Still waiting to schedule task [2023-01-09T13:05:43.083Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-09T13:05:43.129Z] OK: 211 MiB in 51 packages [2023-01-09T13:05:43.387Z] Removing intermediate container 8329df7b9223 [2023-01-09T13:05:43.387Z] ---> 972619df26c7 [2023-01-09T13:05:43.387Z] Step 7/12 : WORKDIR /app [2023-01-09T13:05:43.387Z] ---> Running in 072ab425d2f9 [2023-01-09T13:05:43.646Z] Removing intermediate container 072ab425d2f9 [2023-01-09T13:05:43.646Z] ---> dace5c621404 [2023-01-09T13:05:43.646Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-09T13:05:43.904Z] ---> cd2dfd5a5958 [2023-01-09T13:05:43.904Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T13:05:43.904Z] ---> Running in 0545b3b34045 [2023-01-09T13:06:15.993Z] Removing intermediate container 0545b3b34045 [2023-01-09T13:06:15.993Z] ---> 4546396221d5 [2023-01-09T13:06:15.993Z] Step 10/12 : COPY . . [2023-01-09T13:06:15.993Z] ---> 582c679d2995 [2023-01-09T13:06:15.993Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T13:06:15.993Z] ---> Running in 6dc40cee11c1 [2023-01-09T13:06:15.993Z] Removing intermediate container 6dc40cee11c1 [2023-01-09T13:06:15.993Z] ---> f1994aa08084 [2023-01-09T13:06:15.993Z] Step 12/12 : RUN $MAKE [2023-01-09T13:06:15.993Z] ---> Running in 5d0d5cdd724c [2023-01-09T13:06:15.993Z] noop [2023-01-09T13:06:15.993Z] Removing intermediate container 5d0d5cdd724c [2023-01-09T13:06:15.993Z] ---> fd24169a4431 [2023-01-09T13:06:15.993Z] Successfully built fd24169a4431 [2023-01-09T13:06:15.993Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:06:16.447Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T13:06:16.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:06:16.595Z] prd-ubuntu20.04-docker-8c-8g-1442 does not seem to be running inside a container [2023-01-09T13:06:16.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-130 -v /w/workspace/y_app-rfid-llrp-inventory_PR-130:/w/workspace/y_app-rfid-llrp-inventory_PR-130:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T13:06:16.947Z] $ docker top 7d938f9b0162c391f7d79b033664982d1ef5ffb2553e6b5e781ca5a2b57096e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T13:06:17.336Z] + go version [2023-01-09T13:06:17.336Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T13:06:17.366Z] $ docker stop --time=1 7d938f9b0162c391f7d79b033664982d1ef5ffb2553e6b5e781ca5a2b57096e7 [2023-01-09T13:06:18.631Z] $ docker rm -f --volumes 7d938f9b0162c391f7d79b033664982d1ef5ffb2553e6b5e781ca5a2b57096e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:06:19.336Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T13:06:19.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:06:19.479Z] prd-ubuntu20.04-docker-8c-8g-1442 does not seem to be running inside a container [2023-01-09T13:06:19.508Z] $ 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-130 -v /w/workspace/y_app-rfid-llrp-inventory_PR-130:/w/workspace/y_app-rfid-llrp-inventory_PR-130:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T13:06:19.840Z] $ docker top 3ca1a5319a6b7bc1042fb1cb55838d05689964ffaa0a14de7a4974675d34fcac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T13:06:20.239Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-130 [Pipeline] fileExists [Pipeline] sh [2023-01-09T13:06:20.604Z] + make test [2023-01-09T13:06:20.604Z] go test -race ./... -coverprofile=coverage.out ./... [2023-01-09T13:06:38.685Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-01-09T13:06:38.685Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.151s coverage: 86.2% of statements [2023-01-09T13:06:38.685Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-01-09T13:06:40.088Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.751s coverage: 71.9% of statements [2023-01-09T13:06:54.970Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-09T13:06:54.970Z] go vet ./... [2023-01-09T13:06:56.876Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T13:06:56.876Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T13:06:56.876Z] ./bin/test-attribution.sh [Pipeline] echo [2023-01-09T13:06:57.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T13:06:57.186Z] $ docker stop --time=1 3ca1a5319a6b7bc1042fb1cb55838d05689964ffaa0a14de7a4974675d34fcac [2023-01-09T13:07:02.521Z] $ docker rm -f --volumes 3ca1a5319a6b7bc1042fb1cb55838d05689964ffaa0a14de7a4974675d34fcac [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T13:07:03.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T13:07:03.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T13:07:03.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T13:07:04.185Z] + ls -al . [2023-01-09T13:07:04.185Z] total 240 [2023-01-09T13:07:04.186Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 13:06 . [2023-01-09T13:07:04.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:04 .. [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 262 Jan 9 13:04 .dockerignore [2023-01-09T13:07:04.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:06 .git [2023-01-09T13:07:04.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:04 .github [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 788 Jan 9 13:04 .gitignore [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 13:04 .golangci.yml [2023-01-09T13:07:04.186Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 13:05 .semver [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 9818 Jan 9 13:04 Attribution.txt [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 4331 Jan 9 13:04 CHANGELOG.md [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 1659 Jan 9 13:04 Dockerfile [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 13:04 GOVERNANCE.md [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 687 Jan 9 13:04 Jenkinsfile [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jan 9 13:04 LICENSE [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 2462 Jan 9 13:04 Makefile [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 9 13:04 OWNERS.md [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 31023 Jan 9 13:04 README.md [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 13:05 VERSION [2023-01-09T13:07:04.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:04 bin [2023-01-09T13:07:04.186Z] -rw-r--r-- 1 jenkins jenkins 41317 Jan 9 13:06 coverage.out [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jan 9 13:04 go.mod [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 45003 Jan 9 13:04 go.sum [2023-01-09T13:07:04.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:04 images [2023-01-09T13:07:04.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:04 internal [2023-01-09T13:07:04.186Z] -rw-rw-r-- 1 jenkins jenkins 531 Jan 9 13:04 main.go [2023-01-09T13:07:04.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:04 res [2023-01-09T13:07:04.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:04 snap [2023-01-09T13:07:04.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:04 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:07:04.668Z] + 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=d7a3e12637c701bfa72bacfa2342a668b5f2b89d --label arch=amd64 --label version=0.0.0 . [2023-01-09T13:07:04.668Z] Sending build context to Docker daemon 12.55MB [2023-01-09T13:07:04.668Z] Step 1/29 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T13:07:04.668Z] Step 2/29 : FROM ${BASE} AS builder [2023-01-09T13:07:04.668Z] ---> fd24169a4431 [2023-01-09T13:07:04.668Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-01-09T13:07:04.927Z] ---> Running in 90dd2f5f1ea5 [2023-01-09T13:07:04.927Z] Removing intermediate container 90dd2f5f1ea5 [2023-01-09T13:07:04.927Z] ---> 56903bd6b9d6 [2023-01-09T13:07:04.927Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T13:07:04.927Z] ---> Running in 57d28db7cb4a [2023-01-09T13:07:04.927Z] Removing intermediate container 57d28db7cb4a [2023-01-09T13:07:04.927Z] ---> 51e7a6557e0b [2023-01-09T13:07:04.927Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-01-09T13:07:04.927Z] ---> Running in ef7cb3814e28 [2023-01-09T13:07:05.185Z] Removing intermediate container ef7cb3814e28 [2023-01-09T13:07:05.185Z] ---> 254fd9ab9092 [2023-01-09T13:07:05.185Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T13:07:05.185Z] ---> Running in 28358879ea7e [2023-01-09T13:07:05.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T13:07:05.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T13:07:05.702Z] OK: 211 MiB in 51 packages [2023-01-09T13:07:05.959Z] Removing intermediate container 28358879ea7e [2023-01-09T13:07:05.959Z] ---> 2ec1b08905e3 [2023-01-09T13:07:05.959Z] Step 7/29 : WORKDIR /app [2023-01-09T13:07:05.959Z] ---> Running in da386ce337d4 [2023-01-09T13:07:06.219Z] Removing intermediate container da386ce337d4 [2023-01-09T13:07:06.219Z] ---> 69cbab065a95 [2023-01-09T13:07:06.219Z] Step 8/29 : COPY go.mod vendor* ./ [2023-01-09T13:07:06.219Z] ---> 7d439d6f9f7e [2023-01-09T13:07:06.219Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T13:07:06.219Z] ---> Running in 8f2c81e1c9cf [2023-01-09T13:07:06.787Z] Removing intermediate container 8f2c81e1c9cf [2023-01-09T13:07:06.787Z] ---> f4ad6c71687b [2023-01-09T13:07:06.787Z] Step 10/29 : COPY . . [2023-01-09T13:07:07.354Z] ---> 718cf67213e2 [2023-01-09T13:07:07.354Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T13:07:07.354Z] ---> Running in da3d1dd34ca7 [2023-01-09T13:07:07.612Z] Removing intermediate container da3d1dd34ca7 [2023-01-09T13:07:07.612Z] ---> 174b72f38434 [2023-01-09T13:07:07.612Z] Step 12/29 : RUN $MAKE [2023-01-09T13:07:07.612Z] ---> Running in ee3ff55a1948 [2023-01-09T13:07:07.871Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.11 -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-01-09T13:07:13.906Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1443 in /w/workspace/y_app-rfid-llrp-inventory_PR-130 [Pipeline] { [Pipeline] ws [2023-01-09T13:07:13.968Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-01-09T13:07:14.049Z] The recommended git tool is: git [2023-01-09T13:07:19.313Z] using credential edgex-jenkins-ssh [2023-01-09T13:07:19.329Z] Cloning the remote Git repository [2023-01-09T13:07:19.383Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-09T13:07:19.465Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-01-09T13:07:19.612Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-09T13:07:19.613Z] > git --version # timeout=10 [2023-01-09T13:07:19.633Z] > git --version # 'git version 2.25.1' [2023-01-09T13:07:19.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T13:07:19.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T13:07:21.646Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-01-09T13:07:21.680Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T13:07:22.505Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-01-09T13:07:22.555Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-09T13:07:22.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T13:07:22.572Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T13:07:23.049Z] Merging remotes/origin/main commit cbfcac44887bc7898a8a00a335521df61c6eaadd into PR head commit d7a3e12637c701bfa72bacfa2342a668b5f2b89d [2023-01-09T13:07:23.267Z] Merge succeeded, producing d7a3e12637c701bfa72bacfa2342a668b5f2b89d [2023-01-09T13:07:23.268Z] Checking out Revision d7a3e12637c701bfa72bacfa2342a668b5f2b89d (PR-130) [2023-01-09T13:07:23.759Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" [2023-01-09T13:07:23.808Z] > git --version # timeout=10 [2023-01-09T13:07:23.821Z] > git --version # 'git version 2.25.1' [2023-01-09T13:07:23.841Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-01-09T13:07:23.072Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T13:07:23.087Z] > git checkout -f d7a3e12637c701bfa72bacfa2342a668b5f2b89d # timeout=10 [2023-01-09T13:07:23.184Z] > git remote # timeout=10 [2023-01-09T13:07:23.201Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T13:07:23.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T13:07:23.233Z] > git merge cbfcac44887bc7898a8a00a335521df61c6eaadd # timeout=10 [2023-01-09T13:07:23.255Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T13:07:23.276Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T13:07:23.289Z] > git checkout -f d7a3e12637c701bfa72bacfa2342a668b5f2b89d # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T13:07:24.954Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T13:07:24.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T13:07:24.954Z] Dload Upload Total Spent Left Speed [2023-01-09T13:07:24.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-01-09T13:07:25.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T13:07:25.957Z] + sudo tee /etc/docker/daemon.new [2023-01-09T13:07:25.958Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-09T13:07:25.958Z] { [2023-01-09T13:07:25.958Z] "registry-mirrors": [ [2023-01-09T13:07:25.958Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T13:07:25.958Z] ], [2023-01-09T13:07:25.958Z] "bip": "10.250.0.254/24", [2023-01-09T13:07:25.958Z] "hosts": [ [2023-01-09T13:07:25.958Z] "tcp://0.0.0.0:5555", [2023-01-09T13:07:25.958Z] "unix:///var/run/docker.sock" [2023-01-09T13:07:25.958Z] ], [2023-01-09T13:07:25.958Z] "mtu": 1458, [2023-01-09T13:07:25.958Z] "selinux-enabled": true, [2023-01-09T13:07:25.958Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T13:07:25.958Z] } [Pipeline] sh [2023-01-09T13:07:26.304Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T13:07:26.659Z] + sudo service docker restart [2023-01-09T13:07:30.063Z] Removing intermediate container ee3ff55a1948 [2023-01-09T13:07:30.063Z] ---> ca9222d83c10 [2023-01-09T13:07:30.063Z] Step 13/29 : FROM alpine:3.14 [2023-01-09T13:07:30.063Z] 3.14: Pulling from library/alpine [2023-01-09T13:07:30.063Z] c7ed990a2339: Pulling fs layer [2023-01-09T13:07:30.063Z] c7ed990a2339: Download complete [2023-01-09T13:07:30.063Z] c7ed990a2339: Pull complete [2023-01-09T13:07:30.063Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-09T13:07:30.063Z] Status: Downloaded newer image for alpine:3.14 [2023-01-09T13:07:30.063Z] ---> dd53f409bf0b [2023-01-09T13:07:30.063Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T13:07:30.063Z] ---> Running in 54901789f6a9 [2023-01-09T13:07:30.063Z] Removing intermediate container 54901789f6a9 [2023-01-09T13:07:30.063Z] ---> 66ee4c4cd238 [2023-01-09T13:07:30.063Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-01-09T13:07:30.063Z] ---> Running in 9a7ef4b1cfd6 [2023-01-09T13:07:30.063Z] Removing intermediate container 9a7ef4b1cfd6 [2023-01-09T13:07:30.063Z] ---> 52c520284dea [2023-01-09T13:07:30.063Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-01-09T13:07:30.063Z] ---> Running in 8c658c03ea4c [2023-01-09T13:07:30.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-09T13:07:30.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-09T13:07:30.063Z] (1/2) Installing ca-certificates (20220614-r0) [2023-01-09T13:07:30.063Z] (2/2) Installing dumb-init (1.2.5-r1) [2023-01-09T13:07:30.063Z] Executing busybox-1.33.1-r8.trigger [2023-01-09T13:07:30.063Z] Executing ca-certificates-20220614-r0.trigger [2023-01-09T13:07:30.063Z] OK: 6 MiB in 16 packages [2023-01-09T13:07:30.063Z] Removing intermediate container 8c658c03ea4c [2023-01-09T13:07:30.063Z] ---> 878e173073bd [2023-01-09T13:07:30.063Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-01-09T13:07:30.063Z] ---> 87c4705f46a8 [2023-01-09T13:07:30.063Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-01-09T13:07:30.063Z] ---> 1303dc82922b [2023-01-09T13:07:30.063Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-01-09T13:07:30.063Z] ---> 22085df63be8 [2023-01-09T13:07:30.063Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-01-09T13:07:30.063Z] ---> f811e5c43523 [2023-01-09T13:07:30.063Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-01-09T13:07:30.321Z] ---> cfe6bc46f34c [2023-01-09T13:07:30.321Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-01-09T13:07:30.321Z] ---> Running in a85dc7bd03a7 [2023-01-09T13:07:30.888Z] Removing intermediate container a85dc7bd03a7 [2023-01-09T13:07:30.888Z] ---> b8ec6e022af9 [2023-01-09T13:07:30.888Z] Step 23/29 : VOLUME /cache [2023-01-09T13:07:30.888Z] ---> Running in 0fb8cf38bb8d [2023-01-09T13:07:30.888Z] Removing intermediate container 0fb8cf38bb8d [2023-01-09T13:07:30.888Z] ---> 454e89281b68 [2023-01-09T13:07:30.888Z] Step 24/29 : EXPOSE 59711 [2023-01-09T13:07:30.888Z] ---> Running in c6f14bc6f7db [2023-01-09T13:07:31.150Z] Removing intermediate container c6f14bc6f7db [2023-01-09T13:07:31.150Z] ---> 8f52637ea882 [2023-01-09T13:07:31.150Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-01-09T13:07:31.150Z] ---> Running in 258dbbbb4954 [2023-01-09T13:07:31.150Z] Removing intermediate container 258dbbbb4954 [2023-01-09T13:07:31.150Z] ---> e2e4344b4ef4 [2023-01-09T13:07:31.150Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-01-09T13:07:31.150Z] ---> Running in 36c374f16ce9 [2023-01-09T13:07:31.150Z] Removing intermediate container 36c374f16ce9 [2023-01-09T13:07:31.150Z] ---> 13fc12ceacbb [2023-01-09T13:07:31.150Z] Step 27/29 : LABEL arch=amd64 [2023-01-09T13:07:31.150Z] ---> Running in a62d3c990c18 [2023-01-09T13:07:31.408Z] Removing intermediate container a62d3c990c18 [2023-01-09T13:07:31.408Z] ---> 20a7767cf75e [2023-01-09T13:07:31.408Z] Step 28/29 : LABEL git_sha=d7a3e12637c701bfa72bacfa2342a668b5f2b89d [2023-01-09T13:07:31.408Z] ---> Running in 554b225dc2f8 [2023-01-09T13:07:31.408Z] Removing intermediate container 554b225dc2f8 [2023-01-09T13:07:31.408Z] ---> 9cba3f680712 [2023-01-09T13:07:31.408Z] Step 29/29 : LABEL version=0.0.0 [2023-01-09T13:07:31.408Z] ---> Running in e9f10bb05680 [2023-01-09T13:07:31.408Z] Removing intermediate container e9f10bb05680 [2023-01-09T13:07:31.408Z] ---> 1828b416c6f8 [2023-01-09T13:07:31.408Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T13:07:31.408Z] Successfully built 1828b416c6f8 [2023-01-09T13:07:31.408Z] 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-01-09T13:07:32.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T13:07:32.330Z] [2023-01-09T13:07:32.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:07:32.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T13:07:32.714Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T13:07:32.714Z] 5eb5b503b376: Pulling fs layer [2023-01-09T13:07:32.714Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T13:07:32.714Z] ec43610c2a17: Pulling fs layer [2023-01-09T13:07:32.714Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T13:07:32.714Z] 33b1e0a273af: Pulling fs layer [2023-01-09T13:07:32.714Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T13:07:32.714Z] 2f39f015ded8: Pulling fs layer [2023-01-09T13:07:32.714Z] 3a2ae6a8a46f: Waiting [2023-01-09T13:07:32.714Z] 33b1e0a273af: Waiting [2023-01-09T13:07:32.714Z] 5d3b04190fa2: Waiting [2023-01-09T13:07:32.714Z] 2f39f015ded8: Waiting [2023-01-09T13:07:32.714Z] 5c69ac0246d0: Download complete [2023-01-09T13:07:32.714Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-09T13:07:32.714Z] 3a2ae6a8a46f: Download complete [2023-01-09T13:07:32.714Z] 33b1e0a273af: Verifying Checksum [2023-01-09T13:07:32.714Z] 33b1e0a273af: Download complete [2023-01-09T13:07:32.973Z] 5d3b04190fa2: Download complete [2023-01-09T13:07:32.973Z] ec43610c2a17: Verifying Checksum [2023-01-09T13:07:32.973Z] ec43610c2a17: Download complete [2023-01-09T13:07:32.973Z] 5eb5b503b376: Verifying Checksum [2023-01-09T13:07:32.973Z] 5eb5b503b376: Download complete [2023-01-09T13:07:33.552Z] 2f39f015ded8: Download complete [2023-01-09T13:07:34.132Z] 5eb5b503b376: Pull complete [2023-01-09T13:07:34.390Z] 5c69ac0246d0: Pull complete [2023-01-09T13:07:34.647Z] ec43610c2a17: Pull complete [2023-01-09T13:07:34.647Z] 3a2ae6a8a46f: Pull complete [2023-01-09T13:07:34.906Z] 33b1e0a273af: Pull complete [2023-01-09T13:07:34.906Z] 5d3b04190fa2: Pull complete [2023-01-09T13:07:39.085Z] 2f39f015ded8: Pull complete [2023-01-09T13:07:39.085Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T13:07:39.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T13:07:39.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:07:39.301Z] prd-ubuntu20.04-docker-8c-8g-1442 does not seem to be running inside a container [2023-01-09T13:07:39.329Z] $ 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-130 -v /w/workspace/y_app-rfid-llrp-inventory_PR-130:/w/workspace/y_app-rfid-llrp-inventory_PR-130:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T13:07:43.356Z] $ docker top 8643c2c9505b8007c60ac5fbebb28fc02c13a0d04dbdda12af2e3d8c73b8ddaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:07:43.824Z] ---> job-cost.sh [2023-01-09T13:07:43.824Z] lf-activate-venv: SKIPPING [2023-01-09T13:07:43.824Z] INFO: No Stack... [2023-01-09T13:07:44.083Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T13:07:44.343Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T13:07:44.666Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-130/archives/cost.csv [2023-01-09T13:07:44.666Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T13:07:44.709Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] [2023-01-09T13:07:44.715Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] did not exist. Created. [2023-01-09T13:07:44.715Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T13:07:44.991Z] provisioning config files... [2023-01-09T13:07:45.021Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config16530991371062883544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:07:45.102Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T13:07:45.229Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T13:07:45.268Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T13:07:45.352Z] $ docker stop --time=1 8643c2c9505b8007c60ac5fbebb28fc02c13a0d04dbdda12af2e3d8c73b8ddaa [2023-01-09T13:07:45.411Z] ---> docker-login.sh [2023-01-09T13:07:45.411Z] nexus3.edgexfoundry.org:10001 [2023-01-09T13:07:45.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:07:45.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:07:45.952Z] Configure a credential helper to remove this warning. See [2023-01-09T13:07:45.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:07:45.952Z] [2023-01-09T13:07:45.952Z] Login Succeeded [2023-01-09T13:07:45.952Z] nexus3.edgexfoundry.org:10002 [2023-01-09T13:07:46.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:07:46.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:07:46.490Z] Configure a credential helper to remove this warning. See [2023-01-09T13:07:46.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:07:46.490Z] [2023-01-09T13:07:46.490Z] Login Succeeded [2023-01-09T13:07:46.490Z] nexus3.edgexfoundry.org:10003 [2023-01-09T13:07:46.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:07:46.502Z] $ docker rm -f --volumes 8643c2c9505b8007c60ac5fbebb28fc02c13a0d04dbdda12af2e3d8c73b8ddaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2023-01-09T13:07:46.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:07:46.761Z] Configure a credential helper to remove this warning. See [2023-01-09T13:07:46.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:07:46.761Z] [2023-01-09T13:07:46.761Z] Login Succeeded [2023-01-09T13:07:46.761Z] nexus3.edgexfoundry.org:10004 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-09T13:07:47.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:07:47.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:07:47.032Z] Configure a credential helper to remove this warning. See [2023-01-09T13:07:47.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:07:47.032Z] [2023-01-09T13:07:47.032Z] Login Succeeded [2023-01-09T13:07:47.032Z] docker.io [2023-01-09T13:07:47.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T13:07:47.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T13:07:47.569Z] Configure a credential helper to remove this warning. See [2023-01-09T13:07:47.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T13:07:47.569Z] [2023-01-09T13:07:47.569Z] Login Succeeded [2023-01-09T13:07:47.569Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T13:07:47.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T13:07:47.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T13:07:48.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T13:07:48.047Z] ========================================================= [2023-01-09T13:07:48.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T13:07:48.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:07:48.534Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T13:07:48.803Z] Sending build context to Docker daemon 685.6kB [2023-01-09T13:07:48.803Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T13:07:48.803Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-09T13:07:48.803Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T13:07:48.803Z] 9b18e9b68314: Pulling fs layer [2023-01-09T13:07:48.803Z] 35d82f9e3411: Pulling fs layer [2023-01-09T13:07:48.803Z] e16973657156: Pulling fs layer [2023-01-09T13:07:48.803Z] fc693d55d65f: Pulling fs layer [2023-01-09T13:07:48.803Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T13:07:48.803Z] dda99020689f: Pulling fs layer [2023-01-09T13:07:48.803Z] db1c61fa0a46: Pulling fs layer [2023-01-09T13:07:48.803Z] 891c053d2c06: Pulling fs layer [2023-01-09T13:07:48.803Z] 7e9fc2657dce: Waiting [2023-01-09T13:07:48.803Z] dda99020689f: Waiting [2023-01-09T13:07:48.803Z] db1c61fa0a46: Waiting [2023-01-09T13:07:48.803Z] 891c053d2c06: Waiting [2023-01-09T13:07:48.803Z] fc693d55d65f: Waiting [2023-01-09T13:07:49.073Z] e16973657156: Verifying Checksum [2023-01-09T13:07:49.073Z] e16973657156: Download complete [2023-01-09T13:07:49.073Z] 35d82f9e3411: Verifying Checksum [2023-01-09T13:07:49.073Z] 35d82f9e3411: Download complete [2023-01-09T13:07:49.073Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T13:07:49.073Z] 7e9fc2657dce: Download complete [2023-01-09T13:07:49.073Z] dda99020689f: Verifying Checksum [2023-01-09T13:07:49.073Z] dda99020689f: Download complete [2023-01-09T13:07:49.073Z] 9b18e9b68314: Verifying Checksum [2023-01-09T13:07:49.073Z] 9b18e9b68314: Download complete [2023-01-09T13:07:50.054Z] 9b18e9b68314: Pull complete [2023-01-09T13:07:50.054Z] 891c053d2c06: Verifying Checksum [2023-01-09T13:07:50.054Z] 891c053d2c06: Download complete [2023-01-09T13:07:50.325Z] 35d82f9e3411: Pull complete [2023-01-09T13:07:50.593Z] e16973657156: Pull complete [2023-01-09T13:07:51.568Z] db1c61fa0a46: Verifying Checksum [2023-01-09T13:07:51.568Z] db1c61fa0a46: Download complete [2023-01-09T13:07:51.839Z] fc693d55d65f: Download complete [2023-01-09T13:08:04.294Z] fc693d55d65f: Pull complete [2023-01-09T13:08:04.294Z] 7e9fc2657dce: Pull complete [2023-01-09T13:08:04.294Z] dda99020689f: Pull complete [2023-01-09T13:08:09.641Z] db1c61fa0a46: Pull complete [2023-01-09T13:08:11.601Z] 891c053d2c06: Pull complete [2023-01-09T13:08:11.871Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T13:08:11.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T13:08:11.871Z] ---> f96f9c87975a [2023-01-09T13:08:11.871Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-01-09T13:08:13.829Z] ---> Running in 7fcd756e4780 [2023-01-09T13:08:13.829Z] Removing intermediate container 7fcd756e4780 [2023-01-09T13:08:13.829Z] ---> 7285d07ab882 [2023-01-09T13:08:13.829Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T13:08:13.829Z] ---> Running in 2b357ebd7921 [2023-01-09T13:08:14.098Z] Removing intermediate container 2b357ebd7921 [2023-01-09T13:08:14.098Z] ---> 72c58703f820 [2023-01-09T13:08:14.098Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-09T13:08:14.098Z] ---> Running in 0c416c662287 [2023-01-09T13:08:14.369Z] Removing intermediate container 0c416c662287 [2023-01-09T13:08:14.369Z] ---> 891cd8063fbf [2023-01-09T13:08:14.369Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T13:08:14.638Z] ---> Running in 4b05088582e8 [2023-01-09T13:08:15.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T13:08:15.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T13:08:16.831Z] OK: 221 MiB in 51 packages [2023-01-09T13:08:17.795Z] Removing intermediate container 4b05088582e8 [2023-01-09T13:08:17.795Z] ---> f7fb38f8200e [2023-01-09T13:08:17.795Z] Step 7/12 : WORKDIR /app [2023-01-09T13:08:17.795Z] ---> Running in 71f609cbd9d7 [2023-01-09T13:08:18.063Z] Removing intermediate container 71f609cbd9d7 [2023-01-09T13:08:18.063Z] ---> 445991e0b894 [2023-01-09T13:08:18.063Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-09T13:08:18.664Z] ---> a8b182d56734 [2023-01-09T13:08:18.664Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T13:08:18.664Z] ---> Running in 1187ea687968 [2023-01-09T13:09:15.103Z] Removing intermediate container 1187ea687968 [2023-01-09T13:09:15.103Z] ---> b2464ac4eabc [2023-01-09T13:09:15.103Z] Step 10/12 : COPY . . [2023-01-09T13:09:15.103Z] ---> 0946eb88f9f9 [2023-01-09T13:09:15.103Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T13:09:15.103Z] ---> Running in e734a801a73f [2023-01-09T13:09:15.103Z] Removing intermediate container e734a801a73f [2023-01-09T13:09:15.103Z] ---> 50ea4d6644e5 [2023-01-09T13:09:15.103Z] Step 12/12 : RUN $MAKE [2023-01-09T13:09:15.103Z] ---> Running in 5435fb138a23 [2023-01-09T13:09:15.103Z] noop [2023-01-09T13:09:15.103Z] Removing intermediate container 5435fb138a23 [2023-01-09T13:09:15.103Z] ---> dd799266b9ec [2023-01-09T13:09:15.103Z] Successfully built dd799266b9ec [2023-01-09T13:09:15.103Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:09:15.581Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T13:09:15.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:09:15.838Z] prd-ubuntu20.04-docker-arm64-4c-16g-1443 does not seem to be running inside a container [2023-01-09T13:09:15.907Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-09T13:09:17.082Z] $ docker top 89e65c08c2efeef6c66d2e06ef145f2715f2109236b77e9235d07e99507ecf18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T13:09:17.934Z] + go version [2023-01-09T13:09:17.934Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T13:09:17.969Z] $ docker stop --time=1 89e65c08c2efeef6c66d2e06ef145f2715f2109236b77e9235d07e99507ecf18 [2023-01-09T13:09:20.222Z] $ docker rm -f --volumes 89e65c08c2efeef6c66d2e06ef145f2715f2109236b77e9235d07e99507ecf18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:09:21.140Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T13:09:21.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:09:21.407Z] prd-ubuntu20.04-docker-arm64-4c-16g-1443 does not seem to be running inside a container [2023-01-09T13:09:21.472Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-09T13:09:22.654Z] $ docker top ba00160b13b9598a7fda95da740fc8f6a35c4a71db8c63d4b93b2b2f1dee1738 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T13:09:23.216Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-01-09T13:09:23.876Z] + make test [2023-01-09T13:09:24.149Z] go test -race ./... -coverprofile=coverage.out ./... [2023-01-09T13:11:45.865Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-01-09T13:11:47.803Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.172s coverage: 86.2% of statements [2023-01-09T13:11:47.803Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-01-09T13:11:57.896Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.507s coverage: 71.9% of statements [2023-01-09T13:11:57.896Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T13:11:57.896Z] go vet ./... [2023-01-09T13:13:34.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T13:13:34.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T13:13:34.596Z] ./bin/test-attribution.sh [Pipeline] echo [2023-01-09T13:13:34.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T13:13:34.927Z] $ docker stop --time=1 ba00160b13b9598a7fda95da740fc8f6a35c4a71db8c63d4b93b2b2f1dee1738 [2023-01-09T13:13:36.759Z] $ docker rm -f --volumes ba00160b13b9598a7fda95da740fc8f6a35c4a71db8c63d4b93b2b2f1dee1738 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T13:13:38.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T13:13:38.193Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T13:13:38.631Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T13:13:39.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T13:13:39.551Z] + ls -al . [2023-01-09T13:13:39.551Z] total 236 [2023-01-09T13:13:39.551Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 13:09 . [2023-01-09T13:13:39.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:07 .. [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 262 Jan 9 13:07 .dockerignore [2023-01-09T13:13:39.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:07 .git [2023-01-09T13:13:39.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:07 .github [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 788 Jan 9 13:07 .gitignore [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 13:07 .golangci.yml [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 9818 Jan 9 13:07 Attribution.txt [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 4331 Jan 9 13:07 CHANGELOG.md [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 1659 Jan 9 13:07 Dockerfile [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 13:07 GOVERNANCE.md [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 687 Jan 9 13:07 Jenkinsfile [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jan 9 13:07 LICENSE [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 2462 Jan 9 13:07 Makefile [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 9 13:07 OWNERS.md [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 31023 Jan 9 13:07 README.md [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 13:05 VERSION [2023-01-09T13:13:39.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:07 bin [2023-01-09T13:13:39.551Z] -rw-r--r-- 1 jenkins jenkins 41317 Jan 9 13:11 coverage.out [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jan 9 13:07 go.mod [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 45003 Jan 9 13:07 go.sum [2023-01-09T13:13:39.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:07 images [2023-01-09T13:13:39.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:07 internal [2023-01-09T13:13:39.551Z] -rw-rw-r-- 1 jenkins jenkins 531 Jan 9 13:07 main.go [2023-01-09T13:13:39.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:07 res [2023-01-09T13:13:39.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:07 snap [2023-01-09T13:13:39.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:07 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:13:39.989Z] + 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=d7a3e12637c701bfa72bacfa2342a668b5f2b89d --label arch=arm64 --label version=0.0.0 . [2023-01-09T13:13:40.265Z] Sending build context to Docker daemon 685.6kB [2023-01-09T13:13:40.265Z] Step 1/29 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T13:13:40.265Z] Step 2/29 : FROM ${BASE} AS builder [2023-01-09T13:13:40.265Z] ---> dd799266b9ec [2023-01-09T13:13:40.265Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-01-09T13:13:40.265Z] ---> Running in 6dbd1d40260d [2023-01-09T13:13:40.532Z] Removing intermediate container 6dbd1d40260d [2023-01-09T13:13:40.532Z] ---> bc064303033f [2023-01-09T13:13:40.532Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T13:13:40.801Z] ---> Running in fbffe8474f76 [2023-01-09T13:13:41.069Z] Removing intermediate container fbffe8474f76 [2023-01-09T13:13:41.069Z] ---> 86c87ea1100a [2023-01-09T13:13:41.069Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-01-09T13:13:41.069Z] ---> Running in 90b0e5aeb5c0 [2023-01-09T13:13:41.656Z] Removing intermediate container 90b0e5aeb5c0 [2023-01-09T13:13:41.656Z] ---> 5e9afebc8eab [2023-01-09T13:13:41.656Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T13:13:41.656Z] ---> Running in c2ebdc931ecb [2023-01-09T13:13:43.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T13:13:43.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T13:13:44.839Z] OK: 221 MiB in 51 packages [2023-01-09T13:13:45.797Z] Removing intermediate container c2ebdc931ecb [2023-01-09T13:13:45.797Z] ---> bc2085eb4ae4 [2023-01-09T13:13:45.797Z] Step 7/29 : WORKDIR /app [2023-01-09T13:13:45.797Z] ---> Running in 7e98b4240a67 [2023-01-09T13:13:46.067Z] Removing intermediate container 7e98b4240a67 [2023-01-09T13:13:46.067Z] ---> c8369f0c6535 [2023-01-09T13:13:46.067Z] Step 8/29 : COPY go.mod vendor* ./ [2023-01-09T13:13:46.652Z] ---> 0daa17c587f9 [2023-01-09T13:13:46.652Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T13:13:46.652Z] ---> Running in 591c63c76dfa [2023-01-09T13:13:48.604Z] Removing intermediate container 591c63c76dfa [2023-01-09T13:13:48.604Z] ---> c9d872f749eb [2023-01-09T13:13:48.604Z] Step 10/29 : COPY . . [2023-01-09T13:13:49.191Z] ---> 5663b7ae3cea [2023-01-09T13:13:49.191Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T13:13:49.191Z] ---> Running in 656843896faf [2023-01-09T13:13:49.460Z] Removing intermediate container 656843896faf [2023-01-09T13:13:49.460Z] ---> 36fce5519c47 [2023-01-09T13:13:49.460Z] Step 12/29 : RUN $MAKE [2023-01-09T13:13:49.460Z] ---> Running in 3687ee41ef3f [2023-01-09T13:13:50.424Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.11 -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-01-09T13:15:57.106Z] Removing intermediate container 3687ee41ef3f [2023-01-09T13:15:57.106Z] ---> 8d550a5752f3 [2023-01-09T13:15:57.106Z] Step 13/29 : FROM alpine:3.14 [2023-01-09T13:15:57.106Z] 3.14: Pulling from library/alpine [2023-01-09T13:15:57.106Z] 90cda3b7c325: Pulling fs layer [2023-01-09T13:15:57.106Z] 90cda3b7c325: Download complete [2023-01-09T13:15:57.106Z] 90cda3b7c325: Pull complete [2023-01-09T13:15:57.106Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-09T13:15:57.106Z] Status: Downloaded newer image for alpine:3.14 [2023-01-09T13:15:57.106Z] ---> 275902a1839d [2023-01-09T13:15:57.106Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T13:15:57.106Z] ---> Running in 15b2ef821724 [2023-01-09T13:15:57.106Z] Removing intermediate container 15b2ef821724 [2023-01-09T13:15:57.106Z] ---> b3f4afe7744d [2023-01-09T13:15:57.106Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-01-09T13:15:57.106Z] ---> Running in 4d408451cdd3 [2023-01-09T13:15:57.106Z] Removing intermediate container 4d408451cdd3 [2023-01-09T13:15:57.106Z] ---> 24c1a3157c6d [2023-01-09T13:15:57.106Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-01-09T13:15:57.106Z] ---> Running in fd1a182dce9d [2023-01-09T13:15:57.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-09T13:15:57.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-09T13:15:57.106Z] (1/2) Installing ca-certificates (20220614-r0) [2023-01-09T13:15:57.106Z] (2/2) Installing dumb-init (1.2.5-r1) [2023-01-09T13:15:57.106Z] Executing busybox-1.33.1-r8.trigger [2023-01-09T13:15:57.106Z] Executing ca-certificates-20220614-r0.trigger [2023-01-09T13:15:57.106Z] OK: 6 MiB in 16 packages [2023-01-09T13:15:57.106Z] Removing intermediate container fd1a182dce9d [2023-01-09T13:15:57.106Z] ---> b6088569bcba [2023-01-09T13:15:57.106Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-01-09T13:15:57.106Z] ---> c8a489d1f290 [2023-01-09T13:15:57.106Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-01-09T13:15:57.106Z] ---> 42ed6fa2da5b [2023-01-09T13:15:57.106Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-01-09T13:15:57.106Z] ---> afec64a2d603 [2023-01-09T13:15:57.106Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-01-09T13:15:57.106Z] ---> 561291e28b26 [2023-01-09T13:15:57.106Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-01-09T13:15:57.106Z] ---> 149b8306f9aa [2023-01-09T13:15:57.106Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-01-09T13:15:57.106Z] ---> Running in 6d0a35eaca2d [2023-01-09T13:15:57.106Z] Removing intermediate container 6d0a35eaca2d [2023-01-09T13:15:57.106Z] ---> d0e0c26baf41 [2023-01-09T13:15:57.106Z] Step 23/29 : VOLUME /cache [2023-01-09T13:15:57.106Z] ---> Running in 77099a05ff8f [2023-01-09T13:15:57.107Z] Removing intermediate container 77099a05ff8f [2023-01-09T13:15:57.107Z] ---> c4560a094cd6 [2023-01-09T13:15:57.107Z] Step 24/29 : EXPOSE 59711 [2023-01-09T13:15:57.107Z] ---> Running in 45d820c7a2fd [2023-01-09T13:15:57.379Z] Removing intermediate container 45d820c7a2fd [2023-01-09T13:15:57.379Z] ---> 6faf54111adb [2023-01-09T13:15:57.379Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-01-09T13:15:57.647Z] ---> Running in d99f956dbd14 [2023-01-09T13:15:57.917Z] Removing intermediate container d99f956dbd14 [2023-01-09T13:15:57.917Z] ---> 5036b00d3a37 [2023-01-09T13:15:57.917Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-01-09T13:15:57.917Z] ---> Running in fb66a0648267 [2023-01-09T13:15:58.184Z] Removing intermediate container fb66a0648267 [2023-01-09T13:15:58.184Z] ---> 8b95b136cfe5 [2023-01-09T13:15:58.184Z] Step 27/29 : LABEL arch=arm64 [2023-01-09T13:15:58.184Z] ---> Running in 69bb3e972eb3 [2023-01-09T13:15:58.452Z] Removing intermediate container 69bb3e972eb3 [2023-01-09T13:15:58.452Z] ---> 5b0a2dbb14e0 [2023-01-09T13:15:58.452Z] Step 28/29 : LABEL git_sha=d7a3e12637c701bfa72bacfa2342a668b5f2b89d [2023-01-09T13:15:58.452Z] ---> Running in 155ebaed25cc [2023-01-09T13:15:58.721Z] Removing intermediate container 155ebaed25cc [2023-01-09T13:15:58.721Z] ---> 1c3d7cf9ab45 [2023-01-09T13:15:58.721Z] Step 29/29 : LABEL version=0.0.0 [2023-01-09T13:15:58.989Z] ---> Running in d9e53fc90c62 [2023-01-09T13:15:59.256Z] Removing intermediate container d9e53fc90c62 [2023-01-09T13:15:59.256Z] ---> a5f22346200e [2023-01-09T13:15:59.256Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T13:15:59.256Z] Successfully built a5f22346200e [2023-01-09T13:15:59.256Z] 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-01-09T13:16:00.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T13:16:00.067Z] [2023-01-09T13:16:00.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:16:00.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T13:16:00.487Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T13:16:00.487Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T13:16:00.487Z] 04944245beec: Pulling fs layer [2023-01-09T13:16:00.487Z] 699f458cf7ca: Pulling fs layer [2023-01-09T13:16:00.487Z] 765212b225bb: Pulling fs layer [2023-01-09T13:16:00.487Z] f23df028b6ca: Pulling fs layer [2023-01-09T13:16:00.487Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T13:16:00.487Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T13:16:00.487Z] f23df028b6ca: Waiting [2023-01-09T13:16:00.487Z] d65c8cfc05b1: Waiting [2023-01-09T13:16:00.487Z] 2437ff75d9bd: Waiting [2023-01-09T13:16:00.487Z] 765212b225bb: Waiting [2023-01-09T13:16:00.757Z] 04944245beec: Download complete [2023-01-09T13:16:00.757Z] 765212b225bb: Verifying Checksum [2023-01-09T13:16:00.757Z] 765212b225bb: Download complete [2023-01-09T13:16:00.757Z] f23df028b6ca: Download complete [2023-01-09T13:16:00.757Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T13:16:00.757Z] d65c8cfc05b1: Download complete [2023-01-09T13:16:00.757Z] 699f458cf7ca: Download complete [2023-01-09T13:16:01.344Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T13:16:01.344Z] 8998bd30e6a1: Download complete [2023-01-09T13:16:03.295Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T13:16:03.295Z] 2437ff75d9bd: Download complete [2023-01-09T13:16:04.703Z] 8998bd30e6a1: Pull complete [2023-01-09T13:16:05.286Z] 04944245beec: Pull complete [2023-01-09T13:16:06.694Z] 699f458cf7ca: Pull complete [2023-01-09T13:16:06.694Z] 765212b225bb: Pull complete [2023-01-09T13:16:07.276Z] f23df028b6ca: Pull complete [2023-01-09T13:16:07.543Z] d65c8cfc05b1: Pull complete [2023-01-09T13:16:22.541Z] 2437ff75d9bd: Pull complete [2023-01-09T13:16:22.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T13:16:22.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T13:16:22.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:16:22.884Z] prd-ubuntu20.04-docker-arm64-4c-16g-1443 does not seem to be running inside a container [2023-01-09T13:16:22.974Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-09T13:16:25.447Z] $ docker top bfb5b6de5ebfb1b6e12753d13c7ee842288a2a650ff1d03dbeef3cdfd47bb037 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:26.014Z] ---> job-cost.sh [2023-01-09T13:16:26.281Z] lf-activate-venv: SKIPPING [2023-01-09T13:16:26.281Z] INFO: No Stack... [2023-01-09T13:16:26.865Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T13:16:27.455Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T13:16:27.792Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-01-09T13:16:27.792Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T13:16:27.871Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] [2023-01-09T13:16:27.876Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] did not exist. Created. [2023-01-09T13:16:27.876Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T13:16:28.279Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-e1328fa9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T13:16:28.617Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T13:16:28.659Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T13:16:28.704Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T13:16:28.719Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T13:16:28.794Z] $ docker stop --time=1 bfb5b6de5ebfb1b6e12753d13c7ee842288a2a650ff1d03dbeef3cdfd47bb037 [2023-01-09T13:16:30.215Z] $ docker rm -f --volumes bfb5b6de5ebfb1b6e12753d13c7ee842288a2a650ff1d03dbeef3cdfd47bb037 [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-01-09T13:16:31.236Z] provisioning config files... [2023-01-09T13:16:31.246Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/config12884758016187761196tmp [Pipeline] { [Pipeline] sh [2023-01-09T13:16:31.582Z] + set +x [2023-01-09T13:16:31.582Z] + curl -s https://codecov.io/bash [2023-01-09T13:16:31.582Z] + bash -s -- [2023-01-09T13:16:31.582Z] [2023-01-09T13:16:31.582Z] _____ _ [2023-01-09T13:16:31.582Z] / ____| | | [2023-01-09T13:16:31.582Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T13:16:31.582Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T13:16:31.582Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T13:16:31.582Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T13:16:31.582Z] Bash-1.0.6 [2023-01-09T13:16:31.582Z] [2023-01-09T13:16:31.582Z] [2023-01-09T13:16:31.582Z] ==> git version 2.25.1 found [2023-01-09T13:16:31.582Z] ==> 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-01-09T13:16:31.582Z] Release-Date: 2020-01-08 [2023-01-09T13:16:31.582Z] 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-01-09T13:16:31.582Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T13:16:31.582Z] ==> Jenkins CI detected. [2023-01-09T13:16:31.582Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-130 [2023-01-09T13:16:31.582Z] project root: . [2023-01-09T13:16:31.582Z] --> token set from env [2023-01-09T13:16:31.582Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T13:16:31.582Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T13:16:31.582Z] ==> Python coveragepy not found [2023-01-09T13:16:31.582Z] ==> Searching for coverage reports in: [2023-01-09T13:16:31.582Z] + . [2023-01-09T13:16:31.582Z] -> Found 1 reports [2023-01-09T13:16:31.582Z] ==> Detecting git/mercurial file structure [2023-01-09T13:16:31.582Z] ==> Reading reports [2023-01-09T13:16:31.582Z] + ./coverage.out bytes=41317 [2023-01-09T13:16:31.842Z] ==> Appending adjustments [2023-01-09T13:16:31.842Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T13:16:31.842Z] + Found adjustments [2023-01-09T13:16:31.842Z] ==> Gzipping contents [2023-01-09T13:16:31.842Z] 12K /tmp/codecov.JRylMG.gz [2023-01-09T13:16:31.842Z] ==> Uploading reports [2023-01-09T13:16:31.842Z] url: https://codecov.io [2023-01-09T13:16:31.842Z] query: branch=PR-130&commit=d7a3e12637c701bfa72bacfa2342a668b5f2b89d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=130&job=&cmd_args= [2023-01-09T13:16:31.842Z] -> Pinging Codecov [2023-01-09T13:16:31.842Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-130&commit=d7a3e12637c701bfa72bacfa2342a668b5f2b89d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=130&job=&cmd_args= [2023-01-09T13:16:32.101Z] -> Uploading to [2023-01-09T13:16:32.101Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/581DD39554BDF9B6E22D074273EAD858/d7a3e12637c701bfa72bacfa2342a668b5f2b89d/885c41e8-9e44-414b-b315-5b46b9edf9fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T131632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4d81b9827485db0ef8ae84f3bd72c63adddcd4f6c4b3691600a23ac01b97ff9 [2023-01-09T13:16:32.101Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T13:16:32.101Z] Dload Upload Total Spent Left Speed [2023-01-09T13:16:32.361Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11869 0 0 100 11869 0 43003 --:--:-- --:--:-- --:--:-- 43003 [2023-01-09T13:16:32.361Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/d7a3e12637c701bfa72bacfa2342a668b5f2b89d [Pipeline] } [2023-01-09T13:16:32.392Z] 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-01-09T13:16:34.134Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-130/archives ] [2023-01-09T13:16:34.134Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-130/archives [2023-01-09T13:16:34.134Z] total 16 [2023-01-09T13:16:34.134Z] drwxr-xr-x 3 root root 4096 Jan 9 13:07 . [2023-01-09T13:16:34.134Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 9 13:07 .. [2023-01-09T13:16:34.134Z] drwxr-xr-x 2 root root 4096 Jan 9 13:07 cost [2023-01-09T13:16:34.134Z] -rw-r--r-- 1 root root 95 Jan 9 13:07 cost.csv [2023-01-09T13:16:34.134Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-130/archives [2023-01-09T13:16:34.134Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-130/archives [2023-01-09T13:16:34.134Z] total 16 [2023-01-09T13:16:34.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 13:07 . [2023-01-09T13:16:34.134Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 9 13:07 .. [2023-01-09T13:16:34.134Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 13:07 cost [2023-01-09T13:16:34.134Z] -rw-r--r-- 1 jenkins jenkins 95 Jan 9 13:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:34.459Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:35.347Z] ---> package-listing.sh [2023-01-09T13:16:35.347Z] ++ facter osfamily [2023-01-09T13:16:35.347Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T13:16:35.347Z] + OS_FAMILY=debian [2023-01-09T13:16:35.347Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-130 [2023-01-09T13:16:35.347Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T13:16:35.347Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T13:16:35.347Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T13:16:35.347Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T13:16:35.347Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-130 ']' [2023-01-09T13:16:35.347Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T13:16:35.347Z] + case "${OS_FAMILY}" in [2023-01-09T13:16:35.347Z] + grep '^ii' [2023-01-09T13:16:35.347Z] + dpkg -l [2023-01-09T13:16:35.607Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T13:16:35.607Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T13:16:35.607Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T13:16:35.607Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-130 ']' [2023-01-09T13:16:35.607Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-130/archives/ [2023-01-09T13:16:35.607Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-130/archives/ [Pipeline] echo [2023-01-09T13:16:35.639Z] 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-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T13:16:35.926Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T13:16:36.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T13:16:36.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T13:16:36.705Z] prd-ubuntu20.04-docker-8c-8g-1442 does not seem to be running inside a container [2023-01-09T13:16:36.732Z] $ 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-130/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-130 -v /w/workspace/y_app-rfid-llrp-inventory_PR-130:/w/workspace/y_app-rfid-llrp-inventory_PR-130:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T13:16:36.949Z] $ docker top 6e15a564d2f4a25f6a5229e09ba956196ff300b22609337c099dc64f778cd2a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T13:16:37.337Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T13:16:37.649Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T13:16:37.957Z] + ls /var/log/sa-host [2023-01-09T13:16:37.957Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T13:16:38.085Z] provisioning config files... [2023-01-09T13:16:38.095Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-130@tmp/config2611540331041451040tmp [Pipeline] { [Pipeline] echo [2023-01-09T13:16:38.142Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:38.454Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T13:16:38.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:38.906Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T13:16:38.941Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:39.258Z] ---> sudo-logs.sh [2023-01-09T13:16:39.258Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T13:16:39.341Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:39.651Z] ---> job-cost.sh [2023-01-09T13:16:39.651Z] lf-activate-venv: SKIPPING [2023-01-09T13:16:39.651Z] DEBUG: total: 0.2199999988079071 [2023-01-09T13:16:39.651Z] INFO: Retrieving Stack Cost... [2023-01-09T13:16:39.911Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T13:16:40.480Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T13:16:40.516Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T13:16:40.830Z] ---> logs-deploy.sh [2023-01-09T13:16:40.830Z] lf-activate-venv: SKIPPING [2023-01-09T13:16:40.830Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-130/1 [2023-01-09T13:16:40.830Z] INFO: archiving workspace using pattern(s): [2023-01-09T13:16:41.769Z] Archives upload complete. [2023-01-09T13:16:41.769Z] INFO: archiving logs to Nexus