Pull request #301 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a+532364ee2685d9680e36c2a7c089e125e6174299 (a8270ce4e71e8a7ad9a611adf17b7fd79bf6fc39) 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-ssh5261851399900320341.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh98513937052353635.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 f3350a1713306dce7682ed7e37d5774890d03277 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-301/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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11884932642872772423.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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh782831835522772701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh16141818527623193847.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-301/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-301/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16147062367367238725.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 f3350a1713306dce7682ed7e37d5774890d03277 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8816 in /w/workspace/y_app-rfid-llrp-inventory_PR-301 [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-301 # 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/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 532364ee2685d9680e36c2a7c089e125e6174299 into PR head commit 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a Merge succeeded, producing 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a Checking out Revision 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a (PR-301) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a # 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 532364ee2685d9680e36c2a7c089e125e6174299 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:16:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:16:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:16:51 ========================================================= 13:16:51 EdgeX Global Pipelines Version Info 13:16:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:16:53 ------------------- 13:16:53 stable info: 13:16:53 ------------------- 13:16:53 Commited By: Cherry Wang cherry@iotechsys.com 13:16:53 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 13:16:53 Message: update stable to v1.0.263 13:16:53 ------------------- 13:16:53 experimental info: 13:16:53 ------------------- 13:16:53 Commited By: Cherry Wang cherry@iotechsys.com 13:16:53 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 13:16:53 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:16:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:16:53 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:16:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:16:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:16:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:16:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-301 [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-301 [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-301 [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fb5a95 [Pipeline] echo 13:16:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:55 provisioning config files... 13:16:55 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/config2497433572825592432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:56 ---> ****-login.sh 13:16:56 nexus3.edgexfoundry.org:10001 13:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:16:56 Configure a credential helper to remove this warning. See 13:16:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:16:56 13:16:56 Login Succeeded 13:16:56 nexus3.edgexfoundry.org:10002 13:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:16:56 Configure a credential helper to remove this warning. See 13:16:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:16:56 13:16:56 Login Succeeded 13:16:56 nexus3.edgexfoundry.org:10003 13:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:16:56 Configure a credential helper to remove this warning. See 13:16:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:16:56 13:16:56 Login Succeeded 13:16:56 nexus3.edgexfoundry.org:10004 13:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:16:57 Configure a credential helper to remove this warning. See 13:16:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:16:57 13:16:57 Login Succeeded 13:16:57 ****.io 13:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:16:57 Configure a credential helper to remove this warning. See 13:16:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:16:57 13:16:57 Login Succeeded 13:16:57 ---> ****-login.sh ends [Pipeline] } 13:16:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:16:58 + git rev-list -1 --merges 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a~1..7fb5a954711f7d9bd79cb81dbeb82eb8e980727a [Pipeline] echo 13:16:58 -----------> git rev-list -1 --merges 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a~1..7fb5a954711f7d9bd79cb81dbeb82eb8e980727a 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a [false] [Pipeline] sh 13:16:58 + git log --format=format:%s -1 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a [Pipeline] echo 13:16:58 ========================================================= 13:16:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:16:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:59 + git log --format=format:%s -1 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a [Pipeline] echo 13:16:59 [semverPrep] GIT_COMMIT: 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:16:59 [semverPrep] This is not a build commit. [Pipeline] sh 13:16:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:59 + grep -v github /etc/ssh/ssh_known_hosts 13:16:59 + [ -e /tmp/ssh_known_hosts ] 13:16:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:16:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:16:59 + sudo tee -a /etc/ssh/ssh_known_hosts 13:16:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:17:00 13:17:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:17:00 0.1.4: Pulling from edgex-devops/py-git-semver 13:17:00 b85a868b505f: Pulling fs layer 13:17:00 e2be974225ed: Pulling fs layer 13:17:00 339a4e72a1f5: Pulling fs layer 13:17:00 988bab9f4d93: Pulling fs layer 13:17:00 1469e6f7b9e6: Pulling fs layer 13:17:00 eaf3925da568: Pulling fs layer 13:17:00 bab4dde63d76: Pulling fs layer 13:17:00 bde34c3a00c8: Pulling fs layer 13:17:00 b352a97aabf1: Pulling fs layer 13:17:00 4872d77fe225: Pulling fs layer 13:17:00 5851b861e8e6: Pulling fs layer 13:17:00 bab4dde63d76: Waiting 13:17:00 5851b861e8e6: Waiting 13:17:00 1469e6f7b9e6: Waiting 13:17:00 4872d77fe225: Waiting 13:17:00 bde34c3a00c8: Waiting 13:17:00 b352a97aabf1: Waiting 13:17:00 eaf3925da568: Waiting 13:17:00 e2be974225ed: Verifying Checksum 13:17:00 e2be974225ed: Download complete 13:17:00 988bab9f4d93: Download complete 13:17:00 1469e6f7b9e6: Verifying Checksum 13:17:00 1469e6f7b9e6: Download complete 13:17:00 339a4e72a1f5: Verifying Checksum 13:17:00 339a4e72a1f5: Download complete 13:17:00 eaf3925da568: Verifying Checksum 13:17:00 eaf3925da568: Download complete 13:17:00 bde34c3a00c8: Verifying Checksum 13:17:00 bde34c3a00c8: Download complete 13:17:00 b352a97aabf1: Verifying Checksum 13:17:00 b352a97aabf1: Download complete 13:17:00 4872d77fe225: Verifying Checksum 13:17:00 4872d77fe225: Download complete 13:17:00 5851b861e8e6: Download complete 13:17:00 b85a868b505f: Verifying Checksum 13:17:00 b85a868b505f: Download complete 13:17:00 bab4dde63d76: Verifying Checksum 13:17:00 bab4dde63d76: Download complete 13:17:01 b85a868b505f: Pull complete 13:17:02 e2be974225ed: Pull complete 13:17:02 339a4e72a1f5: Pull complete 13:17:02 988bab9f4d93: Pull complete 13:17:02 1469e6f7b9e6: Pull complete 13:17:02 eaf3925da568: Pull complete 13:17:04 bab4dde63d76: Pull complete 13:17:04 bde34c3a00c8: Pull complete 13:17:04 b352a97aabf1: Pull complete 13:17:05 4872d77fe225: Pull complete 13:17:05 5851b861e8e6: Pull complete 13:17:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:17:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:05 prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container 13:17:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-301 -v /w/workspace/y_app-rfid-llrp-inventory_PR-301:/w/workspace/y_app-rfid-llrp-inventory_PR-301:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:17:09 $ docker top 72e8c7314d1dee785edd3a9bc316fdf578b4ba3112d1d8537b038c97950550ec -eo pid,comm 13:17:09 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). 13:17:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:17:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:17:10 [ssh-agent] Looking for ssh-agent implementation... 13:17:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:17:10 $ docker exec 72e8c7314d1dee785edd3a9bc316fdf578b4ba3112d1d8537b038c97950550ec ssh-agent 13:17:10 SSH_AUTH_SOCK=/tmp/ssh-73bDTJe5lFg1/agent.32 13:17:10 SSH_AGENT_PID=38 13:17:10 Running ssh-add (command line suppressed) 13:17:10 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/private_key_8424415841772879967.key (/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/private_key_8424415841772879967.key) 13:17:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:17:10 + git tag --points-at HEAD [Pipeline] } 13:17:10 $ docker exec --env ******** --env ******** 72e8c7314d1dee785edd3a9bc316fdf578b4ba3112d1d8537b038c97950550ec ssh-agent -k 13:17:10 unset SSH_AUTH_SOCK; 13:17:10 unset SSH_AGENT_PID; 13:17:10 echo Agent pid 38 killed; 13:17:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:17:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:17:10 [ssh-agent] Looking for ssh-agent implementation... 13:17:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:17:11 $ docker exec 72e8c7314d1dee785edd3a9bc316fdf578b4ba3112d1d8537b038c97950550ec ssh-agent 13:17:11 SSH_AUTH_SOCK=/tmp/ssh-JbXV8LbSIY3K/agent.71 13:17:11 SSH_AGENT_PID=77 13:17:11 Running ssh-add (command line suppressed) 13:17:11 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/private_key_10669761617501587269.key (/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/private_key_10669761617501587269.key) 13:17:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:17:11 + git semver init 13:17:11 2024-08-27 13:17:11,822 [run_init] DEBUG init version:0.0.0 force:False 13:17:11 2024-08-27 13:17:11,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver 13:17:11 2024-08-27 13:17:11,824 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver 13:17:11 2024-08-27 13:17:11,824 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-301, universal_newlines=False, shell=None, istream=None) 13:17:14 2024-08-27 13:17:13,964 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-301/.git/info/exclude 13:17:14 2024-08-27 13:17:13,964 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver/PR-301 with force:False 13:17:14 2024-08-27 13:17:13,964 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver/PR-301 13:17:14 2024-08-27 13:17:13,969 [execute] INFO git cat-file --batch-check 13:17:14 2024-08-27 13:17:13,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver, universal_newlines=False, shell=None, istream=) 13:17:14 2024-08-27 13:17:13,974 [execute] INFO git cat-file --batch 13:17:14 2024-08-27 13:17:13,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver, universal_newlines=False, shell=None, istream=) 13:17:14 2024-08-27 13:17:13,977 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-301/.semver/PR-301 13:17:14 0.0.0 [Pipeline] } 13:17:14 $ docker exec --env ******** --env ******** 72e8c7314d1dee785edd3a9bc316fdf578b4ba3112d1d8537b038c97950550ec ssh-agent -k 13:17:14 unset SSH_AUTH_SOCK; 13:17:14 unset SSH_AGENT_PID; 13:17:14 echo Agent pid 77 killed; 13:17:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:17:15 + git semver [Pipeline] } 13:17:15 $ docker stop --time=1 72e8c7314d1dee785edd3a9bc316fdf578b4ba3112d1d8537b038c97950550ec 13:17:16 $ docker rm -f --volumes 72e8c7314d1dee785edd3a9bc316fdf578b4ba3112d1d8537b038c97950550ec [Pipeline] // withDockerContainer [Pipeline] sh 13:17:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:17:17 Stashed 1 file(s) [Pipeline] echo 13:17:17 [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 13:17:18 provisioning config files... 13:17:18 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/config9739548949379321257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:18 ---> ****-login.sh 13:17:18 nexus3.edgexfoundry.org:10001 13:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:18 Configure a credential helper to remove this warning. See 13:17:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:18 13:17:18 Login Succeeded 13:17:18 nexus3.edgexfoundry.org:10002 13:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:18 Configure a credential helper to remove this warning. See 13:17:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:18 13:17:18 Login Succeeded 13:17:18 nexus3.edgexfoundry.org:10003 13:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:18 Configure a credential helper to remove this warning. See 13:17:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:18 13:17:18 Login Succeeded 13:17:18 nexus3.edgexfoundry.org:10004 13:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:18 Configure a credential helper to remove this warning. See 13:17:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:18 13:17:18 Login Succeeded 13:17:18 ****.io 13:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:19 Configure a credential helper to remove this warning. See 13:17:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:19 13:17:19 Login Succeeded 13:17:19 ---> ****-login.sh ends [Pipeline] } 13:17:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:17:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:17:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:17:19 ========================================================= 13:17:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:17:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:17:20 Sending build context to Docker daemon 19.94MB 13:17:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:17:20 Step 2/12 : FROM ${BASE} AS builder 13:17:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:17:20 619be1103602: Pulling fs layer 13:17:20 7862e08f4a3e: Pulling fs layer 13:17:20 5df492c9dc93: Pulling fs layer 13:17:20 7629e6793208: Pulling fs layer 13:17:20 4f4fb700ef54: Pulling fs layer 13:17:20 fb5054dd5b73: Pulling fs layer 13:17:20 eeca6798cff9: Pulling fs layer 13:17:20 aa269ceb94a6: Pulling fs layer 13:17:20 ada007ff1a6a: Pulling fs layer 13:17:20 eeca6798cff9: Waiting 13:17:20 7629e6793208: Waiting 13:17:20 4f4fb700ef54: Waiting 13:17:20 fb5054dd5b73: Waiting 13:17:20 aa269ceb94a6: Waiting 13:17:20 ada007ff1a6a: Waiting 13:17:20 7862e08f4a3e: Download complete 13:17:20 7629e6793208: Download complete 13:17:20 4f4fb700ef54: Verifying Checksum 13:17:20 4f4fb700ef54: Download complete 13:17:20 619be1103602: Verifying Checksum 13:17:20 619be1103602: Download complete 13:17:20 fb5054dd5b73: Verifying Checksum 13:17:20 fb5054dd5b73: Download complete 13:17:20 eeca6798cff9: Verifying Checksum 13:17:20 eeca6798cff9: Download complete 13:17:20 619be1103602: Pull complete 13:17:20 ada007ff1a6a: Verifying Checksum 13:17:20 ada007ff1a6a: Download complete 13:17:20 7862e08f4a3e: Pull complete 13:17:20 5df492c9dc93: Verifying Checksum 13:17:20 5df492c9dc93: Download complete 13:17:21 aa269ceb94a6: Verifying Checksum 13:17:21 aa269ceb94a6: Download complete 13:17:23 5df492c9dc93: Pull complete 13:17:23 7629e6793208: Pull complete 13:17:23 4f4fb700ef54: Pull complete 13:17:23 fb5054dd5b73: Pull complete 13:17:23 eeca6798cff9: Pull complete 13:17:26 aa269ceb94a6: Pull complete 13:17:26 ada007ff1a6a: Pull complete 13:17:26 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 13:17:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:17:26 ---> f489d0715acc 13:17:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:17:33 Still waiting to schedule task 13:17:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:17:33 ---> Running in fbdcb32116d1 13:17:33 Removing intermediate container fbdcb32116d1 13:17:33 ---> 6ea480c8b4ca 13:17:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:17:33 ---> Running in 864707a7556a 13:17:33 Removing intermediate container 864707a7556a 13:17:33 ---> 47adf4a281f5 13:17:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:17:33 ---> Running in dfb5d436e1f8 13:17:33 Removing intermediate container dfb5d436e1f8 13:17:33 ---> b240de7c1569 13:17:33 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:33 ---> Running in 5135dd26100e 13:17:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:17:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:17:33 OK: 264 MiB in 52 packages 13:17:34 Removing intermediate container 5135dd26100e 13:17:34 ---> 93b60d3b1978 13:17:34 Step 7/12 : WORKDIR /app 13:17:34 ---> Running in edb8bb63d12b 13:17:34 Removing intermediate container edb8bb63d12b 13:17:34 ---> d72b32e93afe 13:17:34 Step 8/12 : COPY go.mod vendor* ./ 13:17:34 ---> a4681eb7544d 13:17:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:34 ---> Running in 6b01d55d2727 13:18:30 Removing intermediate container 6b01d55d2727 13:18:30 ---> acc2d5d09c01 13:18:30 Step 10/12 : COPY . . 13:18:30 ---> 3a53016ef7f9 13:18:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:18:30 ---> Running in 37b8c4d76865 13:18:30 Removing intermediate container 37b8c4d76865 13:18:30 ---> 7666714848ed 13:18:30 Step 12/12 : RUN $MAKE 13:18:30 ---> Running in 3172de947b24 13:18:30 noop 13:18:30 Removing intermediate container 3172de947b24 13:18:30 ---> fc7f812b1ea2 13:18:30 Successfully built fc7f812b1ea2 13:18:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:31 + docker inspect -f . ci-base-image-x86_64 13:18:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:31 prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container 13:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-301 -v /w/workspace/y_app-rfid-llrp-inventory_PR-301:/w/workspace/y_app-rfid-llrp-inventory_PR-301:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:18:31 $ docker top 32af0525c33bda12de8c033734530dec6ab753aa3d4e3fe36dfee60af32f4fc9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:32 + go version 13:18:32 go version go1.21.9 linux/amd64 [Pipeline] } 13:18:32 $ docker stop --time=1 32af0525c33bda12de8c033734530dec6ab753aa3d4e3fe36dfee60af32f4fc9 13:18:33 $ docker rm -f --volumes 32af0525c33bda12de8c033734530dec6ab753aa3d4e3fe36dfee60af32f4fc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:34 + docker inspect -f . ci-base-image-x86_64 13:18:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:34 prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container 13:18:34 $ 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-301 -v /w/workspace/y_app-rfid-llrp-inventory_PR-301:/w/workspace/y_app-rfid-llrp-inventory_PR-301:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:18:34 $ docker top 59fda6ee30c91c9411244e62b1a7d85bbbdad5273929c8045ad3038b31e49c33 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:35 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-301 [Pipeline] fileExists [Pipeline] sh 13:18:35 + make test 13:18:35 go test -race ./... -coverprofile=coverage.out ./... 13:19:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8817 in /w/workspace/y_app-rfid-llrp-inventory_PR-301 [Pipeline] { [Pipeline] ws 13:19:04 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:19:07 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:19:07 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:19:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.119s coverage: 86.2% of statements 13:19:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.682s coverage: 71.9% of statements 13:19:07 The recommended git tool is: git 13:19:12 using credential edgex-jenkins-ssh 13:19:12 Cloning the remote Git repository 13:19:12 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:19:12 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:19:12 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:19:12 > git --version # timeout=10 13:19:12 > git --version # 'git version 2.25.1' 13:19:12 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:16 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:19:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:17 Merging remotes/origin/main commit 532364ee2685d9680e36c2a7c089e125e6174299 into PR head commit 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a 13:19:17 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:19:17 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:19:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:19:17 > git config core.sparsecheckout # timeout=10 13:19:17 > git checkout -f 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a # timeout=10 13:19:17 > git remote # timeout=10 13:19:17 Merge succeeded, producing 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a 13:19:17 Checking out Revision 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a (PR-301) 13:19:18 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:19:18 > git --version # timeout=10 13:19:18 > git --version # 'git version 2.25.1' 13:19:18 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 13:19:17 > git config --get remote.origin.url # timeout=10 13:19:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:17 > git merge 532364ee2685d9680e36c2a7c089e125e6174299 # timeout=10 13:19:17 > git rev-parse HEAD^{commit} # timeout=10 13:19:17 > git config core.sparsecheckout # timeout=10 13:19:17 > git checkout -f 7fb5a954711f7d9bd79cb81dbeb82eb8e980727a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:19:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:19:23 % Total % Received % Xferd Average Speed Time Time Time Current 13:19:23 Dload Upload Total Spent Left Speed 13:19:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh 13:19:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:19:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:19:24 + sudo tee /etc/docker/daemon.new 13:19:24 { 13:19:24 "registry-mirrors": [ 13:19:24 "https://nexus3.edgexfoundry.org:10001" 13:19:24 ], 13:19:24 "bip": "10.250.0.254/24", 13:19:24 "hosts": [ 13:19:24 "tcp://0.0.0.0:5555", 13:19:24 "unix:///var/run/docker.sock" 13:19:24 ], 13:19:24 "mtu": 1458, 13:19:24 "selinux-enabled": true, 13:19:24 "seccomp-profile": "/etc/docker/seccomp.json" 13:19:24 } [Pipeline] sh 13:19:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:19:24 + sudo service docker restart 13:19:39 go vet ./... 13:19:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:19:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:19:40 ./bin/test-attribution.sh 13:19:40 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:19:40 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:19:40 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:19:40 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:19:40 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:19:40 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:19:40 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:19:40 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:19:40 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:19:40 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:19:40 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:19:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:19:40 $ docker stop --time=1 59fda6ee30c91c9411244e62b1a7d85bbbdad5273929c8045ad3038b31e49c33 13:19:46 $ docker rm -f --volumes 59fda6ee30c91c9411244e62b1a7d85bbbdad5273929c8045ad3038b31e49c33 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:46 provisioning config files... 13:19:46 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config16657760076050455650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:19:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 13:19:47 ---> ****-login.sh 13:19:47 nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 13:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 13:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:19:47 Configure a credential helper to remove this warning. See 13:19:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:19:47 13:19:47 Login Succeeded 13:19:47 nexus3.edgexfoundry.org:10002 13:19:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:19:48 Configure a credential helper to remove this warning. See 13:19:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:19:48 13:19:48 Login Succeeded 13:19:48 + ls -al . 13:19:48 total 276 13:19:48 drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 13:18 . 13:19:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 13:16 .. 13:19:48 -rw-rw-r-- 1 jenkins jenkins 262 Aug 27 13:16 .dockerignore 13:19:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 13:19 .git 13:19:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 13:16 .github 13:19:48 -rw-rw-r-- 1 jenkins jenkins 773 Aug 27 13:16 .gitignore 13:19:48 -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 13:16 .golangci.yml 13:19:48 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 13:17 .semver 13:19:48 -rw-rw-r-- 1 jenkins jenkins 10232 Aug 27 13:16 Attribution.txt 13:19:48 -rw-rw-r-- 1 jenkins jenkins 11245 Aug 27 13:16 CHANGELOG.md 13:19:48 -rw-rw-r-- 1 jenkins jenkins 1768 Aug 27 13:16 Dockerfile 13:19:48 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 13:16 GOVERNANCE.md 13:19:48 -rw-rw-r-- 1 jenkins jenkins 665 Aug 27 13:16 Jenkinsfile 13:19:48 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 27 13:16 LICENSE 13:19:48 -rw-rw-r-- 1 jenkins jenkins 2503 Aug 27 13:16 Makefile 13:19:48 -rw-rw-r-- 1 jenkins jenkins 617 Aug 27 13:16 OWNERS.md 13:19:48 -rw-rw-r-- 1 jenkins jenkins 3851 Aug 27 13:16 README.md 13:19:48 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 13:17 VERSION 13:19:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 13:16 bin 13:19:48 -rw-r--r-- 1 jenkins jenkins 41317 Aug 27 13:19 coverage.out 13:19:48 -rw-rw-r-- 1 jenkins jenkins 7243 Aug 27 13:16 go.mod 13:19:48 -rw-rw-r-- 1 jenkins jenkins 101448 Aug 27 13:16 go.sum 13:19:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 13:16 images 13:19:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 13:16 internal 13:19:48 -rw-rw-r-- 1 jenkins jenkins 531 Aug 27 13:16 main.go 13:19:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 13:16 openapi 13:19:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 13:16 res 13:19:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 13:16 static [Pipeline] isUnix [Pipeline] withEnv 13:19:48 nexus3.edgexfoundry.org:10003 13:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh 13:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:19:48 Configure a credential helper to remove this warning. See 13:19:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:19:48 13:19:48 Login Succeeded 13:19:48 nexus3.edgexfoundry.org:10004 13:19:48 + 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=7fb5a954711f7d9bd79cb81dbeb82eb8e980727a --label arch=amd64 --label version=0.0.0 . 13:19:48 Sending build context to Docker daemon 19.94MB 13:19:48 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:19:48 Step 2/30 : FROM ${BASE} AS builder 13:19:48 ---> fc7f812b1ea2 13:19:48 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:19:48 Configure a credential helper to remove this warning. See 13:19:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:19:48 13:19:48 Login Succeeded 13:19:48 ****.io 13:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:49 ---> Running in abcf04e51aec 13:19:49 Removing intermediate container abcf04e51aec 13:19:49 ---> 9e0144cad44d 13:19:49 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:19:49 ---> Running in 2f0aff135718 13:19:49 Removing intermediate container 2f0aff135718 13:19:49 ---> 909c6f215340 13:19:49 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:19:49 ---> Running in 33299dd727d9 13:19:49 Removing intermediate container 33299dd727d9 13:19:49 ---> 4980db58e4e9 13:19:49 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:19:49 ---> Running in aac705835204 13:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:19:49 Configure a credential helper to remove this warning. See 13:19:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:19:49 13:19:49 Login Succeeded 13:19:49 ---> ****-login.sh ends [Pipeline] } 13:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:19:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] unstash 13:19:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 13:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:19:50 ========================================================= 13:19:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:19:50 ========================================================= [Pipeline] fileExists 13:19:50 OK: 264 MiB in 52 packages [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:50 Removing intermediate container aac705835204 13:19:50 ---> 65e675716106 13:19:50 Step 7/30 : WORKDIR /app 13:19:50 ---> Running in 0dbdfc4e0bd5 13:19:50 Removing intermediate container 0dbdfc4e0bd5 13:19:50 ---> c600d1e5117a 13:19:50 Step 8/30 : COPY go.mod vendor* ./ 13:19:50 ---> 2a514d40e74d 13:19:50 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:19:50 ---> Running in d7bae25df3ab 13:19:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:19:51 Sending build context to Docker daemon 673.8kB 13:19:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:19:51 Step 2/12 : FROM ${BASE} AS builder 13:19:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:19:51 c6b39de5b339: Pulling fs layer 13:19:51 a69c41024577: Pulling fs layer 13:19:51 d6de4b400683: Pulling fs layer 13:19:51 35cb2a7552d0: Pulling fs layer 13:19:51 4f4fb700ef54: Pulling fs layer 13:19:51 464afbd9ba4c: Pulling fs layer 13:19:51 00f215d4a9da: Pulling fs layer 13:19:51 d496ad576159: Pulling fs layer 13:19:51 464afbd9ba4c: Waiting 13:19:51 35cb2a7552d0: Waiting 13:19:51 4f4fb700ef54: Waiting 13:19:51 00f215d4a9da: Waiting 13:19:51 d496ad576159: Waiting 13:19:51 a69c41024577: Download complete 13:19:51 35cb2a7552d0: Verifying Checksum 13:19:51 35cb2a7552d0: Download complete 13:19:51 4f4fb700ef54: Verifying Checksum 13:19:51 4f4fb700ef54: Download complete 13:19:51 464afbd9ba4c: Verifying Checksum 13:19:51 464afbd9ba4c: Download complete 13:19:51 c6b39de5b339: Download complete 13:19:51 d496ad576159: Verifying Checksum 13:19:51 d496ad576159: Download complete 13:19:51 Removing intermediate container d7bae25df3ab 13:19:51 ---> ed0544edc066 13:19:51 Step 10/30 : COPY . . 13:19:52 ---> 5cf1a52f2671 13:19:52 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:19:52 ---> Running in c1a7d1c12922 13:19:52 Removing intermediate container c1a7d1c12922 13:19:52 ---> 3231ca688447 13:19:52 Step 12/30 : RUN $MAKE 13:19:52 ---> Running in 79ce2f097ee2 13:19:52 c6b39de5b339: Pull complete 13:19:52 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.48 -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 13:19:52 a69c41024577: Pull complete 13:19:53 d6de4b400683: Download complete 13:19:54 00f215d4a9da: Download complete 13:20:06 d6de4b400683: Pull complete 13:20:06 35cb2a7552d0: Pull complete 13:20:06 4f4fb700ef54: Pull complete 13:20:06 464afbd9ba4c: Pull complete 13:20:14 00f215d4a9da: Pull complete 13:20:16 d496ad576159: Pull complete 13:20:16 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 13:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:20:16 ---> f246e2811388 13:20:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:20:17 ---> Running in 854ca3d97d4e 13:20:17 Removing intermediate container 854ca3d97d4e 13:20:17 ---> eb0d302d5234 13:20:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:20:17 ---> Running in 4f5215e783cb 13:20:17 Removing intermediate container 4f5215e783cb 13:20:17 ---> 7ab6e2cf8f15 13:20:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:20:18 ---> Running in ecd3561a07dd 13:20:18 Removing intermediate container ecd3561a07dd 13:20:18 ---> f6082511e76c 13:20:18 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:20:19 ---> Running in ac1c73846257 13:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:20:21 OK: 266 MiB in 52 packages 13:20:22 Removing intermediate container ac1c73846257 13:20:22 ---> 5f067b6a1595 13:20:22 Step 7/12 : WORKDIR /app 13:20:22 ---> Running in 6ed3c5e1015b 13:20:22 Removing intermediate container 6ed3c5e1015b 13:20:22 ---> 83ba4593f93d 13:20:22 Step 8/12 : COPY go.mod vendor* ./ 13:20:23 ---> 603ea4fd1e62 13:20:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:20:23 ---> Running in 65614349a3d6 13:20:24 Removing intermediate container 79ce2f097ee2 13:20:24 ---> 02ab97892d40 13:20:24 Step 13/30 : FROM alpine:3.18 13:20:24 3.18: Pulling from library/alpine 13:20:24 930bdd4d222e: Pulling fs layer 13:20:24 930bdd4d222e: Verifying Checksum 13:20:24 930bdd4d222e: Download complete 13:20:24 930bdd4d222e: Pull complete 13:20:24 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:20:24 Status: Downloaded newer image for alpine:3.18 13:20:24 ---> 18f865063206 13:20:24 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:20:24 ---> Running in 3e14720870e7 13:20:24 Removing intermediate container 3e14720870e7 13:20:24 ---> f175d0e47d94 13:20:24 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:20:24 ---> Running in 788f67f3e17c 13:20:24 Removing intermediate container 788f67f3e17c 13:20:24 ---> aaae2379a989 13:20:24 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:20:24 ---> Running in 9f2b583dba57 13:20:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:20:25 (1/2) Installing ca-certificates (20240226-r0) 13:20:25 (2/2) Installing dumb-init (1.2.5-r2) 13:20:25 Executing busybox-1.36.1-r7.trigger 13:20:25 Executing ca-certificates-20240226-r0.trigger 13:20:25 OK: 8 MiB in 17 packages 13:20:26 Removing intermediate container 9f2b583dba57 13:20:26 ---> c11b0f934969 13:20:26 Step 17/30 : RUN apk --no-cache upgrade 13:20:26 ---> Running in 3fc4c4c6ce0e 13:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:20:26 OK: 8 MiB in 17 packages 13:20:26 Removing intermediate container 3fc4c4c6ce0e 13:20:26 ---> 03eff4e4c40b 13:20:26 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:20:27 ---> 894a3e764c25 13:20:27 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:20:27 ---> 7a99655f7553 13:20:27 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:20:27 ---> 011269126f80 13:20:27 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:20:27 ---> d08184c8694e 13:20:27 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:20:28 ---> cbc7e8941984 13:20:28 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:20:28 ---> Running in 1b3fba96a118 13:20:29 Removing intermediate container 1b3fba96a118 13:20:29 ---> 627185f54947 13:20:29 Step 24/30 : VOLUME /cache 13:20:29 ---> Running in d4569195eb8d 13:20:29 Removing intermediate container d4569195eb8d 13:20:29 ---> e812976ae166 13:20:29 Step 25/30 : EXPOSE 59711 13:20:29 ---> Running in 31600db2ed0e 13:20:29 Removing intermediate container 31600db2ed0e 13:20:29 ---> 1230c673eb84 13:20:29 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:20:29 ---> Running in 8b2b1ba8c942 13:20:29 Removing intermediate container 8b2b1ba8c942 13:20:29 ---> 7ef72a5671f6 13:20:29 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:20:29 ---> Running in a9f6806a727a 13:20:29 Removing intermediate container a9f6806a727a 13:20:29 ---> de714f4fb8a5 13:20:29 Step 28/30 : LABEL arch=amd64 13:20:29 ---> Running in 318f11665664 13:20:29 Removing intermediate container 318f11665664 13:20:29 ---> d26aece12b29 13:20:29 Step 29/30 : LABEL git_sha=7fb5a954711f7d9bd79cb81dbeb82eb8e980727a 13:20:29 ---> Running in 27ca7574c02a 13:20:29 Removing intermediate container 27ca7574c02a 13:20:29 ---> 443fda4cf1e6 13:20:29 Step 30/30 : LABEL version=0.0.0 13:20:29 ---> Running in 68d74573b916 13:20:29 Removing intermediate container 68d74573b916 13:20:29 ---> 2691715dd9a5 13:20:29 [Warning] One or more build-args [ARCH] were not consumed 13:20:30 Successfully built 2691715dd9a5 13:20:30 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 13:20:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:31 13:20:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:31 latest: Pulling from edgex-lftools-log-publisher 13:20:31 5eb5b503b376: Pulling fs layer 13:20:31 5c69ac0246d0: Pulling fs layer 13:20:31 ec43610c2a17: Pulling fs layer 13:20:31 3a2ae6a8a46f: Pulling fs layer 13:20:31 33b1e0a273af: Pulling fs layer 13:20:31 5d3b04190fa2: Pulling fs layer 13:20:31 2f39f015ded8: Pulling fs layer 13:20:31 3a2ae6a8a46f: Waiting 13:20:31 33b1e0a273af: Waiting 13:20:31 5d3b04190fa2: Waiting 13:20:31 5c69ac0246d0: Verifying Checksum 13:20:31 5c69ac0246d0: Download complete 13:20:31 3a2ae6a8a46f: Verifying Checksum 13:20:31 3a2ae6a8a46f: Download complete 13:20:31 33b1e0a273af: Verifying Checksum 13:20:31 33b1e0a273af: Download complete 13:20:31 5d3b04190fa2: Verifying Checksum 13:20:31 5d3b04190fa2: Download complete 13:20:31 ec43610c2a17: Verifying Checksum 13:20:31 ec43610c2a17: Download complete 13:20:31 5eb5b503b376: Verifying Checksum 13:20:31 5eb5b503b376: Download complete 13:20:32 2f39f015ded8: Download complete 13:20:32 5eb5b503b376: Pull complete 13:20:33 5c69ac0246d0: Pull complete 13:20:33 ec43610c2a17: Pull complete 13:20:33 3a2ae6a8a46f: Pull complete 13:20:33 33b1e0a273af: Pull complete 13:20:33 5d3b04190fa2: Pull complete 13:20:37 2f39f015ded8: Pull complete 13:20:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:20:37 prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container 13:20:37 $ 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-301 -v /w/workspace/y_app-rfid-llrp-inventory_PR-301:/w/workspace/y_app-rfid-llrp-inventory_PR-301:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:20:43 $ docker top 93c6c03eaa64c0f983018c37d0d6be3128017006d95a89376dfac22d571c36a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:43 ---> job-cost.sh 13:20:43 lf-activate-venv: SKIPPING 13:20:43 INFO: No Stack... 13:20:44 INFO: Retrieving Pricing Info for: v3-standard-8 13:20:44 INFO: Archiving Costs [Pipeline] sh 13:20:44 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-301/archives/cost.csv 13:20:44 + cut -d, -f6 [Pipeline] lock 13:20:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] 13:20:45 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] did not exist. Created. 13:20:45 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:20:45 + echo total: 0.2199999988079071 [Pipeline] stash 13:20:45 Stashed 1 file(s) [Pipeline] } 13:20:45 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:20:45 $ docker stop --time=1 93c6c03eaa64c0f983018c37d0d6be3128017006d95a89376dfac22d571c36a7 13:20:46 $ docker rm -f --volumes 93c6c03eaa64c0f983018c37d0d6be3128017006d95a89376dfac22d571c36a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:22:14 Removing intermediate container 65614349a3d6 13:22:14 ---> 35d38db90e81 13:22:14 Step 10/12 : COPY . . 13:22:14 ---> 9d1cfaba91f9 13:22:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:14 ---> Running in c717ecc04393 13:22:14 Removing intermediate container c717ecc04393 13:22:14 ---> 7dc0d94de330 13:22:14 Step 12/12 : RUN $MAKE 13:22:14 ---> Running in be40e421070f 13:22:14 noop 13:22:14 Removing intermediate container be40e421070f 13:22:14 ---> 46a6ba8dd1ec 13:22:14 Successfully built 46a6ba8dd1ec 13:22:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:15 + docker inspect -f . ci-base-image-arm64 13:22:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:15 prd-ubuntu20.04-docker-arm64-4c-16g-8817 does not seem to be running inside a container 13:22:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:22:16 $ docker top 64b9186cbf9845632d99eb4ee00879336b69beb62dba6addb9fe4326e6756be2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:17 + go version 13:22:17 go version go1.21.9 linux/arm64 [Pipeline] } 13:22:17 $ docker stop --time=1 64b9186cbf9845632d99eb4ee00879336b69beb62dba6addb9fe4326e6756be2 13:22:19 $ docker rm -f --volumes 64b9186cbf9845632d99eb4ee00879336b69beb62dba6addb9fe4326e6756be2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:20 + docker inspect -f . ci-base-image-arm64 13:22:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:20 prd-ubuntu20.04-docker-arm64-4c-16g-8817 does not seem to be running inside a container 13:22:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:22:21 $ docker top e3d25f37109f855cfb668856a2d55e19ecd7507be06d20e31a65037a87c94f1c -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:22 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:22:22 + make test 13:22:22 go test -race ./... -coverprofile=coverage.out ./... 13:26:44 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:26:46 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:26:48 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.945s coverage: 86.2% of statements 13:27:00 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.336s coverage: 71.9% of statements 13:27:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:27:00 go vet ./... 13:30:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:30:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:30:37 ./bin/test-attribution.sh 13:30:37 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:30:37 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:30:37 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:30:37 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:30:37 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:30:37 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:30:37 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:30:37 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:30:37 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:30:37 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:30:37 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:30:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:30:37 $ docker stop --time=1 e3d25f37109f855cfb668856a2d55e19ecd7507be06d20e31a65037a87c94f1c 13:30:39 $ docker rm -f --volumes e3d25f37109f855cfb668856a2d55e19ecd7507be06d20e31a65037a87c94f1c [Pipeline] // withDockerContainer [Pipeline] sh 13:30:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:30:42 Warning: overwriting stash ‘coverage-report’ 13:30:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:30:43 + ls -al . 13:30:43 total 272 13:30:43 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 13:22 . 13:30:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 13:19 .. 13:30:43 -rw-rw-r-- 1 jenkins jenkins 262 Aug 27 13:19 .dockerignore 13:30:43 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 13:19 .git 13:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 13:19 .github 13:30:43 -rw-rw-r-- 1 jenkins jenkins 773 Aug 27 13:19 .gitignore 13:30:43 -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 13:19 .golangci.yml 13:30:43 -rw-rw-r-- 1 jenkins jenkins 10232 Aug 27 13:19 Attribution.txt 13:30:43 -rw-rw-r-- 1 jenkins jenkins 11245 Aug 27 13:19 CHANGELOG.md 13:30:43 -rw-rw-r-- 1 jenkins jenkins 1768 Aug 27 13:19 Dockerfile 13:30:43 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 13:19 GOVERNANCE.md 13:30:43 -rw-rw-r-- 1 jenkins jenkins 665 Aug 27 13:19 Jenkinsfile 13:30:43 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 27 13:19 LICENSE 13:30:43 -rw-rw-r-- 1 jenkins jenkins 2503 Aug 27 13:19 Makefile 13:30:43 -rw-rw-r-- 1 jenkins jenkins 617 Aug 27 13:19 OWNERS.md 13:30:43 -rw-rw-r-- 1 jenkins jenkins 3851 Aug 27 13:19 README.md 13:30:43 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 13:17 VERSION 13:30:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 13:19 bin 13:30:43 -rw-r--r-- 1 jenkins jenkins 41317 Aug 27 13:26 coverage.out 13:30:43 -rw-rw-r-- 1 jenkins jenkins 7243 Aug 27 13:19 go.mod 13:30:43 -rw-rw-r-- 1 jenkins jenkins 101448 Aug 27 13:19 go.sum 13:30:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 13:19 images 13:30:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 13:19 internal 13:30:43 -rw-rw-r-- 1 jenkins jenkins 531 Aug 27 13:19 main.go 13:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 13:19 openapi 13:30:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 13:19 res 13:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 13:19 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:43 + 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=7fb5a954711f7d9bd79cb81dbeb82eb8e980727a --label arch=arm64 --label version=0.0.0 . 13:30:44 Sending build context to Docker daemon 673.8kB 13:30:44 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:30:44 Step 2/30 : FROM ${BASE} AS builder 13:30:44 ---> 46a6ba8dd1ec 13:30:44 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:30:44 ---> Running in 380afdbc3321 13:30:44 Removing intermediate container 380afdbc3321 13:30:44 ---> b12ad3a5bbdc 13:30:44 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:30:44 ---> Running in 3980123835b6 13:30:45 Removing intermediate container 3980123835b6 13:30:45 ---> 8c76e20d9caa 13:30:45 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:30:45 ---> Running in 80ed12f5be89 13:30:45 Removing intermediate container 80ed12f5be89 13:30:45 ---> 85426084bb0e 13:30:45 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:30:45 ---> Running in 2961264aa50d 13:30:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:30:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:30:47 OK: 266 MiB in 52 packages 13:30:48 Removing intermediate container 2961264aa50d 13:30:48 ---> 310d7055ea41 13:30:48 Step 7/30 : WORKDIR /app 13:30:48 ---> Running in aeaee8822b7c 13:30:49 Removing intermediate container aeaee8822b7c 13:30:49 ---> 3720e57d10e6 13:30:49 Step 8/30 : COPY go.mod vendor* ./ 13:30:49 ---> 02a230b66e85 13:30:49 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:30:49 ---> Running in f9e1d96cf15a 13:30:51 Removing intermediate container f9e1d96cf15a 13:30:51 ---> 1a64c543629e 13:30:51 Step 10/30 : COPY . . 13:30:52 ---> 4b142358db33 13:30:52 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:30:52 ---> Running in 508efcd27919 13:30:52 Removing intermediate container 508efcd27919 13:30:52 ---> 7f09fb05c8df 13:30:52 Step 12/30 : RUN $MAKE 13:30:52 ---> Running in 31edb8bdeb33 13:30:53 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.48 -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 13:34:15 Removing intermediate container 31edb8bdeb33 13:34:15 ---> 284575a74576 13:34:15 Step 13/30 : FROM alpine:3.18 13:34:15 3.18: Pulling from library/alpine 13:34:15 4983c3fe2029: Pulling fs layer 13:34:15 4983c3fe2029: Download complete 13:34:15 4983c3fe2029: Pull complete 13:34:15 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:34:15 Status: Downloaded newer image for alpine:3.18 13:34:15 ---> a0237000ae83 13:34:15 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:34:15 ---> Running in 88c580bcab96 13:34:15 Removing intermediate container 88c580bcab96 13:34:15 ---> 75ab89fe63c1 13:34:15 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:34:15 ---> Running in 7f02953f6d84 13:34:15 Removing intermediate container 7f02953f6d84 13:34:15 ---> f85908b5b6ae 13:34:15 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:34:15 ---> Running in f7cc79120373 13:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:34:16 (1/2) Installing ca-certificates (20240226-r0) 13:34:16 (2/2) Installing dumb-init (1.2.5-r2) 13:34:16 Executing busybox-1.36.1-r7.trigger 13:34:16 Executing ca-certificates-20240226-r0.trigger 13:34:16 OK: 9 MiB in 17 packages 13:34:17 Removing intermediate container f7cc79120373 13:34:17 ---> b2b70636b345 13:34:17 Step 17/30 : RUN apk --no-cache upgrade 13:34:17 ---> Running in 5c50b9e3c285 13:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:34:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:34:20 OK: 9 MiB in 17 packages 13:34:21 Removing intermediate container 5c50b9e3c285 13:34:21 ---> 2c844ec8250b 13:34:21 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:34:21 ---> 0c12d245f2be 13:34:21 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:34:21 ---> 80d3744208bc 13:34:21 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:34:22 ---> b732830ed7e5 13:34:22 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:34:22 ---> 96d20a2d7ea3 13:34:22 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:34:24 ---> e64855b1b003 13:34:24 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:34:24 ---> Running in 6b313237635f 13:34:26 Removing intermediate container 6b313237635f 13:34:26 ---> e28e567ec32e 13:34:26 Step 24/30 : VOLUME /cache 13:34:26 ---> Running in fb269fd9ce01 13:34:26 Removing intermediate container fb269fd9ce01 13:34:26 ---> e0cbf324cb1b 13:34:26 Step 25/30 : EXPOSE 59711 13:34:26 ---> Running in 8bd96f5cbd13 13:34:26 Removing intermediate container 8bd96f5cbd13 13:34:26 ---> bb10343b2ed7 13:34:26 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:34:26 ---> Running in 2f9cfb767e51 13:34:27 Removing intermediate container 2f9cfb767e51 13:34:27 ---> 4b6e4f1e9044 13:34:27 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:34:27 ---> Running in ad2de18302be 13:34:27 Removing intermediate container ad2de18302be 13:34:27 ---> 74fab158a707 13:34:27 Step 28/30 : LABEL arch=arm64 13:34:27 ---> Running in 2419b393096c 13:34:28 Removing intermediate container 2419b393096c 13:34:28 ---> b11dff3b66f4 13:34:28 Step 29/30 : LABEL git_sha=7fb5a954711f7d9bd79cb81dbeb82eb8e980727a 13:34:28 ---> Running in c4cfd2cba385 13:34:28 Removing intermediate container c4cfd2cba385 13:34:28 ---> cbfea5b52eb1 13:34:28 Step 30/30 : LABEL version=0.0.0 13:34:28 ---> Running in 6ed3f34e62ff 13:34:28 Removing intermediate container 6ed3f34e62ff 13:34:28 ---> b388af293de3 13:34:28 [Warning] One or more build-args [ARCH] were not consumed 13:34:28 Successfully built b388af293de3 13:34:28 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 13:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:29 13:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:30 arm64: Pulling from edgex-lftools-log-publisher 13:34:30 8998bd30e6a1: Pulling fs layer 13:34:30 04944245beec: Pulling fs layer 13:34:30 699f458cf7ca: Pulling fs layer 13:34:30 765212b225bb: Pulling fs layer 13:34:30 f23df028b6ca: Pulling fs layer 13:34:30 d65c8cfc05b1: Pulling fs layer 13:34:30 2437ff75d9bd: Pulling fs layer 13:34:30 765212b225bb: Waiting 13:34:30 f23df028b6ca: Waiting 13:34:30 d65c8cfc05b1: Waiting 13:34:30 2437ff75d9bd: Waiting 13:34:30 04944245beec: Verifying Checksum 13:34:30 04944245beec: Download complete 13:34:30 765212b225bb: Verifying Checksum 13:34:30 765212b225bb: Download complete 13:34:30 f23df028b6ca: Verifying Checksum 13:34:30 f23df028b6ca: Download complete 13:34:30 d65c8cfc05b1: Verifying Checksum 13:34:30 d65c8cfc05b1: Download complete 13:34:30 699f458cf7ca: Verifying Checksum 13:34:30 699f458cf7ca: Download complete 13:34:30 8998bd30e6a1: Verifying Checksum 13:34:30 8998bd30e6a1: Download complete 13:34:33 2437ff75d9bd: Verifying Checksum 13:34:33 2437ff75d9bd: Download complete 13:34:35 8998bd30e6a1: Pull complete 13:34:35 04944245beec: Pull complete 13:34:37 699f458cf7ca: Pull complete 13:34:37 765212b225bb: Pull complete 13:34:38 f23df028b6ca: Pull complete 13:34:38 d65c8cfc05b1: Pull complete 13:34:56 2437ff75d9bd: Pull complete 13:34:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:57 prd-ubuntu20.04-docker-arm64-4c-16g-8817 does not seem to be running inside a container 13:34:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:34:59 $ docker top 3388a2db9a6bddf6fcad4dd774ec6fd61ea4596ed45e0b954ab724272813721b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:00 ---> job-cost.sh 13:35:00 lf-activate-venv: SKIPPING 13:35:00 INFO: No Stack... 13:35:01 INFO: Retrieving Pricing Info for: v3-standard-4 13:35:02 INFO: Archiving Costs [Pipeline] sh 13:35:02 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:35:02 + cut -d, -f6 [Pipeline] lock 13:35:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] 13:35:02 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] did not exist. Created. 13:35:02 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:35:03 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-9d643507/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:35:04 + echo total: 0.10999999940395355 [Pipeline] stash 13:35:04 Warning: overwriting stash ‘stack-cost’ 13:35:04 Stashed 1 file(s) [Pipeline] } 13:35:04 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:35:04 $ docker stop --time=1 3388a2db9a6bddf6fcad4dd774ec6fd61ea4596ed45e0b954ab724272813721b 13:35:06 $ docker rm -f --volumes 3388a2db9a6bddf6fcad4dd774ec6fd61ea4596ed45e0b954ab724272813721b [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 13:35:07 provisioning config files... 13:35:07 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/config11866596256988123272tmp [Pipeline] { [Pipeline] sh 13:35:07 + set +x 13:35:07 + + curl -s https://codecov.io/bash 13:35:07 bash -s -- 13:35:07 13:35:07 _____ _ 13:35:07 / ____| | | 13:35:07 | | ___ __| | ___ ___ _____ __ 13:35:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:35:07 | |___| (_) | (_| | __/ (_| (_) \ V / 13:35:07 \_____\___/ \__,_|\___|\___\___/ \_/ 13:35:07 Bash-1.0.6 13:35:07 13:35:07 13:35:07 ==> git version 2.25.1 found 13:35:07 ==> 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 13:35:07 Release-Date: 2020-01-08 13:35:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:35:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:35:07 ==> Jenkins CI detected. 13:35:07 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-301 13:35:07 project root: . 13:35:07 --> token set from env 13:35:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:35:07 ==> Running gcov in . (disable via -X gcov) 13:35:07 ==> Python coveragepy not found 13:35:07 ==> Searching for coverage reports in: 13:35:07 + . 13:35:07 -> Found 1 reports 13:35:07 ==> Detecting git/mercurial file structure 13:35:07 ==> Reading reports 13:35:07 + ./coverage.out bytes=41317 13:35:07 ==> Appending adjustments 13:35:07 https://docs.codecov.io/docs/fixing-reports 13:35:08 + Found adjustments 13:35:08 ==> Gzipping contents 13:35:08 12K /tmp/codecov.uG9fo1.gz 13:35:08 ==> Uploading reports 13:35:08 url: https://codecov.io 13:35:08 query: branch=PR-301&commit=7fb5a954711f7d9bd79cb81dbeb82eb8e980727a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=301&job=&cmd_args= 13:35:08 -> Pinging Codecov 13:35:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-301&commit=7fb5a954711f7d9bd79cb81dbeb82eb8e980727a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=301&job=&cmd_args= 13:35:08 -> Uploading to 13:35:08 https://storage.googleapis.com/codecov/v4/raw/2024-08-27/581DD39554BDF9B6E22D074273EAD858/7fb5a954711f7d9bd79cb81dbeb82eb8e980727a/2e6404e9-adfc-4925-bead-63d94207fabc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T133508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d6d1d0c50e67b1424e11bfb5a186abb8052c2cce0a3c7ad6dfb2c405259e461 13:35:08 % Total % Received % Xferd Average Speed Time Time Time Current 13:35:08 Dload Upload Total Spent Left Speed 13:35:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11611 0 0 100 11611 0 44148 --:--:-- --:--:-- --:--:-- 44148 13:35:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/7fb5a954711f7d9bd79cb81dbeb82eb8e980727a [Pipeline] } 13:35:08 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 13:35:11 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-301/archives ] 13:35:11 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-301/archives 13:35:11 total 16 13:35:11 drwxr-xr-x 3 root root 4096 Aug 27 13:20 . 13:35:11 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 13:20 .. 13:35:11 drwxr-xr-x 2 root root 4096 Aug 27 13:20 cost 13:35:11 -rw-r--r-- 1 root root 95 Aug 27 13:20 cost.csv 13:35:11 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-301/archives 13:35:11 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-301/archives 13:35:11 total 16 13:35:11 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 13:20 . 13:35:11 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 13:20 .. 13:35:11 drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 13:20 cost 13:35:11 -rw-r--r-- 1 jenkins jenkins 95 Aug 27 13:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:35:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:35:12 ---> package-listing.sh 13:35:12 ++ facter osfamily 13:35:12 ++ tr '[:upper:]' '[:lower:]' 13:35:12 + OS_FAMILY=debian 13:35:12 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-301 13:35:12 + START_PACKAGES=/tmp/packages_start.txt 13:35:12 + END_PACKAGES=/tmp/packages_end.txt 13:35:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:35:12 + PACKAGES=/tmp/packages_start.txt 13:35:12 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-301 ']' 13:35:12 + PACKAGES=/tmp/packages_end.txt 13:35:12 + case "${OS_FAMILY}" in 13:35:12 + dpkg -l 13:35:12 + grep '^ii' 13:35:12 + '[' -f /tmp/packages_start.txt ']' 13:35:12 + '[' -f /tmp/packages_end.txt ']' 13:35:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:35:12 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-301 ']' 13:35:12 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-301/archives/ 13:35:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-301/archives/ [Pipeline] echo 13:35:12 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-301/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:35:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:13 prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container 13:35:13 $ 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-301/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-301 -v /w/workspace/y_app-rfid-llrp-inventory_PR-301:/w/workspace/y_app-rfid-llrp-inventory_PR-301:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:35:13 $ docker top 343b0e6b4e56024639407a33c85c3d7246e2af8806851c7b971fd93ebdcd43fa -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:14 + touch /tmp/pre-build-complete [Pipeline] sh 13:35:14 + mkdir -p /var/log/sysstat [Pipeline] sh 13:35:15 + ls /var/log/sa-host 13:35:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:15 provisioning config files... 13:35:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-301@tmp/config5663652327429444389tmp [Pipeline] { [Pipeline] echo 13:35:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:35:15 ---> create-netrc.sh [Pipeline] } 13:35:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:35:16 ---> python-tools-install.sh [Pipeline] echo 13:35:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:35:16 ---> sudo-logs.sh 13:35:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:35:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:35:16 ---> job-cost.sh 13:35:16 lf-activate-venv: SKIPPING 13:35:16 DEBUG: total: 0.2199999988079071 13:35:16 INFO: Retrieving Stack Cost... 13:35:17 INFO: Retrieving Pricing Info for: v3-standard-8 13:35:17 INFO: Archiving Costs [Pipeline] echo 13:35:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:35:18 ---> logs-deploy.sh 13:35:18 lf-activate-venv: SKIPPING 13:35:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-301/1 13:35:18 INFO: archiving workspace using pattern(s): 13:35:19 Archives upload complete. 13:35:19 INFO: archiving logs to Nexus