Pull request #289 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from a34814b3da3de732ea535ab79f349182f0fe9c03+d6de6142a2946cb4a5b7397f70a2a6c8eac96e90 (00de72e17eef976b02a351ef0e5c593df43d0132) 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-ssh17798991392999562677.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh3318178320235470751.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-289/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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3998970872417094824.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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh210667217872545456.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh5504608413990013636.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-289/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-289/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6348309488857316971.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-834’ Running on prd-ubuntu20.04-docker-8c-8g-837 in /w/workspace/y_app-rfid-llrp-inventory_PR-289 [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-289 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/289/head:refs/remotes/origin/PR-289 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit d6de6142a2946cb4a5b7397f70a2a6c8eac96e90 into PR head commit a34814b3da3de732ea535ab79f349182f0fe9c03 Merge succeeded, producing a34814b3da3de732ea535ab79f349182f0fe9c03 Checking out Revision a34814b3da3de732ea535ab79f349182f0fe9c03 (PR-289) Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f a34814b3da3de732ea535ab79f349182f0fe9c03 # 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 d6de6142a2946cb4a5b7397f70a2a6c8eac96e90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a34814b3da3de732ea535ab79f349182f0fe9c03 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:23:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:57 ========================================================= 09:23:57 EdgeX Global Pipelines Version Info 09:23:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:23:58 ------------------- 09:23:58 stable info: 09:23:58 ------------------- 09:23:58 Commited By: Ginny Guan ginny@iotechsys.com 09:23:58 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:23:58 Message: update stable to v1.0.259 09:23:59 ------------------- 09:23:59 experimental info: 09:23:59 ------------------- 09:23:59 Commited By: Ginny Guan ginny@iotechsys.com 09:23:59 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:23:59 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:24:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-289 [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-289 [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-289 [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a34814b3da3de732ea535ab79f349182f0fe9c03 [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a34814b [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:01 provisioning config files... 09:24:01 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/config3476915964977687092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:02 ---> ****-login.sh 09:24:02 nexus3.edgexfoundry.org:10001 09:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:02 Configure a credential helper to remove this warning. See 09:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:02 09:24:02 Login Succeeded 09:24:02 nexus3.edgexfoundry.org:10002 09:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:02 Configure a credential helper to remove this warning. See 09:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:02 09:24:02 Login Succeeded 09:24:02 nexus3.edgexfoundry.org:10003 09:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:02 Configure a credential helper to remove this warning. See 09:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:02 09:24:02 Login Succeeded 09:24:02 nexus3.edgexfoundry.org:10004 09:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:02 Configure a credential helper to remove this warning. See 09:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:02 09:24:02 Login Succeeded 09:24:02 ****.io 09:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:02 Configure a credential helper to remove this warning. See 09:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:02 09:24:02 Login Succeeded 09:24:02 ---> ****-login.sh ends [Pipeline] } 09:24:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:24:03 + git rev-list -1 --merges a34814b3da3de732ea535ab79f349182f0fe9c03~1..a34814b3da3de732ea535ab79f349182f0fe9c03 [Pipeline] echo 09:24:03 -----------> git rev-list -1 --merges a34814b3da3de732ea535ab79f349182f0fe9c03~1..a34814b3da3de732ea535ab79f349182f0fe9c03 a34814b3da3de732ea535ab79f349182f0fe9c03 [false] [Pipeline] sh 09:24:03 + git log --format=format:%s -1 a34814b3da3de732ea535ab79f349182f0fe9c03 [Pipeline] echo 09:24:03 ========================================================= 09:24:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:04 + git log --format=format:%s -1 a34814b3da3de732ea535ab79f349182f0fe9c03 [Pipeline] echo 09:24:04 [semverPrep] GIT_COMMIT: a34814b3da3de732ea535ab79f349182f0fe9c03, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo 09:24:04 [semverPrep] This is not a build commit. [Pipeline] sh 09:24:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:24:04 + grep -v github /etc/ssh/ssh_known_hosts 09:24:04 + [ -e /tmp/ssh_known_hosts ] 09:24:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:24:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:24:04 + sudo tee -a /etc/ssh/ssh_known_hosts 09:24:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:05 09:24:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:05 0.1.4: Pulling from edgex-devops/py-git-semver 09:24:05 b85a868b505f: Pulling fs layer 09:24:05 e2be974225ed: Pulling fs layer 09:24:05 339a4e72a1f5: Pulling fs layer 09:24:05 988bab9f4d93: Pulling fs layer 09:24:05 1469e6f7b9e6: Pulling fs layer 09:24:05 eaf3925da568: Pulling fs layer 09:24:05 bab4dde63d76: Pulling fs layer 09:24:05 bde34c3a00c8: Pulling fs layer 09:24:05 b352a97aabf1: Pulling fs layer 09:24:05 4872d77fe225: Pulling fs layer 09:24:05 5851b861e8e6: Pulling fs layer 09:24:05 bab4dde63d76: Waiting 09:24:05 bde34c3a00c8: Waiting 09:24:05 b352a97aabf1: Waiting 09:24:05 4872d77fe225: Waiting 09:24:05 5851b861e8e6: Waiting 09:24:05 988bab9f4d93: Waiting 09:24:05 eaf3925da568: Waiting 09:24:05 1469e6f7b9e6: Waiting 09:24:05 e2be974225ed: Download complete 09:24:05 988bab9f4d93: Download complete 09:24:05 1469e6f7b9e6: Verifying Checksum 09:24:05 1469e6f7b9e6: Download complete 09:24:05 339a4e72a1f5: Verifying Checksum 09:24:05 339a4e72a1f5: Download complete 09:24:05 eaf3925da568: Download complete 09:24:05 bde34c3a00c8: Download complete 09:24:05 b352a97aabf1: Verifying Checksum 09:24:05 b352a97aabf1: Download complete 09:24:05 4872d77fe225: Verifying Checksum 09:24:05 4872d77fe225: Download complete 09:24:05 5851b861e8e6: Download complete 09:24:05 b85a868b505f: Verifying Checksum 09:24:05 b85a868b505f: Download complete 09:24:06 bab4dde63d76: Verifying Checksum 09:24:06 bab4dde63d76: Download complete 09:24:07 b85a868b505f: Pull complete 09:24:07 e2be974225ed: Pull complete 09:24:07 339a4e72a1f5: Pull complete 09:24:07 988bab9f4d93: Pull complete 09:24:08 1469e6f7b9e6: Pull complete 09:24:08 eaf3925da568: Pull complete 09:24:09 bab4dde63d76: Pull complete 09:24:09 bde34c3a00c8: Pull complete 09:24:09 b352a97aabf1: Pull complete 09:24:09 4872d77fe225: Pull complete 09:24:10 5851b861e8e6: Pull complete 09:24:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:10 prd-ubuntu20.04-docker-8c-8g-837 does not seem to be running inside a container 09:24:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-289 -v /w/workspace/y_app-rfid-llrp-inventory_PR-289:/w/workspace/y_app-rfid-llrp-inventory_PR-289:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:24:11 $ docker top 21e9c27c2c59ba8264c98eefb05681a3a690d14d83a172f73f7a7e29ac546735 -eo pid,comm 09:24:11 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). 09:24:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:24:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:12 [ssh-agent] Looking for ssh-agent implementation... 09:24:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:12 $ docker exec 21e9c27c2c59ba8264c98eefb05681a3a690d14d83a172f73f7a7e29ac546735 ssh-agent 09:24:12 SSH_AUTH_SOCK=/tmp/ssh-OPerLfo3vaY8/agent.32 09:24:12 SSH_AGENT_PID=38 09:24:12 Running ssh-add (command line suppressed) 09:24:12 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/private_key_2408155011489502893.key (/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/private_key_2408155011489502893.key) 09:24:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:12 + git tag --points-at HEAD [Pipeline] } 09:24:12 $ docker exec --env ******** --env ******** 21e9c27c2c59ba8264c98eefb05681a3a690d14d83a172f73f7a7e29ac546735 ssh-agent -k 09:24:12 unset SSH_AUTH_SOCK; 09:24:12 unset SSH_AGENT_PID; 09:24:12 echo Agent pid 38 killed; 09:24:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:24:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:13 [ssh-agent] Looking for ssh-agent implementation... 09:24:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:13 $ docker exec 21e9c27c2c59ba8264c98eefb05681a3a690d14d83a172f73f7a7e29ac546735 ssh-agent 09:24:13 SSH_AUTH_SOCK=/tmp/ssh-GCQM7cNmp3In/agent.71 09:24:13 SSH_AGENT_PID=77 09:24:13 Running ssh-add (command line suppressed) 09:24:13 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/private_key_4830151435414025129.key (/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/private_key_4830151435414025129.key) 09:24:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:13 + git semver init 09:24:13 2024-05-27 09:24:13,935 [run_init] DEBUG init version:0.0.0 force:False 09:24:13 2024-05-27 09:24:13,936 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver 09:24:13 2024-05-27 09:24:13,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver 09:24:13 2024-05-27 09:24:13,937 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-289, universal_newlines=False, shell=None, istream=None) 09:24:15 2024-05-27 09:24:15,031 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-289/.git/info/exclude 09:24:15 2024-05-27 09:24:15,032 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver/PR-289 with force:False 09:24:15 2024-05-27 09:24:15,032 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver/PR-289 09:24:15 2024-05-27 09:24:15,038 [execute] INFO git cat-file --batch-check 09:24:15 2024-05-27 09:24:15,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver, universal_newlines=False, shell=None, istream=) 09:24:15 2024-05-27 09:24:15,044 [execute] INFO git cat-file --batch 09:24:15 2024-05-27 09:24:15,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver, universal_newlines=False, shell=None, istream=) 09:24:15 2024-05-27 09:24:15,050 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-289/.semver/PR-289 09:24:15 0.0.0 [Pipeline] } 09:24:15 $ docker exec --env ******** --env ******** 21e9c27c2c59ba8264c98eefb05681a3a690d14d83a172f73f7a7e29ac546735 ssh-agent -k 09:24:15 unset SSH_AUTH_SOCK; 09:24:15 unset SSH_AGENT_PID; 09:24:15 echo Agent pid 77 killed; 09:24:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:24:16 + git semver [Pipeline] } 09:24:16 $ docker stop --time=1 21e9c27c2c59ba8264c98eefb05681a3a690d14d83a172f73f7a7e29ac546735 09:24:17 $ docker rm -f --volumes 21e9c27c2c59ba8264c98eefb05681a3a690d14d83a172f73f7a7e29ac546735 [Pipeline] // withDockerContainer [Pipeline] sh 09:24:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:24:18 Stashed 1 file(s) [Pipeline] echo 09:24:18 [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 09:24:19 provisioning config files... 09:24:19 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/config5917279292795658926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:19 ---> ****-login.sh 09:24:19 nexus3.edgexfoundry.org:10001 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10002 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10003 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10004 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 ****.io 09:24:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:20 Configure a credential helper to remove this warning. See 09:24:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:20 09:24:20 Login Succeeded 09:24:20 ---> ****-login.sh ends [Pipeline] } 09:24:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:20 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:24:20 + cut+ -d -f 2 09:24:20 grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 09:24:20 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:24:20 ========================================================= 09:24:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:24:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:24:24 Sending build context to Docker daemon 44.88MB 09:24:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:24:24 Step 2/12 : FROM ${BASE} AS builder 09:24:24 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:24:24 619be1103602: Pulling fs layer 09:24:24 7862e08f4a3e: Pulling fs layer 09:24:24 5df492c9dc93: Pulling fs layer 09:24:24 7629e6793208: Pulling fs layer 09:24:24 4f4fb700ef54: Pulling fs layer 09:24:24 8de7f028bff5: Pulling fs layer 09:24:24 44042ff1420b: Pulling fs layer 09:24:24 5cdaf54b7214: Pulling fs layer 09:24:24 38f3e5a9071a: Pulling fs layer 09:24:24 7629e6793208: Waiting 09:24:24 4f4fb700ef54: Waiting 09:24:24 8de7f028bff5: Waiting 09:24:24 44042ff1420b: Waiting 09:24:24 5cdaf54b7214: Waiting 09:24:24 38f3e5a9071a: Waiting 09:24:24 7862e08f4a3e: Verifying Checksum 09:24:24 7862e08f4a3e: Download complete 09:24:24 7629e6793208: Download complete 09:24:24 4f4fb700ef54: Download complete 09:24:24 8de7f028bff5: Verifying Checksum 09:24:24 8de7f028bff5: Download complete 09:24:24 619be1103602: Verifying Checksum 09:24:24 619be1103602: Download complete 09:24:24 44042ff1420b: Verifying Checksum 09:24:24 44042ff1420b: Download complete 09:24:24 619be1103602: Pull complete 09:24:24 38f3e5a9071a: Verifying Checksum 09:24:24 38f3e5a9071a: Download complete 09:24:24 7862e08f4a3e: Pull complete 09:24:24 5df492c9dc93: Verifying Checksum 09:24:24 5df492c9dc93: Download complete 09:24:25 5cdaf54b7214: Verifying Checksum 09:24:25 5cdaf54b7214: Download complete 09:24:27 5df492c9dc93: Pull complete 09:24:27 7629e6793208: Pull complete 09:24:27 4f4fb700ef54: Pull complete 09:24:27 8de7f028bff5: Pull complete 09:24:27 44042ff1420b: Pull complete 09:24:30 5cdaf54b7214: Pull complete 09:24:30 38f3e5a9071a: Pull complete 09:24:30 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:24:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:24:30 ---> 60b93f829570 09:24:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:24:31 ---> Running in e81835dbf4b2 09:24:32 Removing intermediate container e81835dbf4b2 09:24:32 ---> e3f4c92cafbd 09:24:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:24:32 ---> Running in 1a4a205cdbce 09:24:32 Removing intermediate container 1a4a205cdbce 09:24:32 ---> 864137897375 09:24:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:24:32 ---> Running in 3f7c8e6c173d 09:24:32 Removing intermediate container 3f7c8e6c173d 09:24:32 ---> 5709ca4a8aef 09:24:32 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:32 ---> Running in 680883271eb5 09:24:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:24:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:24:32 OK: 264 MiB in 52 packages 09:24:33 Removing intermediate container 680883271eb5 09:24:33 ---> 28960ef9efeb 09:24:33 Step 7/12 : WORKDIR /app 09:24:33 ---> Running in d998c458cd42 09:24:33 Removing intermediate container d998c458cd42 09:24:33 ---> 23dc84ac0e43 09:24:33 Step 8/12 : COPY go.mod vendor* ./ 09:24:33 Still waiting to schedule task 09:24:33 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-835’ 09:24:34 ---> 3c001690f44e 09:24:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:34 ---> Running in 7a390c420453 09:24:52 Removing intermediate container 7a390c420453 09:24:52 ---> ca1da2568162 09:24:52 Step 10/12 : COPY . . 09:24:52 ---> 8358f196360d 09:24:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:24:52 ---> Running in 80f508198fac 09:24:52 Removing intermediate container 80f508198fac 09:24:52 ---> 8333d2185a97 09:24:52 Step 12/12 : RUN $MAKE 09:24:52 ---> Running in 9592843f3a9b 09:24:52 noop 09:24:52 Removing intermediate container 9592843f3a9b 09:24:52 ---> 9d632e378ff1 09:24:52 Successfully built 9d632e378ff1 09:24:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:53 + docker inspect -f . ci-base-image-x86_64 09:24:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:53 prd-ubuntu20.04-docker-8c-8g-837 does not seem to be running inside a container 09:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-289 -v /w/workspace/y_app-rfid-llrp-inventory_PR-289:/w/workspace/y_app-rfid-llrp-inventory_PR-289:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:53 $ docker top 7eb567bbf11f4b2fb43c0f20e1994147e10e77f0b2859b8518a7cf7ab854d4b7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:54 + go version 09:24:54 go version go1.21.9 linux/amd64 [Pipeline] } 09:24:54 $ docker stop --time=1 7eb567bbf11f4b2fb43c0f20e1994147e10e77f0b2859b8518a7cf7ab854d4b7 09:24:55 $ docker rm -f --volumes 7eb567bbf11f4b2fb43c0f20e1994147e10e77f0b2859b8518a7cf7ab854d4b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:56 + docker inspect -f . ci-base-image-x86_64 09:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:56 prd-ubuntu20.04-docker-8c-8g-837 does not seem to be running inside a container 09:24:56 $ 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-289 -v /w/workspace/y_app-rfid-llrp-inventory_PR-289:/w/workspace/y_app-rfid-llrp-inventory_PR-289:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:56 $ docker top bca432f4c6fd77756f134e31959bb50c3bb25267cb06b84f77f45ea7caa7ca66 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:57 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-289 [Pipeline] fileExists [Pipeline] sh 09:24:57 + make test 09:24:57 go test -race ./... -coverprofile=coverage.out ./... 09:25:15 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 09:25:15 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 09:25:16 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.133s coverage: 86.2% of statements 09:25:19 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.655s coverage: 71.9% of statements 09:25:37 go vet ./... 09:25:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:41 ./bin/test-attribution.sh [Pipeline] echo 09:25:41 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:25:41 + go mod tidy [Pipeline] } 09:25:42 $ docker stop --time=1 bca432f4c6fd77756f134e31959bb50c3bb25267cb06b84f77f45ea7caa7ca66 09:25:44 $ docker rm -f --volumes bca432f4c6fd77756f134e31959bb50c3bb25267cb06b84f77f45ea7caa7ca66 [Pipeline] // withDockerContainer [Pipeline] sh 09:25:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:25:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:45 + ls -al . 09:25:45 total 212 09:25:45 drwxrwxr-x 12 jenkins jenkins 4096 May 27 09:24 . 09:25:45 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:23 .. 09:25:45 -rw-rw-r-- 1 jenkins jenkins 262 May 27 09:23 .dockerignore 09:25:45 drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:25 .git 09:25:45 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:23 .github 09:25:45 -rw-rw-r-- 1 jenkins jenkins 765 May 27 09:23 .gitignore 09:25:45 -rw-rw-r-- 1 jenkins jenkins 41 May 27 09:23 .golangci.yml 09:25:45 drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:24 .semver 09:25:45 -rw-rw-r-- 1 jenkins jenkins 11010 May 27 09:23 Attribution.txt 09:25:45 -rw-rw-r-- 1 jenkins jenkins 11245 May 27 09:23 CHANGELOG.md 09:25:45 -rw-rw-r-- 1 jenkins jenkins 1768 May 27 09:23 Dockerfile 09:25:45 -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:23 GOVERNANCE.md 09:25:45 -rw-rw-r-- 1 jenkins jenkins 665 May 27 09:23 Jenkinsfile 09:25:45 -rw-rw-r-- 1 jenkins jenkins 11347 May 27 09:23 LICENSE 09:25:45 -rw-rw-r-- 1 jenkins jenkins 2497 May 27 09:23 Makefile 09:25:45 -rw-rw-r-- 1 jenkins jenkins 617 May 27 09:23 OWNERS.md 09:25:45 -rw-rw-r-- 1 jenkins jenkins 3851 May 27 09:23 README.md 09:25:45 -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:24 VERSION 09:25:45 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:23 bin 09:25:45 -rw-r--r-- 1 jenkins jenkins 41317 May 27 09:25 coverage.out 09:25:45 -rw-rw-r-- 1 jenkins jenkins 3892 May 27 09:23 go.mod 09:25:45 -rw-rw-r-- 1 jenkins jenkins 34271 May 27 09:23 go.sum 09:25:45 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:23 images 09:25:45 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:23 internal 09:25:45 -rw-rw-r-- 1 jenkins jenkins 531 May 27 09:23 main.go 09:25:45 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:23 openapi 09:25:45 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:23 res 09:25:45 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:23 static 09:25:45 drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:23 vendor [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:46 + 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=a34814b3da3de732ea535ab79f349182f0fe9c03 --label arch=amd64 --label version=0.0.0 . 09:25:46 Sending build context to Docker daemon 44.88MB 09:25:46 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 09:25:46 Step 2/30 : FROM ${BASE} AS builder 09:25:46 ---> 9d632e378ff1 09:25:46 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 09:25:46 ---> Running in bd8881bdf428 09:25:46 Removing intermediate container bd8881bdf428 09:25:46 ---> eb805edb6beb 09:25:46 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 09:25:46 ---> Running in 65b333a5fed4 09:25:46 Removing intermediate container 65b333a5fed4 09:25:46 ---> 36bae804450f 09:25:46 Step 5/30 : ARG ADD_BUILD_TAGS="" 09:25:46 ---> Running in f10d5236080a 09:25:46 Removing intermediate container f10d5236080a 09:25:46 ---> 92ade6b905c3 09:25:46 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:46 ---> Running in 2e4327bcc04d 09:25:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:47 OK: 264 MiB in 52 packages 09:25:47 Removing intermediate container 2e4327bcc04d 09:25:47 ---> 1ea5e4eb670c 09:25:47 Step 7/30 : WORKDIR /app 09:25:47 ---> Running in ef2bcaea9318 09:25:47 Removing intermediate container ef2bcaea9318 09:25:47 ---> 8b4195a6fec6 09:25:47 Step 8/30 : COPY go.mod vendor* ./ 09:25:49 ---> 9461d7a922f6 09:25:49 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:49 ---> Running in 1ce6d4b4ee87 09:25:49 skipping... 09:25:49 Removing intermediate container 1ce6d4b4ee87 09:25:49 ---> 1d48b2e7df05 09:25:49 Step 10/30 : COPY . . 09:25:50 ---> c0ef0fd03222 09:25:50 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:25:50 ---> Running in f40a03722312 09:25:50 Removing intermediate container f40a03722312 09:25:50 ---> c5118d3d53bc 09:25:50 Step 12/30 : RUN $MAKE 09:25:50 ---> Running in d93e86378dba 09:25:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.1 -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 09:26:09 Removing intermediate container d93e86378dba 09:26:09 ---> ee39aa7fd873 09:26:09 Step 13/30 : FROM alpine:3.18 09:26:09 3.18: Pulling from library/alpine 09:26:09 619be1103602: Already exists 09:26:09 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:26:09 Status: Downloaded newer image for alpine:3.18 09:26:09 ---> d3782b16ccc9 09:26:09 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:26:09 ---> Running in 127aaca816f9 09:26:09 Removing intermediate container 127aaca816f9 09:26:09 ---> 3755301cd41c 09:26:09 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 09:26:09 ---> Running in dfd443ff5e63 09:26:09 Removing intermediate container dfd443ff5e63 09:26:09 ---> e8e4b300d823 09:26:09 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 09:26:09 ---> Running in c3d6f4226d85 09:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:26:09 (1/2) Installing ca-certificates (20240226-r0) 09:26:09 (2/2) Installing dumb-init (1.2.5-r2) 09:26:09 Executing busybox-1.36.1-r5.trigger 09:26:09 Executing ca-certificates-20240226-r0.trigger 09:26:09 OK: 8 MiB in 17 packages 09:26:09 Removing intermediate container c3d6f4226d85 09:26:09 ---> fbdaac2cf1bb 09:26:09 Step 17/30 : RUN apk --no-cache upgrade 09:26:09 ---> Running in 4a273f9a3e75 09:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:26:09 Upgrading critical system libraries and apk-tools: 09:26:09 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:26:09 Executing busybox-1.36.1-r5.trigger 09:26:09 Continuing the upgrade transaction with new apk-tools: 09:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:26:09 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:26:09 Executing busybox-1.36.1-r6.post-upgrade 09:26:09 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:26:09 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:26:09 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:26:09 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:26:09 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:26:09 Executing busybox-1.36.1-r6.trigger 09:26:09 Executing ca-certificates-20240226-r0.trigger 09:26:09 OK: 8 MiB in 17 packages 09:26:09 Removing intermediate container 4a273f9a3e75 09:26:09 ---> 32171dc4d0f9 09:26:09 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:26:10 ---> 413fe0bfce15 09:26:10 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 09:26:10 ---> fef4e13c5d09 09:26:10 Step 20/30 : COPY --from=builder /app/res/ /res/ 09:26:10 ---> cd1be9af279e 09:26:10 Step 21/30 : COPY --from=builder /app/static/ /static/ 09:26:10 ---> d9c4a20c3737 09:26:10 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 09:26:10 ---> dd8d9ba5d2d9 09:26:10 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 09:26:10 ---> Running in c29bc973585d 09:26:11 Removing intermediate container c29bc973585d 09:26:11 ---> 4acba27ec2c4 09:26:11 Step 24/30 : VOLUME /cache 09:26:11 ---> Running in ff71c7138766 09:26:11 Removing intermediate container ff71c7138766 09:26:11 ---> 1d735dc29ab8 09:26:11 Step 25/30 : EXPOSE 59711 09:26:11 ---> Running in 2ce128d5eea6 09:26:11 Removing intermediate container 2ce128d5eea6 09:26:11 ---> f4f0adcc4438 09:26:11 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 09:26:11 ---> Running in a71d14d0f5ad 09:26:11 Removing intermediate container a71d14d0f5ad 09:26:11 ---> 84936fe7d54a 09:26:11 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 09:26:11 ---> Running in 7eea80fdfa30 09:26:11 Removing intermediate container 7eea80fdfa30 09:26:11 ---> fedfe4a0cd44 09:26:11 Step 28/30 : LABEL arch=amd64 09:26:11 ---> Running in 06a4890a9686 09:26:11 Removing intermediate container 06a4890a9686 09:26:11 ---> 5753def5aa46 09:26:11 Step 29/30 : LABEL git_sha=a34814b3da3de732ea535ab79f349182f0fe9c03 09:26:11 ---> Running in 1424666a1ba2 09:26:11 Removing intermediate container 1424666a1ba2 09:26:11 ---> 16f63ff53fd9 09:26:11 Step 30/30 : LABEL version=0.0.0 09:26:11 ---> Running in 64a82ad593a9 09:26:11 Removing intermediate container 64a82ad593a9 09:26:11 ---> 43619206ce44 09:26:11 [Warning] One or more build-args [ARCH] were not consumed 09:26:11 Successfully built 43619206ce44 09:26:11 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:13 09:26:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:13 latest: Pulling from edgex-lftools-log-publisher 09:26:13 5eb5b503b376: Pulling fs layer 09:26:13 5c69ac0246d0: Pulling fs layer 09:26:13 ec43610c2a17: Pulling fs layer 09:26:13 3a2ae6a8a46f: Pulling fs layer 09:26:13 33b1e0a273af: Pulling fs layer 09:26:13 5d3b04190fa2: Pulling fs layer 09:26:13 2f39f015ded8: Pulling fs layer 09:26:13 33b1e0a273af: Waiting 09:26:13 2f39f015ded8: Waiting 09:26:13 3a2ae6a8a46f: Waiting 09:26:13 5d3b04190fa2: Waiting 09:26:13 5c69ac0246d0: Verifying Checksum 09:26:13 5c69ac0246d0: Download complete 09:26:13 3a2ae6a8a46f: Verifying Checksum 09:26:13 3a2ae6a8a46f: Download complete 09:26:13 33b1e0a273af: Verifying Checksum 09:26:13 33b1e0a273af: Download complete 09:26:13 5d3b04190fa2: Download complete 09:26:13 ec43610c2a17: Verifying Checksum 09:26:13 ec43610c2a17: Download complete 09:26:13 5eb5b503b376: Verifying Checksum 09:26:13 5eb5b503b376: Download complete 09:26:14 2f39f015ded8: Download complete 09:26:14 5eb5b503b376: Pull complete 09:26:14 5c69ac0246d0: Pull complete 09:26:15 ec43610c2a17: Pull complete 09:26:15 3a2ae6a8a46f: Pull complete 09:26:15 33b1e0a273af: Pull complete 09:26:15 5d3b04190fa2: Pull complete 09:26:18 2f39f015ded8: Pull complete 09:26:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:19 prd-ubuntu20.04-docker-8c-8g-837 does not seem to be running inside a container 09:26:19 $ 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-289 -v /w/workspace/y_app-rfid-llrp-inventory_PR-289:/w/workspace/y_app-rfid-llrp-inventory_PR-289:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:26:20 $ docker top e1a747f81c0e9debe3eebce7828fe9dfc787cf6acdcfbe4f9a8b3951fdfb8a36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:20 ---> job-cost.sh 09:26:20 lf-activate-venv: SKIPPING 09:26:20 INFO: No Stack... 09:26:21 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:21 INFO: Archiving Costs [Pipeline] sh 09:26:21 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-289/archives/cost.csv 09:26:21 + cut -d, -f6 [Pipeline] lock 09:26:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] 09:26:21 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] did not exist. Created. 09:26:21 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:22 + echo total: 0.2199999988079071 [Pipeline] stash 09:26:22 Stashed 1 file(s) [Pipeline] } 09:26:22 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:22 $ docker stop --time=1 e1a747f81c0e9debe3eebce7828fe9dfc787cf6acdcfbe4f9a8b3951fdfb8a36 09:26:23 $ docker rm -f --volumes e1a747f81c0e9debe3eebce7828fe9dfc787cf6acdcfbe4f9a8b3951fdfb8a36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:27:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-839 in /w/workspace/y_app-rfid-llrp-inventory_PR-289 [Pipeline] { [Pipeline] ws 09:27:36 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 09:27:39 The recommended git tool is: git 09:27:44 using credential edgex-jenkins-ssh 09:27:44 Cloning the remote Git repository 09:27:44 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 09:27:44 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 09:27:44 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 09:27:44 > git --version # timeout=10 09:27:44 > git --version # 'git version 2.25.1' 09:27:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:47 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 09:27:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:48 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 09:27:48 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 09:27:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/289/head:refs/remotes/origin/PR-289 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 09:27:49 Merging remotes/origin/napa commit d6de6142a2946cb4a5b7397f70a2a6c8eac96e90 into PR head commit a34814b3da3de732ea535ab79f349182f0fe9c03 09:27:49 > git config core.sparsecheckout # timeout=10 09:27:49 > git checkout -f a34814b3da3de732ea535ab79f349182f0fe9c03 # timeout=10 09:27:50 > git remote # timeout=10 09:27:50 > git config --get remote.origin.url # timeout=10 09:27:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:50 > git merge d6de6142a2946cb4a5b7397f70a2a6c8eac96e90 # timeout=10 09:27:50 Merge succeeded, producing a34814b3da3de732ea535ab79f349182f0fe9c03 09:27:50 Checking out Revision a34814b3da3de732ea535ab79f349182f0fe9c03 (PR-289) 09:27:52 Commit message: "build: Bump SDK to v3.1.1" 09:27:52 > git --version # timeout=10 09:27:52 > git --version # 'git version 2.25.1' 09:27:52 fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 09:27:50 > git rev-parse HEAD^{commit} # timeout=10 09:27:50 > git config core.sparsecheckout # timeout=10 09:27:50 > git checkout -f a34814b3da3de732ea535ab79f349182f0fe9c03 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:27:57 % Total % Received % Xferd Average Speed Time Time Time Current 09:27:57 Dload Upload Total Spent Left Speed 09:27:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k [Pipeline] sh 09:27:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:27:57 + sudo tee /etc/docker/daemon.new 09:27:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:27:57 { 09:27:57 "registry-mirrors": [ 09:27:57 "https://nexus3.edgexfoundry.org:10001" 09:27:57 ], 09:27:57 "bip": "10.250.0.254/24", 09:27:57 "hosts": [ 09:27:57 "tcp://0.0.0.0:5555", 09:27:57 "unix:///var/run/docker.sock" 09:27:57 ], 09:27:57 "mtu": 1458, 09:27:57 "selinux-enabled": true, 09:27:57 "seccomp-profile": "/etc/docker/seccomp.json" 09:27:57 } [Pipeline] sh 09:27:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:27:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:16 provisioning config files... 09:28:17 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config724016902210057179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:17 ---> ****-login.sh 09:28:17 nexus3.edgexfoundry.org:10001 09:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:18 Configure a credential helper to remove this warning. See 09:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:18 09:28:18 Login Succeeded 09:28:18 nexus3.edgexfoundry.org:10002 09:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:18 Configure a credential helper to remove this warning. See 09:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:18 09:28:18 Login Succeeded 09:28:18 nexus3.edgexfoundry.org:10003 09:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:18 Configure a credential helper to remove this warning. See 09:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:18 09:28:18 Login Succeeded 09:28:18 nexus3.edgexfoundry.org:10004 09:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:19 Configure a credential helper to remove this warning. See 09:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:19 09:28:19 Login Succeeded 09:28:19 ****.io 09:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:20 Configure a credential helper to remove this warning. See 09:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:20 09:28:20 Login Succeeded 09:28:20 ---> ****-login.sh ends [Pipeline] } 09:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:28:20 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:28:20 + grep+ ^go [0-9].[0-9]* go.mod 09:28:20 cut -d -f 2 [Pipeline] echo 09:28:21 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:28:21 ========================================================= 09:28:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 09:28:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:28:24 Sending build context to Docker daemon 28.59MB 09:28:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:28:24 Step 2/12 : FROM ${BASE} AS builder 09:28:24 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 09:28:24 c6b39de5b339: Pulling fs layer 09:28:24 a69c41024577: Pulling fs layer 09:28:24 d6de4b400683: Pulling fs layer 09:28:24 35cb2a7552d0: Pulling fs layer 09:28:24 4f4fb700ef54: Pulling fs layer 09:28:24 9e011611b7f5: Pulling fs layer 09:28:24 3bd174042beb: Pulling fs layer 09:28:24 4476f39b5e91: Pulling fs layer 09:28:24 4f4fb700ef54: Waiting 09:28:24 9e011611b7f5: Waiting 09:28:24 3bd174042beb: Waiting 09:28:24 4476f39b5e91: Waiting 09:28:24 35cb2a7552d0: Waiting 09:28:24 a69c41024577: Verifying Checksum 09:28:24 a69c41024577: Download complete 09:28:24 35cb2a7552d0: Verifying Checksum 09:28:24 35cb2a7552d0: Download complete 09:28:24 4f4fb700ef54: Verifying Checksum 09:28:24 4f4fb700ef54: Download complete 09:28:24 9e011611b7f5: Download complete 09:28:24 c6b39de5b339: Verifying Checksum 09:28:24 c6b39de5b339: Download complete 09:28:24 4476f39b5e91: Verifying Checksum 09:28:24 4476f39b5e91: Download complete 09:28:25 c6b39de5b339: Pull complete 09:28:25 a69c41024577: Pull complete 09:28:25 d6de4b400683: Verifying Checksum 09:28:25 d6de4b400683: Download complete 09:28:26 3bd174042beb: Verifying Checksum 09:28:26 3bd174042beb: Download complete 09:28:40 d6de4b400683: Pull complete 09:28:40 35cb2a7552d0: Pull complete 09:28:40 4f4fb700ef54: Pull complete 09:28:40 9e011611b7f5: Pull complete 09:28:48 3bd174042beb: Pull complete 09:28:50 4476f39b5e91: Pull complete 09:28:50 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 09:28:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 09:28:50 ---> 981a0608b64a 09:28:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:28:52 ---> Running in 6f47c142b216 09:28:52 Removing intermediate container 6f47c142b216 09:28:52 ---> 06709f5e302f 09:28:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:28:52 ---> Running in d35aee186265 09:28:52 Removing intermediate container d35aee186265 09:28:52 ---> 44570c3eca81 09:28:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:28:52 ---> Running in 31b2b111e496 09:28:53 Removing intermediate container 31b2b111e496 09:28:53 ---> 13c90e773e3f 09:28:53 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:28:53 ---> Running in 50c3000333da 09:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:28:55 OK: 266 MiB in 52 packages 09:28:56 Removing intermediate container 50c3000333da 09:28:56 ---> 8144cc750bae 09:28:56 Step 7/12 : WORKDIR /app 09:28:56 ---> Running in f222ffcddff7 09:28:56 Removing intermediate container f222ffcddff7 09:28:56 ---> ff9b7477a665 09:28:56 Step 8/12 : COPY go.mod vendor* ./ 09:29:03 ---> 8607ec5f580b 09:29:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:29:03 ---> Running in 629c64cc4b2c 09:30:00 Removing intermediate container 629c64cc4b2c 09:30:00 ---> dde8e23ff2f8 09:30:00 Step 10/12 : COPY . . 09:30:03 ---> e2591cfdaf66 09:30:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:30:03 ---> Running in 075b9e716873 09:30:03 Removing intermediate container 075b9e716873 09:30:03 ---> 73a21e6c49d4 09:30:03 Step 12/12 : RUN $MAKE 09:30:03 ---> Running in d6c32afc1276 09:30:04 noop 09:30:05 Removing intermediate container d6c32afc1276 09:30:05 ---> fdf816e555ef 09:30:06 Successfully built fdf816e555ef 09:30:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:06 + docker inspect -f . ci-base-image-arm64 09:30:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:06 prd-ubuntu20.04-docker-arm64-4c-16g-839 does not seem to be running inside a container 09:30:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:30:08 $ docker top a82aafbc3f8b0cdb91ad5b9a0c6f5019c75d36726259cab07b077d762cb5c753 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:09 + go version 09:30:09 go version go1.21.9 linux/arm64 [Pipeline] } 09:30:09 $ docker stop --time=1 a82aafbc3f8b0cdb91ad5b9a0c6f5019c75d36726259cab07b077d762cb5c753 09:30:10 $ docker rm -f --volumes a82aafbc3f8b0cdb91ad5b9a0c6f5019c75d36726259cab07b077d762cb5c753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:11 + docker inspect -f . ci-base-image-arm64 09:30:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:11 prd-ubuntu20.04-docker-arm64-4c-16g-839 does not seem to be running inside a container 09:30:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:30:13 $ docker top 55f2dbeb90494fb64286a820a6b7aebf8ee50fd3998825abd7441abeb0e949bc -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:14 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 09:30:14 + make test 09:30:15 go test -race ./... -coverprofile=coverage.out ./... 09:33:06 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 09:33:06 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 09:33:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.144s coverage: 86.2% of statements 09:33:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.527s coverage: 71.9% of statements 09:33:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:33:15 go vet ./... 09:35:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:35:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:35:52 ./bin/test-attribution.sh [Pipeline] echo 09:35:52 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:35:52 + go mod tidy [Pipeline] } 09:35:56 $ docker stop --time=1 55f2dbeb90494fb64286a820a6b7aebf8ee50fd3998825abd7441abeb0e949bc 09:35:58 $ docker rm -f --volumes 55f2dbeb90494fb64286a820a6b7aebf8ee50fd3998825abd7441abeb0e949bc [Pipeline] // withDockerContainer [Pipeline] sh 09:36:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:36:00 Warning: overwriting stash ‘coverage-report’ 09:36:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:36:02 + ls -al . 09:36:02 total 208 09:36:02 drwxrwxr-x 11 jenkins jenkins 4096 May 27 09:30 . 09:36:02 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:27 .. 09:36:02 -rw-rw-r-- 1 jenkins jenkins 262 May 27 09:27 .dockerignore 09:36:02 drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:27 .git 09:36:02 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:27 .github 09:36:02 -rw-rw-r-- 1 jenkins jenkins 765 May 27 09:27 .gitignore 09:36:02 -rw-rw-r-- 1 jenkins jenkins 41 May 27 09:27 .golangci.yml 09:36:02 -rw-rw-r-- 1 jenkins jenkins 11010 May 27 09:27 Attribution.txt 09:36:02 -rw-rw-r-- 1 jenkins jenkins 11245 May 27 09:27 CHANGELOG.md 09:36:02 -rw-rw-r-- 1 jenkins jenkins 1768 May 27 09:27 Dockerfile 09:36:02 -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:27 GOVERNANCE.md 09:36:02 -rw-rw-r-- 1 jenkins jenkins 665 May 27 09:27 Jenkinsfile 09:36:02 -rw-rw-r-- 1 jenkins jenkins 11347 May 27 09:27 LICENSE 09:36:02 -rw-rw-r-- 1 jenkins jenkins 2497 May 27 09:27 Makefile 09:36:02 -rw-rw-r-- 1 jenkins jenkins 617 May 27 09:27 OWNERS.md 09:36:02 -rw-rw-r-- 1 jenkins jenkins 3851 May 27 09:27 README.md 09:36:02 -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:24 VERSION 09:36:02 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:27 bin 09:36:02 -rw-r--r-- 1 jenkins jenkins 41317 May 27 09:33 coverage.out 09:36:02 -rw-rw-r-- 1 jenkins jenkins 3892 May 27 09:27 go.mod 09:36:02 -rw-rw-r-- 1 jenkins jenkins 34271 May 27 09:27 go.sum 09:36:02 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:27 images 09:36:02 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:27 internal 09:36:02 -rw-rw-r-- 1 jenkins jenkins 531 May 27 09:27 main.go 09:36:02 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:27 openapi 09:36:02 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:27 res 09:36:02 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:27 static 09:36:02 drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:27 vendor [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:02 + 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=a34814b3da3de732ea535ab79f349182f0fe9c03 --label arch=arm64 --label version=0.0.0 . 09:36:05 Sending build context to Docker daemon 28.59MB 09:36:05 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 09:36:05 Step 2/30 : FROM ${BASE} AS builder 09:36:05 ---> fdf816e555ef 09:36:05 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 09:36:05 ---> Running in c05ac27a3c28 09:36:05 Removing intermediate container c05ac27a3c28 09:36:05 ---> 390edfe9eee5 09:36:05 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 09:36:05 ---> Running in e0c255aa3193 09:36:05 Removing intermediate container e0c255aa3193 09:36:05 ---> d25c42f7c203 09:36:05 Step 5/30 : ARG ADD_BUILD_TAGS="" 09:36:05 ---> Running in f007ba4fd9a4 09:36:06 Removing intermediate container f007ba4fd9a4 09:36:06 ---> c54a2c3b59aa 09:36:06 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:36:06 ---> Running in e16bbbbf58fa 09:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:36:08 OK: 266 MiB in 52 packages 09:36:09 Removing intermediate container e16bbbbf58fa 09:36:09 ---> 725e25ca7da7 09:36:09 Step 7/30 : WORKDIR /app 09:36:09 ---> Running in 5bbca88325f3 09:36:09 Removing intermediate container 5bbca88325f3 09:36:09 ---> ae319fd67989 09:36:09 Step 8/30 : COPY go.mod vendor* ./ 09:36:18 ---> 95cf40fb63e6 09:36:18 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:18 ---> Running in 837ff7a18d99 09:36:18 skipping... 09:36:18 Removing intermediate container 837ff7a18d99 09:36:18 ---> da66e6248c7d 09:36:18 Step 10/30 : COPY . . 09:36:26 ---> 1d7adc7fe67a 09:36:26 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:36:26 ---> Running in 90f3f28838a4 09:36:26 Removing intermediate container 90f3f28838a4 09:36:26 ---> 70ae6a55f31f 09:36:26 Step 12/30 : RUN $MAKE 09:36:26 ---> Running in dfca27cd012f 09:36:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.1 -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 09:39:03 Removing intermediate container dfca27cd012f 09:39:03 ---> d36ab00cae57 09:39:03 Step 13/30 : FROM alpine:3.18 09:39:03 3.18: Pulling from library/alpine 09:39:03 c6b39de5b339: Already exists 09:39:03 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:39:03 Status: Downloaded newer image for alpine:3.18 09:39:03 ---> 33abbf032149 09:39:03 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:39:03 ---> Running in 4dd5fd10aec0 09:39:03 Removing intermediate container 4dd5fd10aec0 09:39:03 ---> 7e88316c2caa 09:39:03 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 09:39:03 ---> Running in e3afc71e56e4 09:39:03 Removing intermediate container e3afc71e56e4 09:39:03 ---> ecdf365f8151 09:39:03 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 09:39:03 ---> Running in 79258ae29031 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:39:03 (1/2) Installing ca-certificates (20240226-r0) 09:39:03 (2/2) Installing dumb-init (1.2.5-r2) 09:39:03 Executing busybox-1.36.1-r5.trigger 09:39:03 Executing ca-certificates-20240226-r0.trigger 09:39:03 OK: 9 MiB in 17 packages 09:39:03 Removing intermediate container 79258ae29031 09:39:03 ---> a7f64bb8179c 09:39:03 Step 17/30 : RUN apk --no-cache upgrade 09:39:03 ---> Running in 81623b9286fc 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:39:03 Upgrading critical system libraries and apk-tools: 09:39:03 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:39:03 Executing busybox-1.36.1-r5.trigger 09:39:03 Continuing the upgrade transaction with new apk-tools: 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:39:03 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:39:03 Executing busybox-1.36.1-r6.post-upgrade 09:39:03 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:39:03 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:39:03 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:39:03 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:39:03 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:39:03 Executing busybox-1.36.1-r6.trigger 09:39:03 Executing ca-certificates-20240226-r0.trigger 09:39:03 OK: 9 MiB in 17 packages 09:39:03 Removing intermediate container 81623b9286fc 09:39:03 ---> 77378e2ed511 09:39:03 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:39:03 ---> e57c6727991b 09:39:03 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 09:39:03 ---> d3df8f286ec9 09:39:03 Step 20/30 : COPY --from=builder /app/res/ /res/ 09:39:03 ---> 395308a61817 09:39:03 Step 21/30 : COPY --from=builder /app/static/ /static/ 09:39:03 ---> 4ee5962c0622 09:39:03 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 09:39:04 ---> d79ac05a6287 09:39:04 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 09:39:04 ---> Running in 3d5a443a2c5d 09:39:06 Removing intermediate container 3d5a443a2c5d 09:39:06 ---> 61c0572f9b2b 09:39:06 Step 24/30 : VOLUME /cache 09:39:06 ---> Running in 31f3a5897101 09:39:06 Removing intermediate container 31f3a5897101 09:39:06 ---> 65f0ec1ce9ff 09:39:06 Step 25/30 : EXPOSE 59711 09:39:06 ---> Running in a0fdce525dad 09:39:07 Removing intermediate container a0fdce525dad 09:39:07 ---> 23891fcdfbaa 09:39:07 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 09:39:07 ---> Running in 27299b07c424 09:39:07 Removing intermediate container 27299b07c424 09:39:07 ---> 19bb25e343fc 09:39:07 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 09:39:07 ---> Running in 58121b12ad3b 09:39:07 Removing intermediate container 58121b12ad3b 09:39:07 ---> 7f567b5485e2 09:39:07 Step 28/30 : LABEL arch=arm64 09:39:07 ---> Running in 5017410c7410 09:39:08 Removing intermediate container 5017410c7410 09:39:08 ---> fdc06335d0ae 09:39:08 Step 29/30 : LABEL git_sha=a34814b3da3de732ea535ab79f349182f0fe9c03 09:39:08 ---> Running in 63e3f85cf112 09:39:08 Removing intermediate container 63e3f85cf112 09:39:08 ---> b9f8b1d237bf 09:39:08 Step 30/30 : LABEL version=0.0.0 09:39:08 ---> Running in 3c6b17eab988 09:39:09 Removing intermediate container 3c6b17eab988 09:39:09 ---> 5ec55755c589 09:39:09 [Warning] One or more build-args [ARCH] were not consumed 09:39:09 Successfully built 5ec55755c589 09:39:09 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:39:10 09:39:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:39:11 arm64: Pulling from edgex-lftools-log-publisher 09:39:11 8998bd30e6a1: Pulling fs layer 09:39:11 04944245beec: Pulling fs layer 09:39:11 699f458cf7ca: Pulling fs layer 09:39:11 765212b225bb: Pulling fs layer 09:39:11 f23df028b6ca: Pulling fs layer 09:39:11 d65c8cfc05b1: Pulling fs layer 09:39:11 2437ff75d9bd: Pulling fs layer 09:39:11 f23df028b6ca: Waiting 09:39:11 d65c8cfc05b1: Waiting 09:39:11 2437ff75d9bd: Waiting 09:39:11 765212b225bb: Waiting 09:39:11 04944245beec: Verifying Checksum 09:39:11 04944245beec: Download complete 09:39:11 765212b225bb: Verifying Checksum 09:39:11 765212b225bb: Download complete 09:39:11 f23df028b6ca: Verifying Checksum 09:39:11 f23df028b6ca: Download complete 09:39:11 d65c8cfc05b1: Verifying Checksum 09:39:11 d65c8cfc05b1: Download complete 09:39:11 699f458cf7ca: Verifying Checksum 09:39:11 699f458cf7ca: Download complete 09:39:11 8998bd30e6a1: Verifying Checksum 09:39:11 8998bd30e6a1: Download complete 09:39:14 2437ff75d9bd: Verifying Checksum 09:39:14 2437ff75d9bd: Download complete 09:39:16 8998bd30e6a1: Pull complete 09:39:16 04944245beec: Pull complete 09:39:18 699f458cf7ca: Pull complete 09:39:18 765212b225bb: Pull complete 09:39:19 f23df028b6ca: Pull complete 09:39:19 d65c8cfc05b1: Pull complete 09:39:38 2437ff75d9bd: Pull complete 09:39:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:39:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:39:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:38 prd-ubuntu20.04-docker-arm64-4c-16g-839 does not seem to be running inside a container 09:39:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:39:41 $ docker top ed403016028bb65887a566322670fd748ab670a889abe8d74d260b5b7679a663 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:39:42 ---> job-cost.sh 09:39:42 lf-activate-venv: SKIPPING 09:39:42 INFO: No Stack... 09:39:42 INFO: Retrieving Pricing Info for: v3-standard-4 09:39:43 INFO: Archiving Costs [Pipeline] sh 09:39:43 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 09:39:43 + cut -d, -f6 [Pipeline] lock 09:39:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] 09:39:44 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] did not exist. Created. 09:39:44 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:39:44 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-1e78f0d9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:39:45 + echo total: 0.10999999940395355 [Pipeline] stash 09:39:45 Warning: overwriting stash ‘stack-cost’ 09:39:45 Stashed 1 file(s) [Pipeline] } 09:39:45 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:39:45 $ docker stop --time=1 ed403016028bb65887a566322670fd748ab670a889abe8d74d260b5b7679a663 09:39:47 $ docker rm -f --volumes ed403016028bb65887a566322670fd748ab670a889abe8d74d260b5b7679a663 [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 09:39:48 provisioning config files... 09:39:48 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/config17311216498424949495tmp [Pipeline] { [Pipeline] sh 09:39:50 + set +x 09:39:50 + curl -s https://codecov.io/bash 09:39:50 + bash -s -- 09:39:50 09:39:50 _____ _ 09:39:50 / ____| | | 09:39:50 | | ___ __| | ___ ___ _____ __ 09:39:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:39:50 | |___| (_) | (_| | __/ (_| (_) \ V / 09:39:50 \_____\___/ \__,_|\___|\___\___/ \_/ 09:39:50 Bash-1.0.6 09:39:50 09:39:50 09:39:50 ==> git version 2.25.1 found 09:39:50 ==> 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 09:39:50 Release-Date: 2020-01-08 09:39:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:39:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:39:50 ==> Jenkins CI detected. 09:39:50 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-289 09:39:50 project root: . 09:39:50 --> token set from env 09:39:50 Yaml found at: vendor/github.com/diegoholiveira/jsonlogic/v3/codecov.yml 09:39:51 ==> Running gcov in . (disable via -X gcov) 09:39:51 ==> Python coveragepy not found 09:39:51 ==> Searching for coverage reports in: 09:39:51 + . 09:39:51 -> Found 1 reports 09:39:51 ==> Detecting git/mercurial file structure 09:39:51 ==> Reading reports 09:39:51 + ./coverage.out bytes=41317 09:39:51 ==> Appending adjustments 09:39:51 https://docs.codecov.io/docs/fixing-reports 09:39:51 + Found adjustments 09:39:51 ==> Gzipping contents 09:39:51 24K /tmp/codecov.6fgxFB.gz 09:39:51 ==> Uploading reports 09:39:51 url: https://codecov.io 09:39:51 query: branch=PR-289&commit=a34814b3da3de732ea535ab79f349182f0fe9c03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=289&job=&cmd_args= 09:39:51 -> Pinging Codecov 09:39:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-289&commit=a34814b3da3de732ea535ab79f349182f0fe9c03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=289&job=&cmd_args= 09:39:51 -> Uploading to 09:39:51 https://storage.googleapis.com/codecov/v4/raw/2024-05-27/581DD39554BDF9B6E22D074273EAD858/a34814b3da3de732ea535ab79f349182f0fe9c03/07a24cb1-0b3b-4efe-a2d1-f413c290a022.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T093951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1eacaba8dfb7918d26303681881aff995db44284aae5c343d52e579f2c247019 09:39:51 % Total % Received % Xferd Average Speed Time Time Time Current 09:39:51 Dload Upload Total Spent Left Speed 09:39:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24245 0 0 100 24245 0 15961 0:00:01 0:00:01 --:--:-- 15961 100 24245 0 0 100 24245 0 14270 0:00:01 0:00:01 --:--:-- 14270 09:39:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/a34814b3da3de732ea535ab79f349182f0fe9c03 [Pipeline] } 09:39:53 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:39:55 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-289/archives ] 09:39:55 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-289/archives 09:39:55 total 16 09:39:55 drwxr-xr-x 3 root root 4096 May 27 09:26 . 09:39:55 drwxrwxr-x 13 jenkins jenkins 4096 May 27 09:26 .. 09:39:55 drwxr-xr-x 2 root root 4096 May 27 09:26 cost 09:39:55 -rw-r--r-- 1 root root 95 May 27 09:26 cost.csv 09:39:55 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-289/archives 09:39:55 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-289/archives 09:39:55 total 16 09:39:55 drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:26 . 09:39:55 drwxrwxr-x 13 jenkins jenkins 4096 May 27 09:26 .. 09:39:55 drwxr-xr-x 2 jenkins jenkins 4096 May 27 09:26 cost 09:39:55 -rw-r--r-- 1 jenkins jenkins 95 May 27 09:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:39:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:39:56 ---> package-listing.sh 09:39:56 ++ tr '[:upper:]' '[:lower:]' 09:39:56 ++ facter osfamily 09:39:58 + OS_FAMILY=debian 09:39:58 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-289 09:39:58 + START_PACKAGES=/tmp/packages_start.txt 09:39:58 + END_PACKAGES=/tmp/packages_end.txt 09:39:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:39:58 + PACKAGES=/tmp/packages_start.txt 09:39:58 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-289 ']' 09:39:58 + PACKAGES=/tmp/packages_end.txt 09:39:58 + case "${OS_FAMILY}" in 09:39:58 + dpkg -l 09:39:58 + grep '^ii' 09:39:58 + '[' -f /tmp/packages_start.txt ']' 09:39:58 + '[' -f /tmp/packages_end.txt ']' 09:39:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:39:58 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-289 ']' 09:39:58 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-289/archives/ 09:39:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-289/archives/ [Pipeline] echo 09:39:58 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-289/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:39:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:39:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:59 prd-ubuntu20.04-docker-8c-8g-837 does not seem to be running inside a container 09:39:59 $ 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-289/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-289 -v /w/workspace/y_app-rfid-llrp-inventory_PR-289:/w/workspace/y_app-rfid-llrp-inventory_PR-289:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:39:59 $ docker top bcba2369a8ed126824b41f1856e89ffdaafb122eb140fcc0d8623e849a138bdd -eo pid,comm [Pipeline] { [Pipeline] sh 09:40:00 + touch /tmp/pre-build-complete [Pipeline] sh 09:40:00 + mkdir -p /var/log/sysstat [Pipeline] sh 09:40:00 + ls /var/log/sa-host 09:40:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:01 provisioning config files... 09:40:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-289@tmp/config1601467554725256090tmp [Pipeline] { [Pipeline] echo 09:40:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:40:01 ---> create-netrc.sh [Pipeline] } 09:40:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:40:01 ---> python-tools-install.sh [Pipeline] echo 09:40:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:40:02 ---> sudo-logs.sh 09:40:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:40:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:40:02 ---> job-cost.sh 09:40:02 lf-activate-venv: SKIPPING 09:40:02 DEBUG: total: 0.2199999988079071 09:40:02 INFO: Retrieving Stack Cost... 09:40:03 INFO: Retrieving Pricing Info for: v3-standard-8 09:40:03 INFO: Archiving Costs [Pipeline] echo 09:40:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:40:03 ---> logs-deploy.sh 09:40:03 lf-activate-venv: SKIPPING 09:40:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-289/1 09:40:03 INFO: archiving workspace using pattern(s): 09:40:04 Archives upload complete. 09:40:04 INFO: archiving logs to Nexus