Pull request #211 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c+9cf17b74e8ce7feef25b55235c19f74ed3f97e73 (54a74508055910579f5278e6741c26cbe012e9c7) 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-ssh6206217934435772386.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh11265690981234213392.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-211/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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2156884761924767023.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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3842429710716209974.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh8657034851116366507.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-211/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-211/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3669184718476548722.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1722 in /w/workspace/y_app-rfid-llrp-inventory_PR-211 [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-211 # 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 Merging remotes/origin/main commit 9cf17b74e8ce7feef25b55235c19f74ed3f97e73 into PR head commit 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c Merge succeeded, producing 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c Checking out Revision 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c (PR-211) 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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 > 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/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c # 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 9cf17b74e8ce7feef25b55235c19f74ed3f97e73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-21T13:22:01.460Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-21T13:22:01.662Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-21T13:22:01.759Z] ========================================================= [2023-07-21T13:22:01.759Z] EdgeX Global Pipelines Version Info [2023-07-21T13:22:01.759Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:22:02.513Z] ------------------- [2023-07-21T13:22:02.513Z] stable info: [2023-07-21T13:22:02.513Z] ------------------- [2023-07-21T13:22:02.513Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-21T13:22:02.513Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T13:22:02.513Z] Message: update stable to v1.0.250 [2023-07-21T13:22:03.093Z] ------------------- [2023-07-21T13:22:03.093Z] experimental info: [2023-07-21T13:22:03.093Z] ------------------- [2023-07-21T13:22:03.093Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-21T13:22:03.093Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T13:22:03.093Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-21T13:22:03.417Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-07-21T13:22:03.462Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-07-21T13:22:03.508Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-21T13:22:03.551Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-21T13:22:03.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-21T13:22:03.630Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-21T13:22:03.669Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-21T13:22:03.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-21T13:22:03.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-21T13:22:03.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-21T13:22:03.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-21T13:22:03.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-07-21T13:22:03.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-21T13:22:03.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-21T13:22:04.006Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-21T13:22:04.047Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-21T13:22:04.097Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-21T13:22:04.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-21T13:22:04.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-21T13:22:04.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-21T13:22:04.261Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-21T13:22:04.301Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-21T13:22:04.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-21T13:22:04.385Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-21T13:22:04.428Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-21T13:22:04.470Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-21T13:22:04.512Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-21T13:22:04.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-211 [Pipeline] echo [2023-07-21T13:22:04.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-211 [Pipeline] echo [2023-07-21T13:22:04.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-211 [Pipeline] echo [2023-07-21T13:22:04.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [Pipeline] echo [2023-07-21T13:22:04.720Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5792d7d [Pipeline] echo [2023-07-21T13:22:04.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T13:22:04.873Z] provisioning config files... [2023-07-21T13:22:04.886Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/config1184506405879729202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:22:05.242Z] ---> docker-login.sh [2023-07-21T13:22:05.242Z] nexus3.edgexfoundry.org:10001 [2023-07-21T13:22:05.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:05.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:05.516Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:05.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:05.516Z] [2023-07-21T13:22:05.516Z] Login Succeeded [2023-07-21T13:22:05.516Z] nexus3.edgexfoundry.org:10002 [2023-07-21T13:22:05.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:05.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:05.779Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:05.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:05.779Z] [2023-07-21T13:22:05.779Z] Login Succeeded [2023-07-21T13:22:05.779Z] nexus3.edgexfoundry.org:10003 [2023-07-21T13:22:05.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:05.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:05.779Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:05.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:05.779Z] [2023-07-21T13:22:05.779Z] Login Succeeded [2023-07-21T13:22:05.779Z] nexus3.edgexfoundry.org:10004 [2023-07-21T13:22:06.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:06.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:06.042Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:06.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:06.042Z] [2023-07-21T13:22:06.042Z] Login Succeeded [2023-07-21T13:22:06.042Z] docker.io [2023-07-21T13:22:06.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:06.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:06.303Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:06.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:06.303Z] [2023-07-21T13:22:06.303Z] Login Succeeded [2023-07-21T13:22:06.303Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T13:22:06.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-21T13:22:06.963Z] + git rev-list -1 --merges 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c~1..5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [Pipeline] echo [2023-07-21T13:22:07.025Z] -----------> git rev-list -1 --merges 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c~1..5792d7d05dc0bebea4a7677a0568de1c33fa9e6c 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [false] [Pipeline] sh [2023-07-21T13:22:07.339Z] + git log --format=format:%s -1 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [Pipeline] echo [2023-07-21T13:22:07.373Z] ========================================================= [2023-07-21T13:22:07.373Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T13:22:07.373Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T13:22:07.815Z] + git log --format=format:%s -1 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [Pipeline] echo [2023-07-21T13:22:07.853Z] [semverPrep] GIT_COMMIT: 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo [2023-07-21T13:22:07.882Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-21T13:22:08.307Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T13:22:08.307Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-21T13:22:08.307Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-21T13:22:08.307Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-21T13:22:08.307Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-21T13:22:08.307Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-21T13:22:08.307Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:22:08.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T13:22:08.854Z] [2023-07-21T13:22:08.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:22:09.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T13:22:09.231Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-21T13:22:09.231Z] b85a868b505f: Pulling fs layer [2023-07-21T13:22:09.231Z] e2be974225ed: Pulling fs layer [2023-07-21T13:22:09.231Z] 339a4e72a1f5: Pulling fs layer [2023-07-21T13:22:09.231Z] 988bab9f4d93: Pulling fs layer [2023-07-21T13:22:09.231Z] 1469e6f7b9e6: Pulling fs layer [2023-07-21T13:22:09.231Z] eaf3925da568: Pulling fs layer [2023-07-21T13:22:09.231Z] bab4dde63d76: Pulling fs layer [2023-07-21T13:22:09.231Z] 988bab9f4d93: Waiting [2023-07-21T13:22:09.231Z] 1469e6f7b9e6: Waiting [2023-07-21T13:22:09.231Z] eaf3925da568: Waiting [2023-07-21T13:22:09.231Z] bde34c3a00c8: Pulling fs layer [2023-07-21T13:22:09.231Z] b352a97aabf1: Pulling fs layer [2023-07-21T13:22:09.231Z] 4872d77fe225: Pulling fs layer [2023-07-21T13:22:09.231Z] 5851b861e8e6: Pulling fs layer [2023-07-21T13:22:09.231Z] b352a97aabf1: Waiting [2023-07-21T13:22:09.231Z] bab4dde63d76: Waiting [2023-07-21T13:22:09.231Z] 4872d77fe225: Waiting [2023-07-21T13:22:09.231Z] 5851b861e8e6: Waiting [2023-07-21T13:22:09.231Z] bde34c3a00c8: Waiting [2023-07-21T13:22:09.231Z] e2be974225ed: Verifying Checksum [2023-07-21T13:22:09.231Z] e2be974225ed: Download complete [2023-07-21T13:22:09.231Z] 988bab9f4d93: Verifying Checksum [2023-07-21T13:22:09.231Z] 988bab9f4d93: Download complete [2023-07-21T13:22:09.231Z] 1469e6f7b9e6: Verifying Checksum [2023-07-21T13:22:09.231Z] 1469e6f7b9e6: Download complete [2023-07-21T13:22:09.504Z] 339a4e72a1f5: Verifying Checksum [2023-07-21T13:22:09.504Z] 339a4e72a1f5: Download complete [2023-07-21T13:22:09.504Z] eaf3925da568: Verifying Checksum [2023-07-21T13:22:09.504Z] eaf3925da568: Download complete [2023-07-21T13:22:09.504Z] bde34c3a00c8: Verifying Checksum [2023-07-21T13:22:09.504Z] bde34c3a00c8: Download complete [2023-07-21T13:22:09.504Z] b352a97aabf1: Verifying Checksum [2023-07-21T13:22:09.504Z] b352a97aabf1: Download complete [2023-07-21T13:22:09.504Z] 4872d77fe225: Download complete [2023-07-21T13:22:09.504Z] 5851b861e8e6: Download complete [2023-07-21T13:22:09.504Z] b85a868b505f: Verifying Checksum [2023-07-21T13:22:09.504Z] b85a868b505f: Download complete [2023-07-21T13:22:09.762Z] bab4dde63d76: Verifying Checksum [2023-07-21T13:22:09.762Z] bab4dde63d76: Download complete [2023-07-21T13:22:10.699Z] b85a868b505f: Pull complete [2023-07-21T13:22:10.958Z] e2be974225ed: Pull complete [2023-07-21T13:22:11.218Z] 339a4e72a1f5: Pull complete [2023-07-21T13:22:11.218Z] 988bab9f4d93: Pull complete [2023-07-21T13:22:11.479Z] 1469e6f7b9e6: Pull complete [2023-07-21T13:22:11.738Z] eaf3925da568: Pull complete [2023-07-21T13:22:13.648Z] bab4dde63d76: Pull complete [2023-07-21T13:22:13.648Z] bde34c3a00c8: Pull complete [2023-07-21T13:22:13.648Z] b352a97aabf1: Pull complete [2023-07-21T13:22:13.648Z] 4872d77fe225: Pull complete [2023-07-21T13:22:13.648Z] 5851b861e8e6: Pull complete [2023-07-21T13:22:13.914Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-21T13:22:13.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T13:22:13.914Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:22:14.131Z] prd-ubuntu20.04-docker-8c-8g-1722 does not seem to be running inside a container [2023-07-21T13:22:14.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-211 -v /w/workspace/y_app-rfid-llrp-inventory_PR-211:/w/workspace/y_app-rfid-llrp-inventory_PR-211:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-211@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-07-21T13:22:16.545Z] $ docker top f39cc5ca79e5348e45eaad4352e9e418ef1cbc9666bc83e179cfbfe2e37f5a69 -eo pid,comm [2023-07-21T13:22:16.599Z] 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-07-21T13:22:16.599Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T13:22:16.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T13:22:16.724Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T13:22:16.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T13:22:16.840Z] $ docker exec f39cc5ca79e5348e45eaad4352e9e418ef1cbc9666bc83e179cfbfe2e37f5a69 ssh-agent [2023-07-21T13:22:16.953Z] SSH_AUTH_SOCK=/tmp/ssh-xcLOZuGQF77J/agent.32 [2023-07-21T13:22:16.953Z] SSH_AGENT_PID=38 [2023-07-21T13:22:16.960Z] Running ssh-add (command line suppressed) [2023-07-21T13:22:17.069Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/private_key_7957023177097941007.key (/w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/private_key_7957023177097941007.key) [2023-07-21T13:22:17.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T13:22:17.418Z] + git tag --points-at HEAD [Pipeline] } [2023-07-21T13:22:17.447Z] $ docker exec --env ******** --env ******** f39cc5ca79e5348e45eaad4352e9e418ef1cbc9666bc83e179cfbfe2e37f5a69 ssh-agent -k [2023-07-21T13:22:17.546Z] unset SSH_AUTH_SOCK; [2023-07-21T13:22:17.547Z] unset SSH_AGENT_PID; [2023-07-21T13:22:17.547Z] echo Agent pid 38 killed; [2023-07-21T13:22:17.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-21T13:22:17.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T13:22:17.649Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T13:22:17.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T13:22:17.776Z] $ docker exec f39cc5ca79e5348e45eaad4352e9e418ef1cbc9666bc83e179cfbfe2e37f5a69 ssh-agent [2023-07-21T13:22:17.897Z] SSH_AUTH_SOCK=/tmp/ssh-xYcMKsGT4Fxz/agent.70 [2023-07-21T13:22:17.897Z] SSH_AGENT_PID=76 [2023-07-21T13:22:17.902Z] Running ssh-add (command line suppressed) [2023-07-21T13:22:18.009Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/private_key_4061580894855638322.key (/w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/private_key_4061580894855638322.key) [2023-07-21T13:22:18.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T13:22:18.357Z] + git semver init [2023-07-21T13:22:18.618Z] 2023-07-21 13:22:18,518 [run_init] DEBUG init version:0.0.0 force:False [2023-07-21T13:22:18.618Z] 2023-07-21 13:22:18,518 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver [2023-07-21T13:22:18.618Z] 2023-07-21 13:22:18,519 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver [2023-07-21T13:22:18.618Z] 2023-07-21 13:22:18,519 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-211, universal_newlines=False, shell=None, istream=None) [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,676 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-211/.git/info/exclude [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,679 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver/PR-211 with force:False [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,679 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver/PR-211 [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,683 [execute] INFO git cat-file --batch-check [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,689 [execute] INFO git cat-file --batch [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T13:22:20.052Z] 2023-07-21 13:22:19,693 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-211/.semver/PR-211 [2023-07-21T13:22:20.052Z] 0.0.0 [Pipeline] } [2023-07-21T13:22:20.083Z] $ docker exec --env ******** --env ******** f39cc5ca79e5348e45eaad4352e9e418ef1cbc9666bc83e179cfbfe2e37f5a69 ssh-agent -k [2023-07-21T13:22:20.187Z] unset SSH_AUTH_SOCK; [2023-07-21T13:22:20.187Z] unset SSH_AGENT_PID; [2023-07-21T13:22:20.188Z] echo Agent pid 76 killed; [2023-07-21T13:22:20.201Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T13:22:20.647Z] + git semver [Pipeline] } [2023-07-21T13:22:20.939Z] $ docker stop --time=1 f39cc5ca79e5348e45eaad4352e9e418ef1cbc9666bc83e179cfbfe2e37f5a69 [2023-07-21T13:22:22.203Z] $ docker rm -f --volumes f39cc5ca79e5348e45eaad4352e9e418ef1cbc9666bc83e179cfbfe2e37f5a69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T13:22:22.606Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-21T13:22:22.884Z] Stashed 1 file(s) [Pipeline] echo [2023-07-21T13:22:22.905Z] [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-07-21T13:22:23.584Z] provisioning config files... [2023-07-21T13:22:23.595Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/config14566674420150271775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:22:23.955Z] ---> docker-login.sh [2023-07-21T13:22:23.955Z] nexus3.edgexfoundry.org:10001 [2023-07-21T13:22:23.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:23.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:23.955Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:23.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:23.955Z] [2023-07-21T13:22:23.955Z] Login Succeeded [2023-07-21T13:22:23.955Z] nexus3.edgexfoundry.org:10002 [2023-07-21T13:22:23.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:23.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:23.955Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:23.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:23.955Z] [2023-07-21T13:22:23.955Z] Login Succeeded [2023-07-21T13:22:23.955Z] nexus3.edgexfoundry.org:10003 [2023-07-21T13:22:24.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:24.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:24.215Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:24.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:24.215Z] [2023-07-21T13:22:24.215Z] Login Succeeded [2023-07-21T13:22:24.215Z] nexus3.edgexfoundry.org:10004 [2023-07-21T13:22:24.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:24.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:24.215Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:24.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:24.215Z] [2023-07-21T13:22:24.215Z] Login Succeeded [2023-07-21T13:22:24.215Z] docker.io [2023-07-21T13:22:24.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:22:24.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:22:24.474Z] Configure a credential helper to remove this warning. See [2023-07-21T13:22:24.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:22:24.474Z] [2023-07-21T13:22:24.474Z] Login Succeeded [2023-07-21T13:22:24.474Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T13:22:24.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T13:22:24.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T13:22:24.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T13:22:24.771Z] ========================================================= [2023-07-21T13:22:24.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-21T13:22:24.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:22:25.246Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-21T13:22:25.246Z] Sending build context to Docker daemon 12.66MB [2023-07-21T13:22:25.246Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T13:22:25.246Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-21T13:22:25.246Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-21T13:22:25.246Z] 4db1b89c0bd1: Pulling fs layer [2023-07-21T13:22:25.246Z] 6911f1a30b25: Pulling fs layer [2023-07-21T13:22:25.246Z] e194b8c5c2a9: Pulling fs layer [2023-07-21T13:22:25.246Z] 6863d3e3a2b1: Pulling fs layer [2023-07-21T13:22:25.246Z] ec0bb842ea78: Pulling fs layer [2023-07-21T13:22:25.246Z] 40a00589a448: Pulling fs layer [2023-07-21T13:22:25.246Z] 6c08303d61cc: Pulling fs layer [2023-07-21T13:22:25.246Z] 798269fcf238: Pulling fs layer [2023-07-21T13:22:25.246Z] 6863d3e3a2b1: Waiting [2023-07-21T13:22:25.246Z] 798269fcf238: Waiting [2023-07-21T13:22:25.246Z] 6c08303d61cc: Waiting [2023-07-21T13:22:25.246Z] ec0bb842ea78: Waiting [2023-07-21T13:22:25.246Z] 40a00589a448: Waiting [2023-07-21T13:22:25.503Z] 6911f1a30b25: Download complete [2023-07-21T13:22:25.503Z] 6863d3e3a2b1: Verifying Checksum [2023-07-21T13:22:25.503Z] 6863d3e3a2b1: Download complete [2023-07-21T13:22:25.503Z] ec0bb842ea78: Verifying Checksum [2023-07-21T13:22:25.503Z] ec0bb842ea78: Download complete [2023-07-21T13:22:25.503Z] 4db1b89c0bd1: Verifying Checksum [2023-07-21T13:22:25.503Z] 4db1b89c0bd1: Download complete [2023-07-21T13:22:25.503Z] 40a00589a448: Verifying Checksum [2023-07-21T13:22:25.503Z] 40a00589a448: Download complete [2023-07-21T13:22:25.503Z] 4db1b89c0bd1: Pull complete [2023-07-21T13:22:25.761Z] 6911f1a30b25: Pull complete [2023-07-21T13:22:26.020Z] 798269fcf238: Verifying Checksum [2023-07-21T13:22:26.020Z] 798269fcf238: Download complete [2023-07-21T13:22:26.020Z] e194b8c5c2a9: Download complete [2023-07-21T13:22:26.278Z] 6c08303d61cc: Verifying Checksum [2023-07-21T13:22:26.278Z] 6c08303d61cc: Download complete [2023-07-21T13:22:29.578Z] e194b8c5c2a9: Pull complete [2023-07-21T13:22:29.578Z] 6863d3e3a2b1: Pull complete [2023-07-21T13:22:29.578Z] ec0bb842ea78: Pull complete [2023-07-21T13:22:29.578Z] 40a00589a448: Pull complete [2023-07-21T13:22:32.111Z] 6c08303d61cc: Pull complete [2023-07-21T13:22:32.677Z] 798269fcf238: Pull complete [2023-07-21T13:22:32.677Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-21T13:22:32.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-21T13:22:32.677Z] ---> ec979cd7f677 [2023-07-21T13:22:32.677Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-21T13:22:36.869Z] ---> Running in a297ba9ab09e [2023-07-21T13:22:36.869Z] Removing intermediate container a297ba9ab09e [2023-07-21T13:22:36.869Z] ---> c168d56f772a [2023-07-21T13:22:36.869Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-21T13:22:36.869Z] ---> Running in b235260e54ec [2023-07-21T13:22:36.869Z] Removing intermediate container b235260e54ec [2023-07-21T13:22:36.869Z] ---> dd41c01af942 [2023-07-21T13:22:36.869Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-21T13:22:36.869Z] ---> Running in 66db5a4e5c80 [2023-07-21T13:22:36.869Z] Removing intermediate container 66db5a4e5c80 [2023-07-21T13:22:36.869Z] ---> e778ec502816 [2023-07-21T13:22:36.869Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T13:22:36.869Z] ---> Running in ccb35e6ccf60 [2023-07-21T13:22:37.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-21T13:22:37.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-21T13:22:37.642Z] OK: 265 MiB in 53 packages [2023-07-21T13:22:37.901Z] Removing intermediate container ccb35e6ccf60 [2023-07-21T13:22:37.901Z] ---> ccbed1f97ff9 [2023-07-21T13:22:37.901Z] Step 7/12 : WORKDIR /app [2023-07-21T13:22:37.901Z] ---> Running in 05aa3e2a3baa [2023-07-21T13:22:38.159Z] Removing intermediate container 05aa3e2a3baa [2023-07-21T13:22:38.159Z] ---> d5b7e162584f [2023-07-21T13:22:38.159Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-21T13:22:38.159Z] ---> d1ac62d14e4b [2023-07-21T13:22:38.159Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T13:22:38.159Z] ---> Running in 48ea5c2b6bff [2023-07-21T13:22:38.385Z] Still waiting to schedule task [2023-07-21T13:22:38.385Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-21T13:23:16.916Z] Removing intermediate container 48ea5c2b6bff [2023-07-21T13:23:16.916Z] ---> 0170275688a1 [2023-07-21T13:23:16.916Z] Step 10/12 : COPY . . [2023-07-21T13:23:16.916Z] ---> e98daa64b3c0 [2023-07-21T13:23:16.916Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T13:23:16.916Z] ---> Running in 6ba74e25850a [2023-07-21T13:23:16.916Z] Removing intermediate container 6ba74e25850a [2023-07-21T13:23:16.916Z] ---> 01c84707d12a [2023-07-21T13:23:16.916Z] Step 12/12 : RUN $MAKE [2023-07-21T13:23:16.916Z] ---> Running in 554b8933004a [2023-07-21T13:23:16.916Z] noop [2023-07-21T13:23:16.916Z] Removing intermediate container 554b8933004a [2023-07-21T13:23:16.916Z] ---> b59341e97082 [2023-07-21T13:23:16.916Z] Successfully built b59341e97082 [2023-07-21T13:23:16.916Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:23:17.357Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-21T13:23:17.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:23:17.505Z] prd-ubuntu20.04-docker-8c-8g-1722 does not seem to be running inside a container [2023-07-21T13:23:17.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-211 -v /w/workspace/y_app-rfid-llrp-inventory_PR-211:/w/workspace/y_app-rfid-llrp-inventory_PR-211:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-211@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-07-21T13:23:17.850Z] $ docker top 2e7e275131d7ec322600e81bbe548137e39c7705bd208ec3e71e52df91ce3c49 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T13:23:18.247Z] + go version [2023-07-21T13:23:18.247Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-21T13:23:18.285Z] $ docker stop --time=1 2e7e275131d7ec322600e81bbe548137e39c7705bd208ec3e71e52df91ce3c49 [2023-07-21T13:23:19.567Z] $ docker rm -f --volumes 2e7e275131d7ec322600e81bbe548137e39c7705bd208ec3e71e52df91ce3c49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:23:20.306Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-21T13:23:20.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:23:20.461Z] prd-ubuntu20.04-docker-8c-8g-1722 does not seem to be running inside a container [2023-07-21T13:23:20.500Z] $ 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-211 -v /w/workspace/y_app-rfid-llrp-inventory_PR-211:/w/workspace/y_app-rfid-llrp-inventory_PR-211:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-211@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-07-21T13:23:20.835Z] $ docker top b64cbbf0c8aa232b934f8af13e1932df1aeebc6a5cb75171fb85b67374c9c0ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T13:23:21.238Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-211 [Pipeline] fileExists [Pipeline] sh [2023-07-21T13:23:21.596Z] + make test [2023-07-21T13:23:21.596Z] go test -race ./... -coverprofile=coverage.out ./... [2023-07-21T13:23:39.717Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-07-21T13:23:39.717Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-07-21T13:23:39.717Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.141s coverage: 86.2% of statements [2023-07-21T13:23:42.253Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.711s coverage: 71.9% of statements [2023-07-21T13:24:03.269Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1723 in /w/workspace/y_app-rfid-llrp-inventory_PR-211 [Pipeline] { [Pipeline] ws [2023-07-21T13:24:03.329Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-07-21T13:24:03.422Z] The recommended git tool is: git [2023-07-21T13:24:04.188Z] go vet ./... [2023-07-21T13:24:05.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-21T13:24:05.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-21T13:24:05.559Z] ./bin/test-attribution.sh [Pipeline] echo [2023-07-21T13:24:05.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-21T13:24:05.627Z] $ docker stop --time=1 b64cbbf0c8aa232b934f8af13e1932df1aeebc6a5cb75171fb85b67374c9c0ef [2023-07-21T13:24:08.453Z] using credential edgex-jenkins-ssh [2023-07-21T13:24:08.475Z] Cloning the remote Git repository [2023-07-21T13:24:08.519Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-07-21T13:24:08.605Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-07-21T13:24:08.742Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-07-21T13:24:08.743Z] > git --version # timeout=10 [2023-07-21T13:24:08.764Z] > git --version # 'git version 2.25.1' [2023-07-21T13:24:08.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T13:24:08.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T13:24:10.154Z] $ docker rm -f --volumes b64cbbf0c8aa232b934f8af13e1932df1aeebc6a5cb75171fb85b67374c9c0ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T13:24:10.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-21T13:24:10.849Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-21T13:24:11.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T13:24:11.858Z] + ls -al . [2023-07-21T13:24:11.858Z] total 236 [2023-07-21T13:24:11.858Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 13:23 . [2023-07-21T13:24:11.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 13:21 .. [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 262 Jul 21 13:22 .dockerignore [2023-07-21T13:24:11.858Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 13:22 .git [2023-07-21T13:24:11.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 13:22 .github [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 788 Jul 21 13:22 .gitignore [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 13:22 .golangci.yml [2023-07-21T13:24:11.858Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 13:22 .semver [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 10332 Jul 21 13:22 Attribution.txt [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 9042 Jul 21 13:22 CHANGELOG.md [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 1659 Jul 21 13:22 Dockerfile [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 13:22 GOVERNANCE.md [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 687 Jul 21 13:22 Jenkinsfile [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 21 13:22 LICENSE [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 2497 Jul 21 13:22 Makefile [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 21 13:22 OWNERS.md [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 31516 Jul 21 13:22 README.md [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 13:22 VERSION [2023-07-21T13:24:11.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 13:22 bin [2023-07-21T13:24:11.858Z] -rw-r--r-- 1 jenkins jenkins 41317 Jul 21 13:23 coverage.out [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 3694 Jul 21 13:22 go.mod [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 32867 Jul 21 13:22 go.sum [2023-07-21T13:24:11.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 13:22 images [2023-07-21T13:24:11.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 13:22 internal [2023-07-21T13:24:11.858Z] -rw-rw-r-- 1 jenkins jenkins 531 Jul 21 13:22 main.go [2023-07-21T13:24:11.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 13:22 res [2023-07-21T13:24:11.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 13:22 snap [2023-07-21T13:24:11.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 13:22 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:24:10.835Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-07-21T13:24:10.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T13:24:11.820Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-07-21T13:24:11.853Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-07-21T13:24:11.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T13:24:11.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-21T13:24:12.243Z] + 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=5792d7d05dc0bebea4a7677a0568de1c33fa9e6c --label arch=amd64 --label version=0.0.0 . [2023-07-21T13:24:12.243Z] Sending build context to Docker daemon 12.66MB [2023-07-21T13:24:12.243Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T13:24:12.243Z] Step 2/29 : FROM ${BASE} AS builder [2023-07-21T13:24:12.243Z] ---> b59341e97082 [2023-07-21T13:24:12.243Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-07-21T13:24:12.378Z] Merging remotes/origin/main commit 9cf17b74e8ce7feef25b55235c19f74ed3f97e73 into PR head commit 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [2023-07-21T13:24:12.503Z] ---> Running in bf713e7d9c84 [2023-07-21T13:24:12.503Z] Removing intermediate container bf713e7d9c84 [2023-07-21T13:24:12.503Z] ---> 53d1f77fa671 [2023-07-21T13:24:12.503Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-07-21T13:24:12.503Z] ---> Running in 3a3097bb9a8c [2023-07-21T13:24:12.503Z] Removing intermediate container 3a3097bb9a8c [2023-07-21T13:24:12.503Z] ---> 4aceff2a26df [2023-07-21T13:24:12.503Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-07-21T13:24:12.503Z] ---> Running in c90b5a4afbeb [2023-07-21T13:24:12.697Z] Merge succeeded, producing 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [2023-07-21T13:24:12.697Z] Checking out Revision 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c (PR-211) [2023-07-21T13:24:12.762Z] Removing intermediate container c90b5a4afbeb [2023-07-21T13:24:12.762Z] ---> d66f35486996 [2023-07-21T13:24:12.762Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T13:24:12.762Z] ---> Running in ad1bdaf09eda [2023-07-21T13:24:13.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-21T13:24:13.181Z] Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [2023-07-21T13:24:13.227Z] > git --version # timeout=10 [2023-07-21T13:24:13.237Z] > git --version # 'git version 2.25.1' [2023-07-21T13:24:13.262Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T13:24:13.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-21T13:24:13.539Z] OK: 265 MiB in 53 packages [2023-07-21T13:24:12.398Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T13:24:12.467Z] > git checkout -f 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c # timeout=10 [2023-07-21T13:24:12.597Z] > git remote # timeout=10 [2023-07-21T13:24:12.615Z] > git config --get remote.origin.url # timeout=10 [2023-07-21T13:24:12.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T13:24:12.650Z] > git merge 9cf17b74e8ce7feef25b55235c19f74ed3f97e73 # timeout=10 [2023-07-21T13:24:12.680Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-21T13:24:12.705Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T13:24:12.725Z] > git checkout -f 5792d7d05dc0bebea4a7677a0568de1c33fa9e6c # timeout=10 [2023-07-21T13:24:13.801Z] Removing intermediate container ad1bdaf09eda [2023-07-21T13:24:13.801Z] ---> a5cd40b46fb2 [2023-07-21T13:24:13.801Z] Step 7/29 : WORKDIR /app [2023-07-21T13:24:13.801Z] ---> Running in bf2303dff536 [2023-07-21T13:24:13.801Z] Removing intermediate container bf2303dff536 [2023-07-21T13:24:13.801Z] ---> e1ee0f27d9b2 [2023-07-21T13:24:13.801Z] Step 8/29 : COPY go.mod vendor* ./ [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-07-21T13:24:14.059Z] ---> feba721caed4 [2023-07-21T13:24:14.059Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T13:24:14.059Z] ---> Running in bc5366bb437e [Pipeline] sh [2023-07-21T13:24:14.531Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-21T13:24:14.531Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T13:24:14.531Z] Dload Upload Total Spent Left Speed [2023-07-21T13:24:14.531Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80194 [2023-07-21T13:24:14.646Z] Removing intermediate container bc5366bb437e [2023-07-21T13:24:14.646Z] ---> d72425df92e4 [2023-07-21T13:24:14.646Z] Step 10/29 : COPY . . [Pipeline] sh [2023-07-21T13:24:15.126Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-21T13:24:15.246Z] ---> bd76a5675259 [2023-07-21T13:24:15.246Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T13:24:15.246Z] ---> Running in 7a359219b1d4 [2023-07-21T13:24:15.246Z] Removing intermediate container 7a359219b1d4 [2023-07-21T13:24:15.246Z] ---> 75d5b6d9c6bc [2023-07-21T13:24:15.246Z] Step 12/29 : RUN $MAKE [2023-07-21T13:24:15.246Z] ---> Running in 4b7b3e2ab471 [2023-07-21T13:24:15.473Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-21T13:24:15.473Z] + sudo tee /etc/docker/daemon.new [2023-07-21T13:24:15.473Z] { [2023-07-21T13:24:15.473Z] "registry-mirrors": [ [2023-07-21T13:24:15.473Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-21T13:24:15.473Z] ], [2023-07-21T13:24:15.473Z] "bip": "10.250.0.254/24", [2023-07-21T13:24:15.473Z] "hosts": [ [2023-07-21T13:24:15.473Z] "tcp://0.0.0.0:5555", [2023-07-21T13:24:15.473Z] "unix:///var/run/docker.sock" [2023-07-21T13:24:15.473Z] ], [2023-07-21T13:24:15.473Z] "mtu": 1458, [2023-07-21T13:24:15.473Z] "selinux-enabled": true, [2023-07-21T13:24:15.473Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-21T13:24:15.473Z] } [Pipeline] sh [2023-07-21T13:24:15.506Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -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-07-21T13:24:15.824Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-21T13:24:16.172Z] + sudo service docker restart [2023-07-21T13:24:33.606Z] Removing intermediate container 4b7b3e2ab471 [2023-07-21T13:24:33.606Z] ---> e2365aa9d557 [2023-07-21T13:24:33.606Z] Step 13/29 : FROM alpine:3.17 [2023-07-21T13:24:34.174Z] 3.17: Pulling from library/alpine [2023-07-21T13:24:34.175Z] 4db1b89c0bd1: Already exists [Pipeline] withEnv [Pipeline] { [2023-07-21T13:24:34.449Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-21T13:24:34.449Z] Status: Downloaded newer image for alpine:3.17 [2023-07-21T13:24:34.449Z] ---> 1f73a9d63274 [2023-07-21T13:24:34.449Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-21T13:24:34.449Z] ---> Running in 2fbf28ed1314 [2023-07-21T13:24:34.449Z] Removing intermediate container 2fbf28ed1314 [2023-07-21T13:24:34.449Z] ---> 8485b5839ea8 [2023-07-21T13:24:34.449Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-07-21T13:24:34.449Z] ---> Running in 3ce6ec771ed2 [2023-07-21T13:24:34.449Z] Removing intermediate container 3ce6ec771ed2 [2023-07-21T13:24:34.449Z] ---> a65b2b96fea4 [2023-07-21T13:24:34.449Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [Pipeline] configFileProvider [2023-07-21T13:24:34.520Z] provisioning config files... [2023-07-21T13:24:34.549Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config13054586596423284998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:24:34.708Z] ---> Running in e6a2917b21c4 [2023-07-21T13:24:34.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-21T13:24:34.935Z] ---> docker-login.sh [2023-07-21T13:24:34.935Z] nexus3.edgexfoundry.org:10001 [2023-07-21T13:24:34.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-21T13:24:35.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:24:35.226Z] (1/2) Installing ca-certificates (20230506-r0) [2023-07-21T13:24:35.226Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-07-21T13:24:35.226Z] Executing busybox-1.35.0-r29.trigger [2023-07-21T13:24:35.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:24:35.477Z] Configure a credential helper to remove this warning. See [2023-07-21T13:24:35.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:24:35.477Z] [2023-07-21T13:24:35.477Z] Login Succeeded [2023-07-21T13:24:35.477Z] nexus3.edgexfoundry.org:10002 [2023-07-21T13:24:35.488Z] Executing ca-certificates-20230506-r0.trigger [2023-07-21T13:24:35.488Z] OK: 8 MiB in 17 packages [2023-07-21T13:24:35.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:24:35.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:24:35.747Z] Configure a credential helper to remove this warning. See [2023-07-21T13:24:35.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:24:35.747Z] [2023-07-21T13:24:35.747Z] Login Succeeded [2023-07-21T13:24:35.747Z] nexus3.edgexfoundry.org:10003 [2023-07-21T13:24:35.748Z] Removing intermediate container e6a2917b21c4 [2023-07-21T13:24:35.748Z] ---> becdffebc089 [2023-07-21T13:24:35.748Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-07-21T13:24:36.007Z] ---> 4c7f820c733d [2023-07-21T13:24:36.007Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-07-21T13:24:36.007Z] ---> 24f0cdfc77a3 [2023-07-21T13:24:36.007Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-07-21T13:24:36.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:24:36.266Z] ---> e8467bea9fe8 [2023-07-21T13:24:36.266Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-07-21T13:24:36.266Z] ---> 4d41ba4f8e19 [2023-07-21T13:24:36.266Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-07-21T13:24:36.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:24:36.289Z] Configure a credential helper to remove this warning. See [2023-07-21T13:24:36.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:24:36.289Z] [2023-07-21T13:24:36.289Z] Login Succeeded [2023-07-21T13:24:36.289Z] nexus3.edgexfoundry.org:10004 [2023-07-21T13:24:36.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:24:36.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:24:36.558Z] Configure a credential helper to remove this warning. See [2023-07-21T13:24:36.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:24:36.558Z] [2023-07-21T13:24:36.558Z] Login Succeeded [2023-07-21T13:24:36.558Z] docker.io [2023-07-21T13:24:36.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T13:24:37.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T13:24:37.094Z] Configure a credential helper to remove this warning. See [2023-07-21T13:24:37.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T13:24:37.094Z] [2023-07-21T13:24:37.094Z] Login Succeeded [2023-07-21T13:24:37.094Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T13:24:37.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [2023-07-21T13:24:37.202Z] ---> 3ed4d0103a13 [2023-07-21T13:24:37.202Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-07-21T13:24:37.202Z] ---> Running in 487dd961ad5d [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T13:24:37.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T13:24:37.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T13:24:37.629Z] ========================================================= [2023-07-21T13:24:37.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-21T13:24:37.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [2023-07-21T13:24:37.769Z] Removing intermediate container 487dd961ad5d [2023-07-21T13:24:37.769Z] ---> 948827219c4c [2023-07-21T13:24:37.769Z] Step 23/29 : VOLUME /cache [2023-07-21T13:24:37.769Z] ---> Running in af45a48c9c67 [2023-07-21T13:24:37.769Z] Removing intermediate container af45a48c9c67 [2023-07-21T13:24:37.769Z] ---> ef4e52d15447 [2023-07-21T13:24:37.769Z] Step 24/29 : EXPOSE 59711 [2023-07-21T13:24:37.769Z] ---> Running in d090370e8e1b [2023-07-21T13:24:37.769Z] Removing intermediate container d090370e8e1b [2023-07-21T13:24:37.769Z] ---> 22d1e0638386 [2023-07-21T13:24:37.769Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [Pipeline] { [Pipeline] sh [2023-07-21T13:24:38.028Z] ---> Running in 0953b4548cbe [2023-07-21T13:24:38.028Z] Removing intermediate container 0953b4548cbe [2023-07-21T13:24:38.028Z] ---> 0b0aa5b2dc77 [2023-07-21T13:24:38.028Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-07-21T13:24:38.028Z] ---> Running in 8d5b5e3a143d [2023-07-21T13:24:38.028Z] Removing intermediate container 8d5b5e3a143d [2023-07-21T13:24:38.028Z] ---> 68427a01a3a0 [2023-07-21T13:24:38.028Z] Step 27/29 : LABEL arch=amd64 [2023-07-21T13:24:38.028Z] ---> Running in 1e382157c097 [2023-07-21T13:24:38.153Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-21T13:24:38.287Z] Removing intermediate container 1e382157c097 [2023-07-21T13:24:38.287Z] ---> f81f9124525d [2023-07-21T13:24:38.287Z] Step 28/29 : LABEL git_sha=5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [2023-07-21T13:24:38.287Z] ---> Running in 34b9e9cd75b1 [2023-07-21T13:24:38.287Z] Removing intermediate container 34b9e9cd75b1 [2023-07-21T13:24:38.287Z] ---> 9e8d100ef86b [2023-07-21T13:24:38.287Z] Step 29/29 : LABEL version=0.0.0 [2023-07-21T13:24:38.287Z] ---> Running in 329da3bad6e2 [2023-07-21T13:24:38.287Z] Removing intermediate container 329da3bad6e2 [2023-07-21T13:24:38.287Z] ---> 79057ede31d4 [2023-07-21T13:24:38.287Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-21T13:24:38.287Z] Successfully built 79057ede31d4 [2023-07-21T13:24:38.422Z] Sending build context to Docker daemon 684kB [2023-07-21T13:24:38.422Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T13:24:38.422Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-21T13:24:38.422Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-21T13:24:38.422Z] edb6bdbacee9: Pulling fs layer [2023-07-21T13:24:38.422Z] 5f9638ab2659: Pulling fs layer [2023-07-21T13:24:38.422Z] 8d51d6327a98: Pulling fs layer [2023-07-21T13:24:38.422Z] 8b374f2dd631: Pulling fs layer [2023-07-21T13:24:38.422Z] ec14aa9079de: Pulling fs layer [2023-07-21T13:24:38.422Z] 2f466654f4bb: Pulling fs layer [2023-07-21T13:24:38.422Z] 554e91adad29: Pulling fs layer [2023-07-21T13:24:38.422Z] 8b374f2dd631: Waiting [2023-07-21T13:24:38.422Z] ec14aa9079de: Waiting [2023-07-21T13:24:38.422Z] 2f466654f4bb: Waiting [2023-07-21T13:24:38.422Z] 554e91adad29: Waiting [2023-07-21T13:24:38.547Z] Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-07-21T13:24:38.713Z] 5f9638ab2659: Verifying Checksum [2023-07-21T13:24:38.713Z] 5f9638ab2659: Download complete [2023-07-21T13:24:38.713Z] 8b374f2dd631: Verifying Checksum [2023-07-21T13:24:38.713Z] 8b374f2dd631: Download complete [2023-07-21T13:24:38.713Z] ec14aa9079de: Verifying Checksum [2023-07-21T13:24:38.713Z] ec14aa9079de: Download complete [2023-07-21T13:24:38.713Z] edb6bdbacee9: Verifying Checksum [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-07-21T13:24:39.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T13:24:39.454Z] [2023-07-21T13:24:39.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:24:39.688Z] edb6bdbacee9: Pull complete [2023-07-21T13:24:39.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T13:24:39.840Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-21T13:24:39.840Z] 5eb5b503b376: Pulling fs layer [2023-07-21T13:24:39.840Z] 5c69ac0246d0: Pulling fs layer [2023-07-21T13:24:39.840Z] ec43610c2a17: Pulling fs layer [2023-07-21T13:24:39.840Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-21T13:24:39.840Z] 33b1e0a273af: Pulling fs layer [2023-07-21T13:24:39.840Z] 5d3b04190fa2: Pulling fs layer [2023-07-21T13:24:39.840Z] 2f39f015ded8: Pulling fs layer [2023-07-21T13:24:39.840Z] 3a2ae6a8a46f: Waiting [2023-07-21T13:24:39.840Z] 33b1e0a273af: Waiting [2023-07-21T13:24:39.840Z] 5d3b04190fa2: Waiting [2023-07-21T13:24:39.840Z] 2f39f015ded8: Waiting [2023-07-21T13:24:39.840Z] 5c69ac0246d0: Verifying Checksum [2023-07-21T13:24:39.840Z] 5c69ac0246d0: Download complete [2023-07-21T13:24:39.840Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-21T13:24:39.840Z] 3a2ae6a8a46f: Download complete [2023-07-21T13:24:39.840Z] 33b1e0a273af: Verifying Checksum [2023-07-21T13:24:39.840Z] 33b1e0a273af: Download complete [2023-07-21T13:24:39.840Z] ec43610c2a17: Verifying Checksum [2023-07-21T13:24:39.840Z] ec43610c2a17: Download complete [2023-07-21T13:24:39.973Z] 554e91adad29: Verifying Checksum [2023-07-21T13:24:39.973Z] 554e91adad29: Download complete [2023-07-21T13:24:40.100Z] 5d3b04190fa2: Verifying Checksum [2023-07-21T13:24:40.100Z] 5d3b04190fa2: Download complete [2023-07-21T13:24:40.100Z] 5eb5b503b376: Download complete [2023-07-21T13:24:40.667Z] 2f39f015ded8: Download complete [2023-07-21T13:24:41.236Z] 5eb5b503b376: Pull complete [2023-07-21T13:24:41.389Z] 8d51d6327a98: Verifying Checksum [2023-07-21T13:24:41.389Z] 8d51d6327a98: Download complete [2023-07-21T13:24:41.389Z] 2f466654f4bb: Verifying Checksum [2023-07-21T13:24:41.389Z] 2f466654f4bb: Download complete [2023-07-21T13:24:41.508Z] 5c69ac0246d0: Pull complete [2023-07-21T13:24:41.769Z] ec43610c2a17: Pull complete [2023-07-21T13:24:41.769Z] 3a2ae6a8a46f: Pull complete [2023-07-21T13:24:42.028Z] 33b1e0a273af: Pull complete [2023-07-21T13:24:42.287Z] 5d3b04190fa2: Pull complete [2023-07-21T13:24:42.352Z] 5f9638ab2659: Pull complete [2023-07-21T13:24:46.473Z] 2f39f015ded8: Pull complete [2023-07-21T13:24:46.473Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-21T13:24:46.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T13:24:46.473Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:24:46.691Z] prd-ubuntu20.04-docker-8c-8g-1722 does not seem to be running inside a container [2023-07-21T13:24:46.728Z] $ 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-211 -v /w/workspace/y_app-rfid-llrp-inventory_PR-211:/w/workspace/y_app-rfid-llrp-inventory_PR-211:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-211@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-07-21T13:24:51.282Z] $ docker top 88b6bddb397e6571f2567fe4c5bb4042e82c1c5e440743b42348a2426b57d41d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:24:51.753Z] ---> job-cost.sh [2023-07-21T13:24:51.753Z] lf-activate-venv: SKIPPING [2023-07-21T13:24:51.753Z] INFO: No Stack... [2023-07-21T13:24:52.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T13:24:52.272Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T13:24:52.592Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-211/archives/cost.csv [2023-07-21T13:24:52.592Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T13:24:52.632Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] [2023-07-21T13:24:52.636Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] did not exist. Created. [2023-07-21T13:24:52.636Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T13:24:53.042Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-21T13:24:53.092Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T13:24:53.124Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T13:24:53.208Z] $ docker stop --time=1 88b6bddb397e6571f2567fe4c5bb4042e82c1c5e440743b42348a2426b57d41d [2023-07-21T13:24:54.362Z] $ docker rm -f --volumes 88b6bddb397e6571f2567fe4c5bb4042e82c1c5e440743b42348a2426b57d41d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-21T13:24:57.556Z] 8d51d6327a98: Pull complete [2023-07-21T13:24:57.556Z] 8b374f2dd631: Pull complete [2023-07-21T13:24:57.556Z] ec14aa9079de: Pull complete [2023-07-21T13:25:04.207Z] 2f466654f4bb: Pull complete [2023-07-21T13:25:06.155Z] 554e91adad29: Pull complete [2023-07-21T13:25:06.155Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-21T13:25:06.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-21T13:25:06.155Z] ---> 1e15ea492957 [2023-07-21T13:25:06.155Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-21T13:25:08.103Z] ---> Running in 5b1eff117c67 [2023-07-21T13:25:08.103Z] Removing intermediate container 5b1eff117c67 [2023-07-21T13:25:08.103Z] ---> 0a200c25dd7f [2023-07-21T13:25:08.103Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-21T13:25:08.103Z] ---> Running in 6ed978609ef1 [2023-07-21T13:25:08.376Z] Removing intermediate container 6ed978609ef1 [2023-07-21T13:25:08.376Z] ---> 94ab6c1a8f2f [2023-07-21T13:25:08.376Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-21T13:25:08.376Z] ---> Running in 4b108159c57e [2023-07-21T13:25:08.649Z] Removing intermediate container 4b108159c57e [2023-07-21T13:25:08.649Z] ---> 5e565075bef6 [2023-07-21T13:25:08.649Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T13:25:08.918Z] ---> Running in 00e3ee7c1875 [2023-07-21T13:25:09.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-21T13:25:10.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-21T13:25:11.426Z] OK: 263 MiB in 53 packages [2023-07-21T13:25:12.386Z] Removing intermediate container 00e3ee7c1875 [2023-07-21T13:25:12.386Z] ---> 0428aa910de0 [2023-07-21T13:25:12.386Z] Step 7/12 : WORKDIR /app [2023-07-21T13:25:12.386Z] ---> Running in 09bfca0c0b45 [2023-07-21T13:25:12.654Z] Removing intermediate container 09bfca0c0b45 [2023-07-21T13:25:12.654Z] ---> 619c947c6205 [2023-07-21T13:25:12.654Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-21T13:25:13.240Z] ---> bfe9742c8aed [2023-07-21T13:25:13.240Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T13:25:13.240Z] ---> Running in f584dd5aa3c3 [2023-07-21T13:26:21.102Z] Removing intermediate container f584dd5aa3c3 [2023-07-21T13:26:21.102Z] ---> b997931be96c [2023-07-21T13:26:21.102Z] Step 10/12 : COPY . . [2023-07-21T13:26:21.102Z] ---> 34eadfc74607 [2023-07-21T13:26:21.102Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T13:26:21.102Z] ---> Running in 9d73716159a8 [2023-07-21T13:26:21.102Z] Removing intermediate container 9d73716159a8 [2023-07-21T13:26:21.102Z] ---> 0322af535f5f [2023-07-21T13:26:21.102Z] Step 12/12 : RUN $MAKE [2023-07-21T13:26:21.102Z] ---> Running in 11c0a3f7038b [2023-07-21T13:26:21.102Z] noop [2023-07-21T13:26:21.102Z] Removing intermediate container 11c0a3f7038b [2023-07-21T13:26:21.102Z] ---> 97548372ee65 [2023-07-21T13:26:21.102Z] Successfully built 97548372ee65 [2023-07-21T13:26:21.102Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:26:21.576Z] + docker inspect -f . ci-base-image-arm64 [2023-07-21T13:26:21.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:26:21.848Z] prd-ubuntu20.04-docker-arm64-4c-16g-1723 does not seem to be running inside a container [2023-07-21T13:26:21.915Z] $ 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-07-21T13:26:23.050Z] $ docker top 1c6347b33de22423455f82f0988c348e03ab6d4f9a2ad8b74ee926981d5316ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T13:26:23.909Z] + go version [2023-07-21T13:26:23.909Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-21T13:26:23.944Z] $ docker stop --time=1 1c6347b33de22423455f82f0988c348e03ab6d4f9a2ad8b74ee926981d5316ce [2023-07-21T13:26:25.510Z] $ docker rm -f --volumes 1c6347b33de22423455f82f0988c348e03ab6d4f9a2ad8b74ee926981d5316ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:26:26.356Z] + docker inspect -f . ci-base-image-arm64 [2023-07-21T13:26:26.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:26:26.596Z] prd-ubuntu20.04-docker-arm64-4c-16g-1723 does not seem to be running inside a container [2023-07-21T13:26:26.663Z] $ 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-07-21T13:26:27.741Z] $ docker top 4116adaf38ddb1a49cd2fca09af7678ecb80df5fe911facae59def17d7a32def -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T13:26:28.305Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-07-21T13:26:28.838Z] + make test [2023-07-21T13:26:28.838Z] go test -race ./... -coverprofile=coverage.out ./... [2023-07-21T13:29:05.565Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-07-21T13:29:07.509Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-07-21T13:29:08.916Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.213s coverage: 86.2% of statements [2023-07-21T13:29:21.233Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.487s coverage: 71.9% of statements [2023-07-21T13:29:21.233Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-21T13:29:21.233Z] go vet ./... [2023-07-21T13:31:42.976Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-21T13:31:42.976Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-21T13:31:42.976Z] ./bin/test-attribution.sh [Pipeline] echo [2023-07-21T13:31:43.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-21T13:31:43.048Z] $ docker stop --time=1 4116adaf38ddb1a49cd2fca09af7678ecb80df5fe911facae59def17d7a32def [2023-07-21T13:31:45.458Z] $ docker rm -f --volumes 4116adaf38ddb1a49cd2fca09af7678ecb80df5fe911facae59def17d7a32def [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T13:31:47.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-21T13:31:47.109Z] Warning: overwriting stash ‘coverage-report’ [2023-07-21T13:31:47.526Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T13:31:48.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T13:31:48.528Z] + ls -al . [2023-07-21T13:31:48.528Z] total 232 [2023-07-21T13:31:48.528Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 13:26 . [2023-07-21T13:31:48.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 13:24 .. [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 262 Jul 21 13:24 .dockerignore [2023-07-21T13:31:48.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 13:24 .git [2023-07-21T13:31:48.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 13:24 .github [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 788 Jul 21 13:24 .gitignore [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 13:24 .golangci.yml [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 10332 Jul 21 13:24 Attribution.txt [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 9042 Jul 21 13:24 CHANGELOG.md [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 1659 Jul 21 13:24 Dockerfile [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 13:24 GOVERNANCE.md [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 687 Jul 21 13:24 Jenkinsfile [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 21 13:24 LICENSE [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 2497 Jul 21 13:24 Makefile [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 21 13:24 OWNERS.md [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 31516 Jul 21 13:24 README.md [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 13:22 VERSION [2023-07-21T13:31:48.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 13:24 bin [2023-07-21T13:31:48.528Z] -rw-r--r-- 1 jenkins jenkins 41317 Jul 21 13:29 coverage.out [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 3694 Jul 21 13:24 go.mod [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 32867 Jul 21 13:24 go.sum [2023-07-21T13:31:48.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 13:24 images [2023-07-21T13:31:48.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 13:24 internal [2023-07-21T13:31:48.528Z] -rw-rw-r-- 1 jenkins jenkins 531 Jul 21 13:24 main.go [2023-07-21T13:31:48.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 13:24 res [2023-07-21T13:31:48.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 13:24 snap [2023-07-21T13:31:48.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 13:24 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:31:48.942Z] + 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=5792d7d05dc0bebea4a7677a0568de1c33fa9e6c --label arch=arm64 --label version=0.0.0 . [2023-07-21T13:31:49.209Z] Sending build context to Docker daemon 684kB [2023-07-21T13:31:49.209Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-07-21T13:31:49.209Z] Step 2/29 : FROM ${BASE} AS builder [2023-07-21T13:31:49.209Z] ---> 97548372ee65 [2023-07-21T13:31:49.209Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-07-21T13:31:49.209Z] ---> Running in faa1fd03d474 [2023-07-21T13:31:49.476Z] Removing intermediate container faa1fd03d474 [2023-07-21T13:31:49.476Z] ---> e6444e95b878 [2023-07-21T13:31:49.476Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-07-21T13:31:49.742Z] ---> Running in b04668e40989 [2023-07-21T13:31:50.008Z] Removing intermediate container b04668e40989 [2023-07-21T13:31:50.008Z] ---> e5eff0ae9e52 [2023-07-21T13:31:50.008Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-07-21T13:31:50.008Z] ---> Running in afd2514e4750 [2023-07-21T13:31:50.274Z] Removing intermediate container afd2514e4750 [2023-07-21T13:31:50.274Z] ---> 2591a0862f3e [2023-07-21T13:31:50.274Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-21T13:31:50.274Z] ---> Running in a25315b4ce69 [2023-07-21T13:31:51.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-21T13:31:51.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-21T13:31:52.771Z] OK: 263 MiB in 53 packages [2023-07-21T13:31:53.359Z] Removing intermediate container a25315b4ce69 [2023-07-21T13:31:53.359Z] ---> 29ed9fdb45fe [2023-07-21T13:31:53.359Z] Step 7/29 : WORKDIR /app [2023-07-21T13:31:53.627Z] ---> Running in 14636df8aeff [2023-07-21T13:31:53.892Z] Removing intermediate container 14636df8aeff [2023-07-21T13:31:53.892Z] ---> 23ff956151cf [2023-07-21T13:31:53.892Z] Step 8/29 : COPY go.mod vendor* ./ [2023-07-21T13:31:57.221Z] ---> ed3d1ae45fc7 [2023-07-21T13:31:57.221Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-21T13:31:57.221Z] ---> Running in 20d903dc47a4 [2023-07-21T13:31:59.163Z] Removing intermediate container 20d903dc47a4 [2023-07-21T13:31:59.163Z] ---> 0397ae6c2842 [2023-07-21T13:31:59.163Z] Step 10/29 : COPY . . [2023-07-21T13:31:59.432Z] ---> 030398468a09 [2023-07-21T13:31:59.432Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-21T13:31:59.702Z] ---> Running in 286684f0e6f5 [2023-07-21T13:31:59.969Z] Removing intermediate container 286684f0e6f5 [2023-07-21T13:31:59.969Z] ---> ff9bd10de2b0 [2023-07-21T13:31:59.969Z] Step 12/29 : RUN $MAKE [2023-07-21T13:31:59.969Z] ---> Running in 7c0f206e7fd2 [2023-07-21T13:32:00.934Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -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-07-21T13:34:07.605Z] Removing intermediate container 7c0f206e7fd2 [2023-07-21T13:34:07.605Z] ---> 8d87143f1455 [2023-07-21T13:34:07.605Z] Step 13/29 : FROM alpine:3.17 [2023-07-21T13:34:07.605Z] 3.17: Pulling from library/alpine [2023-07-21T13:34:07.605Z] edb6bdbacee9: Already exists [2023-07-21T13:34:07.605Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-21T13:34:07.605Z] Status: Downloaded newer image for alpine:3.17 [2023-07-21T13:34:07.605Z] ---> 779605e5fbc0 [2023-07-21T13:34:07.605Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-21T13:34:07.605Z] ---> Running in 3515194d53b6 [2023-07-21T13:34:07.605Z] Removing intermediate container 3515194d53b6 [2023-07-21T13:34:07.605Z] ---> f16b55fc0fb4 [2023-07-21T13:34:07.605Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-07-21T13:34:07.605Z] ---> Running in 87d765f94ade [2023-07-21T13:34:07.605Z] Removing intermediate container 87d765f94ade [2023-07-21T13:34:07.605Z] ---> dc57ae052c1a [2023-07-21T13:34:07.605Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-07-21T13:34:07.605Z] ---> Running in 6c1e9ebc9aa4 [2023-07-21T13:34:07.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-21T13:34:07.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-21T13:34:08.185Z] (1/2) Installing ca-certificates (20230506-r0) [2023-07-21T13:34:08.450Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-07-21T13:34:08.450Z] Executing busybox-1.35.0-r29.trigger [2023-07-21T13:34:08.450Z] Executing ca-certificates-20230506-r0.trigger [2023-07-21T13:34:08.715Z] OK: 8 MiB in 17 packages [2023-07-21T13:34:10.650Z] Removing intermediate container 6c1e9ebc9aa4 [2023-07-21T13:34:10.650Z] ---> 1d049c4fd9dc [2023-07-21T13:34:10.650Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-07-21T13:34:10.650Z] ---> 31d549c4efa1 [2023-07-21T13:34:10.650Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-07-21T13:34:11.232Z] ---> 1ce93f01dc0c [2023-07-21T13:34:11.232Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-07-21T13:34:11.503Z] ---> 033809bfa078 [2023-07-21T13:34:11.503Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-07-21T13:34:12.085Z] ---> 7ec9556b5913 [2023-07-21T13:34:12.085Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-07-21T13:34:13.611Z] ---> 14d1909d9456 [2023-07-21T13:34:13.611Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-07-21T13:34:13.611Z] ---> Running in 8f572d6279c4 [2023-07-21T13:34:15.065Z] Removing intermediate container 8f572d6279c4 [2023-07-21T13:34:15.065Z] ---> 930dfd1f8fcc [2023-07-21T13:34:15.065Z] Step 23/29 : VOLUME /cache [2023-07-21T13:34:15.341Z] ---> Running in 047af7ce0ed3 [2023-07-21T13:34:15.623Z] Removing intermediate container 047af7ce0ed3 [2023-07-21T13:34:15.624Z] ---> b963c82a52ee [2023-07-21T13:34:15.624Z] Step 24/29 : EXPOSE 59711 [2023-07-21T13:34:15.624Z] ---> Running in bc730e85a49b [2023-07-21T13:34:15.901Z] Removing intermediate container bc730e85a49b [2023-07-21T13:34:15.901Z] ---> 96bd9ef872d7 [2023-07-21T13:34:15.901Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-07-21T13:34:15.901Z] ---> Running in f02c92a827e8 [2023-07-21T13:34:16.171Z] Removing intermediate container f02c92a827e8 [2023-07-21T13:34:16.171Z] ---> 014b07c1925e [2023-07-21T13:34:16.171Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-07-21T13:34:16.439Z] ---> Running in 95b89eb7b3fc [2023-07-21T13:34:16.706Z] Removing intermediate container 95b89eb7b3fc [2023-07-21T13:34:16.706Z] ---> 179f679f11a3 [2023-07-21T13:34:16.706Z] Step 27/29 : LABEL arch=arm64 [2023-07-21T13:34:16.706Z] ---> Running in cbcb90c0b077 [2023-07-21T13:34:16.973Z] Removing intermediate container cbcb90c0b077 [2023-07-21T13:34:16.973Z] ---> 0ef576bef6ec [2023-07-21T13:34:16.973Z] Step 28/29 : LABEL git_sha=5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [2023-07-21T13:34:16.973Z] ---> Running in 35e4f4531a32 [2023-07-21T13:34:17.242Z] Removing intermediate container 35e4f4531a32 [2023-07-21T13:34:17.242Z] ---> 99b98376a46c [2023-07-21T13:34:17.242Z] Step 29/29 : LABEL version=0.0.0 [2023-07-21T13:34:17.508Z] ---> Running in 2a13cf84759e [2023-07-21T13:34:17.775Z] Removing intermediate container 2a13cf84759e [2023-07-21T13:34:17.775Z] ---> e0ded383cda4 [2023-07-21T13:34:17.775Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-21T13:34:17.775Z] Successfully built e0ded383cda4 [2023-07-21T13:34:17.775Z] 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-07-21T13:34:18.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T13:34:18.566Z] [2023-07-21T13:34:18.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:34:18.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T13:34:18.962Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-21T13:34:18.962Z] 8998bd30e6a1: Pulling fs layer [2023-07-21T13:34:18.962Z] 04944245beec: Pulling fs layer [2023-07-21T13:34:18.962Z] 699f458cf7ca: Pulling fs layer [2023-07-21T13:34:18.962Z] 765212b225bb: Pulling fs layer [2023-07-21T13:34:18.962Z] f23df028b6ca: Pulling fs layer [2023-07-21T13:34:18.962Z] d65c8cfc05b1: Pulling fs layer [2023-07-21T13:34:18.962Z] 2437ff75d9bd: Pulling fs layer [2023-07-21T13:34:18.962Z] f23df028b6ca: Waiting [2023-07-21T13:34:18.962Z] d65c8cfc05b1: Waiting [2023-07-21T13:34:18.962Z] 2437ff75d9bd: Waiting [2023-07-21T13:34:18.962Z] 765212b225bb: Waiting [2023-07-21T13:34:19.229Z] 04944245beec: Verifying Checksum [2023-07-21T13:34:19.229Z] 04944245beec: Download complete [2023-07-21T13:34:19.229Z] 765212b225bb: Verifying Checksum [2023-07-21T13:34:19.229Z] 765212b225bb: Download complete [2023-07-21T13:34:19.229Z] f23df028b6ca: Verifying Checksum [2023-07-21T13:34:19.229Z] f23df028b6ca: Download complete [2023-07-21T13:34:19.229Z] d65c8cfc05b1: Verifying Checksum [2023-07-21T13:34:19.229Z] d65c8cfc05b1: Download complete [2023-07-21T13:34:19.229Z] 699f458cf7ca: Verifying Checksum [2023-07-21T13:34:19.229Z] 699f458cf7ca: Download complete [2023-07-21T13:34:19.815Z] 8998bd30e6a1: Verifying Checksum [2023-07-21T13:34:19.815Z] 8998bd30e6a1: Download complete [2023-07-21T13:34:21.762Z] 2437ff75d9bd: Verifying Checksum [2023-07-21T13:34:21.762Z] 2437ff75d9bd: Download complete [2023-07-21T13:34:23.705Z] 8998bd30e6a1: Pull complete [2023-07-21T13:34:23.971Z] 04944245beec: Pull complete [2023-07-21T13:34:25.383Z] 699f458cf7ca: Pull complete [2023-07-21T13:34:25.383Z] 765212b225bb: Pull complete [2023-07-21T13:34:26.341Z] f23df028b6ca: Pull complete [2023-07-21T13:34:26.341Z] d65c8cfc05b1: Pull complete [2023-07-21T13:34:41.321Z] 2437ff75d9bd: Pull complete [2023-07-21T13:34:41.321Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-21T13:34:41.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T13:34:41.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:34:41.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-1723 does not seem to be running inside a container [2023-07-21T13:34:41.713Z] $ 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-07-21T13:34:44.112Z] $ docker top 241e43bb52d9cc060357af3ea48ebe84dde22dc9061503129fca7851c000d714 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:34:44.666Z] ---> job-cost.sh [2023-07-21T13:34:44.935Z] lf-activate-venv: SKIPPING [2023-07-21T13:34:44.935Z] INFO: No Stack... [2023-07-21T13:34:45.202Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-21T13:34:46.155Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T13:34:46.488Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-07-21T13:34:46.488Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T13:34:46.563Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] [2023-07-21T13:34:46.567Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] did not exist. Created. [2023-07-21T13:34:46.567Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T13:34:46.973Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-2457c127/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-21T13:34:47.644Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-21T13:34:47.682Z] Warning: overwriting stash ‘stack-cost’ [2023-07-21T13:34:47.735Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T13:34:47.749Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T13:34:47.833Z] $ docker stop --time=1 241e43bb52d9cc060357af3ea48ebe84dde22dc9061503129fca7851c000d714 [2023-07-21T13:34:49.905Z] $ docker rm -f --volumes 241e43bb52d9cc060357af3ea48ebe84dde22dc9061503129fca7851c000d714 [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-07-21T13:34:50.805Z] provisioning config files... [2023-07-21T13:34:50.816Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/config14592771946524804375tmp [Pipeline] { [Pipeline] sh [2023-07-21T13:34:51.140Z] + set +x [2023-07-21T13:34:51.140Z] + curl -s https://codecov.io/bash [2023-07-21T13:34:51.140Z] + bash -s -- [2023-07-21T13:34:51.140Z] [2023-07-21T13:34:51.140Z] _____ _ [2023-07-21T13:34:51.140Z] / ____| | | [2023-07-21T13:34:51.140Z] | | ___ __| | ___ ___ _____ __ [2023-07-21T13:34:51.140Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-21T13:34:51.140Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-21T13:34:51.140Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-21T13:34:51.140Z] Bash-1.0.6 [2023-07-21T13:34:51.140Z] [2023-07-21T13:34:51.140Z] [2023-07-21T13:34:51.140Z] ==> git version 2.25.1 found [2023-07-21T13:34:51.140Z] ==> 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-07-21T13:34:51.140Z] Release-Date: 2020-01-08 [2023-07-21T13:34:51.140Z] 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-07-21T13:34:51.140Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-21T13:34:51.140Z] ==> Jenkins CI detected. [2023-07-21T13:34:51.140Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-211 [2023-07-21T13:34:51.140Z] project root: . [2023-07-21T13:34:51.140Z] --> token set from env [2023-07-21T13:34:51.140Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-21T13:34:51.140Z] ==> Running gcov in . (disable via -X gcov) [2023-07-21T13:34:51.140Z] ==> Python coveragepy not found [2023-07-21T13:34:51.140Z] ==> Searching for coverage reports in: [2023-07-21T13:34:51.140Z] + . [2023-07-21T13:34:51.140Z] -> Found 1 reports [2023-07-21T13:34:51.140Z] ==> Detecting git/mercurial file structure [2023-07-21T13:34:51.140Z] ==> Reading reports [2023-07-21T13:34:51.140Z] + ./coverage.out bytes=41317 [2023-07-21T13:34:51.140Z] ==> Appending adjustments [2023-07-21T13:34:51.140Z] https://docs.codecov.io/docs/fixing-reports [2023-07-21T13:34:51.399Z] + Found adjustments [2023-07-21T13:34:51.399Z] ==> Gzipping contents [2023-07-21T13:34:51.399Z] 12K /tmp/codecov.D9MseO.gz [2023-07-21T13:34:51.399Z] ==> Uploading reports [2023-07-21T13:34:51.399Z] url: https://codecov.io [2023-07-21T13:34:51.399Z] query: branch=PR-211&commit=5792d7d05dc0bebea4a7677a0568de1c33fa9e6c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=211&job=&cmd_args= [2023-07-21T13:34:51.399Z] -> Pinging Codecov [2023-07-21T13:34:51.399Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-211&commit=5792d7d05dc0bebea4a7677a0568de1c33fa9e6c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=211&job=&cmd_args= [2023-07-21T13:34:51.660Z] -> Uploading to [2023-07-21T13:34:51.660Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-21/581DD39554BDF9B6E22D074273EAD858/5792d7d05dc0bebea4a7677a0568de1c33fa9e6c/402d7d7e-4214-407b-bde5-d6116c20b8dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230721T133451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ab4ddc1be55abb8dc8c83024cf508d1838e6fea507bb358b9958a0112946b15 [2023-07-21T13:34:51.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T13:34:51.660Z] Dload Upload Total Spent Left Speed [2023-07-21T13:34:51.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11799 0 0 100 11799 0 60198 --:--:-- --:--:-- --:--:-- 60198 [2023-07-21T13:34:51.920Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5792d7d05dc0bebea4a7677a0568de1c33fa9e6c [Pipeline] } [2023-07-21T13:34:51.952Z] 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-07-21T13:34:53.745Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-211/archives ] [2023-07-21T13:34:53.745Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-211/archives [2023-07-21T13:34:53.745Z] total 16 [2023-07-21T13:34:53.745Z] drwxr-xr-x 3 root root 4096 Jul 21 13:24 . [2023-07-21T13:34:53.745Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 21 13:24 .. [2023-07-21T13:34:53.745Z] drwxr-xr-x 2 root root 4096 Jul 21 13:24 cost [2023-07-21T13:34:53.745Z] -rw-r--r-- 1 root root 95 Jul 21 13:24 cost.csv [2023-07-21T13:34:53.745Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-211/archives [2023-07-21T13:34:53.745Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-211/archives [2023-07-21T13:34:53.745Z] total 16 [2023-07-21T13:34:53.745Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 13:24 . [2023-07-21T13:34:53.745Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 21 13:24 .. [2023-07-21T13:34:53.745Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 13:24 cost [2023-07-21T13:34:53.745Z] -rw-r--r-- 1 jenkins jenkins 95 Jul 21 13:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:34:54.080Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:34:54.975Z] ---> package-listing.sh [2023-07-21T13:34:54.975Z] ++ facter osfamily [2023-07-21T13:34:54.975Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-21T13:34:55.236Z] + OS_FAMILY=debian [2023-07-21T13:34:55.236Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-211 [2023-07-21T13:34:55.236Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-21T13:34:55.236Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-21T13:34:55.236Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-21T13:34:55.236Z] + PACKAGES=/tmp/packages_start.txt [2023-07-21T13:34:55.236Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-211 ']' [2023-07-21T13:34:55.236Z] + PACKAGES=/tmp/packages_end.txt [2023-07-21T13:34:55.236Z] + case "${OS_FAMILY}" in [2023-07-21T13:34:55.236Z] + dpkg -l [2023-07-21T13:34:55.236Z] + grep '^ii' [2023-07-21T13:34:55.236Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-21T13:34:55.236Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-21T13:34:55.236Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-21T13:34:55.236Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-211 ']' [2023-07-21T13:34:55.236Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-211/archives/ [2023-07-21T13:34:55.236Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-211/archives/ [Pipeline] echo [2023-07-21T13:34:55.268Z] 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-211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-21T13:34:55.561Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T13:34:56.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T13:34:56.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T13:34:56.333Z] prd-ubuntu20.04-docker-8c-8g-1722 does not seem to be running inside a container [2023-07-21T13:34:56.368Z] $ 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-211/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-211 -v /w/workspace/y_app-rfid-llrp-inventory_PR-211:/w/workspace/y_app-rfid-llrp-inventory_PR-211:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-211@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-07-21T13:34:56.579Z] $ docker top be41398d837c918125f9df79a49b5c88099a5fc6255a073729611363b8aceff5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T13:34:56.961Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-21T13:34:57.268Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-21T13:34:57.585Z] + ls /var/log/sa-host [2023-07-21T13:34:57.585Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T13:34:57.805Z] provisioning config files... [2023-07-21T13:34:57.813Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-211@tmp/config17822865233624972092tmp [Pipeline] { [Pipeline] echo [2023-07-21T13:34:57.862Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:34:58.177Z] ---> create-netrc.sh [Pipeline] } [2023-07-21T13:34:58.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:34:58.592Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-21T13:34:58.623Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:34:58.935Z] ---> sudo-logs.sh [2023-07-21T13:34:58.935Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-21T13:34:59.019Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:34:59.330Z] ---> job-cost.sh [2023-07-21T13:34:59.330Z] lf-activate-venv: SKIPPING [2023-07-21T13:34:59.330Z] DEBUG: total: 0.2199999988079071 [2023-07-21T13:34:59.330Z] INFO: Retrieving Stack Cost... [2023-07-21T13:34:59.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T13:35:00.157Z] INFO: Archiving Costs [Pipeline] echo [2023-07-21T13:35:00.192Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T13:35:00.500Z] ---> logs-deploy.sh [2023-07-21T13:35:00.500Z] lf-activate-venv: SKIPPING [2023-07-21T13:35:00.500Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-211/1 [2023-07-21T13:35:00.500Z] INFO: archiving workspace using pattern(s): [2023-07-21T13:35:01.436Z] Archives upload complete. [2023-07-21T13:35:01.436Z] INFO: archiving logs to Nexus