Pull request #300 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1bfd97dc29acd1b881c5050f95a7355130f2a257+532364ee2685d9680e36c2a7c089e125e6174299 (931e38a00d2f04ac9f8a6512e0e865715e0a9170) 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-ssh15080698460636447799.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh3532256867545125590.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 590556114a56c6d90cc8043840e039c2f74196dc 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-300/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-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1376523339538899471.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-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15542120609868187629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10137546046009894897.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-300/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-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10465555498014334000.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 590556114a56c6d90cc8043840e039c2f74196dc 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-8390 in /w/workspace/y_app-rfid-llrp-inventory_PR-300 [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-300 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 532364ee2685d9680e36c2a7c089e125e6174299 into PR head commit 1bfd97dc29acd1b881c5050f95a7355130f2a257 Merge succeeded, producing 1bfd97dc29acd1b881c5050f95a7355130f2a257 Checking out Revision 1bfd97dc29acd1b881c5050f95a7355130f2a257 (PR-300) 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 590556114a56c6d90cc8043840e039c2f74196dc > 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/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bfd97dc29acd1b881c5050f95a7355130f2a257 # 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 1bfd97dc29acd1b881c5050f95a7355130f2a257 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:14:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:14:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:14:46 ========================================================= 13:14:46 EdgeX Global Pipelines Version Info 13:14:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:14:47 ------------------- 13:14:47 stable info: 13:14:47 ------------------- 13:14:47 Commited By: Ginny Guan ginny@iotechsys.com 13:14:47 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 13:14:47 Message: update stable to v1.0.260 13:14:47 ------------------- 13:14:47 experimental info: 13:14:47 ------------------- 13:14:47 Commited By: Ginny Guan ginny@iotechsys.com 13:14:47 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 13:14:47 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:14:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-300 [Pipeline] echo 13:14:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-300 [Pipeline] echo 13:14:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-300 [Pipeline] echo 13:14:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bfd97dc29acd1b881c5050f95a7355130f2a257 [Pipeline] echo 13:14:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bfd97d [Pipeline] echo 13:14:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:14:50 provisioning config files... 13:14:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/config17094804643325495345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:14:50 ---> ****-login.sh 13:14:50 nexus3.edgexfoundry.org:10001 13:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:14:51 Configure a credential helper to remove this warning. See 13:14:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:14:51 13:14:51 Login Succeeded 13:14:51 nexus3.edgexfoundry.org:10002 13:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:14:51 Configure a credential helper to remove this warning. See 13:14:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:14:51 13:14:51 Login Succeeded 13:14:51 nexus3.edgexfoundry.org:10003 13:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:14:51 Configure a credential helper to remove this warning. See 13:14:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:14:51 13:14:51 Login Succeeded 13:14:51 nexus3.edgexfoundry.org:10004 13:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:14:51 Configure a credential helper to remove this warning. See 13:14:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:14:51 13:14:51 Login Succeeded 13:14:51 ****.io 13:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:14:51 Configure a credential helper to remove this warning. See 13:14:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:14:51 13:14:51 Login Succeeded 13:14:51 ---> ****-login.sh ends [Pipeline] } 13:14:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:14:52 + git rev-list -1 --merges 1bfd97dc29acd1b881c5050f95a7355130f2a257~1..1bfd97dc29acd1b881c5050f95a7355130f2a257 [Pipeline] echo 13:14:52 -----------> git rev-list -1 --merges 1bfd97dc29acd1b881c5050f95a7355130f2a257~1..1bfd97dc29acd1b881c5050f95a7355130f2a257 1bfd97dc29acd1b881c5050f95a7355130f2a257 [false] [Pipeline] sh 13:14:52 + git log --format=format:%s -1 1bfd97dc29acd1b881c5050f95a7355130f2a257 [Pipeline] echo 13:14:52 ========================================================= 13:14:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:14:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:53 + git log --format=format:%s -1 1bfd97dc29acd1b881c5050f95a7355130f2a257 [Pipeline] echo 13:14:53 [semverPrep] GIT_COMMIT: 1bfd97dc29acd1b881c5050f95a7355130f2a257, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:14:53 [semverPrep] This is not a build commit. [Pipeline] sh 13:14:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:14:54 + grep -v github /etc/ssh/ssh_known_hosts 13:14:54 + [ -e /tmp/ssh_known_hosts ] 13:14:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:14:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:14:54 + sudo tee -a /etc/ssh/ssh_known_hosts 13:14:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:54 13:14:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:54 0.1.4: Pulling from edgex-devops/py-git-semver 13:14:54 b85a868b505f: Pulling fs layer 13:14:54 e2be974225ed: Pulling fs layer 13:14:54 339a4e72a1f5: Pulling fs layer 13:14:54 988bab9f4d93: Pulling fs layer 13:14:54 1469e6f7b9e6: Pulling fs layer 13:14:54 eaf3925da568: Pulling fs layer 13:14:54 bab4dde63d76: Pulling fs layer 13:14:54 bde34c3a00c8: Pulling fs layer 13:14:54 b352a97aabf1: Pulling fs layer 13:14:54 4872d77fe225: Pulling fs layer 13:14:54 5851b861e8e6: Pulling fs layer 13:14:54 bab4dde63d76: Waiting 13:14:54 bde34c3a00c8: Waiting 13:14:54 b352a97aabf1: Waiting 13:14:54 4872d77fe225: Waiting 13:14:54 5851b861e8e6: Waiting 13:14:54 988bab9f4d93: Waiting 13:14:54 1469e6f7b9e6: Waiting 13:14:54 eaf3925da568: Waiting 13:14:54 e2be974225ed: Verifying Checksum 13:14:54 e2be974225ed: Download complete 13:14:54 988bab9f4d93: Verifying Checksum 13:14:54 988bab9f4d93: Download complete 13:14:54 1469e6f7b9e6: Verifying Checksum 13:14:54 1469e6f7b9e6: Download complete 13:14:55 339a4e72a1f5: Verifying Checksum 13:14:55 339a4e72a1f5: Download complete 13:14:55 eaf3925da568: Download complete 13:14:55 bde34c3a00c8: Verifying Checksum 13:14:55 bde34c3a00c8: Download complete 13:14:55 b352a97aabf1: Verifying Checksum 13:14:55 b352a97aabf1: Download complete 13:14:55 4872d77fe225: Download complete 13:14:55 5851b861e8e6: Verifying Checksum 13:14:55 5851b861e8e6: Download complete 13:14:55 b85a868b505f: Verifying Checksum 13:14:55 b85a868b505f: Download complete 13:14:55 bab4dde63d76: Verifying Checksum 13:14:55 bab4dde63d76: Download complete 13:14:56 b85a868b505f: Pull complete 13:14:56 e2be974225ed: Pull complete 13:14:57 339a4e72a1f5: Pull complete 13:14:57 988bab9f4d93: Pull complete 13:14:57 1469e6f7b9e6: Pull complete 13:14:57 eaf3925da568: Pull complete 13:14:59 bab4dde63d76: Pull complete 13:14:59 bde34c3a00c8: Pull complete 13:14:59 b352a97aabf1: Pull complete 13:14:59 4872d77fe225: Pull complete 13:14:59 5851b861e8e6: Pull complete 13:14:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:14:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:59 prd-ubuntu20.04-docker-8c-8g-8390 does not seem to be running inside a container 13:15:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-300 -v /w/workspace/y_app-rfid-llrp-inventory_PR-300:/w/workspace/y_app-rfid-llrp-inventory_PR-300:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-300@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:15:03 $ docker top 131020e6f423c02dc3873f12a40f8494a61a5f893944e23b7e85ed6568de806f -eo pid,comm 13:15:03 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:15:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:15:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:15:03 [ssh-agent] Looking for ssh-agent implementation... 13:15:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:15:03 $ docker exec 131020e6f423c02dc3873f12a40f8494a61a5f893944e23b7e85ed6568de806f ssh-agent 13:15:03 SSH_AUTH_SOCK=/tmp/ssh-5uSeLnGmUjOc/agent.32 13:15:03 SSH_AGENT_PID=38 13:15:03 Running ssh-add (command line suppressed) 13:15:03 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/private_key_12452468934185751682.key (/w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/private_key_12452468934185751682.key) 13:15:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:15:04 + git tag --points-at HEAD [Pipeline] } 13:15:04 $ docker exec --env ******** --env ******** 131020e6f423c02dc3873f12a40f8494a61a5f893944e23b7e85ed6568de806f ssh-agent -k 13:15:04 unset SSH_AUTH_SOCK; 13:15:04 unset SSH_AGENT_PID; 13:15:04 echo Agent pid 38 killed; 13:15:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:15:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:15:04 [ssh-agent] Looking for ssh-agent implementation... 13:15:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:15:04 $ docker exec 131020e6f423c02dc3873f12a40f8494a61a5f893944e23b7e85ed6568de806f ssh-agent 13:15:04 SSH_AUTH_SOCK=/tmp/ssh-RzaelchSNnQS/agent.71 13:15:04 SSH_AGENT_PID=77 13:15:04 Running ssh-add (command line suppressed) 13:15:04 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/private_key_9147299934466292578.key (/w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/private_key_9147299934466292578.key) 13:15:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:15:05 + git semver init 13:15:05 2024-08-23 13:15:05,307 [run_init] DEBUG init version:0.0.0 force:False 13:15:05 2024-08-23 13:15:05,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver 13:15:05 2024-08-23 13:15:05,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver 13:15:05 2024-08-23 13:15:05,308 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-300, universal_newlines=False, shell=None, istream=None) 13:15:07 2024-08-23 13:15:07,545 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-300/.git/info/exclude 13:15:07 2024-08-23 13:15:07,545 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver/PR-300 with force:False 13:15:07 2024-08-23 13:15:07,546 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver/PR-300 13:15:07 2024-08-23 13:15:07,550 [execute] INFO git cat-file --batch-check 13:15:07 2024-08-23 13:15:07,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver, universal_newlines=False, shell=None, istream=) 13:15:07 2024-08-23 13:15:07,556 [execute] INFO git cat-file --batch 13:15:07 2024-08-23 13:15:07,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver, universal_newlines=False, shell=None, istream=) 13:15:07 2024-08-23 13:15:07,561 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-300/.semver/PR-300 13:15:07 0.0.0 [Pipeline] } 13:15:07 $ docker exec --env ******** --env ******** 131020e6f423c02dc3873f12a40f8494a61a5f893944e23b7e85ed6568de806f ssh-agent -k 13:15:08 unset SSH_AUTH_SOCK; 13:15:08 unset SSH_AGENT_PID; 13:15:08 echo Agent pid 77 killed; 13:15:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:15:08 + git semver [Pipeline] } 13:15:08 $ docker stop --time=1 131020e6f423c02dc3873f12a40f8494a61a5f893944e23b7e85ed6568de806f 13:15:10 $ docker rm -f --volumes 131020e6f423c02dc3873f12a40f8494a61a5f893944e23b7e85ed6568de806f [Pipeline] // withDockerContainer [Pipeline] sh 13:15:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:15:10 Stashed 1 file(s) [Pipeline] echo 13:15:10 [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:15:11 provisioning config files... 13:15:11 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/config5859264943646178526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:12 ---> ****-login.sh 13:15:12 nexus3.edgexfoundry.org:10001 13:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:12 Configure a credential helper to remove this warning. See 13:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:12 13:15:12 Login Succeeded 13:15:12 nexus3.edgexfoundry.org:10002 13:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:12 Configure a credential helper to remove this warning. See 13:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:12 13:15:12 Login Succeeded 13:15:12 nexus3.edgexfoundry.org:10003 13:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:12 Configure a credential helper to remove this warning. See 13:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:12 13:15:12 Login Succeeded 13:15:12 nexus3.edgexfoundry.org:10004 13:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:12 Configure a credential helper to remove this warning. See 13:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:12 13:15:12 Login Succeeded 13:15:12 ****.io 13:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:15:12 Configure a credential helper to remove this warning. See 13:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:15:12 13:15:12 Login Succeeded 13:15:12 ---> ****-login.sh ends [Pipeline] } 13:15:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:15:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:15:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:15:12 ========================================================= 13:15:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:15:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:13 + 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:15:13 Sending build context to Docker daemon 19.94MB 13:15:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:15:13 Step 2/12 : FROM ${BASE} AS builder 13:15:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:15:13 619be1103602: Pulling fs layer 13:15:13 7862e08f4a3e: Pulling fs layer 13:15:13 5df492c9dc93: Pulling fs layer 13:15:13 7629e6793208: Pulling fs layer 13:15:13 4f4fb700ef54: Pulling fs layer 13:15:13 fb5054dd5b73: Pulling fs layer 13:15:13 eeca6798cff9: Pulling fs layer 13:15:13 aa269ceb94a6: Pulling fs layer 13:15:13 ada007ff1a6a: Pulling fs layer 13:15:13 7629e6793208: Waiting 13:15:13 eeca6798cff9: Waiting 13:15:13 aa269ceb94a6: Waiting 13:15:13 4f4fb700ef54: Waiting 13:15:13 fb5054dd5b73: Waiting 13:15:13 ada007ff1a6a: Waiting 13:15:13 7862e08f4a3e: Download complete 13:15:13 7629e6793208: Verifying Checksum 13:15:13 7629e6793208: Download complete 13:15:13 4f4fb700ef54: Verifying Checksum 13:15:13 4f4fb700ef54: Download complete 13:15:13 fb5054dd5b73: Verifying Checksum 13:15:13 fb5054dd5b73: Download complete 13:15:13 619be1103602: Download complete 13:15:13 eeca6798cff9: Verifying Checksum 13:15:13 eeca6798cff9: Download complete 13:15:13 619be1103602: Pull complete 13:15:14 ada007ff1a6a: Download complete 13:15:14 7862e08f4a3e: Pull complete 13:15:14 5df492c9dc93: Verifying Checksum 13:15:14 5df492c9dc93: Download complete 13:15:14 aa269ceb94a6: Verifying Checksum 13:15:14 aa269ceb94a6: Download complete 13:15:16 5df492c9dc93: Pull complete 13:15:17 7629e6793208: Pull complete 13:15:17 4f4fb700ef54: Pull complete 13:15:17 fb5054dd5b73: Pull complete 13:15:17 eeca6798cff9: Pull complete 13:15:19 aa269ceb94a6: Pull complete 13:15:19 ada007ff1a6a: Pull complete 13:15:19 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 13:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:15:19 ---> f489d0715acc 13:15:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:15:24 ---> Running in bec435989f8b 13:15:24 Removing intermediate container bec435989f8b 13:15:24 ---> 8ca2cc1fab10 13:15:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:15:24 ---> Running in ad4eb33a7e55 13:15:24 Removing intermediate container ad4eb33a7e55 13:15:24 ---> 850846bd82d0 13:15:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:15:24 ---> Running in 675170ebbc8c 13:15:24 Removing intermediate container 675170ebbc8c 13:15:24 ---> 07f02d54a401 13:15:24 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:24 ---> Running in a9f4d7445af8 13:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:15:25 OK: 264 MiB in 52 packages 13:15:25 Removing intermediate container a9f4d7445af8 13:15:25 ---> c9d729d3944b 13:15:25 Step 7/12 : WORKDIR /app 13:15:25 ---> Running in 49bd16bb28a3 13:15:25 Removing intermediate container 49bd16bb28a3 13:15:25 ---> 6300f04c8c39 13:15:25 Step 8/12 : COPY go.mod vendor* ./ 13:15:25 ---> bc6013ab701b 13:15:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:25 ---> Running in f1a11780503e 13:15:26 Still waiting to schedule task 13:15:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:16:21 Removing intermediate container f1a11780503e 13:16:21 ---> 490883b0fa3d 13:16:21 Step 10/12 : COPY . . 13:16:21 ---> 09c80d96ebac 13:16:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:16:21 ---> Running in 629ae69d8d98 13:16:21 Removing intermediate container 629ae69d8d98 13:16:21 ---> 18e7e7d2f41c 13:16:21 Step 12/12 : RUN $MAKE 13:16:21 ---> Running in 0365026b2bea 13:16:21 noop 13:16:21 Removing intermediate container 0365026b2bea 13:16:21 ---> 0c240b91f327 13:16:21 Successfully built 0c240b91f327 13:16:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:22 + docker inspect -f . ci-base-image-x86_64 13:16:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:22 prd-ubuntu20.04-docker-8c-8g-8390 does not seem to be running inside a container 13:16:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-300 -v /w/workspace/y_app-rfid-llrp-inventory_PR-300:/w/workspace/y_app-rfid-llrp-inventory_PR-300:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-300@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:16:22 $ docker top 47cb843336c50ca919eb0628229bd2fec8939e1263f7e5031a5c684894dc620b -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:23 + go version 13:16:23 go version go1.21.9 linux/amd64 [Pipeline] } 13:16:23 $ docker stop --time=1 47cb843336c50ca919eb0628229bd2fec8939e1263f7e5031a5c684894dc620b 13:16:24 $ docker rm -f --volumes 47cb843336c50ca919eb0628229bd2fec8939e1263f7e5031a5c684894dc620b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:25 + docker inspect -f . ci-base-image-x86_64 13:16:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:25 prd-ubuntu20.04-docker-8c-8g-8390 does not seem to be running inside a container 13:16:25 $ 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-300 -v /w/workspace/y_app-rfid-llrp-inventory_PR-300:/w/workspace/y_app-rfid-llrp-inventory_PR-300:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-300@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:16:26 $ docker top a8b3d3dddf6921562e413dcdcf77580cd590aacf111b9a074db555472d96706c -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:26 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-300 [Pipeline] fileExists [Pipeline] sh 13:16:26 + make test 13:16:26 go test -race ./... -coverprofile=coverage.out ./... 13:16:57 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:16:57 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:16:57 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.118s coverage: 86.2% of statements 13:16:58 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.686s coverage: 71.9% of statements 13:17:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8391 in /w/workspace/y_app-rfid-llrp-inventory_PR-300 [Pipeline] { [Pipeline] ws 13:17:06 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:17:06 The recommended git tool is: git 13:17:13 using credential edgex-jenkins-ssh 13:17:13 Cloning the remote Git repository 13:17:13 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:17:13 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:17:13 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:17:13 > git --version # timeout=10 13:17:13 > git --version # 'git version 2.25.1' 13:17:13 using GIT_SSH to set credentials SSH Credentials for GitHub 13:17:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:17:18 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:17:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:17:19 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:17:19 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:17:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:17:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:17:19 Merging remotes/origin/main commit 532364ee2685d9680e36c2a7c089e125e6174299 into PR head commit 1bfd97dc29acd1b881c5050f95a7355130f2a257 13:17:20 Merge succeeded, producing 1bfd97dc29acd1b881c5050f95a7355130f2a257 13:17:20 Checking out Revision 1bfd97dc29acd1b881c5050f95a7355130f2a257 (PR-300) 13:17:20 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:17:20 > git --version # timeout=10 13:17:20 > git --version # 'git version 2.25.1' 13:17:20 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 13:17:19 > git config core.sparsecheckout # timeout=10 13:17:20 > git checkout -f 1bfd97dc29acd1b881c5050f95a7355130f2a257 # timeout=10 13:17:20 > git remote # timeout=10 13:17:20 > git config --get remote.origin.url # timeout=10 13:17:20 using GIT_SSH to set credentials SSH Credentials for GitHub 13:17:20 > git merge 532364ee2685d9680e36c2a7c089e125e6174299 # timeout=10 13:17:20 > git rev-parse HEAD^{commit} # timeout=10 13:17:20 > git config core.sparsecheckout # timeout=10 13:17:20 > git checkout -f 1bfd97dc29acd1b881c5050f95a7355130f2a257 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:17:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:17:25 % Total % Received % Xferd Average Speed Time Time Time Current 13:17:25 Dload Upload Total Spent Left Speed 13:17:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 13:17:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:17:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:17:26 + sudo tee /etc/docker/daemon.new 13:17:26 { 13:17:26 "registry-mirrors": [ 13:17:26 "https://nexus3.edgexfoundry.org:10001" 13:17:26 ], 13:17:26 "bip": "10.250.0.254/24", 13:17:26 "hosts": [ 13:17:26 "tcp://0.0.0.0:5555", 13:17:26 "unix:///var/run/docker.sock" 13:17:26 ], 13:17:26 "mtu": 1458, 13:17:26 "selinux-enabled": true, 13:17:26 "seccomp-profile": "/etc/docker/seccomp.json" 13:17:26 } [Pipeline] sh 13:17:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:17:27 + sudo service docker restart 13:17:31 go vet ./... 13:17:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:17:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:17:35 ./bin/test-attribution.sh 13:17:35 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:17:35 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:17:35 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:17:35 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:17:35 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:17:35 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:17:35 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:17:35 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:17:35 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:17:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:17:35 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:17:35 $ docker stop --time=1 a8b3d3dddf6921562e413dcdcf77580cd590aacf111b9a074db555472d96706c 13:17:41 $ docker rm -f --volumes a8b3d3dddf6921562e413dcdcf77580cd590aacf111b9a074db555472d96706c [Pipeline] // withDockerContainer [Pipeline] sh 13:17:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:17:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:17:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:17:43 + ls -al . 13:17:43 total 276 13:17:43 drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 13:16 . 13:17:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 13:14 .. 13:17:43 -rw-rw-r-- 1 jenkins jenkins 262 Aug 23 13:14 .dockerignore 13:17:43 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 13:17 .git 13:17:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 13:14 .github 13:17:43 -rw-rw-r-- 1 jenkins jenkins 773 Aug 23 13:14 .gitignore 13:17:43 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 13:14 .golangci.yml 13:17:43 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 13:15 .semver 13:17:43 -rw-rw-r-- 1 jenkins jenkins 10232 Aug 23 13:14 Attribution.txt 13:17:43 -rw-rw-r-- 1 jenkins jenkins 11245 Aug 23 13:14 CHANGELOG.md 13:17:43 -rw-rw-r-- 1 jenkins jenkins 1768 Aug 23 13:14 Dockerfile 13:17:43 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 13:14 GOVERNANCE.md 13:17:43 -rw-rw-r-- 1 jenkins jenkins 665 Aug 23 13:14 Jenkinsfile 13:17:43 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 23 13:14 LICENSE 13:17:43 -rw-rw-r-- 1 jenkins jenkins 2503 Aug 23 13:14 Makefile 13:17:43 -rw-rw-r-- 1 jenkins jenkins 617 Aug 23 13:14 OWNERS.md 13:17:43 -rw-rw-r-- 1 jenkins jenkins 3851 Aug 23 13:14 README.md 13:17:43 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 13:15 VERSION 13:17:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 13:14 bin 13:17:43 -rw-r--r-- 1 jenkins jenkins 41317 Aug 23 13:16 coverage.out 13:17:43 -rw-rw-r-- 1 jenkins jenkins 7243 Aug 23 13:14 go.mod 13:17:43 -rw-rw-r-- 1 jenkins jenkins 101448 Aug 23 13:14 go.sum 13:17:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 13:14 images 13:17:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 13:14 internal 13:17:43 -rw-rw-r-- 1 jenkins jenkins 531 Aug 23 13:14 main.go 13:17:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 13:14 openapi 13:17:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 13:14 res 13:17:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 13:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:43 + 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=1bfd97dc29acd1b881c5050f95a7355130f2a257 --label arch=amd64 --label version=0.0.0 . 13:17:43 Sending build context to Docker daemon 19.94MB 13:17:43 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:17:43 Step 2/30 : FROM ${BASE} AS builder 13:17:43 ---> 0c240b91f327 13:17:43 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:17:44 ---> Running in 367fdd5c4404 13:17:44 Removing intermediate container 367fdd5c4404 13:17:44 ---> 73a72d818020 13:17:44 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:17:44 ---> Running in 38009c7c46be 13:17:44 Removing intermediate container 38009c7c46be 13:17:44 ---> 5871dfe78921 13:17:44 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:17:44 ---> Running in 44de7d2b9cf0 13:17:44 Removing intermediate container 44de7d2b9cf0 13:17:44 ---> 0dfb8ac50f93 13:17:44 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:44 ---> Running in e80ce0926fc2 13:17:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:17:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:17:45 OK: 264 MiB in 52 packages 13:17:45 Removing intermediate container e80ce0926fc2 13:17:45 ---> 60c62fffb806 13:17:45 Step 7/30 : WORKDIR /app 13:17:45 ---> Running in 16cbdabb82bb 13:17:45 Removing intermediate container 16cbdabb82bb 13:17:45 ---> cbe6e078883b 13:17:45 Step 8/30 : COPY go.mod vendor* ./ 13:17:45 ---> 46ecdb195eb8 13:17:45 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:45 ---> Running in 8ee1b242d7b2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:45 provisioning config files... 13:17:45 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config17186144671237420713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:46 Removing intermediate container 8ee1b242d7b2 13:17:46 ---> ee52aa8ec6bc 13:17:46 Step 10/30 : COPY . . 13:17:46 ---> ****-login.sh 13:17:46 nexus3.edgexfoundry.org:10001 13:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:46 Configure a credential helper to remove this warning. See 13:17:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:46 13:17:46 Login Succeeded 13:17:46 nexus3.edgexfoundry.org:10002 13:17:47 ---> dbbfe93c9046 13:17:47 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:17:47 ---> Running in 440d330c100d 13:17:47 Removing intermediate container 440d330c100d 13:17:47 ---> 29a9886a3fee 13:17:47 Step 12/30 : RUN $MAKE 13:17:47 ---> Running in 27c37f10304f 13:17:47 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.47 -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:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:47 Configure a credential helper to remove this warning. See 13:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:47 13:17:47 Login Succeeded 13:17:47 nexus3.edgexfoundry.org:10003 13:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:47 Configure a credential helper to remove this warning. See 13:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:47 13:17:47 Login Succeeded 13:17:47 nexus3.edgexfoundry.org:10004 13:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:47 Configure a credential helper to remove this warning. See 13:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:47 13:17:47 Login Succeeded 13:17:47 ****.io 13:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:48 Configure a credential helper to remove this warning. See 13:17:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:48 13:17:48 Login Succeeded 13:17:48 ---> ****-login.sh ends [Pipeline] } 13:17:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:17:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:17:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:17:49 ========================================================= 13:17:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:17:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:49 + 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:17:49 Sending build context to Docker daemon 673.8kB 13:17:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:17:49 Step 2/12 : FROM ${BASE} AS builder 13:17:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:17:50 c6b39de5b339: Pulling fs layer 13:17:50 a69c41024577: Pulling fs layer 13:17:50 d6de4b400683: Pulling fs layer 13:17:50 35cb2a7552d0: Pulling fs layer 13:17:50 4f4fb700ef54: Pulling fs layer 13:17:50 464afbd9ba4c: Pulling fs layer 13:17:50 00f215d4a9da: Pulling fs layer 13:17:50 d496ad576159: Pulling fs layer 13:17:50 35cb2a7552d0: Waiting 13:17:50 4f4fb700ef54: Waiting 13:17:50 464afbd9ba4c: Waiting 13:17:50 00f215d4a9da: Waiting 13:17:50 d496ad576159: Waiting 13:17:50 a69c41024577: Verifying Checksum 13:17:50 a69c41024577: Download complete 13:17:50 35cb2a7552d0: Verifying Checksum 13:17:50 35cb2a7552d0: Download complete 13:17:50 4f4fb700ef54: Verifying Checksum 13:17:50 4f4fb700ef54: Download complete 13:17:50 464afbd9ba4c: Verifying Checksum 13:17:50 464afbd9ba4c: Download complete 13:17:50 c6b39de5b339: Download complete 13:17:51 d496ad576159: Verifying Checksum 13:17:51 d496ad576159: Download complete 13:17:51 c6b39de5b339: Pull complete 13:17:52 a69c41024577: Pull complete 13:17:52 d6de4b400683: Verifying Checksum 13:17:52 d6de4b400683: Download complete 13:17:53 00f215d4a9da: Download complete 13:18:05 d6de4b400683: Pull complete 13:18:05 35cb2a7552d0: Pull complete 13:18:05 4f4fb700ef54: Pull complete 13:18:05 464afbd9ba4c: Pull complete 13:18:15 00f215d4a9da: Pull complete 13:18:15 d496ad576159: Pull complete 13:18:15 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 13:18:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:18:16 ---> f246e2811388 13:18:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:18:16 ---> Running in 22204865464c 13:18:17 Removing intermediate container 22204865464c 13:18:17 ---> c831ebd24329 13:18:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:18:17 ---> Running in 7768aa16e407 13:18:17 Removing intermediate container 7768aa16e407 13:18:17 ---> 696ff03f7862 13:18:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:18:17 ---> Running in 95ca286f853e 13:18:17 Removing intermediate container 95ca286f853e 13:18:17 ---> aed037c7f14e 13:18:17 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:18:17 ---> Running in aa81978f3997 13:18:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:18:19 Removing intermediate container 27c37f10304f 13:18:19 ---> 955ff193dff2 13:18:19 Step 13/30 : FROM alpine:3.18 13:18:19 3.18: Pulling from library/alpine 13:18:19 930bdd4d222e: Pulling fs layer 13:18:19 930bdd4d222e: Verifying Checksum 13:18:19 930bdd4d222e: Download complete 13:18:19 930bdd4d222e: Pull complete 13:18:19 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:18:19 Status: Downloaded newer image for alpine:3.18 13:18:19 ---> 18f865063206 13:18:19 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:18:19 ---> Running in c2163fc89b30 13:18:19 Removing intermediate container c2163fc89b30 13:18:19 ---> 8381f3f8484f 13:18:19 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:18:19 ---> Running in c338448b44ec 13:18:19 Removing intermediate container c338448b44ec 13:18:19 ---> 8d86c2203927 13:18:19 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:18:19 ---> Running in 90b4ca187933 13:18:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:18:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:18:19 (1/2) Installing ca-certificates (20240226-r0) 13:18:19 (2/2) Installing dumb-init (1.2.5-r2) 13:18:19 Executing busybox-1.36.1-r7.trigger 13:18:19 Executing ca-certificates-20240226-r0.trigger 13:18:19 OK: 8 MiB in 17 packages 13:18:19 Removing intermediate container 90b4ca187933 13:18:19 ---> e5573539854b 13:18:19 Step 17/30 : RUN apk --no-cache upgrade 13:18:19 ---> Running in 8078165b4872 13:18:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:18:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:18:19 OK: 8 MiB in 17 packages 13:18:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:18:19 Removing intermediate container 8078165b4872 13:18:19 ---> d87b17552c0d 13:18:19 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:18:19 ---> 38ed1d7c2016 13:18:19 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:18:19 ---> 1da1939fab0a 13:18:19 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:18:19 ---> 3ef5b0fb2c14 13:18:19 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:18:19 ---> 822e65737750 13:18:19 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:18:20 OK: 266 MiB in 52 packages 13:18:20 ---> bd9047a0937f 13:18:20 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:18:20 ---> Running in 01bd9e35ba5b 13:18:20 Removing intermediate container aa81978f3997 13:18:20 ---> fe60792414a2 13:18:20 Step 7/12 : WORKDIR /app 13:18:20 ---> Running in 26d170e2963d 13:18:21 Removing intermediate container 01bd9e35ba5b 13:18:21 ---> b7885365aedf 13:18:21 Step 24/30 : VOLUME /cache 13:18:21 ---> Running in 0779390e162e 13:18:21 Removing intermediate container 0779390e162e 13:18:21 ---> f8aa25435a83 13:18:21 Step 25/30 : EXPOSE 59711 13:18:21 ---> Running in b2bbbadc08fa 13:18:21 Removing intermediate container b2bbbadc08fa 13:18:21 ---> 9acaa417b491 13:18:21 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:18:21 ---> Running in 79615e5efb9a 13:18:21 Removing intermediate container 79615e5efb9a 13:18:21 ---> 78ceb526e6f7 13:18:21 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:18:21 ---> Running in 6681dfccc17a 13:18:21 Removing intermediate container 6681dfccc17a 13:18:21 ---> 2d9dfc23d4bf 13:18:21 Step 28/30 : LABEL arch=amd64 13:18:21 ---> Running in 4e7e2a8c8f18 13:18:21 Removing intermediate container 4e7e2a8c8f18 13:18:21 ---> 82438f256c64 13:18:21 Step 29/30 : LABEL git_sha=1bfd97dc29acd1b881c5050f95a7355130f2a257 13:18:21 ---> Running in aa45f2fa7b1b 13:18:21 Removing intermediate container aa45f2fa7b1b 13:18:21 ---> f50da1a2dcd9 13:18:21 Step 30/30 : LABEL version=0.0.0 13:18:21 ---> Running in faa909dfde3d 13:18:21 Removing intermediate container faa909dfde3d 13:18:21 ---> a2e2096b8285 13:18:21 [Warning] One or more build-args [ARCH] were not consumed 13:18:21 Successfully built a2e2096b8285 13:18:21 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 13:18:22 Removing intermediate container 26d170e2963d 13:18:22 ---> a03164915546 13:18:22 Step 8/12 : COPY go.mod vendor* ./ [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:18:22 ---> 6c132811b270 13:18:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:18:22 ---> Running in 14a1d7fc48c4 13:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:23 13:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:23 latest: Pulling from edgex-lftools-log-publisher 13:18:23 5eb5b503b376: Pulling fs layer 13:18:23 5c69ac0246d0: Pulling fs layer 13:18:23 ec43610c2a17: Pulling fs layer 13:18:23 3a2ae6a8a46f: Pulling fs layer 13:18:23 33b1e0a273af: Pulling fs layer 13:18:23 5d3b04190fa2: Pulling fs layer 13:18:23 2f39f015ded8: Pulling fs layer 13:18:23 3a2ae6a8a46f: Waiting 13:18:23 33b1e0a273af: Waiting 13:18:23 5d3b04190fa2: Waiting 13:18:23 2f39f015ded8: Waiting 13:18:23 5c69ac0246d0: Download complete 13:18:23 3a2ae6a8a46f: Verifying Checksum 13:18:23 3a2ae6a8a46f: Download complete 13:18:23 33b1e0a273af: Verifying Checksum 13:18:23 33b1e0a273af: Download complete 13:18:23 ec43610c2a17: Verifying Checksum 13:18:23 ec43610c2a17: Download complete 13:18:23 5d3b04190fa2: Download complete 13:18:23 5eb5b503b376: Download complete 13:18:24 2f39f015ded8: Verifying Checksum 13:18:24 2f39f015ded8: Download complete 13:18:24 5eb5b503b376: Pull complete 13:18:24 5c69ac0246d0: Pull complete 13:18:25 ec43610c2a17: Pull complete 13:18:25 3a2ae6a8a46f: Pull complete 13:18:25 33b1e0a273af: Pull complete 13:18:25 5d3b04190fa2: Pull complete 13:18:29 2f39f015ded8: Pull complete 13:18:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:18:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:30 prd-ubuntu20.04-docker-8c-8g-8390 does not seem to be running inside a container 13:18:30 $ 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-300 -v /w/workspace/y_app-rfid-llrp-inventory_PR-300:/w/workspace/y_app-rfid-llrp-inventory_PR-300:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-300@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:18:34 $ docker top f2a26a052d1b1b7a6f35eb484d17ace6e7818af539d161f1b9c50fd1c3ca6369 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:18:35 ---> job-cost.sh 13:18:35 lf-activate-venv: SKIPPING 13:18:35 INFO: No Stack... 13:18:35 INFO: Retrieving Pricing Info for: v3-standard-8 13:18:35 INFO: Archiving Costs [Pipeline] sh 13:18:36 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-300/archives/cost.csv 13:18:36 + cut -d, -f6 [Pipeline] lock 13:18:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] 13:18:36 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] did not exist. Created. 13:18:36 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:18:36 + echo total: 0.2199999988079071 [Pipeline] stash 13:18:36 Stashed 1 file(s) [Pipeline] } 13:18:36 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:18:36 $ docker stop --time=1 f2a26a052d1b1b7a6f35eb484d17ace6e7818af539d161f1b9c50fd1c3ca6369 13:18:38 $ docker rm -f --volumes f2a26a052d1b1b7a6f35eb484d17ace6e7818af539d161f1b9c50fd1c3ca6369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:20:14 Removing intermediate container 14a1d7fc48c4 13:20:14 ---> c296d66861b9 13:20:14 Step 10/12 : COPY . . 13:20:14 ---> 2779e447101f 13:20:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:20:14 ---> Running in bdcce94f60cd 13:20:14 Removing intermediate container bdcce94f60cd 13:20:14 ---> 2cb6353e091a 13:20:14 Step 12/12 : RUN $MAKE 13:20:14 ---> Running in ac2981d8dc3e 13:20:14 noop 13:20:14 Removing intermediate container ac2981d8dc3e 13:20:14 ---> 83db829e0e47 13:20:14 Successfully built 83db829e0e47 13:20:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:15 + docker inspect -f . ci-base-image-arm64 13:20:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:20:15 prd-ubuntu20.04-docker-arm64-4c-16g-8391 does not seem to be running inside a container 13:20: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 ******** ci-base-image-arm64 cat 13:20:16 $ docker top 76770d6699fe1c12fb08175223dfb84a456a189368c423daaacbdaa8b41b6186 -eo pid,comm [Pipeline] { [Pipeline] sh 13:20:17 + go version 13:20:17 go version go1.21.9 linux/arm64 [Pipeline] } 13:20:17 $ docker stop --time=1 76770d6699fe1c12fb08175223dfb84a456a189368c423daaacbdaa8b41b6186 13:20:19 $ docker rm -f --volumes 76770d6699fe1c12fb08175223dfb84a456a189368c423daaacbdaa8b41b6186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:20 + docker inspect -f . ci-base-image-arm64 13:20:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:20:20 prd-ubuntu20.04-docker-arm64-4c-16g-8391 does not seem to be running inside a container 13:20: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 ******** ci-base-image-arm64 cat 13:20:21 $ docker top e4d2aae1ed4eceb71e46450353e8df6482af5b3ab87d5a5a22c7cfc828c44659 -eo pid,comm [Pipeline] { [Pipeline] sh 13:20:22 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:20:23 + make test 13:20:23 go test -race ./... -coverprofile=coverage.out ./... 13:24:15 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:24:22 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:24:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.954s coverage: 86.2% of statements 13:24:35 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.312s coverage: 71.9% of statements 13:24:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:24:35 go vet ./... 13:28:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:28:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:28:12 ./bin/test-attribution.sh 13:28:12 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:28:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:28:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:28:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:28:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:28:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:28:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:28:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:28:12 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:28:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:28:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:28:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:28:12 $ docker stop --time=1 e4d2aae1ed4eceb71e46450353e8df6482af5b3ab87d5a5a22c7cfc828c44659 13:28:14 $ docker rm -f --volumes e4d2aae1ed4eceb71e46450353e8df6482af5b3ab87d5a5a22c7cfc828c44659 [Pipeline] // withDockerContainer [Pipeline] sh 13:28:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:28:16 Warning: overwriting stash ‘coverage-report’ 13:28:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:28:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:28:17 + ls -al . 13:28:17 total 272 13:28:17 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 13:20 . 13:28:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 13:17 .. 13:28:17 -rw-rw-r-- 1 jenkins jenkins 262 Aug 23 13:17 .dockerignore 13:28:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 13:17 .git 13:28:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 13:17 .github 13:28:17 -rw-rw-r-- 1 jenkins jenkins 773 Aug 23 13:17 .gitignore 13:28:17 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 13:17 .golangci.yml 13:28:17 -rw-rw-r-- 1 jenkins jenkins 10232 Aug 23 13:17 Attribution.txt 13:28:17 -rw-rw-r-- 1 jenkins jenkins 11245 Aug 23 13:17 CHANGELOG.md 13:28:17 -rw-rw-r-- 1 jenkins jenkins 1768 Aug 23 13:17 Dockerfile 13:28:17 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 13:17 GOVERNANCE.md 13:28:17 -rw-rw-r-- 1 jenkins jenkins 665 Aug 23 13:17 Jenkinsfile 13:28:17 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 23 13:17 LICENSE 13:28:17 -rw-rw-r-- 1 jenkins jenkins 2503 Aug 23 13:17 Makefile 13:28:17 -rw-rw-r-- 1 jenkins jenkins 617 Aug 23 13:17 OWNERS.md 13:28:17 -rw-rw-r-- 1 jenkins jenkins 3851 Aug 23 13:17 README.md 13:28:17 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 13:15 VERSION 13:28:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 13:17 bin 13:28:17 -rw-r--r-- 1 jenkins jenkins 41317 Aug 23 13:24 coverage.out 13:28:17 -rw-rw-r-- 1 jenkins jenkins 7243 Aug 23 13:17 go.mod 13:28:17 -rw-rw-r-- 1 jenkins jenkins 101448 Aug 23 13:17 go.sum 13:28:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 13:17 images 13:28:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 13:17 internal 13:28:17 -rw-rw-r-- 1 jenkins jenkins 531 Aug 23 13:17 main.go 13:28:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 13:17 openapi 13:28:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 13:17 res 13:28:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 13:17 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:18 + 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=1bfd97dc29acd1b881c5050f95a7355130f2a257 --label arch=arm64 --label version=0.0.0 . 13:28:18 Sending build context to Docker daemon 673.8kB 13:28:18 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:28:18 Step 2/30 : FROM ${BASE} AS builder 13:28:18 ---> 83db829e0e47 13:28:18 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:28:18 ---> Running in 581311d82b0e 13:28:19 Removing intermediate container 581311d82b0e 13:28:19 ---> cd1824c9a488 13:28:19 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:28:19 ---> Running in 2ea38aacb682 13:28:19 Removing intermediate container 2ea38aacb682 13:28:19 ---> bbf59ec19bd2 13:28:19 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:28:19 ---> Running in 257df4e37515 13:28:19 Removing intermediate container 257df4e37515 13:28:19 ---> fc675a7d780a 13:28:19 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:28:19 ---> Running in ad47a5b61379 13:28:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:28:22 OK: 266 MiB in 52 packages 13:28:23 Removing intermediate container ad47a5b61379 13:28:23 ---> 72cacbf585e8 13:28:23 Step 7/30 : WORKDIR /app 13:28:23 ---> Running in 66eda16a4a91 13:28:23 Removing intermediate container 66eda16a4a91 13:28:23 ---> 8171936551e0 13:28:23 Step 8/30 : COPY go.mod vendor* ./ 13:28:23 ---> 1875733811cc 13:28:23 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:23 ---> Running in b33f91545a53 13:28:25 Removing intermediate container b33f91545a53 13:28:25 ---> 2119628c9ea0 13:28:25 Step 10/30 : COPY . . 13:28:26 ---> 945f83871002 13:28:26 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:28:26 ---> Running in d4b83eb53a1b 13:28:26 Removing intermediate container d4b83eb53a1b 13:28:26 ---> 4f0654be1fe9 13:28:26 Step 12/30 : RUN $MAKE 13:28:26 ---> Running in 32be68c5a8dc 13:28:27 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.47 -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:31:49 Removing intermediate container 32be68c5a8dc 13:31:49 ---> 3f88d0a1eb6e 13:31:49 Step 13/30 : FROM alpine:3.18 13:31:49 3.18: Pulling from library/alpine 13:31:49 4983c3fe2029: Pulling fs layer 13:31:49 4983c3fe2029: Verifying Checksum 13:31:49 4983c3fe2029: Download complete 13:31:49 4983c3fe2029: Pull complete 13:31:49 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 13:31:49 Status: Downloaded newer image for alpine:3.18 13:31:49 ---> a0237000ae83 13:31:49 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:31:49 ---> Running in 4ab0a0898538 13:31:49 Removing intermediate container 4ab0a0898538 13:31:49 ---> b82b5822e8cc 13:31:49 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:31:49 ---> Running in 99dd50421fae 13:31:49 Removing intermediate container 99dd50421fae 13:31:49 ---> 7f15b607ff29 13:31:49 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:31:49 ---> Running in ea96f0dd8b47 13:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:31:49 (1/2) Installing ca-certificates (20240226-r0) 13:31:49 (2/2) Installing dumb-init (1.2.5-r2) 13:31:49 Executing busybox-1.36.1-r7.trigger 13:31:49 Executing ca-certificates-20240226-r0.trigger 13:31:49 OK: 9 MiB in 17 packages 13:31:49 Removing intermediate container ea96f0dd8b47 13:31:49 ---> dbfcf8892c63 13:31:49 Step 17/30 : RUN apk --no-cache upgrade 13:31:49 ---> Running in 49708cf4f5ad 13:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:31:50 OK: 9 MiB in 17 packages 13:31:51 Removing intermediate container 49708cf4f5ad 13:31:51 ---> d90ab5a0d5ba 13:31:51 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:31:52 ---> 393c062d6d39 13:31:52 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:31:52 ---> 7de0dde656e7 13:31:52 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:31:53 ---> f21088c03e5b 13:31:53 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:31:53 ---> b80e91511949 13:31:53 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:31:55 ---> 2996386d7ead 13:31:55 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:31:55 ---> Running in 34de8af164e5 13:31:57 Removing intermediate container 34de8af164e5 13:31:57 ---> 3e9491cca4b0 13:31:57 Step 24/30 : VOLUME /cache 13:31:57 ---> Running in cf08ae0fe2e8 13:31:57 Removing intermediate container cf08ae0fe2e8 13:31:57 ---> 31ea20fc977c 13:31:57 Step 25/30 : EXPOSE 59711 13:31:57 ---> Running in 49a5f59ac400 13:31:58 Removing intermediate container 49a5f59ac400 13:31:58 ---> bf12f4760b78 13:31:58 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:31:58 ---> Running in fd54c7e71cd6 13:31:58 Removing intermediate container fd54c7e71cd6 13:31:58 ---> af170999bd67 13:31:58 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:31:58 ---> Running in 8c85f25938f2 13:31:58 Removing intermediate container 8c85f25938f2 13:31:58 ---> 609c175649d1 13:31:58 Step 28/30 : LABEL arch=arm64 13:31:58 ---> Running in a754f0ae2740 13:31:59 Removing intermediate container a754f0ae2740 13:31:59 ---> 4ce79cdec4fb 13:31:59 Step 29/30 : LABEL git_sha=1bfd97dc29acd1b881c5050f95a7355130f2a257 13:31:59 ---> Running in 313be56c3753 13:31:59 Removing intermediate container 313be56c3753 13:31:59 ---> 3407d3deb6b3 13:31:59 Step 30/30 : LABEL version=0.0.0 13:31:59 ---> Running in 0913d1b01fd6 13:31:59 Removing intermediate container 0913d1b01fd6 13:31:59 ---> 1ae685b30c84 13:31:59 [Warning] One or more build-args [ARCH] were not consumed 13:31:59 Successfully built 1ae685b30c84 13:31:59 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:32:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:00 13:32:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:01 arm64: Pulling from edgex-lftools-log-publisher 13:32:01 8998bd30e6a1: Pulling fs layer 13:32:01 04944245beec: Pulling fs layer 13:32:01 699f458cf7ca: Pulling fs layer 13:32:01 765212b225bb: Pulling fs layer 13:32:01 f23df028b6ca: Pulling fs layer 13:32:01 d65c8cfc05b1: Pulling fs layer 13:32:01 2437ff75d9bd: Pulling fs layer 13:32:01 765212b225bb: Waiting 13:32:01 f23df028b6ca: Waiting 13:32:01 d65c8cfc05b1: Waiting 13:32:01 2437ff75d9bd: Waiting 13:32:01 04944245beec: Verifying Checksum 13:32:01 04944245beec: Download complete 13:32:01 765212b225bb: Verifying Checksum 13:32:01 765212b225bb: Download complete 13:32:01 f23df028b6ca: Verifying Checksum 13:32:01 f23df028b6ca: Download complete 13:32:01 d65c8cfc05b1: Verifying Checksum 13:32:01 d65c8cfc05b1: Download complete 13:32:01 699f458cf7ca: Verifying Checksum 13:32:01 699f458cf7ca: Download complete 13:32:02 8998bd30e6a1: Verifying Checksum 13:32:02 8998bd30e6a1: Download complete 13:32:04 2437ff75d9bd: Verifying Checksum 13:32:04 2437ff75d9bd: Download complete 13:32:06 8998bd30e6a1: Pull complete 13:32:06 04944245beec: Pull complete 13:32:08 699f458cf7ca: Pull complete 13:32:08 765212b225bb: Pull complete 13:32:09 f23df028b6ca: Pull complete 13:32:09 d65c8cfc05b1: Pull complete 13:32:27 2437ff75d9bd: Pull complete 13:32:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:32:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:32:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:28 prd-ubuntu20.04-docker-arm64-4c-16g-8391 does not seem to be running inside a container 13:32:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:32:31 $ docker top 2b8f584ef58649be5ebb64d1834e9d2f5716cf671897c2cad3060bb8855225a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:32:32 ---> job-cost.sh 13:32:32 lf-activate-venv: SKIPPING 13:32:32 INFO: No Stack... 13:32:32 INFO: Retrieving Pricing Info for: v3-standard-4 13:32:33 INFO: Archiving Costs [Pipeline] sh 13:32:34 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:32:34 + cut -d, -f6 [Pipeline] lock 13:32:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] 13:32:34 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] did not exist. Created. 13:32:34 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:32:34 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-0e81322e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:32:35 + echo total: 0.10999999940395355 [Pipeline] stash 13:32:35 Warning: overwriting stash ‘stack-cost’ 13:32:35 Stashed 1 file(s) [Pipeline] } 13:32:35 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:32:35 $ docker stop --time=1 2b8f584ef58649be5ebb64d1834e9d2f5716cf671897c2cad3060bb8855225a4 13:32:37 $ docker rm -f --volumes 2b8f584ef58649be5ebb64d1834e9d2f5716cf671897c2cad3060bb8855225a4 [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:32:38 provisioning config files... 13:32:38 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/config16057786299597706456tmp [Pipeline] { [Pipeline] sh 13:32:38 + set +x 13:32:38 + bash -s -- 13:32:38 + curl -s https://codecov.io/bash 13:32:38 13:32:38 _____ _ 13:32:38 / ____| | | 13:32:38 | | ___ __| | ___ ___ _____ __ 13:32:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:32:38 | |___| (_) | (_| | __/ (_| (_) \ V / 13:32:38 \_____\___/ \__,_|\___|\___\___/ \_/ 13:32:38 Bash-1.0.6 13:32:38 13:32:38 13:32:38 ==> git version 2.25.1 found 13:32:38 ==> 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:32:38 Release-Date: 2020-01-08 13:32:38 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:32:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:32:38 ==> Jenkins CI detected. 13:32:38 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-300 13:32:38 project root: . 13:32:38 --> token set from env 13:32:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:32:38 ==> Running gcov in . (disable via -X gcov) 13:32:38 ==> Python coveragepy not found 13:32:38 ==> Searching for coverage reports in: 13:32:38 + . 13:32:38 -> Found 1 reports 13:32:38 ==> Detecting git/mercurial file structure 13:32:39 ==> Reading reports 13:32:39 + ./coverage.out bytes=41317 13:32:39 ==> Appending adjustments 13:32:39 https://docs.codecov.io/docs/fixing-reports 13:32:39 + Found adjustments 13:32:39 ==> Gzipping contents 13:32:39 12K /tmp/codecov.hcquZv.gz 13:32:39 ==> Uploading reports 13:32:39 url: https://codecov.io 13:32:39 query: branch=PR-300&commit=1bfd97dc29acd1b881c5050f95a7355130f2a257&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=300&job=&cmd_args= 13:32:39 -> Pinging Codecov 13:32:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-300&commit=1bfd97dc29acd1b881c5050f95a7355130f2a257&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=300&job=&cmd_args= 13:32:39 -> Uploading to 13:32:39 https://storage.googleapis.com/codecov/v4/raw/2024-08-23/581DD39554BDF9B6E22D074273EAD858/1bfd97dc29acd1b881c5050f95a7355130f2a257/17a87704-cd2d-4985-ba22-77915369fe75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240823%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240823T133239Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0309fd19c958ad164d2e91809b2be6818bf559a953e2852b645fa4c52f462b6 13:32:39 % Total % Received % Xferd Average Speed Time Time Time Current 13:32:39 Dload Upload Total Spent Left Speed 13:32:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11609 0 0 100 11609 0 47577 --:--:-- --:--:-- --:--:-- 47577 13:32:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/1bfd97dc29acd1b881c5050f95a7355130f2a257 [Pipeline] } 13:32:39 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:32:42 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-300/archives ] 13:32:42 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-300/archives 13:32:42 total 16 13:32:42 drwxr-xr-x 3 root root 4096 Aug 23 13:18 . 13:32:42 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 13:18 .. 13:32:42 drwxr-xr-x 2 root root 4096 Aug 23 13:18 cost 13:32:42 -rw-r--r-- 1 root root 95 Aug 23 13:18 cost.csv 13:32:42 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-300/archives 13:32:42 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-300/archives 13:32:42 total 16 13:32:42 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 13:18 . 13:32:42 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 13:18 .. 13:32:42 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 13:18 cost 13:32:42 -rw-r--r-- 1 jenkins jenkins 95 Aug 23 13:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:32:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:32:43 ---> package-listing.sh 13:32:43 ++ facter osfamily 13:32:43 ++ tr '[:upper:]' '[:lower:]' 13:32:43 + OS_FAMILY=debian 13:32:43 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-300 13:32:43 + START_PACKAGES=/tmp/packages_start.txt 13:32:43 + END_PACKAGES=/tmp/packages_end.txt 13:32:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:32:43 + PACKAGES=/tmp/packages_start.txt 13:32:43 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-300 ']' 13:32:43 + PACKAGES=/tmp/packages_end.txt 13:32:43 + case "${OS_FAMILY}" in 13:32:43 + dpkg -l 13:32:43 + grep '^ii' 13:32:43 + '[' -f /tmp/packages_start.txt ']' 13:32:43 + '[' -f /tmp/packages_end.txt ']' 13:32:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:32:43 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-300 ']' 13:32:43 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-300/archives/ 13:32:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-300/archives/ [Pipeline] echo 13:32:43 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-300/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:32:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:32:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:44 prd-ubuntu20.04-docker-8c-8g-8390 does not seem to be running inside a container 13:32:44 $ 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-300/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-300 -v /w/workspace/y_app-rfid-llrp-inventory_PR-300:/w/workspace/y_app-rfid-llrp-inventory_PR-300:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-300@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:32:45 $ docker top 51e4aa02beaffba512977b1ede50c0a698b761036f4ad889517dde531d8bc21f -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:45 + touch /tmp/pre-build-complete [Pipeline] sh 13:32:45 + mkdir -p /var/log/sysstat [Pipeline] sh 13:32:46 + ls /var/log/sa-host 13:32:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:32:46 provisioning config files... 13:32:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-300@tmp/config9046688669656545548tmp [Pipeline] { [Pipeline] echo 13:32:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:32:46 ---> create-netrc.sh [Pipeline] } 13:32:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:32:47 ---> python-tools-install.sh [Pipeline] echo 13:32:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:32:47 ---> sudo-logs.sh 13:32:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:32:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:32:48 ---> job-cost.sh 13:32:48 lf-activate-venv: SKIPPING 13:32:48 DEBUG: total: 0.2199999988079071 13:32:48 INFO: Retrieving Stack Cost... 13:32:48 INFO: Retrieving Pricing Info for: v3-standard-8 13:32:48 INFO: Archiving Costs [Pipeline] echo 13:32:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:32:49 ---> logs-deploy.sh 13:32:49 lf-activate-venv: SKIPPING 13:32:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-300/1 13:32:49 INFO: archiving workspace using pattern(s): 13:32:49 Archives upload complete. 13:32:49 INFO: archiving logs to Nexus