Pull request #305 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6fc9fe7912a969301078fb2ed35d08f95852c5b9+8b427122073dff864e259b6e7085ea8271351a60 (47b0519c36150f981d228334470f0a1061683ad6) 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-ssh16379788826010355692.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh11548577749373209362.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9787479422517551531.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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5117332522892168898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh10094021351372825965.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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4946244839228707222.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12913’ Running on prd-ubuntu20.04-docker-8c-8g-12930 in /w/workspace/y_app-rfid-llrp-inventory_PR-305 [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-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b427122073dff864e259b6e7085ea8271351a60 into PR head commit 6fc9fe7912a969301078fb2ed35d08f95852c5b9 Merge succeeded, producing 6fc9fe7912a969301078fb2ed35d08f95852c5b9 Checking out Revision 6fc9fe7912a969301078fb2ed35d08f95852c5b9 (PR-305) 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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fc9fe7912a969301078fb2ed35d08f95852c5b9 # 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 8b427122073dff864e259b6e7085ea8271351a60 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fc9fe7912a969301078fb2ed35d08f95852c5b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:42:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:42:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:42:22 ========================================================= 13:42:22 EdgeX Global Pipelines Version Info 13:42:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:42:23 ------------------- 13:42:23 stable info: 13:42:23 ------------------- 13:42:23 Commited By: Cherry Wang cherry@iotechsys.com 13:42:23 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 13:42:23 Message: update stable to v1.0.264 13:42:24 ------------------- 13:42:24 experimental info: 13:42:24 ------------------- 13:42:24 Commited By: Cherry Wang cherry@iotechsys.com 13:42:24 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 13:42:24 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:42:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:42:24 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:42:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:42:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:42:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:42:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:42:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:42:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fc9fe7912a969301078fb2ed35d08f95852c5b9 [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fc9fe7 [Pipeline] echo 13:42:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:42:26 provisioning config files... 13:42:26 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/config14830941144146775306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:42:27 ---> ****-login.sh 13:42:27 nexus3.edgexfoundry.org:10001 13:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:27 Configure a credential helper to remove this warning. See 13:42:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:27 13:42:27 Login Succeeded 13:42:27 nexus3.edgexfoundry.org:10002 13:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:27 Configure a credential helper to remove this warning. See 13:42:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:27 13:42:27 Login Succeeded 13:42:27 nexus3.edgexfoundry.org:10003 13:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:27 Configure a credential helper to remove this warning. See 13:42:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:27 13:42:27 Login Succeeded 13:42:27 nexus3.edgexfoundry.org:10004 13:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:27 Configure a credential helper to remove this warning. See 13:42:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:27 13:42:27 Login Succeeded 13:42:27 ****.io 13:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:27 Configure a credential helper to remove this warning. See 13:42:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:27 13:42:27 Login Succeeded 13:42:27 ---> ****-login.sh ends [Pipeline] } 13:42:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:42:28 + git rev-list -1 --merges 6fc9fe7912a969301078fb2ed35d08f95852c5b9~1..6fc9fe7912a969301078fb2ed35d08f95852c5b9 [Pipeline] echo 13:42:28 -----------> git rev-list -1 --merges 6fc9fe7912a969301078fb2ed35d08f95852c5b9~1..6fc9fe7912a969301078fb2ed35d08f95852c5b9 6fc9fe7912a969301078fb2ed35d08f95852c5b9 [false] [Pipeline] sh 13:42:28 + git log --format=format:%s -1 6fc9fe7912a969301078fb2ed35d08f95852c5b9 [Pipeline] echo 13:42:28 ========================================================= 13:42:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:42:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:42:29 + git log --format=format:%s -1 6fc9fe7912a969301078fb2ed35d08f95852c5b9 [Pipeline] echo 13:42:29 [semverPrep] GIT_COMMIT: 6fc9fe7912a969301078fb2ed35d08f95852c5b9, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:42:29 [semverPrep] This is not a build commit. [Pipeline] sh 13:42:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:42:29 + grep -v github /etc/ssh/ssh_known_hosts 13:42:29 + [ -e /tmp/ssh_known_hosts ] 13:42:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:42:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:42:29 + sudo tee -a /etc/ssh/ssh_known_hosts 13:42:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:42:30 13:42:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:42:30 0.1.4: Pulling from edgex-devops/py-git-semver 13:42:30 b85a868b505f: Pulling fs layer 13:42:30 e2be974225ed: Pulling fs layer 13:42:30 339a4e72a1f5: Pulling fs layer 13:42:30 988bab9f4d93: Pulling fs layer 13:42:30 1469e6f7b9e6: Pulling fs layer 13:42:30 eaf3925da568: Pulling fs layer 13:42:30 bab4dde63d76: Pulling fs layer 13:42:30 bde34c3a00c8: Pulling fs layer 13:42:30 b352a97aabf1: Pulling fs layer 13:42:30 4872d77fe225: Pulling fs layer 13:42:30 5851b861e8e6: Pulling fs layer 13:42:30 1469e6f7b9e6: Waiting 13:42:30 eaf3925da568: Waiting 13:42:30 bab4dde63d76: Waiting 13:42:30 bde34c3a00c8: Waiting 13:42:30 b352a97aabf1: Waiting 13:42:30 4872d77fe225: Waiting 13:42:30 5851b861e8e6: Waiting 13:42:30 988bab9f4d93: Waiting 13:42:30 e2be974225ed: Verifying Checksum 13:42:30 e2be974225ed: Download complete 13:42:30 988bab9f4d93: Verifying Checksum 13:42:30 988bab9f4d93: Download complete 13:42:30 1469e6f7b9e6: Verifying Checksum 13:42:30 1469e6f7b9e6: Download complete 13:42:31 eaf3925da568: Download complete 13:42:31 339a4e72a1f5: Verifying Checksum 13:42:31 339a4e72a1f5: Download complete 13:42:31 bde34c3a00c8: Download complete 13:42:31 b352a97aabf1: Verifying Checksum 13:42:31 b352a97aabf1: Download complete 13:42:31 4872d77fe225: Verifying Checksum 13:42:31 4872d77fe225: Download complete 13:42:31 5851b861e8e6: Download complete 13:42:31 b85a868b505f: Verifying Checksum 13:42:31 b85a868b505f: Download complete 13:42:31 bab4dde63d76: Verifying Checksum 13:42:31 bab4dde63d76: Download complete 13:42:32 b85a868b505f: Pull complete 13:42:32 e2be974225ed: Pull complete 13:42:32 339a4e72a1f5: Pull complete 13:42:33 988bab9f4d93: Pull complete 13:42:33 1469e6f7b9e6: Pull complete 13:42:33 eaf3925da568: Pull complete 13:42:35 bab4dde63d76: Pull complete 13:42:35 bde34c3a00c8: Pull complete 13:42:35 b352a97aabf1: Pull complete 13:42:35 4872d77fe225: Pull complete 13:42:35 5851b861e8e6: Pull complete 13:42:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:42:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:42:35 prd-ubuntu20.04-docker-8c-8g-12930 does not seem to be running inside a container 13:42:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-305 -v /w/workspace/y_app-rfid-llrp-inventory_PR-305:/w/workspace/y_app-rfid-llrp-inventory_PR-305:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-305@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:42:40 $ docker top e13e49fd0b0f07410122c73faa2ef75a3a92dc79b9ceacbea8602eb4420a06c1 -eo pid,comm 13:42:40 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:42:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:42:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:42:40 [ssh-agent] Looking for ssh-agent implementation... 13:42:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:42:40 $ docker exec e13e49fd0b0f07410122c73faa2ef75a3a92dc79b9ceacbea8602eb4420a06c1 ssh-agent 13:42:40 SSH_AUTH_SOCK=/tmp/ssh-NCNvNGGCT6Rw/agent.34 13:42:40 SSH_AGENT_PID=40 13:42:40 Running ssh-add (command line suppressed) 13:42:40 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/private_key_6945704263826879005.key (/w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/private_key_6945704263826879005.key) 13:42:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:42:41 + git tag --points-at HEAD [Pipeline] } 13:42:41 $ docker exec --env ******** --env ******** e13e49fd0b0f07410122c73faa2ef75a3a92dc79b9ceacbea8602eb4420a06c1 ssh-agent -k 13:42:41 unset SSH_AUTH_SOCK; 13:42:41 unset SSH_AGENT_PID; 13:42:41 echo Agent pid 40 killed; 13:42:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:42:41 [ssh-agent] Looking for ssh-agent implementation... 13:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:42:41 $ docker exec e13e49fd0b0f07410122c73faa2ef75a3a92dc79b9ceacbea8602eb4420a06c1 ssh-agent 13:42:41 SSH_AUTH_SOCK=/tmp/ssh-d1CDX2LtaCeB/agent.74 13:42:41 SSH_AGENT_PID=79 13:42:41 Running ssh-add (command line suppressed) 13:42:41 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/private_key_11275035701666266305.key (/w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/private_key_11275035701666266305.key) 13:42:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:42:42 + git semver init 13:42:42 2024-10-02 13:42:42,432 [run_init] DEBUG init version:0.0.0 force:False 13:42:42 2024-10-02 13:42:42,433 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver 13:42:42 2024-10-02 13:42:42,434 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver 13:42:42 2024-10-02 13:42:42,434 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-305, universal_newlines=False, shell=None, istream=None) 13:42:45 2024-10-02 13:42:44,404 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-305/.git/info/exclude 13:42:45 2024-10-02 13:42:44,405 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver/PR-305 with force:False 13:42:45 2024-10-02 13:42:44,405 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver/PR-305 13:42:45 2024-10-02 13:42:44,409 [execute] INFO git cat-file --batch-check 13:42:45 2024-10-02 13:42:44,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver, universal_newlines=False, shell=None, istream=) 13:42:45 2024-10-02 13:42:44,415 [execute] INFO git cat-file --batch 13:42:45 2024-10-02 13:42:44,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver, universal_newlines=False, shell=None, istream=) 13:42:45 2024-10-02 13:42:44,421 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-305/.semver/PR-305 13:42:45 0.0.0 [Pipeline] } 13:42:45 $ docker exec --env ******** --env ******** e13e49fd0b0f07410122c73faa2ef75a3a92dc79b9ceacbea8602eb4420a06c1 ssh-agent -k 13:42:45 unset SSH_AUTH_SOCK; 13:42:45 unset SSH_AGENT_PID; 13:42:45 echo Agent pid 79 killed; 13:42:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:42:45 + git semver [Pipeline] } 13:42:45 $ docker stop --time=1 e13e49fd0b0f07410122c73faa2ef75a3a92dc79b9ceacbea8602eb4420a06c1 13:42:47 $ docker rm -f --volumes e13e49fd0b0f07410122c73faa2ef75a3a92dc79b9ceacbea8602eb4420a06c1 [Pipeline] // withDockerContainer [Pipeline] sh 13:42:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:42:47 Stashed 1 file(s) [Pipeline] echo 13:42:47 [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:42:48 provisioning config files... 13:42:48 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/config10300771452892018640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:42:49 ---> ****-login.sh 13:42:49 nexus3.edgexfoundry.org:10001 13:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:49 Configure a credential helper to remove this warning. See 13:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:49 13:42:49 Login Succeeded 13:42:49 nexus3.edgexfoundry.org:10002 13:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:49 Configure a credential helper to remove this warning. See 13:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:49 13:42:49 Login Succeeded 13:42:49 nexus3.edgexfoundry.org:10003 13:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:49 Configure a credential helper to remove this warning. See 13:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:49 13:42:49 Login Succeeded 13:42:49 nexus3.edgexfoundry.org:10004 13:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:49 Configure a credential helper to remove this warning. See 13:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:49 13:42:49 Login Succeeded 13:42:49 ****.io 13:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:49 Configure a credential helper to remove this warning. See 13:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:49 13:42:49 Login Succeeded 13:42:49 ---> ****-login.sh ends [Pipeline] } 13:42:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:42:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:42:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:42:49 ========================================================= 13:42:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:42:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:50 + 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:42:50 Sending build context to Docker daemon 19.95MB 13:42:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:42:50 Step 2/12 : FROM ${BASE} AS builder 13:42:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:42:50 619be1103602: Pulling fs layer 13:42:50 7862e08f4a3e: Pulling fs layer 13:42:50 5df492c9dc93: Pulling fs layer 13:42:50 7629e6793208: Pulling fs layer 13:42:50 4f4fb700ef54: Pulling fs layer 13:42:50 fb5054dd5b73: Pulling fs layer 13:42:50 eeca6798cff9: Pulling fs layer 13:42:50 aa269ceb94a6: Pulling fs layer 13:42:50 ada007ff1a6a: Pulling fs layer 13:42:50 fb5054dd5b73: Waiting 13:42:50 eeca6798cff9: Waiting 13:42:50 aa269ceb94a6: Waiting 13:42:50 ada007ff1a6a: Waiting 13:42:50 7629e6793208: Waiting 13:42:50 7862e08f4a3e: Verifying Checksum 13:42:50 7862e08f4a3e: Download complete 13:42:50 7629e6793208: Verifying Checksum 13:42:50 7629e6793208: Download complete 13:42:50 4f4fb700ef54: Verifying Checksum 13:42:50 4f4fb700ef54: Download complete 13:42:50 fb5054dd5b73: Verifying Checksum 13:42:50 fb5054dd5b73: Download complete 13:42:50 619be1103602: Verifying Checksum 13:42:50 619be1103602: Download complete 13:42:50 eeca6798cff9: Verifying Checksum 13:42:50 eeca6798cff9: Download complete 13:42:50 619be1103602: Pull complete 13:42:50 7862e08f4a3e: Pull complete 13:42:50 ada007ff1a6a: Verifying Checksum 13:42:51 5df492c9dc93: Verifying Checksum 13:42:51 5df492c9dc93: Download complete 13:42:51 aa269ceb94a6: Verifying Checksum 13:42:51 aa269ceb94a6: Download complete 13:42:54 5df492c9dc93: Pull complete 13:42:54 7629e6793208: Pull complete 13:42:54 4f4fb700ef54: Pull complete 13:42:54 fb5054dd5b73: Pull complete 13:42:54 eeca6798cff9: Pull complete 13:42:57 aa269ceb94a6: Pull complete 13:42:57 ada007ff1a6a: Pull complete 13:42:57 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 13:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:42:57 ---> f489d0715acc 13:42:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:43:03 Still waiting to schedule task 13:43:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:43:05 ---> Running in 5cf8088d2672 13:43:05 Removing intermediate container 5cf8088d2672 13:43:05 ---> 367575c4eedd 13:43:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:43:05 ---> Running in 176e641cd550 13:43:05 Removing intermediate container 176e641cd550 13:43:05 ---> 3b3373d6debb 13:43:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:43:05 ---> Running in 1f616f4257c6 13:43:05 Removing intermediate container 1f616f4257c6 13:43:05 ---> 6c82ead0c981 13:43:05 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:43:05 ---> Running in 529ef9f421f8 13:43:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:43:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:43:05 OK: 264 MiB in 52 packages 13:43:05 Removing intermediate container 529ef9f421f8 13:43:05 ---> d08183d91429 13:43:05 Step 7/12 : WORKDIR /app 13:43:05 ---> Running in feb24c47daa4 13:43:05 Removing intermediate container feb24c47daa4 13:43:05 ---> 1da94a2c5698 13:43:05 Step 8/12 : COPY go.mod vendor* ./ 13:43:06 ---> 5f0e331c5b9a 13:43:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:43:06 ---> Running in 32e89d477108 13:44:02 Removing intermediate container 32e89d477108 13:44:02 ---> 9c93ac483e42 13:44:02 Step 10/12 : COPY . . 13:44:02 ---> cc23c3df9db7 13:44:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:44:02 ---> Running in 04fb9a67d069 13:44:02 Removing intermediate container 04fb9a67d069 13:44:02 ---> 03ae93028822 13:44:02 Step 12/12 : RUN $MAKE 13:44:02 ---> Running in 115befb2127c 13:44:02 noop 13:44:02 Removing intermediate container 115befb2127c 13:44:02 ---> e780ed7805d7 13:44:02 Successfully built e780ed7805d7 13:44:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:44:02 + docker inspect -f . ci-base-image-x86_64 13:44:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:44:03 prd-ubuntu20.04-docker-8c-8g-12930 does not seem to be running inside a container 13:44:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-305 -v /w/workspace/y_app-rfid-llrp-inventory_PR-305:/w/workspace/y_app-rfid-llrp-inventory_PR-305:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-305@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-x86_64 cat 13:44:03 $ docker top e6a584908ec0357eb93e0590d04124e1c385298d50fe3b828568beeeb8a3da0b -eo pid,comm [Pipeline] { [Pipeline] sh 13:44:03 + go version 13:44:03 go version go1.21.9 linux/amd64 [Pipeline] } 13:44:03 $ docker stop --time=1 e6a584908ec0357eb93e0590d04124e1c385298d50fe3b828568beeeb8a3da0b 13:44:05 $ docker rm -f --volumes e6a584908ec0357eb93e0590d04124e1c385298d50fe3b828568beeeb8a3da0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:44:05 + docker inspect -f . ci-base-image-x86_64 13:44:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:44:06 prd-ubuntu20.04-docker-8c-8g-12930 does not seem to be running inside a container 13:44:06 $ 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-305 -v /w/workspace/y_app-rfid-llrp-inventory_PR-305:/w/workspace/y_app-rfid-llrp-inventory_PR-305:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-305@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-x86_64 cat 13:44:06 $ docker top 7fda1491e7f43354ab4881cb23475185e832ea14f30f24606571ecbc9a4be0bb -eo pid,comm [Pipeline] { [Pipeline] sh 13:44:06 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-305 [Pipeline] fileExists [Pipeline] sh 13:44:07 + make test 13:44:07 go test -race ./... -coverprofile=coverage.out ./... 13:44:39 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:44:39 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:44:39 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.128s coverage: 86.2% of statements 13:44:40 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.676s coverage: 71.9% of statements 13:45:12 go vet ./... 13:45:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:45:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:45:14 ./bin/test-attribution.sh 13:45:14 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:45:14 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:45:14 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:45:14 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:45:14 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:45:14 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:45:14 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:45:14 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:45:14 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:45:14 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:45:14 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add 13:45:14 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:45:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:45:15 $ docker stop --time=1 7fda1491e7f43354ab4881cb23475185e832ea14f30f24606571ecbc9a4be0bb 13:45:17 $ docker rm -f --volumes 7fda1491e7f43354ab4881cb23475185e832ea14f30f24606571ecbc9a4be0bb [Pipeline] // withDockerContainer [Pipeline] sh 13:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:45:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:45:19 + ls -al . 13:45:19 total 276 13:45:19 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 13:44 . 13:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 13:42 .. 13:45:19 -rw-rw-r-- 1 jenkins jenkins 262 Oct 2 13:42 .dockerignore 13:45:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 13:44 .git 13:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 13:42 .github 13:45:19 -rw-rw-r-- 1 jenkins jenkins 773 Oct 2 13:42 .gitignore 13:45:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 13:42 .golangci.yml 13:45:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 13:42 .semver 13:45:19 -rw-rw-r-- 1 jenkins jenkins 10232 Oct 2 13:42 Attribution.txt 13:45:19 -rw-rw-r-- 1 jenkins jenkins 11245 Oct 2 13:42 CHANGELOG.md 13:45:19 -rw-rw-r-- 1 jenkins jenkins 1768 Oct 2 13:42 Dockerfile 13:45:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 13:42 GOVERNANCE.md 13:45:19 -rw-rw-r-- 1 jenkins jenkins 665 Oct 2 13:42 Jenkinsfile 13:45:19 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 2 13:42 LICENSE 13:45:19 -rw-rw-r-- 1 jenkins jenkins 2503 Oct 2 13:42 Makefile 13:45:19 -rw-rw-r-- 1 jenkins jenkins 617 Oct 2 13:42 OWNERS.md 13:45:19 -rw-rw-r-- 1 jenkins jenkins 3851 Oct 2 13:42 README.md 13:45:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 13:42 VERSION 13:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 13:42 bin 13:45:19 -rw-r--r-- 1 jenkins jenkins 41317 Oct 2 13:44 coverage.out 13:45:19 -rw-rw-r-- 1 jenkins jenkins 7508 Oct 2 13:42 go.mod 13:45:19 -rw-rw-r-- 1 jenkins jenkins 100922 Oct 2 13:42 go.sum 13:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 13:42 images 13:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 13:42 internal 13:45:19 -rw-rw-r-- 1 jenkins jenkins 531 Oct 2 13:42 main.go 13:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 13:42 openapi 13:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 13:42 res 13:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 13:42 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:19 + 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=6fc9fe7912a969301078fb2ed35d08f95852c5b9 --label arch=amd64 --label version=0.0.0 . 13:45:19 Sending build context to Docker daemon 19.95MB 13:45:19 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:45:19 Step 2/30 : FROM ${BASE} AS builder 13:45:19 ---> e780ed7805d7 13:45:19 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:45:19 ---> Running in 14b1268a9581 13:45:19 Removing intermediate container 14b1268a9581 13:45:19 ---> ab92425a3c6b 13:45:19 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:45:19 ---> Running in e382647a2284 13:45:19 Removing intermediate container e382647a2284 13:45:19 ---> b9d9901f48f7 13:45:19 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:45:19 ---> Running in 3e0a315601b2 13:45:19 Removing intermediate container 3e0a315601b2 13:45:19 ---> e20b1c15fbd9 13:45:19 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:45:20 ---> Running in b3386401c504 13:45:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:45:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:45:20 OK: 264 MiB in 52 packages 13:45:20 Removing intermediate container b3386401c504 13:45:20 ---> 80e99bdd9825 13:45:20 Step 7/30 : WORKDIR /app 13:45:20 ---> Running in 3e7d4831e00e 13:45:21 Removing intermediate container 3e7d4831e00e 13:45:21 ---> e4ddb2ac8858 13:45:21 Step 8/30 : COPY go.mod vendor* ./ 13:45:21 ---> 7fe3adb188d3 13:45:21 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:45:21 ---> Running in f50f9f7448b3 13:45:21 Removing intermediate container f50f9f7448b3 13:45:21 ---> b20266a9d0bd 13:45:21 Step 10/30 : COPY . . 13:45:22 ---> a9c919f292ed 13:45:22 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:45:22 ---> Running in f46e5be1b316 13:45:22 Removing intermediate container f46e5be1b316 13:45:22 ---> df5ed5cd1a10 13:45:22 Step 12/30 : RUN $MAKE 13:45:22 ---> Running in 601de0e26715 13:45:22 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.52 -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:45:49 Removing intermediate container 601de0e26715 13:45:49 ---> f9e37e4781d3 13:45:49 Step 13/30 : FROM alpine:3.18 13:45:49 3.18: Pulling from library/alpine 13:45:49 1cc3d825d8b2: Pulling fs layer 13:45:49 1cc3d825d8b2: Download complete 13:45:49 1cc3d825d8b2: Pull complete 13:45:49 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 13:45:49 Status: Downloaded newer image for alpine:3.18 13:45:49 ---> 2c64cf60f6f0 13:45:49 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:45:49 ---> Running in bcfa7b6876cf 13:45:49 Removing intermediate container bcfa7b6876cf 13:45:49 ---> dbdd6948d333 13:45:49 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:45:49 ---> Running in ef70d79084f2 13:45:49 Removing intermediate container ef70d79084f2 13:45:49 ---> 084b3281026a 13:45:49 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:45:49 ---> Running in aab343f7049e 13:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:45:50 (1/2) Installing ca-certificates (20240226-r0) 13:45:50 (2/2) Installing dumb-init (1.2.5-r2) 13:45:50 Executing busybox-1.36.1-r7.trigger 13:45:50 Executing ca-certificates-20240226-r0.trigger 13:45:50 OK: 8 MiB in 17 packages 13:45:50 Removing intermediate container aab343f7049e 13:45:50 ---> 0d6e89732f18 13:45:50 Step 17/30 : RUN apk --no-cache upgrade 13:45:50 ---> Running in 59630395c2e1 13:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:45:51 OK: 8 MiB in 17 packages 13:45:51 Removing intermediate container 59630395c2e1 13:45:51 ---> b43966b31f06 13:45:51 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:45:51 ---> bd4706128584 13:45:51 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:45:51 ---> b18fe4ae53a1 13:45:51 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:45:51 ---> a162906d88b5 13:45:51 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:45:51 ---> 4081c43e8f95 13:45:51 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:45:52 ---> 7f4fd7286b02 13:45:52 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:45:52 ---> Running in ccac586573fb 13:45:53 Removing intermediate container ccac586573fb 13:45:53 ---> 47fbf70d0b5a 13:45:53 Step 24/30 : VOLUME /cache 13:45:53 ---> Running in 9be676c9f620 13:45:53 Removing intermediate container 9be676c9f620 13:45:53 ---> a6103d840893 13:45:53 Step 25/30 : EXPOSE 59711 13:45:53 ---> Running in 0d71a59e878e 13:45:53 Removing intermediate container 0d71a59e878e 13:45:53 ---> 69903a6fbc42 13:45:53 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:45:53 ---> Running in 00fa16b2a980 13:45:53 Removing intermediate container 00fa16b2a980 13:45:53 ---> 9950995d2f91 13:45:53 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:45:53 ---> Running in 1f3334c3cff7 13:45:53 Removing intermediate container 1f3334c3cff7 13:45:53 ---> 954096a3fbd2 13:45:53 Step 28/30 : LABEL arch=amd64 13:45:53 ---> Running in b47bfca7e0e8 13:45:53 Removing intermediate container b47bfca7e0e8 13:45:53 ---> 177cd6b9d30b 13:45:53 Step 29/30 : LABEL git_sha=6fc9fe7912a969301078fb2ed35d08f95852c5b9 13:45:53 ---> Running in fd8e65734146 13:45:53 Removing intermediate container fd8e65734146 13:45:53 ---> 8fe2941989c7 13:45:53 Step 30/30 : LABEL version=0.0.0 13:45:53 ---> Running in de7d51b2d8ed 13:45:53 Removing intermediate container de7d51b2d8ed 13:45:53 ---> 4242063e5d9d 13:45:53 [Warning] One or more build-args [ARCH] were not consumed 13:45:53 Successfully built 4242063e5d9d 13:45:53 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:54 13:45:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:55 latest: Pulling from edgex-lftools-log-publisher 13:45:55 5eb5b503b376: Pulling fs layer 13:45:55 5c69ac0246d0: Pulling fs layer 13:45:55 ec43610c2a17: Pulling fs layer 13:45:55 3a2ae6a8a46f: Pulling fs layer 13:45:55 33b1e0a273af: Pulling fs layer 13:45:55 5d3b04190fa2: Pulling fs layer 13:45:55 2f39f015ded8: Pulling fs layer 13:45:55 3a2ae6a8a46f: Waiting 13:45:55 33b1e0a273af: Waiting 13:45:55 5d3b04190fa2: Waiting 13:45:55 2f39f015ded8: Waiting 13:45:55 5c69ac0246d0: Verifying Checksum 13:45:55 5c69ac0246d0: Download complete 13:45:55 3a2ae6a8a46f: Verifying Checksum 13:45:55 3a2ae6a8a46f: Download complete 13:45:55 33b1e0a273af: Verifying Checksum 13:45:55 33b1e0a273af: Download complete 13:45:55 5d3b04190fa2: Download complete 13:45:55 ec43610c2a17: Verifying Checksum 13:45:55 ec43610c2a17: Download complete 13:45:55 5eb5b503b376: Verifying Checksum 13:45:55 5eb5b503b376: Download complete 13:45:56 2f39f015ded8: Download complete 13:45:56 5eb5b503b376: Pull complete 13:45:56 5c69ac0246d0: Pull complete 13:45:57 ec43610c2a17: Pull complete 13:45:57 3a2ae6a8a46f: Pull complete 13:45:57 33b1e0a273af: Pull complete 13:45:57 5d3b04190fa2: Pull complete 13:46:01 2f39f015ded8: Pull complete 13:46:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:46:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:46:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:02 prd-ubuntu20.04-docker-8c-8g-12930 does not seem to be running inside a container 13:46:02 $ 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-305 -v /w/workspace/y_app-rfid-llrp-inventory_PR-305:/w/workspace/y_app-rfid-llrp-inventory_PR-305:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-305@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:46:08 $ docker top 012ee761d9641db84fe1c07b85b09d12f4f5f56875dc99ed0ddb949503375233 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:08 ---> job-cost.sh 13:46:08 lf-activate-venv: SKIPPING 13:46:08 INFO: No Stack... 13:46:09 INFO: Retrieving Pricing Info for: v3-standard-8 13:46:09 INFO: Archiving Costs [Pipeline] sh 13:46:09 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-305/archives/cost.csv 13:46:09 + cut -d, -f6 [Pipeline] lock 13:46:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] 13:46:09 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] did not exist. Created. 13:46:09 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:46:10 + echo total: 0.2199999988079071 [Pipeline] stash 13:46:10 Stashed 1 file(s) [Pipeline] } 13:46:10 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:46:10 $ docker stop --time=1 012ee761d9641db84fe1c07b85b09d12f4f5f56875dc99ed0ddb949503375233 13:46:11 $ docker rm -f --volumes 012ee761d9641db84fe1c07b85b09d12f4f5f56875dc99ed0ddb949503375233 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:57:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12952 in /w/workspace/y_app-rfid-llrp-inventory_PR-305 [Pipeline] { [Pipeline] ws 13:57:19 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:57:19 The recommended git tool is: git 13:57:25 using credential edgex-jenkins-ssh 13:57:25 Cloning the remote Git repository 13:57:25 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:57:25 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:57:25 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:57:25 > git --version # timeout=10 13:57:25 > git --version # 'git version 2.25.1' 13:57:25 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:29 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:57:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:30 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:57:30 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:57:30 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:57:31 Merging remotes/origin/main commit 8b427122073dff864e259b6e7085ea8271351a60 into PR head commit 6fc9fe7912a969301078fb2ed35d08f95852c5b9 13:57:31 Merge succeeded, producing 6fc9fe7912a969301078fb2ed35d08f95852c5b9 13:57:31 Checking out Revision 6fc9fe7912a969301078fb2ed35d08f95852c5b9 (PR-305) 13:57:32 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:57:32 > git --version # timeout=10 13:57:32 > git --version # 'git version 2.25.1' 13:57:32 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 13:57:31 > git config core.sparsecheckout # timeout=10 13:57:31 > git checkout -f 6fc9fe7912a969301078fb2ed35d08f95852c5b9 # timeout=10 13:57:31 > git remote # timeout=10 13:57:31 > git config --get remote.origin.url # timeout=10 13:57:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:31 > git merge 8b427122073dff864e259b6e7085ea8271351a60 # timeout=10 13:57:31 > git rev-parse HEAD^{commit} # timeout=10 13:57:31 > git config core.sparsecheckout # timeout=10 13:57:31 > git checkout -f 6fc9fe7912a969301078fb2ed35d08f95852c5b9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:57:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:57:37 % Total % Received % Xferd Average Speed Time Time Time Current 13:57:37 Dload Upload Total Spent Left Speed 13:57:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh 13:57:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:57:38 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 13:57:38 /etc/docker/daemon.new 13:57:38 { 13:57:38 "registry-mirrors": [ 13:57:38 "https://nexus3.edgexfoundry.org:10001" 13:57:38 ], 13:57:38 "bip": "10.250.0.254/24", 13:57:38 "hosts": [ 13:57:38 "tcp://0.0.0.0:5555", 13:57:38 "unix:///var/run/docker.sock" 13:57:38 ], 13:57:38 "mtu": 1458, 13:57:38 "selinux-enabled": true, 13:57:38 "seccomp-profile": "/etc/docker/seccomp.json" 13:57:38 } [Pipeline] sh 13:57:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:57:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:57:57 provisioning config files... 13:57:57 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config5658690611678477619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:57:57 ---> ****-login.sh 13:57:57 nexus3.edgexfoundry.org:10001 13:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:57:58 Configure a credential helper to remove this warning. See 13:57:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:57:58 13:57:58 Login Succeeded 13:57:58 nexus3.edgexfoundry.org:10002 13:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:57:58 Configure a credential helper to remove this warning. See 13:57:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:57:58 13:57:58 Login Succeeded 13:57:58 nexus3.edgexfoundry.org:10003 13:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:57:59 Configure a credential helper to remove this warning. See 13:57:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:57:59 13:57:59 Login Succeeded 13:57:59 nexus3.edgexfoundry.org:10004 13:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:57:59 Configure a credential helper to remove this warning. See 13:57:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:57:59 13:57:59 Login Succeeded 13:57:59 ****.io 13:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:58:00 Configure a credential helper to remove this warning. See 13:58:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:58:00 13:58:00 Login Succeeded 13:58:00 ---> ****-login.sh ends [Pipeline] } 13:58:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:58:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:58:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:58:00 ========================================================= 13:58:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:58:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:01 + 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:58:01 Sending build context to Docker daemon 673.8kB 13:58:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:58:01 Step 2/12 : FROM ${BASE} AS builder 13:58:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:58:01 c6b39de5b339: Pulling fs layer 13:58:01 a69c41024577: Pulling fs layer 13:58:01 d6de4b400683: Pulling fs layer 13:58:01 35cb2a7552d0: Pulling fs layer 13:58:01 4f4fb700ef54: Pulling fs layer 13:58:01 464afbd9ba4c: Pulling fs layer 13:58:01 00f215d4a9da: Pulling fs layer 13:58:01 d496ad576159: Pulling fs layer 13:58:01 35cb2a7552d0: Waiting 13:58:01 4f4fb700ef54: Waiting 13:58:01 d496ad576159: Waiting 13:58:01 464afbd9ba4c: Waiting 13:58:01 a69c41024577: Verifying Checksum 13:58:01 a69c41024577: Download complete 13:58:01 35cb2a7552d0: Verifying Checksum 13:58:01 35cb2a7552d0: Download complete 13:58:01 4f4fb700ef54: Verifying Checksum 13:58:01 4f4fb700ef54: Download complete 13:58:01 464afbd9ba4c: Verifying Checksum 13:58:01 464afbd9ba4c: Download complete 13:58:01 c6b39de5b339: Download complete 13:58:02 d496ad576159: Verifying Checksum 13:58:02 d496ad576159: Download complete 13:58:02 c6b39de5b339: Pull complete 13:58:03 a69c41024577: Pull complete 13:58:03 d6de4b400683: Verifying Checksum 13:58:03 d6de4b400683: Download complete 13:58:04 00f215d4a9da: Verifying Checksum 13:58:04 00f215d4a9da: Download complete 13:58:17 d6de4b400683: Pull complete 13:58:17 35cb2a7552d0: Pull complete 13:58:17 4f4fb700ef54: Pull complete 13:58:17 464afbd9ba4c: Pull complete 13:58:25 00f215d4a9da: Pull complete 13:58:26 d496ad576159: Pull complete 13:58:26 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 13:58:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:58:26 ---> f246e2811388 13:58:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:58:28 ---> Running in ce964969ae14 13:58:28 Removing intermediate container ce964969ae14 13:58:28 ---> d53dd6a8c46f 13:58:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:58:28 ---> Running in 0075a5f5ec1b 13:58:29 Removing intermediate container 0075a5f5ec1b 13:58:29 ---> 3e5da1b6525f 13:58:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:58:29 ---> Running in 1bdead3732ea 13:58:29 Removing intermediate container 1bdead3732ea 13:58:29 ---> c694d10f6683 13:58:29 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:58:29 ---> Running in b3795174d659 13:58:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:58:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:58:31 OK: 266 MiB in 52 packages 13:58:32 Removing intermediate container b3795174d659 13:58:32 ---> 056363ad70b2 13:58:32 Step 7/12 : WORKDIR /app 13:58:32 ---> Running in 08a06b86d7bd 13:58:32 Removing intermediate container 08a06b86d7bd 13:58:32 ---> 408643c4e2af 13:58:32 Step 8/12 : COPY go.mod vendor* ./ 13:58:33 ---> 99a9525b44c6 13:58:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:58:33 ---> Running in b62ef932299a 14:00:25 Removing intermediate container b62ef932299a 14:00:25 ---> d3fa54619fbd 14:00:25 Step 10/12 : COPY . . 14:00:25 ---> 05f304389691 14:00:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:00:25 ---> Running in 2d45729018a0 14:00:25 Removing intermediate container 2d45729018a0 14:00:25 ---> 4e1509fcf06b 14:00:25 Step 12/12 : RUN $MAKE 14:00:25 ---> Running in 3f2c8f062701 14:00:26 noop 14:00:27 Removing intermediate container 3f2c8f062701 14:00:27 ---> bfdedd8476bc 14:00:27 Successfully built bfdedd8476bc 14:00:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:27 + docker inspect -f . ci-base-image-arm64 14:00:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:00:28 prd-ubuntu20.04-docker-arm64-4c-16g-12952 does not seem to be running inside a container 14:00:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:00:29 $ docker top 8cd46d3835fff62d4fb53b7aa566b1a20dcd65119794df3db5744a3ec3081ec1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:30 + go version 14:00:30 go version go1.21.9 linux/arm64 [Pipeline] } 14:00:30 $ docker stop --time=1 8cd46d3835fff62d4fb53b7aa566b1a20dcd65119794df3db5744a3ec3081ec1 14:00:31 $ docker rm -f --volumes 8cd46d3835fff62d4fb53b7aa566b1a20dcd65119794df3db5744a3ec3081ec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:33 + docker inspect -f . ci-base-image-arm64 14:00:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:00:35 prd-ubuntu20.04-docker-arm64-4c-16g-12952 does not seem to be running inside a container 14:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:00:37 $ docker top f27af0abd4d97e50644005dd8e4f5911fcba0e0e8fa7f6801d82092ce06c2ac0 -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:38 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 14:00:38 + make test 14:00:38 go test -race ./... -coverprofile=coverage.out ./... 14:05:06 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 14:05:06 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 14:05:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.981s coverage: 86.2% of statements 14:05:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.321s coverage: 71.9% of statements 14:05:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:05:15 go vet ./... 14:09:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:09:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:09:21 ./bin/test-attribution.sh 14:09:21 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 14:09:21 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 14:09:21 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 14:09:21 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 14:09:21 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 14:09:21 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 14:09:21 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 14:09:21 An attribution for golang.org/x/term is missing from Attribution.txt, please add 14:09:21 An attribution for golang.org/x/time is missing from Attribution.txt, please add 14:09:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 14:09:21 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add 14:09:21 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 14:09:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:09:22 $ docker stop --time=1 f27af0abd4d97e50644005dd8e4f5911fcba0e0e8fa7f6801d82092ce06c2ac0 14:09:23 $ docker rm -f --volumes f27af0abd4d97e50644005dd8e4f5911fcba0e0e8fa7f6801d82092ce06c2ac0 [Pipeline] // withDockerContainer [Pipeline] sh 14:09:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:09:26 Warning: overwriting stash ‘coverage-report’ 14:09:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:09:27 + ls -al . 14:09:27 total 272 14:09:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 14:00 . 14:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 13:57 .. 14:09:27 -rw-rw-r-- 1 jenkins jenkins 262 Oct 2 13:57 .dockerignore 14:09:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 13:57 .git 14:09:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 13:57 .github 14:09:27 -rw-rw-r-- 1 jenkins jenkins 773 Oct 2 13:57 .gitignore 14:09:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 13:57 .golangci.yml 14:09:27 -rw-rw-r-- 1 jenkins jenkins 10232 Oct 2 13:57 Attribution.txt 14:09:27 -rw-rw-r-- 1 jenkins jenkins 11245 Oct 2 13:57 CHANGELOG.md 14:09:27 -rw-rw-r-- 1 jenkins jenkins 1768 Oct 2 13:57 Dockerfile 14:09:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 13:57 GOVERNANCE.md 14:09:27 -rw-rw-r-- 1 jenkins jenkins 665 Oct 2 13:57 Jenkinsfile 14:09:27 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 2 13:57 LICENSE 14:09:27 -rw-rw-r-- 1 jenkins jenkins 2503 Oct 2 13:57 Makefile 14:09:27 -rw-rw-r-- 1 jenkins jenkins 617 Oct 2 13:57 OWNERS.md 14:09:27 -rw-rw-r-- 1 jenkins jenkins 3851 Oct 2 13:57 README.md 14:09:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 13:42 VERSION 14:09:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 13:57 bin 14:09:27 -rw-r--r-- 1 jenkins jenkins 41317 Oct 2 14:05 coverage.out 14:09:27 -rw-rw-r-- 1 jenkins jenkins 7508 Oct 2 13:57 go.mod 14:09:27 -rw-rw-r-- 1 jenkins jenkins 100922 Oct 2 13:57 go.sum 14:09:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 13:57 images 14:09:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 13:57 internal 14:09:27 -rw-rw-r-- 1 jenkins jenkins 531 Oct 2 13:57 main.go 14:09:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 13:57 openapi 14:09:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 13:57 res 14:09:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 13:57 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:28 + 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=6fc9fe7912a969301078fb2ed35d08f95852c5b9 --label arch=arm64 --label version=0.0.0 . 14:09:28 Sending build context to Docker daemon 673.8kB 14:09:28 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 14:09:28 Step 2/30 : FROM ${BASE} AS builder 14:09:28 ---> bfdedd8476bc 14:09:28 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 14:09:28 ---> Running in 40cb76f7dbd4 14:09:28 Removing intermediate container 40cb76f7dbd4 14:09:28 ---> c6321da34e67 14:09:28 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 14:09:29 ---> Running in 883dd0b71ddc 14:09:29 Removing intermediate container 883dd0b71ddc 14:09:29 ---> 2fbcd26a40ed 14:09:29 Step 5/30 : ARG ADD_BUILD_TAGS="" 14:09:29 ---> Running in a3d44204fd58 14:09:29 Removing intermediate container a3d44204fd58 14:09:29 ---> 33aeb46eca30 14:09:29 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:09:29 ---> Running in ffadcc276f7b 14:09:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:09:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:09:32 OK: 266 MiB in 52 packages 14:09:33 Removing intermediate container ffadcc276f7b 14:09:33 ---> b52532188e07 14:09:33 Step 7/30 : WORKDIR /app 14:09:33 ---> Running in 1cda50776811 14:09:33 Removing intermediate container 1cda50776811 14:09:33 ---> bd04daf8775b 14:09:33 Step 8/30 : COPY go.mod vendor* ./ 14:09:33 ---> e049a2f49382 14:09:33 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:09:33 ---> Running in ae918fce1de9 14:09:35 Removing intermediate container ae918fce1de9 14:09:35 ---> 60c9edd48539 14:09:35 Step 10/30 : COPY . . 14:09:36 ---> 1887218bba6a 14:09:36 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:09:36 ---> Running in e579daedf538 14:09:36 Removing intermediate container e579daedf538 14:09:36 ---> 98e862632c3e 14:09:36 Step 12/30 : RUN $MAKE 14:09:36 ---> Running in c086e0fb764c 14:09:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.52 -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 14:13:14 Removing intermediate container c086e0fb764c 14:13:14 ---> 3a96f9ca84ee 14:13:14 Step 13/30 : FROM alpine:3.18 14:13:14 3.18: Pulling from library/alpine 14:13:14 720f3032cd11: Pulling fs layer 14:13:15 720f3032cd11: Verifying Checksum 14:13:15 720f3032cd11: Download complete 14:13:15 720f3032cd11: Pull complete 14:13:15 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 14:13:15 Status: Downloaded newer image for alpine:3.18 14:13:15 ---> 3e834921e367 14:13:15 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:13:15 ---> Running in b38bc4a04f83 14:13:16 Removing intermediate container b38bc4a04f83 14:13:16 ---> b46b7a541351 14:13:16 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 14:13:16 ---> Running in 5d1cf8b3af16 14:13:16 Removing intermediate container 5d1cf8b3af16 14:13:16 ---> 1abb8f21804f 14:13:16 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 14:13:16 ---> Running in fbb650a9aa37 14:13:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:13:18 (1/2) Installing ca-certificates (20240226-r0) 14:13:19 (2/2) Installing dumb-init (1.2.5-r2) 14:13:19 Executing busybox-1.36.1-r7.trigger 14:13:19 Executing ca-certificates-20240226-r0.trigger 14:13:19 OK: 9 MiB in 17 packages 14:13:20 Removing intermediate container fbb650a9aa37 14:13:20 ---> 85a4a1d05d3b 14:13:20 Step 17/30 : RUN apk --no-cache upgrade 14:13:20 ---> Running in 539c549e85fc 14:13:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:13:22 OK: 9 MiB in 17 packages 14:13:23 Removing intermediate container 539c549e85fc 14:13:23 ---> 99531ff46c76 14:13:23 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:13:24 ---> 1633c806269c 14:13:24 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 14:13:24 ---> f8b64f2f0fb3 14:13:24 Step 20/30 : COPY --from=builder /app/res/ /res/ 14:13:24 ---> a7eaa8e286d3 14:13:24 Step 21/30 : COPY --from=builder /app/static/ /static/ 14:13:25 ---> 2cb7f76b9b10 14:13:25 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 14:13:27 ---> ab1254de1474 14:13:27 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 14:13:27 ---> Running in 2dc423c8acd6 14:13:28 Removing intermediate container 2dc423c8acd6 14:13:28 ---> 0657d32719e2 14:13:28 Step 24/30 : VOLUME /cache 14:13:28 ---> Running in e12f81aec413 14:13:28 Removing intermediate container e12f81aec413 14:13:28 ---> 9b39cc22b485 14:13:28 Step 25/30 : EXPOSE 59711 14:13:29 ---> Running in 6f74b1407f61 14:13:29 Removing intermediate container 6f74b1407f61 14:13:29 ---> 598d305438a5 14:13:29 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 14:13:29 ---> Running in b9f50c08d011 14:13:29 Removing intermediate container b9f50c08d011 14:13:29 ---> 7842c62e0c3c 14:13:29 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 14:13:29 ---> Running in 43346d87ddb7 14:13:30 Removing intermediate container 43346d87ddb7 14:13:30 ---> 99d8ec17b53d 14:13:30 Step 28/30 : LABEL arch=arm64 14:13:30 ---> Running in 9a0a5879c3be 14:13:30 Removing intermediate container 9a0a5879c3be 14:13:30 ---> d3cf9f6fcd55 14:13:30 Step 29/30 : LABEL git_sha=6fc9fe7912a969301078fb2ed35d08f95852c5b9 14:13:30 ---> Running in 4b88a1eacf6e 14:13:30 Removing intermediate container 4b88a1eacf6e 14:13:30 ---> 4f76fe4bc61e 14:13:30 Step 30/30 : LABEL version=0.0.0 14:13:30 ---> Running in a84c334e94a8 14:13:31 Removing intermediate container a84c334e94a8 14:13:31 ---> 787f7539df1b 14:13:31 [Warning] One or more build-args [ARCH] were not consumed 14:13:31 Successfully built 787f7539df1b 14:13:31 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 14:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:13:32 14:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:13:32 arm64: Pulling from edgex-lftools-log-publisher 14:13:32 8998bd30e6a1: Pulling fs layer 14:13:32 04944245beec: Pulling fs layer 14:13:32 699f458cf7ca: Pulling fs layer 14:13:32 765212b225bb: Pulling fs layer 14:13:32 f23df028b6ca: Pulling fs layer 14:13:32 d65c8cfc05b1: Pulling fs layer 14:13:32 2437ff75d9bd: Pulling fs layer 14:13:32 765212b225bb: Waiting 14:13:32 d65c8cfc05b1: Waiting 14:13:32 2437ff75d9bd: Waiting 14:13:32 f23df028b6ca: Waiting 14:13:32 04944245beec: Verifying Checksum 14:13:32 04944245beec: Download complete 14:13:32 765212b225bb: Verifying Checksum 14:13:32 765212b225bb: Download complete 14:13:32 f23df028b6ca: Verifying Checksum 14:13:32 f23df028b6ca: Download complete 14:13:32 d65c8cfc05b1: Verifying Checksum 14:13:32 d65c8cfc05b1: Download complete 14:13:33 699f458cf7ca: Verifying Checksum 14:13:33 699f458cf7ca: Download complete 14:13:33 8998bd30e6a1: Verifying Checksum 14:13:33 8998bd30e6a1: Download complete 14:13:35 2437ff75d9bd: Verifying Checksum 14:13:35 2437ff75d9bd: Download complete 14:13:37 8998bd30e6a1: Pull complete 14:13:38 04944245beec: Pull complete 14:13:40 699f458cf7ca: Pull complete 14:13:40 765212b225bb: Pull complete 14:13:40 f23df028b6ca: Pull complete 14:13:41 d65c8cfc05b1: Pull complete 14:13:59 2437ff75d9bd: Pull complete 14:13:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:13:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:59 prd-ubuntu20.04-docker-arm64-4c-16g-12952 does not seem to be running inside a container 14:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:14:02 $ docker top 9af3c19f760b3c1509158d1ad751eda2a23997e17b5ab1dcf65e3ae6ca916d02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:03 ---> job-cost.sh 14:14:03 lf-activate-venv: SKIPPING 14:14:03 INFO: No Stack... 14:14:03 INFO: Retrieving Pricing Info for: v3-standard-4 14:14:04 INFO: Archiving Costs [Pipeline] sh 14:14:05 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 14:14:05 + cut -d, -f6 [Pipeline] lock 14:14:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] 14:14:05 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] did not exist. Created. 14:14:05 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:14:06 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-7502a971/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:14:06 + echo total: 0.10999999940395355 [Pipeline] stash 14:14:06 Warning: overwriting stash ‘stack-cost’ 14:14:06 Stashed 1 file(s) [Pipeline] } 14:14:06 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-305-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:14:06 $ docker stop --time=1 9af3c19f760b3c1509158d1ad751eda2a23997e17b5ab1dcf65e3ae6ca916d02 14:14:08 $ docker rm -f --volumes 9af3c19f760b3c1509158d1ad751eda2a23997e17b5ab1dcf65e3ae6ca916d02 [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 14:14:09 provisioning config files... 14:14:09 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/config8084508244498758961tmp [Pipeline] { [Pipeline] sh 14:14:10 + set +x 14:14:10 + curl -s https://codecov.io/bash 14:14:10 + bash -s -- 14:14:10 14:14:10 _____ _ 14:14:10 / ____| | | 14:14:10 | | ___ __| | ___ ___ _____ __ 14:14:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:14:10 | |___| (_) | (_| | __/ (_| (_) \ V / 14:14:10 \_____\___/ \__,_|\___|\___\___/ \_/ 14:14:10 Bash-1.0.6 14:14:10 14:14:10 14:14:10 ==> git version 2.25.1 found 14:14:10 ==> 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 14:14:10 Release-Date: 2020-01-08 14:14:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:14:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:14:10 ==> Jenkins CI detected. 14:14:10 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-305 14:14:10 project root: . 14:14:10 --> token set from env 14:14:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:14:10 ==> Running gcov in . (disable via -X gcov) 14:14:10 ==> Python coveragepy not found 14:14:10 ==> Searching for coverage reports in: 14:14:10 + . 14:14:10 -> Found 1 reports 14:14:10 ==> Detecting git/mercurial file structure 14:14:10 ==> Reading reports 14:14:10 + ./coverage.out bytes=41317 14:14:10 ==> Appending adjustments 14:14:10 https://docs.codecov.io/docs/fixing-reports 14:14:10 + Found adjustments 14:14:10 ==> Gzipping contents 14:14:10 12K /tmp/codecov.knZfQZ.gz 14:14:10 ==> Uploading reports 14:14:10 url: https://codecov.io 14:14:10 query: branch=PR-305&commit=6fc9fe7912a969301078fb2ed35d08f95852c5b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-305%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=305&job=&cmd_args= 14:14:10 -> Pinging Codecov 14:14:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-305&commit=6fc9fe7912a969301078fb2ed35d08f95852c5b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-305%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=305&job=&cmd_args= 14:14:10 -> Uploading to 14:14:10 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rfid-llrp-go/6fc9fe7912a969301078fb2ed35d08f95852c5b9/a091b8eb-bd65-4076-82de-aecf5a531f3e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T141410Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=382f2dc35c83e7213221c1794c256034ce2685726c1cf81a095ca5cedc04c32c 14:14:10 % Total % Received % Xferd Average Speed Time Time Time Current 14:14:10 Dload Upload Total Spent Left Speed 14:14:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11611 0 0 100 11611 0 49619 --:--:-- --:--:-- --:--:-- 49832 14:14:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/6fc9fe7912a969301078fb2ed35d08f95852c5b9 [Pipeline] } 14:14:10 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 14:14:13 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-305/archives ] 14:14:13 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-305/archives 14:14:13 total 16 14:14:13 drwxr-xr-x 3 root root 4096 Oct 2 13:46 . 14:14:13 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 13:46 .. 14:14:13 drwxr-xr-x 2 root root 4096 Oct 2 13:46 cost 14:14:13 -rw-r--r-- 1 root root 95 Oct 2 13:46 cost.csv 14:14:13 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-305/archives 14:14:13 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-305/archives 14:14:13 total 16 14:14:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 13:46 . 14:14:13 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 13:46 .. 14:14:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 13:46 cost 14:14:13 -rw-r--r-- 1 jenkins jenkins 95 Oct 2 13:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:14:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:14:14 ---> package-listing.sh 14:14:14 ++ tr '[:upper:]' '[:lower:]' 14:14:14 ++ facter osfamily 14:14:14 + OS_FAMILY=debian 14:14:14 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-305 14:14:14 + START_PACKAGES=/tmp/packages_start.txt 14:14:14 + END_PACKAGES=/tmp/packages_end.txt 14:14:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:14:14 + PACKAGES=/tmp/packages_start.txt 14:14:14 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-305 ']' 14:14:14 + PACKAGES=/tmp/packages_end.txt 14:14:14 + case "${OS_FAMILY}" in 14:14:14 + dpkg -l 14:14:14 + grep '^ii' 14:14:14 + '[' -f /tmp/packages_start.txt ']' 14:14:14 + '[' -f /tmp/packages_end.txt ']' 14:14:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:14:14 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-305 ']' 14:14:14 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-305/archives/ 14:14:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-305/archives/ [Pipeline] echo 14:14:14 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:14:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:14:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:16 prd-ubuntu20.04-docker-8c-8g-12930 does not seem to be running inside a container 14:14:16 $ 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-305/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-305 -v /w/workspace/y_app-rfid-llrp-inventory_PR-305:/w/workspace/y_app-rfid-llrp-inventory_PR-305:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-305@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:14:16 $ docker top 008e769f043b7c557fcd4f87938b44f25ace7eaa2c14a1a44602abb1f8f29829 -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:16 + touch /tmp/pre-build-complete [Pipeline] sh 14:14:17 + mkdir -p /var/log/sysstat [Pipeline] sh 14:14:17 + ls /var/log/sa-host 14:14:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:14:17 provisioning config files... 14:14:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-305@tmp/config3901016515579777460tmp [Pipeline] { [Pipeline] echo 14:14:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:14:18 ---> create-netrc.sh [Pipeline] } 14:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:14:18 ---> python-tools-install.sh [Pipeline] echo 14:14:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:14:18 ---> sudo-logs.sh 14:14:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:14:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:14:19 ---> job-cost.sh 14:14:19 lf-activate-venv: SKIPPING 14:14:19 DEBUG: total: 0.2199999988079071 14:14:19 INFO: Retrieving Stack Cost... 14:14:19 INFO: Retrieving Pricing Info for: v3-standard-8 14:14:20 INFO: Archiving Costs [Pipeline] echo 14:14:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:14:20 ---> logs-deploy.sh 14:14:20 lf-activate-venv: SKIPPING 14:14:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-305/1 14:14:20 INFO: archiving workspace using pattern(s): 14:14:21 Archives upload complete. 14:14:21 INFO: archiving logs to Nexus