Pull request #314 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from 9bcf1c1a7df6826f85d6a4b469231087c6ad6391+82880f0cc7c1e2380d7f481834f50bb91fae5b58 (fe90173ad8b811d747bf474e8f692fb5e2f59ec7) 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-ssh15233844274917013774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh398042942716805897.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-314/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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16110907756620794093.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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8624263908329522002.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh2535488236868423623.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-314/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-314/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh849403606088113278.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24758 in /w/workspace/y_app-rfid-llrp-inventory_PR-314 [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-314 # 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 Merging remotes/origin/main commit 82880f0cc7c1e2380d7f481834f50bb91fae5b58 into PR head commit 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 Merge succeeded, producing 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 Checking out Revision 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 (PR-314) > 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/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 # 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 82880f0cc7c1e2380d7f481834f50bb91fae5b58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:30:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:30:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:30:38 ========================================================= 09:30:38 EdgeX Global Pipelines Version Info 09:30:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:30:39 ------------------- 09:30:39 stable info: 09:30:39 ------------------- 09:30:39 Commited By: Ginny Guan ginny@iotechsys.com 09:30:39 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:30:39 Message: update stable to v1.0.265 09:30:40 ------------------- 09:30:40 experimental info: 09:30:40 ------------------- 09:30:40 Commited By: Cherry Wang cherry@iotechsys.com 09:30:40 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:30:40 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:30:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:30:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:30:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-314 [Pipeline] echo 09:30:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-314 [Pipeline] echo 09:30:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-314 [Pipeline] echo 09:30:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 [Pipeline] echo 09:30:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bcf1c1 [Pipeline] echo 09:30:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:42 provisioning config files... 09:30:42 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/config10520201435178406953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:42 ---> ****-login.sh 09:30:42 nexus3.edgexfoundry.org:10001 09:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:30:43 Configure a credential helper to remove this warning. See 09:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:30:43 09:30:43 Login Succeeded 09:30:43 nexus3.edgexfoundry.org:10002 09:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:30:43 Configure a credential helper to remove this warning. See 09:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:30:43 09:30:43 Login Succeeded 09:30:43 nexus3.edgexfoundry.org:10003 09:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:30:43 Configure a credential helper to remove this warning. See 09:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:30:43 09:30:43 Login Succeeded 09:30:43 nexus3.edgexfoundry.org:10004 09:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:30:43 Configure a credential helper to remove this warning. See 09:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:30:43 09:30:43 Login Succeeded 09:30:43 ****.io 09:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:30:43 Configure a credential helper to remove this warning. See 09:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:30:43 09:30:43 Login Succeeded 09:30:43 ---> ****-login.sh ends [Pipeline] } 09:30:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:30:44 + git rev-list -1 --merges 9bcf1c1a7df6826f85d6a4b469231087c6ad6391~1..9bcf1c1a7df6826f85d6a4b469231087c6ad6391 [Pipeline] echo 09:30:44 -----------> git rev-list -1 --merges 9bcf1c1a7df6826f85d6a4b469231087c6ad6391~1..9bcf1c1a7df6826f85d6a4b469231087c6ad6391 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 [false] [Pipeline] sh 09:30:44 + git log --format=format:%s -1 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 [Pipeline] echo 09:30:44 ========================================================= 09:30:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:30:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:45 + git log --format=format:%s -1 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 [Pipeline] echo 09:30:45 [semverPrep] GIT_COMMIT: 9bcf1c1a7df6826f85d6a4b469231087c6ad6391, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 09:30:45 [semverPrep] This is not a build commit. [Pipeline] sh 09:30:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:30:45 + grep -v github /etc/ssh/ssh_known_hosts 09:30:45 + [ -e /tmp/ssh_known_hosts ] 09:30:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:30:45 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:30:45 sudo tee -a /etc/ssh/ssh_known_hosts 09:30:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:46 09:30:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:46 0.1.4: Pulling from edgex-devops/py-git-semver 09:30:46 b85a868b505f: Pulling fs layer 09:30:46 e2be974225ed: Pulling fs layer 09:30:46 339a4e72a1f5: Pulling fs layer 09:30:46 988bab9f4d93: Pulling fs layer 09:30:46 1469e6f7b9e6: Pulling fs layer 09:30:46 eaf3925da568: Pulling fs layer 09:30:46 bab4dde63d76: Pulling fs layer 09:30:46 bde34c3a00c8: Pulling fs layer 09:30:46 b352a97aabf1: Pulling fs layer 09:30:46 4872d77fe225: Pulling fs layer 09:30:46 5851b861e8e6: Pulling fs layer 09:30:46 988bab9f4d93: Waiting 09:30:46 bab4dde63d76: Waiting 09:30:46 bde34c3a00c8: Waiting 09:30:46 1469e6f7b9e6: Waiting 09:30:46 b352a97aabf1: Waiting 09:30:46 5851b861e8e6: Waiting 09:30:46 4872d77fe225: Waiting 09:30:46 eaf3925da568: Waiting 09:30:46 e2be974225ed: Verifying Checksum 09:30:46 e2be974225ed: Download complete 09:30:46 988bab9f4d93: Download complete 09:30:46 339a4e72a1f5: Verifying Checksum 09:30:46 339a4e72a1f5: Download complete 09:30:46 1469e6f7b9e6: Verifying Checksum 09:30:46 1469e6f7b9e6: Download complete 09:30:46 eaf3925da568: Verifying Checksum 09:30:46 eaf3925da568: Download complete 09:30:46 bde34c3a00c8: Download complete 09:30:46 b352a97aabf1: Download complete 09:30:46 4872d77fe225: Download complete 09:30:46 5851b861e8e6: Verifying Checksum 09:30:46 5851b861e8e6: Download complete 09:30:46 b85a868b505f: Verifying Checksum 09:30:46 b85a868b505f: Download complete 09:30:47 bab4dde63d76: Verifying Checksum 09:30:47 bab4dde63d76: Download complete 09:30:48 b85a868b505f: Pull complete 09:30:48 e2be974225ed: Pull complete 09:30:48 339a4e72a1f5: Pull complete 09:30:48 988bab9f4d93: Pull complete 09:30:49 1469e6f7b9e6: Pull complete 09:30:49 eaf3925da568: Pull complete 09:30:51 bab4dde63d76: Pull complete 09:30:51 bde34c3a00c8: Pull complete 09:30:51 b352a97aabf1: Pull complete 09:30:51 4872d77fe225: Pull complete 09:30:51 5851b861e8e6: Pull complete 09:30:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:30:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:51 prd-ubuntu20.04-docker-8c-8g-24758 does not seem to be running inside a container 09:30:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-314 -v /w/workspace/y_app-rfid-llrp-inventory_PR-314:/w/workspace/y_app-rfid-llrp-inventory_PR-314:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-314@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-devops/py-git-semver:0.1.4 cat 09:30:54 $ docker top 426e0302a79626923a152e9ce3870f4f7a3064ba0b88f6676b800a32ef10a956 -eo pid,comm 09:30:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:30:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:55 [ssh-agent] Looking for ssh-agent implementation... 09:30:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:55 $ docker exec 426e0302a79626923a152e9ce3870f4f7a3064ba0b88f6676b800a32ef10a956 ssh-agent 09:30:55 SSH_AUTH_SOCK=/tmp/ssh-bgmtZWuGXe4m/agent.32 09:30:55 SSH_AGENT_PID=38 09:30:55 Running ssh-add (command line suppressed) 09:30:55 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/private_key_15011246613815268656.key (/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/private_key_15011246613815268656.key) 09:30:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:55 + git tag --points-at HEAD [Pipeline] } 09:30:55 $ docker exec --env ******** --env ******** 426e0302a79626923a152e9ce3870f4f7a3064ba0b88f6676b800a32ef10a956 ssh-agent -k 09:30:55 unset SSH_AUTH_SOCK; 09:30:55 unset SSH_AGENT_PID; 09:30:55 echo Agent pid 38 killed; 09:30:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:30:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:56 [ssh-agent] Looking for ssh-agent implementation... 09:30:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:56 $ docker exec 426e0302a79626923a152e9ce3870f4f7a3064ba0b88f6676b800a32ef10a956 ssh-agent 09:30:56 SSH_AUTH_SOCK=/tmp/ssh-kHLhVIXOYe5U/agent.71 09:30:56 SSH_AGENT_PID=77 09:30:56 Running ssh-add (command line suppressed) 09:30:56 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/private_key_3557202619104950146.key (/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/private_key_3557202619104950146.key) 09:30:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:56 + git semver init 09:30:57 2024-11-07 09:30:57,045 [run_init] DEBUG init version:0.0.0 force:False 09:30:57 2024-11-07 09:30:57,045 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver 09:30:57 2024-11-07 09:30:57,046 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver 09:30:57 2024-11-07 09:30:57,046 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-314, universal_newlines=False, shell=None, istream=None) 09:30:59 2024-11-07 09:30:59,179 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-314/.git/info/exclude 09:30:59 2024-11-07 09:30:59,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver/PR-314 with force:False 09:30:59 2024-11-07 09:30:59,180 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver/PR-314 09:30:59 2024-11-07 09:30:59,185 [execute] INFO git cat-file --batch-check 09:30:59 2024-11-07 09:30:59,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver, universal_newlines=False, shell=None, istream=) 09:30:59 2024-11-07 09:30:59,191 [execute] INFO git cat-file --batch 09:30:59 2024-11-07 09:30:59,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver, universal_newlines=False, shell=None, istream=) 09:30:59 2024-11-07 09:30:59,197 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-314/.semver/PR-314 09:30:59 0.0.0 [Pipeline] } 09:30:59 $ docker exec --env ******** --env ******** 426e0302a79626923a152e9ce3870f4f7a3064ba0b88f6676b800a32ef10a956 ssh-agent -k 09:30:59 unset SSH_AUTH_SOCK; 09:30:59 unset SSH_AGENT_PID; 09:30:59 echo Agent pid 77 killed; 09:30:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:31:00 + git semver [Pipeline] } 09:31:00 $ docker stop --time=1 426e0302a79626923a152e9ce3870f4f7a3064ba0b88f6676b800a32ef10a956 09:31:01 $ docker rm -f --volumes 426e0302a79626923a152e9ce3870f4f7a3064ba0b88f6676b800a32ef10a956 [Pipeline] // withDockerContainer [Pipeline] sh 09:31:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:31:02 Stashed 1 file(s) [Pipeline] echo 09:31:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:31:03 provisioning config files... 09:31:03 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/config5995958084858090194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:03 ---> ****-login.sh 09:31:03 nexus3.edgexfoundry.org:10001 09:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:31:03 Configure a credential helper to remove this warning. See 09:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:31:03 09:31:03 Login Succeeded 09:31:03 nexus3.edgexfoundry.org:10002 09:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:31:03 Configure a credential helper to remove this warning. See 09:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:31:03 09:31:03 Login Succeeded 09:31:03 nexus3.edgexfoundry.org:10003 09:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:31:03 Configure a credential helper to remove this warning. See 09:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:31:03 09:31:03 Login Succeeded 09:31:03 nexus3.edgexfoundry.org:10004 09:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:31:03 Configure a credential helper to remove this warning. See 09:31:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:31:03 09:31:03 Login Succeeded 09:31:03 ****.io 09:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:31:04 Configure a credential helper to remove this warning. See 09:31:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:31:04 09:31:04 Login Succeeded 09:31:04 ---> ****-login.sh ends [Pipeline] } 09:31:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:31:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:31:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:31:04 ========================================================= 09:31:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:31:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:31:05 Sending build context to Docker daemon 19.99MB 09:31:05 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:31:05 Step 2/12 : FROM ${BASE} AS builder 09:31:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:31:05 43c4264eed91: Pulling fs layer 09:31:05 4cc291be95ef: Pulling fs layer 09:31:05 2ac1f1163629: Pulling fs layer 09:31:05 5c3c966382ef: Pulling fs layer 09:31:05 4f4fb700ef54: Pulling fs layer 09:31:05 5d5c8e513c77: Pulling fs layer 09:31:05 9f66e0745190: Pulling fs layer 09:31:05 f49a43e4bbc0: Pulling fs layer 09:31:05 561ebcabdf7f: Pulling fs layer 09:31:05 5c3c966382ef: Waiting 09:31:05 4f4fb700ef54: Waiting 09:31:05 5d5c8e513c77: Waiting 09:31:05 9f66e0745190: Waiting 09:31:05 f49a43e4bbc0: Waiting 09:31:05 561ebcabdf7f: Waiting 09:31:05 4cc291be95ef: Download complete 09:31:05 5c3c966382ef: Verifying Checksum 09:31:05 5c3c966382ef: Download complete 09:31:05 4f4fb700ef54: Verifying Checksum 09:31:05 4f4fb700ef54: Download complete 09:31:05 5d5c8e513c77: Verifying Checksum 09:31:05 5d5c8e513c77: Download complete 09:31:05 43c4264eed91: Download complete 09:31:05 9f66e0745190: Verifying Checksum 09:31:05 9f66e0745190: Download complete 09:31:05 43c4264eed91: Pull complete 09:31:05 561ebcabdf7f: Verifying Checksum 09:31:05 561ebcabdf7f: Download complete 09:31:05 4cc291be95ef: Pull complete 09:31:05 2ac1f1163629: Verifying Checksum 09:31:05 2ac1f1163629: Download complete 09:31:06 f49a43e4bbc0: Verifying Checksum 09:31:06 f49a43e4bbc0: Download complete 09:31:09 2ac1f1163629: Pull complete 09:31:09 5c3c966382ef: Pull complete 09:31:09 4f4fb700ef54: Pull complete 09:31:09 5d5c8e513c77: Pull complete 09:31:09 9f66e0745190: Pull complete 09:31:12 f49a43e4bbc0: Pull complete 09:31:12 561ebcabdf7f: Pull complete 09:31:12 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:31:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:31:12 ---> 3a752c3f9dda 09:31:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:31:18 Still waiting to schedule task 09:31:18 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:31:18 ---> Running in df8a98a402b8 09:31:18 Removing intermediate container df8a98a402b8 09:31:18 ---> 8eb62e4f6c2c 09:31:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:31:18 ---> Running in df4eefb28616 09:31:18 Removing intermediate container df4eefb28616 09:31:18 ---> 4cbc34aa730d 09:31:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:31:18 ---> Running in afdaecd8a63f 09:31:18 Removing intermediate container afdaecd8a63f 09:31:18 ---> efef366a69dd 09:31:18 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:31:18 ---> Running in 935b91e53637 09:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:31:19 OK: 246 MiB in 54 packages 09:31:19 Removing intermediate container 935b91e53637 09:31:19 ---> 3679716c0df1 09:31:19 Step 7/12 : WORKDIR /app 09:31:19 ---> Running in 26cc8fd16057 09:31:19 Removing intermediate container 26cc8fd16057 09:31:19 ---> 0d061abc2f10 09:31:19 Step 8/12 : COPY go.mod vendor* ./ 09:31:19 ---> cc8d2fca0a2b 09:31:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:19 ---> Running in 54c5831f4a2a 09:32:16 Removing intermediate container 54c5831f4a2a 09:32:16 ---> 36c67e16d745 09:32:16 Step 10/12 : COPY . . 09:32:16 ---> 5910923c3bd3 09:32:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:32:16 ---> Running in dcce5e112e43 09:32:16 Removing intermediate container dcce5e112e43 09:32:16 ---> 0aafeaf405ff 09:32:16 Step 12/12 : RUN $MAKE 09:32:16 ---> Running in c0fd34b3b7bf 09:32:16 noop 09:32:16 Removing intermediate container c0fd34b3b7bf 09:32:16 ---> efe03373ade5 09:32:16 Successfully built efe03373ade5 09:32:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:17 + docker inspect -f . ci-base-image-x86_64 09:32:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:17 prd-ubuntu20.04-docker-8c-8g-24758 does not seem to be running inside a container 09:32:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-314 -v /w/workspace/y_app-rfid-llrp-inventory_PR-314:/w/workspace/y_app-rfid-llrp-inventory_PR-314:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:32:18 $ docker top 31a6e22300e990c037c4b5dffaba5a7a5d3dc5c03fb95df438a667b1bd93ae69 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:18 + go version 09:32:18 go version go1.23.2 linux/amd64 [Pipeline] } 09:32:18 $ docker stop --time=1 31a6e22300e990c037c4b5dffaba5a7a5d3dc5c03fb95df438a667b1bd93ae69 09:32:19 $ docker rm -f --volumes 31a6e22300e990c037c4b5dffaba5a7a5d3dc5c03fb95df438a667b1bd93ae69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:20 + docker inspect -f . ci-base-image-x86_64 09:32:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:20 prd-ubuntu20.04-docker-8c-8g-24758 does not seem to be running inside a container 09:32:20 $ 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-314 -v /w/workspace/y_app-rfid-llrp-inventory_PR-314:/w/workspace/y_app-rfid-llrp-inventory_PR-314:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:32:21 $ docker top b2641fc9281b8d89f228dcaf1a336db5c15d22695287cf46616e71086bd90690 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:21 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-314 [Pipeline] fileExists [Pipeline] sh 09:32:21 + make test 09:32:21 go test -race ./... -coverprofile=coverage.out ./... 09:32:53 edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app coverage: 0.0% of statements 09:32:53 edgexfoundry/app-rfid-llrp-inventory coverage: 0.0% of statements 09:32:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.296s coverage: 86.2% of statements 09:32:57 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.878s coverage: 71.9% of statements 09:33:36 go vet ./... 09:33:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:33:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:33:41 ./bin/test-attribution.sh [Pipeline] echo 09:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:33:41 $ docker stop --time=1 b2641fc9281b8d89f228dcaf1a336db5c15d22695287cf46616e71086bd90690 09:33:45 $ docker rm -f --volumes b2641fc9281b8d89f228dcaf1a336db5c15d22695287cf46616e71086bd90690 [Pipeline] // withDockerContainer [Pipeline] sh 09:33:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:33:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:33:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:33:47 + ls -al . 09:33:47 total 296 09:33:47 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 09:32 . 09:33:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:30 .. 09:33:47 -rw-rw-r-- 1 jenkins jenkins 262 Nov 7 09:30 .dockerignore 09:33:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:32 .git 09:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:30 .github 09:33:47 -rw-rw-r-- 1 jenkins jenkins 773 Nov 7 09:30 .gitignore 09:33:47 -rw-rw-r-- 1 jenkins jenkins 200 Nov 7 09:30 .golangci.yml 09:33:47 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:30 .semver 09:33:47 -rw-rw-r-- 1 jenkins jenkins 20300 Nov 7 09:30 Attribution.txt 09:33:47 -rw-rw-r-- 1 jenkins jenkins 11245 Nov 7 09:30 CHANGELOG.md 09:33:47 -rw-rw-r-- 1 jenkins jenkins 1768 Nov 7 09:30 Dockerfile 09:33:47 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:30 GOVERNANCE.md 09:33:47 -rw-rw-r-- 1 jenkins jenkins 665 Nov 7 09:30 Jenkinsfile 09:33:47 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 7 09:30 LICENSE 09:33:47 -rw-rw-r-- 1 jenkins jenkins 3073 Nov 7 09:30 Makefile 09:33:47 -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 09:30 OWNERS.md 09:33:47 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 7 09:30 README.md 09:33:47 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:31 VERSION 09:33:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:30 bin 09:33:47 -rw-r--r-- 1 jenkins jenkins 55696 Nov 7 09:32 coverage.out 09:33:47 -rw-rw-r-- 1 jenkins jenkins 7508 Nov 7 09:30 go.mod 09:33:47 -rw-rw-r-- 1 jenkins jenkins 100922 Nov 7 09:30 go.sum 09:33:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:30 images 09:33:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:30 internal 09:33:47 -rw-rw-r-- 1 jenkins jenkins 531 Nov 7 09:30 main.go 09:33:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:30 openapi 09:33:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:30 res 09:33:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:30 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:47 + 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=9bcf1c1a7df6826f85d6a4b469231087c6ad6391 --label arch=amd64 --label version=0.0.0 . 09:33:47 Sending build context to Docker daemon 19.99MB 09:33:47 Step 1/30 : ARG BASE=golang:1.23-alpine3.20 09:33:47 Step 2/30 : FROM ${BASE} AS builder 09:33:47 ---> efe03373ade5 09:33:47 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 09:33:48 ---> Running in fd7f520309d3 09:33:48 Removing intermediate container fd7f520309d3 09:33:48 ---> afe36094d61a 09:33:48 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 09:33:48 ---> Running in 844b2b4e008e 09:33:48 Removing intermediate container 844b2b4e008e 09:33:48 ---> e0ce58c0d036 09:33:48 Step 5/30 : ARG ADD_BUILD_TAGS="" 09:33:48 ---> Running in 95d219db7c01 09:33:48 Removing intermediate container 95d219db7c01 09:33:48 ---> 8e66fa654b91 09:33:48 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:33:48 ---> Running in 44e7daa8ca2e 09:33:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:33:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:33:49 OK: 246 MiB in 54 packages 09:33:49 Removing intermediate container 44e7daa8ca2e 09:33:49 ---> d40dd2bd1359 09:33:49 Step 7/30 : WORKDIR /app 09:33:49 ---> Running in 44c07462c052 09:33:49 Removing intermediate container 44c07462c052 09:33:49 ---> 5a73a50d6f65 09:33:49 Step 8/30 : COPY go.mod vendor* ./ 09:33:49 ---> f9f0014f6aa3 09:33:49 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:33:49 ---> Running in 4ec5db6ab341 09:33:50 Removing intermediate container 4ec5db6ab341 09:33:50 ---> 6ff96791e4dd 09:33:50 Step 10/30 : COPY . . 09:33:51 ---> 9945bcd0e155 09:33:51 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:33:51 ---> Running in 4f4952bd5762 09:33:51 Removing intermediate container 4f4952bd5762 09:33:51 ---> 33ad950648e8 09:33:51 Step 12/30 : RUN $MAKE 09:33:51 ---> Running in 49865900bb2e 09:33:51 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -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 -buildmode=pie -o app-rfid-llrp-inventory 09:34:30 Removing intermediate container 49865900bb2e 09:34:30 ---> 51430ce0a6f0 09:34:30 Step 13/30 : FROM alpine:3.20 09:34:30 3.20: Pulling from library/alpine 09:34:30 43c4264eed91: Already exists 09:34:30 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:34:30 Status: Downloaded newer image for alpine:3.20 09:34:30 ---> 91ef0af61f39 09:34:30 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:34:30 ---> Running in 1f6ec3123293 09:34:30 Removing intermediate container 1f6ec3123293 09:34:30 ---> 240017009d72 09:34:30 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 09:34:30 ---> Running in e232471f98d2 09:34:30 Removing intermediate container e232471f98d2 09:34:30 ---> 964acb9d03f0 09:34:30 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 09:34:30 ---> Running in a4e9e71a6c65 09:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:34:30 (1/2) Installing ca-certificates (20240705-r0) 09:34:30 (2/2) Installing dumb-init (1.2.5-r3) 09:34:30 Executing busybox-1.36.1-r29.trigger 09:34:30 Executing ca-certificates-20240705-r0.trigger 09:34:30 OK: 9 MiB in 16 packages 09:34:30 Removing intermediate container a4e9e71a6c65 09:34:30 ---> 09e9ead6e55b 09:34:30 Step 17/30 : RUN apk --no-cache upgrade 09:34:30 ---> Running in 47168970ac50 09:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:34:30 Upgrading critical system libraries and apk-tools: 09:34:30 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:34:30 Executing busybox-1.36.1-r29.trigger 09:34:30 Continuing the upgrade transaction with new apk-tools: 09:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:34:30 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:34:30 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:34:30 Executing ca-certificates-20240705-r0.trigger 09:34:30 OK: 9 MiB in 16 packages 09:34:30 Removing intermediate container 47168970ac50 09:34:30 ---> e3b7d1e9b361 09:34:30 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:34:30 ---> 98cea0e7c26d 09:34:30 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 09:34:30 ---> 25802949f3f7 09:34:30 Step 20/30 : COPY --from=builder /app/res/ /res/ 09:34:30 ---> a11c0c240a86 09:34:30 Step 21/30 : COPY --from=builder /app/static/ /static/ 09:34:30 ---> 79b8e0fc9a95 09:34:30 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 09:34:32 ---> a7570effaa92 09:34:32 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 09:34:32 ---> Running in c1f60c8767a9 09:34:32 Removing intermediate container c1f60c8767a9 09:34:32 ---> 28240d32e905 09:34:32 Step 24/30 : VOLUME /cache 09:34:32 ---> Running in 23667b91d544 09:34:32 Removing intermediate container 23667b91d544 09:34:32 ---> 0820716a63ca 09:34:32 Step 25/30 : EXPOSE 59711 09:34:32 ---> Running in 0334c8e4f0f3 09:34:33 Removing intermediate container 0334c8e4f0f3 09:34:33 ---> 0114da426f2e 09:34:33 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 09:34:33 ---> Running in 40d041a9061c 09:34:33 Removing intermediate container 40d041a9061c 09:34:33 ---> c982d63384f6 09:34:33 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 09:34:33 ---> Running in 08870465e597 09:34:33 Removing intermediate container 08870465e597 09:34:33 ---> 0e414195c26b 09:34:33 Step 28/30 : LABEL arch=amd64 09:34:33 ---> Running in 4d6a53253f08 09:34:33 Removing intermediate container 4d6a53253f08 09:34:33 ---> 87d61830a8c8 09:34:33 Step 29/30 : LABEL git_sha=9bcf1c1a7df6826f85d6a4b469231087c6ad6391 09:34:33 ---> Running in 8e09eac8ed7e 09:34:33 Removing intermediate container 8e09eac8ed7e 09:34:33 ---> ca03783cc916 09:34:33 Step 30/30 : LABEL version=0.0.0 09:34:33 ---> Running in 631e58e1a550 09:34:33 Removing intermediate container 631e58e1a550 09:34:33 ---> 8f24e8142f9e 09:34:33 [Warning] One or more build-args [ARCH] were not consumed 09:34:33 Successfully built 8f24e8142f9e 09:34:33 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:34 09:34:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:35 latest: Pulling from edgex-lftools-log-publisher 09:34:35 5eb5b503b376: Pulling fs layer 09:34:35 5c69ac0246d0: Pulling fs layer 09:34:35 ec43610c2a17: Pulling fs layer 09:34:35 3a2ae6a8a46f: Pulling fs layer 09:34:35 33b1e0a273af: Pulling fs layer 09:34:35 5d3b04190fa2: Pulling fs layer 09:34:35 2f39f015ded8: Pulling fs layer 09:34:35 3a2ae6a8a46f: Waiting 09:34:35 5d3b04190fa2: Waiting 09:34:35 33b1e0a273af: Waiting 09:34:35 2f39f015ded8: Waiting 09:34:35 5c69ac0246d0: Download complete 09:34:35 3a2ae6a8a46f: Verifying Checksum 09:34:35 3a2ae6a8a46f: Download complete 09:34:35 33b1e0a273af: Verifying Checksum 09:34:35 33b1e0a273af: Download complete 09:34:35 5d3b04190fa2: Verifying Checksum 09:34:35 5d3b04190fa2: Download complete 09:34:35 ec43610c2a17: Verifying Checksum 09:34:35 ec43610c2a17: Download complete 09:34:35 5eb5b503b376: Verifying Checksum 09:34:35 5eb5b503b376: Download complete 09:34:35 2f39f015ded8: Verifying Checksum 09:34:36 5eb5b503b376: Pull complete 09:34:36 5c69ac0246d0: Pull complete 09:34:36 ec43610c2a17: Pull complete 09:34:37 3a2ae6a8a46f: Pull complete 09:34:37 33b1e0a273af: Pull complete 09:34:37 5d3b04190fa2: Pull complete 09:34:41 2f39f015ded8: Pull complete 09:34:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:34:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:41 prd-ubuntu20.04-docker-8c-8g-24758 does not seem to be running inside a container 09:34:41 $ 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-314 -v /w/workspace/y_app-rfid-llrp-inventory_PR-314:/w/workspace/y_app-rfid-llrp-inventory_PR-314:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:34:46 $ docker top 8548b246382ec93d90edb6a957e77a23f9f46bb1c1deccfda573da24fafc55a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:47 ---> job-cost.sh 09:34:47 lf-activate-venv: SKIPPING 09:34:47 INFO: No Stack... 09:34:47 INFO: Retrieving Pricing Info for: v3-standard-8 09:34:48 INFO: Archiving Costs [Pipeline] sh 09:34:48 + + cut -d, -f6 09:34:48 cat /w/workspace/y_app-rfid-llrp-inventory_PR-314/archives/cost.csv [Pipeline] lock 09:34:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] 09:34:48 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] did not exist. Created. 09:34:48 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:34:49 + echo total: 0.2199999988079071 [Pipeline] stash 09:34:49 Stashed 1 file(s) [Pipeline] } 09:34:49 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:34:49 $ docker stop --time=1 8548b246382ec93d90edb6a957e77a23f9f46bb1c1deccfda573da24fafc55a5 09:34:50 $ docker rm -f --volumes 8548b246382ec93d90edb6a957e77a23f9f46bb1c1deccfda573da24fafc55a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:43:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24907 in /w/workspace/y_app-rfid-llrp-inventory_PR-314 [Pipeline] { [Pipeline] ws 09:43:59 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 09:43:59 The recommended git tool is: git 09:44:06 using credential edgex-jenkins-ssh 09:44:06 Cloning the remote Git repository 09:44:06 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 09:44:06 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 09:44:07 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 09:44:07 > git --version # timeout=10 09:44:07 > git --version # 'git version 2.25.1' 09:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:11 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 09:44:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:13 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 09:44:13 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 09:44:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:44:13 Merging remotes/origin/main commit 82880f0cc7c1e2380d7f481834f50bb91fae5b58 into PR head commit 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 09:44:14 Merge succeeded, producing 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 09:44:14 Checking out Revision 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 (PR-314) 09:44:13 > git config core.sparsecheckout # timeout=10 09:44:13 > git checkout -f 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 # timeout=10 09:44:14 > git remote # timeout=10 09:44:14 > git config --get remote.origin.url # timeout=10 09:44:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:14 > git merge 82880f0cc7c1e2380d7f481834f50bb91fae5b58 # timeout=10 09:44:14 > git rev-parse HEAD^{commit} # timeout=10 09:44:14 > git config core.sparsecheckout # timeout=10 09:44:14 > git checkout -f 9bcf1c1a7df6826f85d6a4b469231087c6ad6391 # timeout=10 09:44:18 Commit message: "fix: Only one ldflags flag is allowed" 09:44:18 > git --version # timeout=10 09:44:18 > git --version # 'git version 2.25.1' 09:44:18 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:44:21 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:21 Dload Upload Total Spent Left Speed 09:44:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 09:44:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:44:21 + sudo tee /etc/docker/daemon.new 09:44:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:44:21 { 09:44:21 "registry-mirrors": [ 09:44:21 "https://nexus3.edgexfoundry.org:10001" 09:44:21 ], 09:44:21 "bip": "10.250.0.254/24", 09:44:21 "hosts": [ 09:44:21 "tcp://0.0.0.0:5555", 09:44:21 "unix:///var/run/docker.sock" 09:44:21 ], 09:44:21 "mtu": 1458, 09:44:21 "selinux-enabled": true, 09:44:21 "seccomp-profile": "/etc/docker/seccomp.json" 09:44:21 } [Pipeline] sh 09:44:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:44:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:41 provisioning config files... 09:44:41 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config5177362155460198901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:41 ---> ****-login.sh 09:44:41 nexus3.edgexfoundry.org:10001 09:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:42 Configure a credential helper to remove this warning. See 09:44:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:42 09:44:42 Login Succeeded 09:44:42 nexus3.edgexfoundry.org:10002 09:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 nexus3.edgexfoundry.org:10003 09:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 nexus3.edgexfoundry.org:10004 09:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:44 Configure a credential helper to remove this warning. See 09:44:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:44 09:44:44 Login Succeeded 09:44:44 ****.io 09:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:44 Configure a credential helper to remove this warning. See 09:44:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:44 09:44:44 Login Succeeded 09:44:44 ---> ****-login.sh ends [Pipeline] } 09:44:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:44:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:45 ========================================================= 09:44:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:44:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:44:46 Sending build context to Docker daemon 684.5kB 09:44:46 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:44:46 Step 2/12 : FROM ${BASE} AS builder 09:44:46 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:44:46 cf04c63912e1: Pulling fs layer 09:44:46 55b35a11ae5e: Pulling fs layer 09:44:46 a37a00ec5f00: Pulling fs layer 09:44:46 50b3750afda1: Pulling fs layer 09:44:46 4f4fb700ef54: Pulling fs layer 09:44:46 80978eb59214: Pulling fs layer 09:44:46 c9f46d7d2bd2: Pulling fs layer 09:44:46 c5a475d317c9: Pulling fs layer 09:44:46 80978eb59214: Waiting 09:44:46 c9f46d7d2bd2: Waiting 09:44:46 c5a475d317c9: Waiting 09:44:46 50b3750afda1: Waiting 09:44:46 4f4fb700ef54: Waiting 09:44:46 55b35a11ae5e: Verifying Checksum 09:44:46 55b35a11ae5e: Download complete 09:44:46 50b3750afda1: Verifying Checksum 09:44:46 50b3750afda1: Download complete 09:44:46 4f4fb700ef54: Verifying Checksum 09:44:46 4f4fb700ef54: Download complete 09:44:46 80978eb59214: Verifying Checksum 09:44:46 80978eb59214: Download complete 09:44:47 cf04c63912e1: Verifying Checksum 09:44:47 cf04c63912e1: Download complete 09:44:47 c5a475d317c9: Verifying Checksum 09:44:47 c5a475d317c9: Download complete 09:44:48 cf04c63912e1: Pull complete 09:44:48 55b35a11ae5e: Pull complete 09:44:49 a37a00ec5f00: Verifying Checksum 09:44:49 a37a00ec5f00: Download complete 09:44:50 c9f46d7d2bd2: Verifying Checksum 09:44:50 c9f46d7d2bd2: Download complete 09:45:05 a37a00ec5f00: Pull complete 09:45:05 50b3750afda1: Pull complete 09:45:06 4f4fb700ef54: Pull complete 09:45:06 80978eb59214: Pull complete 09:45:16 c9f46d7d2bd2: Pull complete 09:45:17 c5a475d317c9: Pull complete 09:45:17 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:45:17 ---> be29e6b0f0d4 09:45:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:45:19 ---> Running in 7c1192413ae2 09:45:19 Removing intermediate container 7c1192413ae2 09:45:19 ---> d9b4872a77a8 09:45:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:45:19 ---> Running in 01dc233e35ad 09:45:20 Removing intermediate container 01dc233e35ad 09:45:20 ---> ff86d465df7a 09:45:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:45:20 ---> Running in ba05edc1e4ac 09:45:20 Removing intermediate container ba05edc1e4ac 09:45:20 ---> 6043b5dfe8bd 09:45:20 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:45:21 ---> Running in 030ef4b27520 09:45:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:45:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:45:24 OK: 238 MiB in 54 packages 09:45:25 Removing intermediate container 030ef4b27520 09:45:25 ---> 2fdf419489e9 09:45:25 Step 7/12 : WORKDIR /app 09:45:26 ---> Running in 1b2021f3c1ac 09:45:26 Removing intermediate container 1b2021f3c1ac 09:45:26 ---> d2930f0d5b05 09:45:26 Step 8/12 : COPY go.mod vendor* ./ 09:45:26 ---> b22cd29a97f9 09:45:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:27 ---> Running in 1c8b2053e611 09:47:35 Removing intermediate container 1c8b2053e611 09:47:35 ---> 671bacc705cc 09:47:35 Step 10/12 : COPY . . 09:47:35 ---> 62975d672fbe 09:47:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:35 ---> Running in 8c18480aadc9 09:47:35 Removing intermediate container 8c18480aadc9 09:47:35 ---> 6b307b79307e 09:47:35 Step 12/12 : RUN $MAKE 09:47:35 ---> Running in bbae70cf819a 09:47:35 noop 09:47:35 Removing intermediate container bbae70cf819a 09:47:35 ---> 78d8ed86c8fd 09:47:35 Successfully built 78d8ed86c8fd 09:47:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:35 + docker inspect -f . ci-base-image-arm64 09:47:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:36 prd-ubuntu20.04-docker-arm64-4c-16g-24907 does not seem to be running inside a container 09:47:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:47:37 $ docker top f06d8cf425328cef7df1a8a91ed5bcbb63259dfd4ec131f2e967b46a43550c18 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:38 + go version 09:47:38 go version go1.23.2 linux/arm64 [Pipeline] } 09:47:38 $ docker stop --time=1 f06d8cf425328cef7df1a8a91ed5bcbb63259dfd4ec131f2e967b46a43550c18 09:47:40 $ docker rm -f --volumes f06d8cf425328cef7df1a8a91ed5bcbb63259dfd4ec131f2e967b46a43550c18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:41 + docker inspect -f . ci-base-image-arm64 09:47:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:41 prd-ubuntu20.04-docker-arm64-4c-16g-24907 does not seem to be running inside a container 09:47:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:47:43 $ docker top 3685eeb0a217e35a2d0f70f99acb2fdaad8a4a3628365d663e6f9c60df56d911 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:44 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 09:47:44 + make test 09:47:44 go test -race ./... -coverprofile=coverage.out ./... 09:53:52 edgexfoundry/app-rfid-llrp-inventory coverage: 0.0% of statements 09:53:52 edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app coverage: 0.0% of statements 09:53:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.469s coverage: 86.2% of statements 09:54:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.519s coverage: 71.9% of statements 09:54:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:54:09 go vet ./... 09:59:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:59:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:59:16 ./bin/test-attribution.sh [Pipeline] echo 09:59:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:59:16 $ docker stop --time=1 3685eeb0a217e35a2d0f70f99acb2fdaad8a4a3628365d663e6f9c60df56d911 09:59:18 $ docker rm -f --volumes 3685eeb0a217e35a2d0f70f99acb2fdaad8a4a3628365d663e6f9c60df56d911 [Pipeline] // withDockerContainer [Pipeline] sh 09:59:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:59:21 Warning: overwriting stash ‘coverage-report’ 09:59:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:59:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:59:22 + ls -al . 09:59:22 total 292 09:59:22 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:47 . 09:59:22 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:44 .. 09:59:22 -rw-rw-r-- 1 jenkins jenkins 262 Nov 7 09:44 .dockerignore 09:59:22 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:44 .git 09:59:22 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:44 .github 09:59:22 -rw-rw-r-- 1 jenkins jenkins 773 Nov 7 09:44 .gitignore 09:59:22 -rw-rw-r-- 1 jenkins jenkins 200 Nov 7 09:44 .golangci.yml 09:59:22 -rw-rw-r-- 1 jenkins jenkins 20300 Nov 7 09:44 Attribution.txt 09:59:22 -rw-rw-r-- 1 jenkins jenkins 11245 Nov 7 09:44 CHANGELOG.md 09:59:22 -rw-rw-r-- 1 jenkins jenkins 1768 Nov 7 09:44 Dockerfile 09:59:22 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:44 GOVERNANCE.md 09:59:22 -rw-rw-r-- 1 jenkins jenkins 665 Nov 7 09:44 Jenkinsfile 09:59:22 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 7 09:44 LICENSE 09:59:22 -rw-rw-r-- 1 jenkins jenkins 3073 Nov 7 09:44 Makefile 09:59:22 -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 09:44 OWNERS.md 09:59:22 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 7 09:44 README.md 09:59:22 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:31 VERSION 09:59:22 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:44 bin 09:59:22 -rw-r--r-- 1 jenkins jenkins 55696 Nov 7 09:54 coverage.out 09:59:22 -rw-rw-r-- 1 jenkins jenkins 7508 Nov 7 09:44 go.mod 09:59:22 -rw-rw-r-- 1 jenkins jenkins 100922 Nov 7 09:44 go.sum 09:59:22 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:44 images 09:59:22 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:44 internal 09:59:22 -rw-rw-r-- 1 jenkins jenkins 531 Nov 7 09:44 main.go 09:59:22 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:44 openapi 09:59:22 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:44 res 09:59:22 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:44 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:23 + 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=9bcf1c1a7df6826f85d6a4b469231087c6ad6391 --label arch=arm64 --label version=0.0.0 . 09:59:23 Sending build context to Docker daemon 684.5kB 09:59:23 Step 1/30 : ARG BASE=golang:1.23-alpine3.20 09:59:23 Step 2/30 : FROM ${BASE} AS builder 09:59:23 ---> 78d8ed86c8fd 09:59:23 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 09:59:23 ---> Running in 3abb3e28d981 09:59:23 Removing intermediate container 3abb3e28d981 09:59:23 ---> d98f067fec89 09:59:23 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 09:59:24 ---> Running in ca8621c38a5b 09:59:24 Removing intermediate container ca8621c38a5b 09:59:24 ---> 0a93b97bf78d 09:59:24 Step 5/30 : ARG ADD_BUILD_TAGS="" 09:59:24 ---> Running in 112574453baa 09:59:24 Removing intermediate container 112574453baa 09:59:24 ---> bf0e69e4915e 09:59:24 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:59:24 ---> Running in 61626f4a4825 09:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:59:27 OK: 238 MiB in 54 packages 09:59:28 Removing intermediate container 61626f4a4825 09:59:28 ---> 1b7e7beec7fd 09:59:28 Step 7/30 : WORKDIR /app 09:59:28 ---> Running in 8f82c84bc17a 09:59:28 Removing intermediate container 8f82c84bc17a 09:59:28 ---> 65f9a9df6e1d 09:59:28 Step 8/30 : COPY go.mod vendor* ./ 09:59:29 ---> 5a885259fe19 09:59:29 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:59:29 ---> Running in e3c55a46ae96 09:59:32 Removing intermediate container e3c55a46ae96 09:59:32 ---> a0a63ffe9465 09:59:32 Step 10/30 : COPY . . 09:59:32 ---> d65f23db578b 09:59:32 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:59:32 ---> Running in fefa980a4dff 09:59:33 Removing intermediate container fefa980a4dff 09:59:33 ---> bae032f204a6 09:59:33 Step 12/30 : RUN $MAKE 09:59:33 ---> Running in 2b0c3bf3b84f 09:59:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -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 -buildmode=pie -o app-rfid-llrp-inventory 10:04:10 Removing intermediate container 2b0c3bf3b84f 10:04:10 ---> bdc998e4ee6a 10:04:10 Step 13/30 : FROM alpine:3.20 10:04:10 3.20: Pulling from library/alpine 10:04:10 cf04c63912e1: Already exists 10:04:10 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:04:10 Status: Downloaded newer image for alpine:3.20 10:04:10 ---> c157a85ed455 10:04:10 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:04:10 ---> Running in a132f7f550c9 10:04:10 Removing intermediate container a132f7f550c9 10:04:10 ---> 8ca9a45dab13 10:04:10 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 10:04:10 ---> Running in af4a20ce3736 10:04:10 Removing intermediate container af4a20ce3736 10:04:10 ---> 79cf6e14d2f2 10:04:10 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 10:04:10 ---> Running in 55b97b669150 10:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:04:10 (1/2) Installing ca-certificates (20240705-r0) 10:04:10 (2/2) Installing dumb-init (1.2.5-r3) 10:04:10 Executing busybox-1.36.1-r29.trigger 10:04:10 Executing ca-certificates-20240705-r0.trigger 10:04:10 OK: 10 MiB in 16 packages 10:04:10 Removing intermediate container 55b97b669150 10:04:10 ---> 3fa1b276f86d 10:04:10 Step 17/30 : RUN apk --no-cache upgrade 10:04:10 ---> Running in 187ce7e2b076 10:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:04:12 Upgrading critical system libraries and apk-tools: 10:04:12 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:04:12 Executing busybox-1.36.1-r29.trigger 10:04:12 Continuing the upgrade transaction with new apk-tools: 10:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:04:15 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 10:04:15 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 10:04:15 Executing ca-certificates-20240705-r0.trigger 10:04:15 OK: 10 MiB in 16 packages 10:04:16 Removing intermediate container 187ce7e2b076 10:04:16 ---> 83a833870d0d 10:04:16 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:04:16 ---> f9735fbe3cde 10:04:16 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 10:04:17 ---> 70953757dc66 10:04:17 Step 20/30 : COPY --from=builder /app/res/ /res/ 10:04:18 ---> f186e79da78b 10:04:18 Step 21/30 : COPY --from=builder /app/static/ /static/ 10:04:18 ---> 153c59b8582d 10:04:18 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 10:04:20 ---> f7263ccc9a3d 10:04:20 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 10:04:20 ---> Running in b8bcfbb7e390 10:04:21 Removing intermediate container b8bcfbb7e390 10:04:21 ---> fa2d61a56234 10:04:21 Step 24/30 : VOLUME /cache 10:04:22 ---> Running in 2e5093bbc48a 10:04:22 Removing intermediate container 2e5093bbc48a 10:04:22 ---> ad96e6b0b303 10:04:22 Step 25/30 : EXPOSE 59711 10:04:22 ---> Running in e8ec532c29be 10:04:22 Removing intermediate container e8ec532c29be 10:04:22 ---> 92bc6a659e37 10:04:22 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 10:04:23 ---> Running in 573bcb4cb94d 10:04:23 Removing intermediate container 573bcb4cb94d 10:04:23 ---> ad80af9b2385 10:04:23 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 10:04:23 ---> Running in 1931a6fbe760 10:04:23 Removing intermediate container 1931a6fbe760 10:04:23 ---> ddf7d6d4c781 10:04:23 Step 28/30 : LABEL arch=arm64 10:04:23 ---> Running in 2ed9aa405d87 10:04:24 Removing intermediate container 2ed9aa405d87 10:04:24 ---> 4ef741e9c543 10:04:24 Step 29/30 : LABEL git_sha=9bcf1c1a7df6826f85d6a4b469231087c6ad6391 10:04:24 ---> Running in 8f6536af76f2 10:04:24 Removing intermediate container 8f6536af76f2 10:04:24 ---> c9003a657038 10:04:24 Step 30/30 : LABEL version=0.0.0 10:04:24 ---> Running in d0b80e45f6b5 10:04:24 Removing intermediate container d0b80e45f6b5 10:04:24 ---> 57b0b7246b84 10:04:24 [Warning] One or more build-args [ARCH] were not consumed 10:04:24 Successfully built 57b0b7246b84 10:04:24 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 10:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:04:25 10:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:04:26 arm64: Pulling from edgex-lftools-log-publisher 10:04:26 8998bd30e6a1: Pulling fs layer 10:04:26 04944245beec: Pulling fs layer 10:04:26 699f458cf7ca: Pulling fs layer 10:04:26 765212b225bb: Pulling fs layer 10:04:26 f23df028b6ca: Pulling fs layer 10:04:26 d65c8cfc05b1: Pulling fs layer 10:04:26 2437ff75d9bd: Pulling fs layer 10:04:26 765212b225bb: Waiting 10:04:26 f23df028b6ca: Waiting 10:04:26 2437ff75d9bd: Waiting 10:04:26 d65c8cfc05b1: Waiting 10:04:26 04944245beec: Verifying Checksum 10:04:26 04944245beec: Download complete 10:04:26 765212b225bb: Verifying Checksum 10:04:26 765212b225bb: Download complete 10:04:26 f23df028b6ca: Download complete 10:04:26 d65c8cfc05b1: Verifying Checksum 10:04:26 d65c8cfc05b1: Download complete 10:04:26 699f458cf7ca: Verifying Checksum 10:04:26 699f458cf7ca: Download complete 10:04:27 8998bd30e6a1: Verifying Checksum 10:04:27 8998bd30e6a1: Download complete 10:04:29 2437ff75d9bd: Verifying Checksum 10:04:29 2437ff75d9bd: Download complete 10:04:31 8998bd30e6a1: Pull complete 10:04:32 04944245beec: Pull complete 10:04:33 699f458cf7ca: Pull complete 10:04:33 765212b225bb: Pull complete 10:04:34 f23df028b6ca: Pull complete 10:04:35 d65c8cfc05b1: Pull complete 10:04:53 2437ff75d9bd: Pull complete 10:04:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:04:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:53 prd-ubuntu20.04-docker-arm64-4c-16g-24907 does not seem to be running inside a container 10:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:04:56 $ docker top 26bd569bdd24b25499928611c02608c9fb592704cf9b6fc55a762e9cb4c3e21c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:57 ---> job-cost.sh 10:04:57 lf-activate-venv: SKIPPING 10:04:57 INFO: No Stack... 10:04:58 INFO: Retrieving Pricing Info for: v3-standard-4 10:04:58 INFO: Archiving Costs [Pipeline] sh 10:04:59 + cut -d, -f6 10:04:59 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock 10:04:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] 10:04:59 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] did not exist. Created. 10:04:59 Lock acquired on [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:05:00 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-f1e3d391/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:05:00 + echo total: 0.10999999940395355 [Pipeline] stash 10:05:01 Warning: overwriting stash ‘stack-cost’ 10:05:01 Stashed 1 file(s) [Pipeline] } 10:05:01 Lock released on resource [Resource: jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:05:01 $ docker stop --time=1 26bd569bdd24b25499928611c02608c9fb592704cf9b6fc55a762e9cb4c3e21c 10:05:03 $ docker rm -f --volumes 26bd569bdd24b25499928611c02608c9fb592704cf9b6fc55a762e9cb4c3e21c [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 10:05:04 provisioning config files... 10:05:04 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/config2574156987662856728tmp [Pipeline] { [Pipeline] sh 10:05:04 + set +x 10:05:04 + curl -s https://codecov.io/bash 10:05:04 + bash -s -- 10:05:04 10:05:04 _____ _ 10:05:04 / ____| | | 10:05:04 | | ___ __| | ___ ___ _____ __ 10:05:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:05:04 | |___| (_) | (_| | __/ (_| (_) \ V / 10:05:04 \_____\___/ \__,_|\___|\___\___/ \_/ 10:05:04 Bash-1.0.6 10:05:04 10:05:04 10:05:04 ==> git version 2.25.1 found 10:05:04 ==> 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 10:05:04 Release-Date: 2020-01-08 10:05:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:05:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:05:04 ==> Jenkins CI detected. 10:05:04 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-314 10:05:04 project root: . 10:05:04 --> token set from env 10:05:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:05:04 ==> Running gcov in . (disable via -X gcov) 10:05:04 ==> Python coveragepy not found 10:05:04 ==> Searching for coverage reports in: 10:05:04 + . 10:05:04 -> Found 1 reports 10:05:04 ==> Detecting git/mercurial file structure 10:05:04 ==> Reading reports 10:05:04 + ./coverage.out bytes=55696 10:05:04 ==> Appending adjustments 10:05:04 https://docs.codecov.io/docs/fixing-reports 10:05:04 + Found adjustments 10:05:04 ==> Gzipping contents 10:05:04 16K /tmp/codecov.Xg6gGB.gz 10:05:04 ==> Uploading reports 10:05:04 url: https://codecov.io 10:05:04 query: branch=PR-314&commit=9bcf1c1a7df6826f85d6a4b469231087c6ad6391&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=314&job=&cmd_args= 10:05:04 -> Pinging Codecov 10:05:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-314&commit=9bcf1c1a7df6826f85d6a4b469231087c6ad6391&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=314&job=&cmd_args= 10:05:05 -> Uploading to 10:05:05 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rfid-llrp-go/9bcf1c1a7df6826f85d6a4b469231087c6ad6391/16de75dd-5f59-418e-81e0-c71376f7c3ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T100505Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=237dad784c55d924cf8ecc9478e524999b1ce8efd33d0af467bf69f21d2b0dd2 10:05:05 % Total % Received % Xferd Average Speed Time Time Time Current 10:05:05 Dload Upload Total Spent Left Speed 10:05:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12870 0 0 100 12870 0 54075 --:--:-- --:--:-- --:--:-- 54303 10:05:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/9bcf1c1a7df6826f85d6a4b469231087c6ad6391 [Pipeline] } 10:05:05 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 10:05:07 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-314/archives ] 10:05:07 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-314/archives 10:05:07 total 16 10:05:07 drwxr-xr-x 3 root root 4096 Nov 7 09:34 . 10:05:07 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 09:34 .. 10:05:07 drwxr-xr-x 2 root root 4096 Nov 7 09:34 cost 10:05:07 -rw-r--r-- 1 root root 95 Nov 7 09:34 cost.csv 10:05:07 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-314/archives 10:05:07 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-314/archives 10:05:07 total 16 10:05:07 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:34 . 10:05:07 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 09:34 .. 10:05:07 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:34 cost 10:05:07 -rw-r--r-- 1 jenkins jenkins 95 Nov 7 09:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:05:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:05:08 ---> package-listing.sh 10:05:08 ++ facter osfamily 10:05:08 ++ tr '[:upper:]' '[:lower:]' 10:05:09 + OS_FAMILY=debian 10:05:09 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-314 10:05:09 + START_PACKAGES=/tmp/packages_start.txt 10:05:09 + END_PACKAGES=/tmp/packages_end.txt 10:05:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:05:09 + PACKAGES=/tmp/packages_start.txt 10:05:09 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-314 ']' 10:05:09 + PACKAGES=/tmp/packages_end.txt 10:05:09 + case "${OS_FAMILY}" in 10:05:09 + dpkg -l 10:05:09 + grep '^ii' 10:05:09 + '[' -f /tmp/packages_start.txt ']' 10:05:09 + '[' -f /tmp/packages_end.txt ']' 10:05:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:05:09 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-314 ']' 10:05:09 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-314/archives/ 10:05:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-314/archives/ [Pipeline] echo 10:05:09 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-314/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:05:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:10 prd-ubuntu20.04-docker-8c-8g-24758 does not seem to be running inside a container 10:05:10 $ 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-314/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-314 -v /w/workspace/y_app-rfid-llrp-inventory_PR-314:/w/workspace/y_app-rfid-llrp-inventory_PR-314:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:05:10 $ docker top bcb12124dd42b762cdc6dfcf58864fbe87e26d3a2787078215bdac52099c9679 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:11 + touch /tmp/pre-build-complete [Pipeline] sh 10:05:11 + mkdir -p /var/log/sysstat [Pipeline] sh 10:05:11 + ls /var/log/sa-host 10:05:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:11 provisioning config files... 10:05:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-314@tmp/config12087486176921042103tmp [Pipeline] { [Pipeline] echo 10:05:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:05:12 ---> create-netrc.sh [Pipeline] } 10:05:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:05:12 ---> python-tools-install.sh [Pipeline] echo 10:05:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:05:13 ---> sudo-logs.sh 10:05:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:05:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:05:13 ---> job-cost.sh 10:05:13 lf-activate-venv: SKIPPING 10:05:13 DEBUG: total: 0.2199999988079071 10:05:13 INFO: Retrieving Stack Cost... 10:05:13 INFO: Retrieving Pricing Info for: v3-standard-8 10:05:15 INFO: Archiving Costs [Pipeline] echo 10:05:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:05:15 ---> logs-deploy.sh 10:05:15 lf-activate-venv: SKIPPING 10:05:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-314/1 10:05:15 INFO: archiving workspace using pattern(s): 10:05:16 Archives upload complete. 10:05:16 INFO: archiving logs to Nexus