Pull request #253 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 lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from 819bbb7b4aec2973b07924df3bb17c04701437d7+a0e1407e8284cebbd4d8bcb1551bf5f7b8879b40 (0dec3330a25dd98db4a5efae2e3aca2a7404bbe4) 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-ssh12787739695995568204.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12848323069618726044.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-253/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-253/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4958044621293658419.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-253/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13899419653299224470.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh17456704911579555226.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-253/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-253/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11147903011902216710.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-17495’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17498 in /w/workspace/y_app-rfid-llrp-inventory_PR-253 [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-253 # 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 a0e1407e8284cebbd4d8bcb1551bf5f7b8879b40 into PR head commit 819bbb7b4aec2973b07924df3bb17c04701437d7 Merge succeeded, producing 819bbb7b4aec2973b07924df3bb17c04701437d7 Checking out Revision 819bbb7b4aec2973b07924df3bb17c04701437d7 (PR-253) > 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/253/head:refs/remotes/origin/PR-253 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 819bbb7b4aec2973b07924df3bb17c04701437d7 # 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 a0e1407e8284cebbd4d8bcb1551bf5f7b8879b40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 819bbb7b4aec2973b07924df3bb17c04701437d7 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:11:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:11:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:11:33 ========================================================= 18:11:33 EdgeX Global Pipelines Version Info 18:11:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:11:34 ------------------- 18:11:34 stable info: 18:11:34 ------------------- 18:11:34 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:11:34 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:11:34 Message: update stable to v1.0.257 18:11:35 ------------------- 18:11:35 experimental info: 18:11:35 ------------------- 18:11:35 Commited By: **** collab-it+edgex@linuxfoundation.org 18:11:35 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:11:35 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:11:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-253 [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-253 [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-253 [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 819bbb7b4aec2973b07924df3bb17c04701437d7 [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 819bbb7 [Pipeline] echo 18:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:36 provisioning config files... 18:11:36 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/config17138356486174393670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:37 ---> docker-login.sh 18:11:37 nexus3.edgexfoundry.org:10001 18:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:37 Configure a credential helper to remove this warning. See 18:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:37 18:11:37 Login Succeeded 18:11:37 nexus3.edgexfoundry.org:10002 18:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:37 Configure a credential helper to remove this warning. See 18:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:37 18:11:37 Login Succeeded 18:11:37 nexus3.edgexfoundry.org:10003 18:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:38 Configure a credential helper to remove this warning. See 18:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:38 18:11:38 Login Succeeded 18:11:38 nexus3.edgexfoundry.org:10004 18:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:38 Configure a credential helper to remove this warning. See 18:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:38 18:11:38 Login Succeeded 18:11:38 docker.io 18:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:38 Configure a credential helper to remove this warning. See 18:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:38 18:11:38 Login Succeeded 18:11:38 ---> docker-login.sh ends [Pipeline] } 18:11:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:11:38 + git rev-list -1 --merges 819bbb7b4aec2973b07924df3bb17c04701437d7~1..819bbb7b4aec2973b07924df3bb17c04701437d7 [Pipeline] echo 18:11:39 -----------> git rev-list -1 --merges 819bbb7b4aec2973b07924df3bb17c04701437d7~1..819bbb7b4aec2973b07924df3bb17c04701437d7 819bbb7b4aec2973b07924df3bb17c04701437d7 [false] [Pipeline] sh 18:11:39 + git log --format=format:%s -1 819bbb7b4aec2973b07924df3bb17c04701437d7 [Pipeline] echo 18:11:39 ========================================================= 18:11:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:11:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:39 + git log --format=format:%s -1 819bbb7b4aec2973b07924df3bb17c04701437d7 [Pipeline] echo 18:11:39 [semverPrep] GIT_COMMIT: 819bbb7b4aec2973b07924df3bb17c04701437d7, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo 18:11:39 [semverPrep] This is not a build commit. [Pipeline] sh 18:11:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:11:40 + grep -v github /etc/ssh/ssh_known_hosts 18:11:40 + [ -e /tmp/ssh_known_hosts ] 18:11:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:11:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:11:40 + sudo tee -a /etc/ssh/ssh_known_hosts 18:11:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:40 18:11:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:41 0.1.4: Pulling from edgex-devops/py-git-semver 18:11:41 b85a868b505f: Pulling fs layer 18:11:41 e2be974225ed: Pulling fs layer 18:11:41 339a4e72a1f5: Pulling fs layer 18:11:41 988bab9f4d93: Pulling fs layer 18:11:41 1469e6f7b9e6: Pulling fs layer 18:11:41 eaf3925da568: Pulling fs layer 18:11:41 bab4dde63d76: Pulling fs layer 18:11:41 bde34c3a00c8: Pulling fs layer 18:11:41 b352a97aabf1: Pulling fs layer 18:11:41 4872d77fe225: Pulling fs layer 18:11:41 5851b861e8e6: Pulling fs layer 18:11:41 988bab9f4d93: Waiting 18:11:41 1469e6f7b9e6: Waiting 18:11:41 eaf3925da568: Waiting 18:11:41 bab4dde63d76: Waiting 18:11:41 bde34c3a00c8: Waiting 18:11:41 b352a97aabf1: Waiting 18:11:41 4872d77fe225: Waiting 18:11:41 5851b861e8e6: Waiting 18:11:41 e2be974225ed: Download complete 18:11:41 988bab9f4d93: Verifying Checksum 18:11:41 988bab9f4d93: Download complete 18:11:41 1469e6f7b9e6: Verifying Checksum 18:11:41 1469e6f7b9e6: Download complete 18:11:41 eaf3925da568: Verifying Checksum 18:11:41 eaf3925da568: Download complete 18:11:41 339a4e72a1f5: Verifying Checksum 18:11:41 339a4e72a1f5: Download complete 18:11:41 bde34c3a00c8: Verifying Checksum 18:11:41 bde34c3a00c8: Download complete 18:11:41 b352a97aabf1: Verifying Checksum 18:11:41 b352a97aabf1: Download complete 18:11:41 4872d77fe225: Verifying Checksum 18:11:41 4872d77fe225: Download complete 18:11:41 5851b861e8e6: Verifying Checksum 18:11:41 5851b861e8e6: Download complete 18:11:41 b85a868b505f: Verifying Checksum 18:11:41 b85a868b505f: Download complete 18:11:41 bab4dde63d76: Verifying Checksum 18:11:41 bab4dde63d76: Download complete 18:11:42 b85a868b505f: Pull complete 18:11:43 e2be974225ed: Pull complete 18:11:43 339a4e72a1f5: Pull complete 18:11:43 988bab9f4d93: Pull complete 18:11:43 1469e6f7b9e6: Pull complete 18:11:43 eaf3925da568: Pull complete 18:11:46 bab4dde63d76: Pull complete 18:11:46 bde34c3a00c8: Pull complete 18:11:46 b352a97aabf1: Pull complete 18:11:46 4872d77fe225: Pull complete 18:11:46 5851b861e8e6: Pull complete 18:11:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:11:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:46 prd-ubuntu20.04-docker-8c-8g-17498 does not seem to be running inside a container 18:11:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-253 -v /w/workspace/y_app-rfid-llrp-inventory_PR-253:/w/workspace/y_app-rfid-llrp-inventory_PR-253:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-253@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 18:11:49 $ docker top 07045a907f707e70a9cfd5c68d44e1d3f9a28eb1d087b5600e1c1e7930e8f95b -eo pid,comm 18:11:49 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). 18:11:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:11:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:49 [ssh-agent] Looking for ssh-agent implementation... 18:11:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:49 $ docker exec 07045a907f707e70a9cfd5c68d44e1d3f9a28eb1d087b5600e1c1e7930e8f95b ssh-agent 18:11:49 SSH_AUTH_SOCK=/tmp/ssh-hIqEVYPr79uE/agent.33 18:11:49 SSH_AGENT_PID=39 18:11:49 Running ssh-add (command line suppressed) 18:11:49 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/private_key_9452033139249447138.key (/w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/private_key_9452033139249447138.key) 18:11:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:50 + git tag --points-at HEAD [Pipeline] } 18:11:50 $ docker exec --env ******** --env ******** 07045a907f707e70a9cfd5c68d44e1d3f9a28eb1d087b5600e1c1e7930e8f95b ssh-agent -k 18:11:50 unset SSH_AUTH_SOCK; 18:11:50 unset SSH_AGENT_PID; 18:11:50 echo Agent pid 39 killed; 18:11:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:11:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:50 [ssh-agent] Looking for ssh-agent implementation... 18:11:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:50 $ docker exec 07045a907f707e70a9cfd5c68d44e1d3f9a28eb1d087b5600e1c1e7930e8f95b ssh-agent 18:11:50 SSH_AUTH_SOCK=/tmp/ssh-2CqCVArgy6x1/agent.72 18:11:50 SSH_AGENT_PID=78 18:11:50 Running ssh-add (command line suppressed) 18:11:50 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/private_key_6113662204243138680.key (/w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/private_key_6113662204243138680.key) 18:11:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:51 + git semver init 18:11:51 2023-11-14 18:11:51,299 [run_init] DEBUG init version:0.0.0 force:False 18:11:51 2023-11-14 18:11:51,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver 18:11:51 2023-11-14 18:11:51,300 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver 18:11:51 2023-11-14 18:11:51,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-253, universal_newlines=False, shell=None, istream=None) 18:11:52 2023-11-14 18:11:52,469 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-253/.git/info/exclude 18:11:52 2023-11-14 18:11:52,469 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver/PR-253 with force:False 18:11:52 2023-11-14 18:11:52,469 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver/PR-253 18:11:52 2023-11-14 18:11:52,474 [execute] INFO git cat-file --batch-check 18:11:52 2023-11-14 18:11:52,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver, universal_newlines=False, shell=None, istream=) 18:11:52 2023-11-14 18:11:52,480 [execute] INFO git cat-file --batch 18:11:52 2023-11-14 18:11:52,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver, universal_newlines=False, shell=None, istream=) 18:11:52 2023-11-14 18:11:52,486 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-253/.semver/PR-253 18:11:52 0.0.0 [Pipeline] } 18:11:52 $ docker exec --env ******** --env ******** 07045a907f707e70a9cfd5c68d44e1d3f9a28eb1d087b5600e1c1e7930e8f95b ssh-agent -k 18:11:52 unset SSH_AUTH_SOCK; 18:11:52 unset SSH_AGENT_PID; 18:11:52 echo Agent pid 78 killed; 18:11:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:11:53 + git semver [Pipeline] } 18:11:53 $ docker stop --time=1 07045a907f707e70a9cfd5c68d44e1d3f9a28eb1d087b5600e1c1e7930e8f95b 18:11:54 $ docker rm -f --volumes 07045a907f707e70a9cfd5c68d44e1d3f9a28eb1d087b5600e1c1e7930e8f95b [Pipeline] // withDockerContainer [Pipeline] sh 18:11:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:11:55 Stashed 1 file(s) [Pipeline] echo 18:11:55 [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 18:11:56 provisioning config files... 18:11:56 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/config3866087423063542759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:56 ---> docker-login.sh 18:11:56 nexus3.edgexfoundry.org:10001 18:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:56 Configure a credential helper to remove this warning. See 18:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:56 18:11:56 Login Succeeded 18:11:56 nexus3.edgexfoundry.org:10002 18:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:56 Configure a credential helper to remove this warning. See 18:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:56 18:11:56 Login Succeeded 18:11:56 nexus3.edgexfoundry.org:10003 18:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:56 Configure a credential helper to remove this warning. See 18:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:56 18:11:56 Login Succeeded 18:11:56 nexus3.edgexfoundry.org:10004 18:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:56 Configure a credential helper to remove this warning. See 18:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:56 18:11:56 Login Succeeded 18:11:56 docker.io 18:11:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:57 Configure a credential helper to remove this warning. See 18:11:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:57 18:11:57 Login Succeeded 18:11:57 ---> docker-login.sh ends [Pipeline] } 18:11:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:11:57 ========================================================= 18:11:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:11:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:11:57 Sending build context to Docker daemon 12.76MB 18:11:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:11:57 Step 2/12 : FROM ${BASE} AS builder 18:11:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:11:57 7264a8db6415: Pulling fs layer 18:11:57 c4d48a809fc2: Pulling fs layer 18:11:57 4f1c88b9dad5: Pulling fs layer 18:11:57 ad3a456e5733: Pulling fs layer 18:11:57 69c7f0334f64: Pulling fs layer 18:11:57 1f1c1a5573a3: Pulling fs layer 18:11:57 ce7588e14bc9: Pulling fs layer 18:11:57 b5e4710f87ac: Pulling fs layer 18:11:57 1f1c1a5573a3: Waiting 18:11:57 ce7588e14bc9: Waiting 18:11:57 b5e4710f87ac: Waiting 18:11:57 ad3a456e5733: Waiting 18:11:57 c4d48a809fc2: Verifying Checksum 18:11:57 c4d48a809fc2: Download complete 18:11:57 ad3a456e5733: Verifying Checksum 18:11:57 ad3a456e5733: Download complete 18:11:57 69c7f0334f64: Verifying Checksum 18:11:57 69c7f0334f64: Download complete 18:11:58 7264a8db6415: Verifying Checksum 18:11:58 7264a8db6415: Download complete 18:11:58 1f1c1a5573a3: Verifying Checksum 18:11:58 1f1c1a5573a3: Download complete 18:11:58 7264a8db6415: Pull complete 18:11:58 b5e4710f87ac: Verifying Checksum 18:11:58 b5e4710f87ac: Download complete 18:11:58 c4d48a809fc2: Pull complete 18:11:58 4f1c88b9dad5: Verifying Checksum 18:11:58 4f1c88b9dad5: Download complete 18:11:58 ce7588e14bc9: Verifying Checksum 18:11:58 ce7588e14bc9: Download complete 18:12:02 4f1c88b9dad5: Pull complete 18:12:02 ad3a456e5733: Pull complete 18:12:02 69c7f0334f64: Pull complete 18:12:02 1f1c1a5573a3: Pull complete 18:12:04 ce7588e14bc9: Pull complete 18:12:05 b5e4710f87ac: Pull complete 18:12:05 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:12:05 ---> 88b5674ff536 18:12:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:12:10 ---> Running in 8b5d438c5c85 18:12:10 Removing intermediate container 8b5d438c5c85 18:12:10 ---> a45ea21a9590 18:12:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:12:10 ---> Running in 346fed455203 18:12:10 Removing intermediate container 346fed455203 18:12:10 ---> 6ef4e15ea0ce 18:12:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:12:10 ---> Running in 49bdf0ac8c99 18:12:10 Removing intermediate container 49bdf0ac8c99 18:12:10 ---> 6462f12e52ad 18:12:10 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:10 ---> Running in f0c984594e4f 18:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:10 OK: 264 MiB in 52 packages 18:12:10 Removing intermediate container f0c984594e4f 18:12:10 ---> 70962b5ccff9 18:12:10 Step 7/12 : WORKDIR /app 18:12:10 Still waiting to schedule task 18:12:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17496’ is offline 18:12:11 ---> Running in 580279ecb68d 18:12:11 Removing intermediate container 580279ecb68d 18:12:11 ---> 9f4e01e51828 18:12:11 Step 8/12 : COPY go.mod vendor* ./ 18:12:11 ---> 6681cce3df7f 18:12:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:12:11 ---> Running in 7b14d47066d9 18:12:49 Removing intermediate container 7b14d47066d9 18:12:49 ---> 0f24cc38ce4c 18:12:49 Step 10/12 : COPY . . 18:12:49 ---> e20c84558e97 18:12:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:49 ---> Running in d9a8ab13ccb2 18:12:49 Removing intermediate container d9a8ab13ccb2 18:12:49 ---> ecf895fd962f 18:12:49 Step 12/12 : RUN $MAKE 18:12:49 ---> Running in 8d6562f49bf6 18:12:49 noop 18:12:49 Removing intermediate container 8d6562f49bf6 18:12:49 ---> 5c32901264ab 18:12:49 Successfully built 5c32901264ab 18:12:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:50 + docker inspect -f . ci-base-image-x86_64 18:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:50 prd-ubuntu20.04-docker-8c-8g-17498 does not seem to be running inside a container 18:12:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-253 -v /w/workspace/y_app-rfid-llrp-inventory_PR-253:/w/workspace/y_app-rfid-llrp-inventory_PR-253:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-253@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 18:12:50 $ docker top 7c8ab0c0729c38deaef8addaf7d17a8463d799b98344ceca5de05a722d008f35 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:51 + go version 18:12:51 go version go1.21.0 linux/amd64 [Pipeline] } 18:12:51 $ docker stop --time=1 7c8ab0c0729c38deaef8addaf7d17a8463d799b98344ceca5de05a722d008f35 18:12:52 $ docker rm -f --volumes 7c8ab0c0729c38deaef8addaf7d17a8463d799b98344ceca5de05a722d008f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:53 + docker inspect -f . ci-base-image-x86_64 18:12:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:53 prd-ubuntu20.04-docker-8c-8g-17498 does not seem to be running inside a container 18:12:53 $ 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-253 -v /w/workspace/y_app-rfid-llrp-inventory_PR-253:/w/workspace/y_app-rfid-llrp-inventory_PR-253:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-253@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 18:12:53 $ docker top 5a3c809f92c61cb4a341ad475bbfffc81ec6b3cdbbd4175205ae93acab952db3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:54 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-253 [Pipeline] fileExists [Pipeline] sh 18:12:54 + make test 18:12:54 go test -race ./... -coverprofile=coverage.out ./... 18:13:16 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:13:16 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:13:16 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.138s coverage: 86.2% of statements 18:13:16 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.693s coverage: 71.9% of statements 18:13:34 go vet ./... 18:13:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:13:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:13:37 ./bin/test-attribution.sh 18:13:37 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 18:13:37 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 18:13:37 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 18:13:37 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 18:13:37 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 18:13:37 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 18:13:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:13:37 $ docker stop --time=1 5a3c809f92c61cb4a341ad475bbfffc81ec6b3cdbbd4175205ae93acab952db3 18:13:42 $ docker rm -f --volumes 5a3c809f92c61cb4a341ad475bbfffc81ec6b3cdbbd4175205ae93acab952db3 [Pipeline] // withDockerContainer [Pipeline] sh 18:13:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:13:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:43 + ls -al . 18:13:43 total 208 18:13:43 drwxrwxr-x 11 jenkins jenkins 4096 Nov 14 18:12 . 18:13:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:11 .. 18:13:43 -rw-rw-r-- 1 jenkins jenkins 262 Nov 14 18:11 .dockerignore 18:13:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:13 .git 18:13:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:11 .github 18:13:43 -rw-rw-r-- 1 jenkins jenkins 773 Nov 14 18:11 .gitignore 18:13:43 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:11 .golangci.yml 18:13:43 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:11 .semver 18:13:43 -rw-rw-r-- 1 jenkins jenkins 10232 Nov 14 18:11 Attribution.txt 18:13:43 -rw-rw-r-- 1 jenkins jenkins 11245 Nov 14 18:11 CHANGELOG.md 18:13:43 -rw-rw-r-- 1 jenkins jenkins 1768 Nov 14 18:11 Dockerfile 18:13:43 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:11 GOVERNANCE.md 18:13:43 -rw-rw-r-- 1 jenkins jenkins 665 Nov 14 18:11 Jenkinsfile 18:13:43 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 14 18:11 LICENSE 18:13:43 -rw-rw-r-- 1 jenkins jenkins 2497 Nov 14 18:11 Makefile 18:13:43 -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 18:11 OWNERS.md 18:13:43 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 14 18:11 README.md 18:13:43 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:11 VERSION 18:13:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:11 bin 18:13:43 -rw-r--r-- 1 jenkins jenkins 41317 Nov 14 18:13 coverage.out 18:13:43 -rw-rw-r-- 1 jenkins jenkins 3922 Nov 14 18:11 go.mod 18:13:43 -rw-rw-r-- 1 jenkins jenkins 34986 Nov 14 18:11 go.sum 18:13:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:11 images 18:13:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:11 internal 18:13:43 -rw-rw-r-- 1 jenkins jenkins 531 Nov 14 18:11 main.go 18:13:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:11 openapi 18:13:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:11 res 18:13:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:11 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:44 + 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=819bbb7b4aec2973b07924df3bb17c04701437d7 --label arch=amd64 --label version=0.0.0 . 18:13:44 Sending build context to Docker daemon 12.76MB 18:13:44 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 18:13:44 Step 2/30 : FROM ${BASE} AS builder 18:13:44 ---> 5c32901264ab 18:13:44 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 18:13:44 ---> Running in 1bb2c29e03c4 18:13:44 Removing intermediate container 1bb2c29e03c4 18:13:44 ---> a68d0712c18f 18:13:44 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 18:13:44 ---> Running in 8c021857b43c 18:13:44 Removing intermediate container 8c021857b43c 18:13:44 ---> 60e4cb6c1dce 18:13:44 Step 5/30 : ARG ADD_BUILD_TAGS="" 18:13:44 ---> Running in 02aa12019c00 18:13:44 Removing intermediate container 02aa12019c00 18:13:44 ---> b14f02a7a379 18:13:44 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:44 ---> Running in b9d90e0b1d32 18:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:45 OK: 264 MiB in 52 packages 18:13:45 Removing intermediate container b9d90e0b1d32 18:13:45 ---> 696aefb3d8bc 18:13:45 Step 7/30 : WORKDIR /app 18:13:45 ---> Running in 44bc6e79bd2d 18:13:45 Removing intermediate container 44bc6e79bd2d 18:13:45 ---> fb9ad32f06ef 18:13:45 Step 8/30 : COPY go.mod vendor* ./ 18:13:45 ---> 8b7698ccc146 18:13:45 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:45 ---> Running in df404cfa5111 18:13:46 Removing intermediate container df404cfa5111 18:13:46 ---> 81b2f8465b9d 18:13:46 Step 10/30 : COPY . . 18:13:46 ---> 4833cac62543 18:13:46 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:13:46 ---> Running in 57454ab61ede 18:13:46 Removing intermediate container 57454ab61ede 18:13:46 ---> b27349d09b99 18:13:46 Step 12/30 : RUN $MAKE 18:13:46 ---> Running in cb44a67b6bf4 18:13:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory 18:13:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17499 in /w/workspace/y_app-rfid-llrp-inventory_PR-253 [Pipeline] { [Pipeline] ws 18:13:57 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 18:13:57 The recommended git tool is: git 18:14:03 using credential edgex-jenkins-ssh 18:14:03 Cloning the remote Git repository 18:14:03 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:14:03 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 18:14:04 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:14:04 > git --version # timeout=10 18:14:04 > git --version # 'git version 2.25.1' 18:14:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:07 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 18:14:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:08 Merging remotes/origin/main commit a0e1407e8284cebbd4d8bcb1551bf5f7b8879b40 into PR head commit 819bbb7b4aec2973b07924df3bb17c04701437d7 18:14:09 Removing intermediate container cb44a67b6bf4 18:14:09 ---> d30898776484 18:14:09 Step 13/30 : FROM alpine:3.18 18:14:09 3.18: Pulling from library/alpine 18:14:09 96526aa774ef: Pulling fs layer 18:14:09 96526aa774ef: Verifying Checksum 18:14:09 96526aa774ef: Download complete 18:14:09 96526aa774ef: Pull complete 18:14:09 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:14:09 Status: Downloaded newer image for alpine:3.18 18:14:09 ---> 8ca4688f4f35 18:14:09 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:14:09 ---> Running in 343f641e8acf 18:14:09 Removing intermediate container 343f641e8acf 18:14:09 ---> ea03701e4a4b 18:14:09 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:14:09 ---> Running in 9389694e91be 18:14:09 Removing intermediate container 9389694e91be 18:14:09 ---> aa0a4acc8b67 18:14:09 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 18:14:09 ---> Running in 533e6107f4a9 18:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:14:09 (1/2) Installing ca-certificates (20230506-r0) 18:14:09 (2/2) Installing dumb-init (1.2.5-r2) 18:14:09 Executing busybox-1.36.1-r2.trigger 18:14:09 Executing ca-certificates-20230506-r0.trigger 18:14:09 OK: 8 MiB in 17 packages 18:14:08 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 18:14:08 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:14:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/253/head:refs/remotes/origin/PR-253 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:14:08 > git config core.sparsecheckout # timeout=10 18:14:09 > git checkout -f 819bbb7b4aec2973b07924df3bb17c04701437d7 # timeout=10 18:14:09 > git remote # timeout=10 18:14:09 > git config --get remote.origin.url # timeout=10 18:14:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:09 > git merge a0e1407e8284cebbd4d8bcb1551bf5f7b8879b40 # timeout=10 18:14:09 > git rev-parse HEAD^{commit} # timeout=10 18:14:09 Merge succeeded, producing 819bbb7b4aec2973b07924df3bb17c04701437d7 18:14:09 Checking out Revision 819bbb7b4aec2973b07924df3bb17c04701437d7 (PR-253) 18:14:09 Removing intermediate container 533e6107f4a9 18:14:09 ---> 8bbdfb7dd492 18:14:09 Step 17/30 : RUN apk --no-cache upgrade 18:14:09 ---> Running in 56b948c77a4a 18:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:14:10 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:14:10 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:14:10 Executing busybox-1.36.1-r5.post-upgrade 18:14:10 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:14:10 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:14:10 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:14:10 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:14:10 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:14:10 Executing busybox-1.36.1-r5.trigger 18:14:10 Executing ca-certificates-20230506-r0.trigger 18:14:10 OK: 8 MiB in 17 packages 18:14:09 > git config core.sparsecheckout # timeout=10 18:14:09 > git checkout -f 819bbb7b4aec2973b07924df3bb17c04701437d7 # timeout=10 18:14:10 Removing intermediate container 56b948c77a4a 18:14:10 ---> c6b37637c5f0 18:14:10 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:14:10 ---> bd5ed911aeaa 18:14:10 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 18:14:11 ---> 869251d0ce8e 18:14:11 Step 20/30 : COPY --from=builder /app/res/ /res/ 18:14:11 ---> 52fcc06f70cc 18:14:11 Step 21/30 : COPY --from=builder /app/static/ /static/ 18:14:11 ---> bf8a12f2e982 18:14:11 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:14:12 ---> de4bd77218c8 18:14:12 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:14:12 ---> Running in f4deebe08895 18:14:12 Commit message: "fix: Address CVE in Alpine base image" 18:14:12 > git --version # timeout=10 18:14:12 > git --version # 'git version 2.25.1' 18:14:12 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:14:12 Removing intermediate container f4deebe08895 18:14:12 ---> 83b9e7e74723 18:14:12 Step 24/30 : VOLUME /cache 18:14:12 ---> Running in 5165abaef756 18:14:12 Removing intermediate container 5165abaef756 18:14:12 ---> d75e7e654850 18:14:12 Step 25/30 : EXPOSE 59711 18:14:12 ---> Running in e7922473061b 18:14:12 Removing intermediate container e7922473061b 18:14:12 ---> 1402a4b2e9d7 18:14:12 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:14:12 ---> Running in d583499e233e 18:14:13 Removing intermediate container d583499e233e 18:14:13 ---> e5029936fc35 18:14:13 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 18:14:13 ---> Running in 3994f4a1300f 18:14:13 Removing intermediate container 3994f4a1300f 18:14:13 ---> af3e49f2d559 18:14:13 Step 28/30 : LABEL arch=amd64 18:14:13 ---> Running in 3d753083dd53 18:14:13 Removing intermediate container 3d753083dd53 18:14:13 ---> 3969999a4c6a 18:14:13 Step 29/30 : LABEL git_sha=819bbb7b4aec2973b07924df3bb17c04701437d7 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 18:14:13 ---> Running in 1a58c30060c3 18:14:13 Removing intermediate container 1a58c30060c3 18:14:13 ---> 63c1c759fef8 18:14:13 Step 30/30 : LABEL version=0.0.0 18:14:13 ---> Running in 029cee93f5e4 18:14:13 Removing intermediate container 029cee93f5e4 18:14:13 ---> 00ddf0dc7954 18:14:13 [Warning] One or more build-args [ARCH] were not consumed 18:14:13 Successfully built 00ddf0dc7954 [Pipeline] sh 18:14:13 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] } 18:14:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:14:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:14:14 Dload Upload Total Spent Left Speed 18:14:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93940 0 --:--:-- --:--:-- --:--:-- 94641 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 18:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:14 18:14:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:14:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:15 latest: Pulling from edgex-lftools-log-publisher 18:14:15 5eb5b503b376: Pulling fs layer 18:14:15 5c69ac0246d0: Pulling fs layer 18:14:15 ec43610c2a17: Pulling fs layer 18:14:15 3a2ae6a8a46f: Pulling fs layer 18:14:15 33b1e0a273af: Pulling fs layer 18:14:15 5d3b04190fa2: Pulling fs layer 18:14:15 2f39f015ded8: Pulling fs layer 18:14:15 3a2ae6a8a46f: Waiting 18:14:15 33b1e0a273af: Waiting 18:14:15 5d3b04190fa2: Waiting 18:14:15 5c69ac0246d0: Verifying Checksum 18:14:15 5c69ac0246d0: Download complete 18:14:15 3a2ae6a8a46f: Download complete 18:14:15 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:14:15 sudo tee /etc/docker/daemon.new 18:14:15 33b1e0a273af: Verifying Checksum 18:14:15 33b1e0a273af: Download complete 18:14:15 ec43610c2a17: Verifying Checksum 18:14:15 ec43610c2a17: Download complete 18:14:15 5d3b04190fa2: Verifying Checksum 18:14:15 5d3b04190fa2: Download complete 18:14:15 5eb5b503b376: Verifying Checksum 18:14:15 5eb5b503b376: Download complete 18:14:15 { 18:14:15 "registry-mirrors": [ 18:14:15 "https://nexus3.edgexfoundry.org:10001" 18:14:15 ], 18:14:15 "bip": "10.250.0.254/24", 18:14:15 "hosts": [ 18:14:15 "tcp://0.0.0.0:5555", 18:14:15 "unix:///var/run/docker.sock" 18:14:15 ], 18:14:15 "mtu": 1458, 18:14:15 "selinux-enabled": true, 18:14:15 "seccomp-profile": "/etc/docker/seccomp.json" 18:14:15 } [Pipeline] sh 18:14:15 2f39f015ded8: Download complete 18:14:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:14:16 + sudo service docker restart 18:14:16 5eb5b503b376: Pull complete 18:14:17 5c69ac0246d0: Pull complete 18:14:17 ec43610c2a17: Pull complete 18:14:17 3a2ae6a8a46f: Pull complete 18:14:17 33b1e0a273af: Pull complete 18:14:17 5d3b04190fa2: Pull complete 18:14:22 2f39f015ded8: Pull complete 18:14:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:14:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:22 prd-ubuntu20.04-docker-8c-8g-17498 does not seem to be running inside a container 18:14:22 $ 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-253 -v /w/workspace/y_app-rfid-llrp-inventory_PR-253:/w/workspace/y_app-rfid-llrp-inventory_PR-253:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-253@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 18:14:27 $ docker top 3d1b2840959a0fdddeeeb704540c9b98b7c01c4b9e45c29c29021f2bf246d5ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:27 ---> job-cost.sh 18:14:27 lf-activate-venv: SKIPPING 18:14:27 INFO: No Stack... 18:14:27 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:28 INFO: Archiving Costs [Pipeline] sh 18:14:28 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-253/archives/cost.csv 18:14:28 + cut -d, -f6 [Pipeline] lock 18:14:28 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] 18:14:28 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] did not exist. Created. 18:14:28 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:28 + echo total: 0.2199999988079071 [Pipeline] stash 18:14:28 Stashed 1 file(s) [Pipeline] } 18:14:28 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:28 $ docker stop --time=1 3d1b2840959a0fdddeeeb704540c9b98b7c01c4b9e45c29c29021f2bf246d5ab 18:14:30 $ docker rm -f --volumes 3d1b2840959a0fdddeeeb704540c9b98b7c01c4b9e45c29c29021f2bf246d5ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:38 provisioning config files... 18:14:38 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config13168385985001081827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:39 ---> docker-login.sh 18:14:39 nexus3.edgexfoundry.org:10001 18:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:39 Configure a credential helper to remove this warning. See 18:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:39 18:14:39 Login Succeeded 18:14:39 nexus3.edgexfoundry.org:10002 18:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:39 Configure a credential helper to remove this warning. See 18:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:39 18:14:39 Login Succeeded 18:14:40 nexus3.edgexfoundry.org:10003 18:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:40 Configure a credential helper to remove this warning. See 18:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:40 18:14:40 Login Succeeded 18:14:40 nexus3.edgexfoundry.org:10004 18:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:40 Configure a credential helper to remove this warning. See 18:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:40 18:14:40 Login Succeeded 18:14:40 docker.io 18:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:41 Configure a credential helper to remove this warning. See 18:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:41 18:14:41 Login Succeeded 18:14:41 ---> docker-login.sh ends [Pipeline] } 18:14:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:14:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:14:41 ========================================================= 18:14:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:14:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:14:42 Sending build context to Docker daemon 670.7kB 18:14:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:14:42 Step 2/12 : FROM ${BASE} AS builder 18:14:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:14:42 9fda8d8052c6: Pulling fs layer 18:14:42 5d54e960e981: Pulling fs layer 18:14:42 c4a7e357bf2a: Pulling fs layer 18:14:42 f0e02332f6b5: Pulling fs layer 18:14:42 872ee5b61b7b: Pulling fs layer 18:14:42 0c6a40ed1a82: Pulling fs layer 18:14:42 94ae7d8d031c: Pulling fs layer 18:14:42 f0e02332f6b5: Waiting 18:14:42 872ee5b61b7b: Waiting 18:14:42 0c6a40ed1a82: Waiting 18:14:42 94ae7d8d031c: Waiting 18:14:42 5d54e960e981: Verifying Checksum 18:14:42 5d54e960e981: Download complete 18:14:42 f0e02332f6b5: Verifying Checksum 18:14:42 f0e02332f6b5: Download complete 18:14:42 872ee5b61b7b: Verifying Checksum 18:14:42 872ee5b61b7b: Download complete 18:14:42 9fda8d8052c6: Verifying Checksum 18:14:42 9fda8d8052c6: Download complete 18:14:43 94ae7d8d031c: Verifying Checksum 18:14:43 94ae7d8d031c: Download complete 18:14:43 9fda8d8052c6: Pull complete 18:14:44 5d54e960e981: Pull complete 18:14:44 c4a7e357bf2a: Verifying Checksum 18:14:44 c4a7e357bf2a: Download complete 18:14:45 0c6a40ed1a82: Verifying Checksum 18:14:45 0c6a40ed1a82: Download complete 18:14:58 c4a7e357bf2a: Pull complete 18:14:58 f0e02332f6b5: Pull complete 18:14:58 872ee5b61b7b: Pull complete 18:15:06 0c6a40ed1a82: Pull complete 18:15:07 94ae7d8d031c: Pull complete 18:15:07 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:15:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:15:07 ---> 86de565de09d 18:15:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:15:09 ---> Running in ccf0855d7c35 18:15:09 Removing intermediate container ccf0855d7c35 18:15:09 ---> d811d04d0d0c 18:15:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:15:09 ---> Running in 1d1343993553 18:15:09 Removing intermediate container 1d1343993553 18:15:09 ---> d64e561ab2eb 18:15:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:15:09 ---> Running in d1707a5e5a90 18:15:10 Removing intermediate container d1707a5e5a90 18:15:10 ---> e5a50ecd9780 18:15:10 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:10 ---> Running in b7d0d4a0191f 18:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:15:12 OK: 266 MiB in 52 packages 18:15:13 Removing intermediate container b7d0d4a0191f 18:15:13 ---> 4f567c8569b6 18:15:13 Step 7/12 : WORKDIR /app 18:15:13 ---> Running in 1947c7572e3c 18:15:13 Removing intermediate container 1947c7572e3c 18:15:13 ---> 664fb07bb2c7 18:15:13 Step 8/12 : COPY go.mod vendor* ./ 18:15:17 ---> e4388bfbd32d 18:15:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:17 ---> Running in 7e7120f23ddf 18:16:38 Removing intermediate container 7e7120f23ddf 18:16:38 ---> 3465b2aa3495 18:16:38 Step 10/12 : COPY . . 18:16:38 ---> 88448c33e77a 18:16:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:16:38 ---> Running in bd0d88f2b4fb 18:16:38 Removing intermediate container bd0d88f2b4fb 18:16:38 ---> 333bfae8093a 18:16:38 Step 12/12 : RUN $MAKE 18:16:38 ---> Running in c7d210b669c6 18:16:38 noop 18:16:38 Removing intermediate container c7d210b669c6 18:16:38 ---> c7487e69657a 18:16:38 Successfully built c7487e69657a 18:16:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:39 + docker inspect -f . ci-base-image-arm64 18:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:39 prd-ubuntu20.04-docker-arm64-4c-16g-17499 does not seem to be running inside a container 18:16:39 $ 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 18:16:41 $ docker top 2c800028b4d7dc35ede8af9dd8d4a9ccf9eaa7a416561f3ed3377d673323f1a3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:42 + go version 18:16:42 go version go1.21.0 linux/arm64 [Pipeline] } 18:16:42 $ docker stop --time=1 2c800028b4d7dc35ede8af9dd8d4a9ccf9eaa7a416561f3ed3377d673323f1a3 18:16:43 $ docker rm -f --volumes 2c800028b4d7dc35ede8af9dd8d4a9ccf9eaa7a416561f3ed3377d673323f1a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:44 + docker inspect -f . ci-base-image-arm64 18:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:44 prd-ubuntu20.04-docker-arm64-4c-16g-17499 does not seem to be running inside a container 18:16:44 $ 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 18:16:46 $ docker top 775408622ff54897236931c9c021f28779a215ab63b9998e9d297b469bcfe8fc -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:46 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 18:16:47 + make test 18:16:47 go test -race ./... -coverprofile=coverage.out ./... 18:18:54 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:18:54 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:18:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.209s coverage: 86.2% of statements 18:19:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.394s coverage: 71.9% of statements 18:19:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:19:07 go vet ./... 18:20:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:20:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:20:43 ./bin/test-attribution.sh 18:20:43 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 18:20:43 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 18:20:43 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 18:20:43 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 18:20:43 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 18:20:43 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 18:20:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:20:43 $ docker stop --time=1 775408622ff54897236931c9c021f28779a215ab63b9998e9d297b469bcfe8fc 18:20:45 $ docker rm -f --volumes 775408622ff54897236931c9c021f28779a215ab63b9998e9d297b469bcfe8fc [Pipeline] // withDockerContainer [Pipeline] sh 18:20:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:20:47 Warning: overwriting stash ‘coverage-report’ 18:20:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:20:49 + ls -al . 18:20:49 total 204 18:20:49 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:16 . 18:20:49 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:14 .. 18:20:49 -rw-rw-r-- 1 jenkins jenkins 262 Nov 14 18:14 .dockerignore 18:20:49 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:14 .git 18:20:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:14 .github 18:20:49 -rw-rw-r-- 1 jenkins jenkins 773 Nov 14 18:14 .gitignore 18:20:49 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:14 .golangci.yml 18:20:49 -rw-rw-r-- 1 jenkins jenkins 10232 Nov 14 18:14 Attribution.txt 18:20:49 -rw-rw-r-- 1 jenkins jenkins 11245 Nov 14 18:14 CHANGELOG.md 18:20:49 -rw-rw-r-- 1 jenkins jenkins 1768 Nov 14 18:14 Dockerfile 18:20:49 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:14 GOVERNANCE.md 18:20:49 -rw-rw-r-- 1 jenkins jenkins 665 Nov 14 18:14 Jenkinsfile 18:20:49 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 14 18:14 LICENSE 18:20:49 -rw-rw-r-- 1 jenkins jenkins 2497 Nov 14 18:14 Makefile 18:20:49 -rw-rw-r-- 1 jenkins jenkins 617 Nov 14 18:14 OWNERS.md 18:20:49 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 14 18:14 README.md 18:20:49 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:11 VERSION 18:20:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:14 bin 18:20:49 -rw-r--r-- 1 jenkins jenkins 41317 Nov 14 18:19 coverage.out 18:20:49 -rw-rw-r-- 1 jenkins jenkins 3922 Nov 14 18:14 go.mod 18:20:49 -rw-rw-r-- 1 jenkins jenkins 34986 Nov 14 18:14 go.sum 18:20:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:14 images 18:20:49 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:14 internal 18:20:49 -rw-rw-r-- 1 jenkins jenkins 531 Nov 14 18:14 main.go 18:20:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:14 openapi 18:20:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:14 res 18:20:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:49 + 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=819bbb7b4aec2973b07924df3bb17c04701437d7 --label arch=arm64 --label version=0.0.0 . 18:20:49 Sending build context to Docker daemon 670.7kB 18:20:49 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 18:20:49 Step 2/30 : FROM ${BASE} AS builder 18:20:49 ---> c7487e69657a 18:20:49 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 18:20:49 ---> Running in e3898368ddf6 18:20:50 Removing intermediate container e3898368ddf6 18:20:50 ---> cae195de6ed1 18:20:50 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 18:20:50 ---> Running in c6f93902e656 18:20:50 Removing intermediate container c6f93902e656 18:20:50 ---> 0565ae0ed326 18:20:50 Step 5/30 : ARG ADD_BUILD_TAGS="" 18:20:50 ---> Running in 8309552fdde8 18:20:50 Removing intermediate container 8309552fdde8 18:20:50 ---> b2d7a5c769b7 18:20:50 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:20:51 ---> Running in 4894e58c6e15 18:20:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:20:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:20:53 OK: 266 MiB in 52 packages 18:20:54 Removing intermediate container 4894e58c6e15 18:20:54 ---> 83bc8b3fb507 18:20:54 Step 7/30 : WORKDIR /app 18:20:54 ---> Running in 0e0874c4f3a9 18:20:54 Removing intermediate container 0e0874c4f3a9 18:20:54 ---> 3f6d0a1e24db 18:20:54 Step 8/30 : COPY go.mod vendor* ./ 18:20:55 ---> 78fcb249f5ec 18:20:55 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:20:55 ---> Running in 211414785fcf 18:20:58 Removing intermediate container 211414785fcf 18:20:58 ---> ae07d257215b 18:20:58 Step 10/30 : COPY . . 18:20:58 ---> f1fca822254e 18:20:58 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:20:58 ---> Running in c2859bd980ba 18:20:58 Removing intermediate container c2859bd980ba 18:20:58 ---> bea93eadfbbb 18:20:58 Step 12/30 : RUN $MAKE 18:20:58 ---> Running in 629e498eb717 18:20:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory 18:22:51 Removing intermediate container 629e498eb717 18:22:51 ---> da88eb75f41f 18:22:51 Step 13/30 : FROM alpine:3.18 18:22:51 3.18: Pulling from library/alpine 18:22:51 579b34f0a95b: Pulling fs layer 18:22:52 579b34f0a95b: Verifying Checksum 18:22:52 579b34f0a95b: Download complete 18:22:52 579b34f0a95b: Pull complete 18:22:52 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:22:52 Status: Downloaded newer image for alpine:3.18 18:22:52 ---> 3cc203321400 18:22:52 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:22:53 ---> Running in 75984518efe9 18:22:53 Removing intermediate container 75984518efe9 18:22:53 ---> f83034031e9e 18:22:53 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:22:53 ---> Running in 923956de13c5 18:22:53 Removing intermediate container 923956de13c5 18:22:53 ---> 3ad84e06c618 18:22:53 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 18:22:53 ---> Running in 57e4c84b0743 18:22:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:22:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:22:56 (1/2) Installing ca-certificates (20230506-r0) 18:22:56 (2/2) Installing dumb-init (1.2.5-r2) 18:22:56 Executing busybox-1.36.1-r2.trigger 18:22:56 Executing ca-certificates-20230506-r0.trigger 18:22:56 OK: 9 MiB in 17 packages 18:22:58 Removing intermediate container 57e4c84b0743 18:22:58 ---> a3438ecf4c5b 18:22:58 Step 17/30 : RUN apk --no-cache upgrade 18:22:58 ---> Running in 19913c2b87eb 18:22:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:23:01 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:23:01 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:23:01 Executing busybox-1.36.1-r5.post-upgrade 18:23:01 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:23:01 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:23:01 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:23:01 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:23:01 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:23:01 Executing busybox-1.36.1-r5.trigger 18:23:01 Executing ca-certificates-20230506-r0.trigger 18:23:01 OK: 9 MiB in 17 packages 18:23:03 Removing intermediate container 19913c2b87eb 18:23:03 ---> 8e5e57055bae 18:23:03 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:23:03 ---> 79c9ccb12f04 18:23:03 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 18:23:03 ---> 38d6ae13a156 18:23:03 Step 20/30 : COPY --from=builder /app/res/ /res/ 18:23:04 ---> 69b28ab1b9b2 18:23:04 Step 21/30 : COPY --from=builder /app/static/ /static/ 18:23:05 ---> 089aaf02e6a7 18:23:05 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:23:06 ---> c0f3bbfc5ae7 18:23:06 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:23:06 ---> Running in 8e9b730c90ae 18:23:08 Removing intermediate container 8e9b730c90ae 18:23:08 ---> 7b25434f397f 18:23:08 Step 24/30 : VOLUME /cache 18:23:08 ---> Running in 92e737ef0736 18:23:08 Removing intermediate container 92e737ef0736 18:23:08 ---> 891db9f7eb08 18:23:08 Step 25/30 : EXPOSE 59711 18:23:08 ---> Running in fdeb10040e68 18:23:09 Removing intermediate container fdeb10040e68 18:23:09 ---> 8574fd7771d4 18:23:09 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:23:09 ---> Running in 6ab83d96fedc 18:23:09 Removing intermediate container 6ab83d96fedc 18:23:09 ---> 173d22b3484c 18:23:09 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 18:23:09 ---> Running in e82d30f48fc8 18:23:09 Removing intermediate container e82d30f48fc8 18:23:09 ---> 29f163523062 18:23:09 Step 28/30 : LABEL arch=arm64 18:23:10 ---> Running in 34c45a35ff29 18:23:10 Removing intermediate container 34c45a35ff29 18:23:10 ---> 005fe75e5eef 18:23:10 Step 29/30 : LABEL git_sha=819bbb7b4aec2973b07924df3bb17c04701437d7 18:23:10 ---> Running in 8ac0b0500c92 18:23:10 Removing intermediate container 8ac0b0500c92 18:23:10 ---> c369ed0cf13d 18:23:10 Step 30/30 : LABEL version=0.0.0 18:23:10 ---> Running in c31def3808bc 18:23:11 Removing intermediate container c31def3808bc 18:23:11 ---> 0bd3d3270550 18:23:11 [Warning] One or more build-args [ARCH] were not consumed 18:23:11 Successfully built 0bd3d3270550 18:23:11 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:12 18:23:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:12 arm64: Pulling from edgex-lftools-log-publisher 18:23:12 8998bd30e6a1: Pulling fs layer 18:23:12 04944245beec: Pulling fs layer 18:23:12 699f458cf7ca: Pulling fs layer 18:23:12 765212b225bb: Pulling fs layer 18:23:12 f23df028b6ca: Pulling fs layer 18:23:12 d65c8cfc05b1: Pulling fs layer 18:23:12 2437ff75d9bd: Pulling fs layer 18:23:12 f23df028b6ca: Waiting 18:23:12 765212b225bb: Waiting 18:23:12 d65c8cfc05b1: Waiting 18:23:12 2437ff75d9bd: Waiting 18:23:12 04944245beec: Verifying Checksum 18:23:12 04944245beec: Download complete 18:23:12 765212b225bb: Download complete 18:23:12 f23df028b6ca: Verifying Checksum 18:23:12 f23df028b6ca: Download complete 18:23:12 d65c8cfc05b1: Verifying Checksum 18:23:12 d65c8cfc05b1: Download complete 18:23:13 699f458cf7ca: Verifying Checksum 18:23:13 699f458cf7ca: Download complete 18:23:13 8998bd30e6a1: Verifying Checksum 18:23:13 8998bd30e6a1: Download complete 18:23:16 2437ff75d9bd: Verifying Checksum 18:23:16 2437ff75d9bd: Download complete 18:23:18 8998bd30e6a1: Pull complete 18:23:18 04944245beec: Pull complete 18:23:20 699f458cf7ca: Pull complete 18:23:20 765212b225bb: Pull complete 18:23:21 f23df028b6ca: Pull complete 18:23:21 d65c8cfc05b1: Pull complete 18:23:39 2437ff75d9bd: Pull complete 18:23:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:40 prd-ubuntu20.04-docker-arm64-4c-16g-17499 does not seem to be running inside a container 18:23:40 $ 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 18:23:43 $ docker top e29b9b892ce9ed540e9fa6bb71b86a177d3e7a3d3706064d371012f16a1d5443 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:43 ---> job-cost.sh 18:23:43 lf-activate-venv: SKIPPING 18:23:43 INFO: No Stack... 18:23:44 INFO: Retrieving Pricing Info for: v3-standard-4 18:23:45 INFO: Archiving Costs [Pipeline] sh 18:23:45 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 18:23:45 + cut -d, -f6 [Pipeline] lock 18:23:45 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] 18:23:45 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] did not exist. Created. 18:23:45 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:23:46 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-537a7778/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:23:46 + echo total: 0.10999999940395355 [Pipeline] stash 18:23:46 Warning: overwriting stash ‘stack-cost’ 18:23:47 Stashed 1 file(s) [Pipeline] } 18:23:47 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-253-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:23:47 $ docker stop --time=1 e29b9b892ce9ed540e9fa6bb71b86a177d3e7a3d3706064d371012f16a1d5443 18:23:48 $ docker rm -f --volumes e29b9b892ce9ed540e9fa6bb71b86a177d3e7a3d3706064d371012f16a1d5443 [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 18:23:49 provisioning config files... 18:23:49 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/config16784220095435984536tmp [Pipeline] { [Pipeline] sh 18:23:50 + set +x 18:23:50 + bash -s -- 18:23:50 + curl -s https://codecov.io/bash 18:23:50 18:23:50 _____ _ 18:23:50 / ____| | | 18:23:50 | | ___ __| | ___ ___ _____ __ 18:23:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:23:50 | |___| (_) | (_| | __/ (_| (_) \ V / 18:23:50 \_____\___/ \__,_|\___|\___\___/ \_/ 18:23:50 Bash-1.0.6 18:23:50 18:23:50 18:23:50 ==> git version 2.25.1 found 18:23:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:23:50 Release-Date: 2020-01-08 18:23:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:23:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:23:50 ==> Jenkins CI detected. 18:23:50 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-253 18:23:50 project root: . 18:23:50 --> token set from env 18:23:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:23:50 ==> Running gcov in . (disable via -X gcov) 18:23:50 ==> Python coveragepy not found 18:23:50 ==> Searching for coverage reports in: 18:23:50 + . 18:23:50 -> Found 1 reports 18:23:50 ==> Detecting git/mercurial file structure 18:23:50 ==> Reading reports 18:23:50 + ./coverage.out bytes=41317 18:23:50 ==> Appending adjustments 18:23:50 https://docs.codecov.io/docs/fixing-reports 18:23:50 + Found adjustments 18:23:50 ==> Gzipping contents 18:23:50 12K /tmp/codecov.4HNEkT.gz 18:23:50 ==> Uploading reports 18:23:50 url: https://codecov.io 18:23:50 query: branch=PR-253&commit=819bbb7b4aec2973b07924df3bb17c04701437d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-253%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=253&job=&cmd_args= 18:23:50 -> Pinging Codecov 18:23:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-253&commit=819bbb7b4aec2973b07924df3bb17c04701437d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-253%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=253&job=&cmd_args= 18:23:50 -> Uploading to 18:23:50 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/581DD39554BDF9B6E22D074273EAD858/819bbb7b4aec2973b07924df3bb17c04701437d7/932696bd-acb7-46a0-adfb-3e7d1dfa34f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T182350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14bfc2d16776e3fef4c9b7c6da3903ee467b4e8314a66c3f7ef74de8d5795f5c 18:23:50 % Total % Received % Xferd Average Speed Time Time Time Current 18:23:50 Dload Upload Total Spent Left Speed 18:23:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11602 0 0 100 11602 0 37668 --:--:-- --:--:-- --:--:-- 37668 18:23:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/819bbb7b4aec2973b07924df3bb17c04701437d7 [Pipeline] } 18:23:50 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:23:52 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-253/archives ] 18:23:52 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-253/archives 18:23:52 total 16 18:23:52 drwxr-xr-x 3 root root 4096 Nov 14 18:14 . 18:23:52 drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:14 .. 18:23:52 drwxr-xr-x 2 root root 4096 Nov 14 18:14 cost 18:23:52 -rw-r--r-- 1 root root 95 Nov 14 18:14 cost.csv 18:23:52 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-253/archives 18:23:52 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-253/archives 18:23:52 total 16 18:23:52 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:14 . 18:23:52 drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:14 .. 18:23:52 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:14 cost 18:23:52 -rw-r--r-- 1 jenkins jenkins 95 Nov 14 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:23:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:23:53 ---> package-listing.sh 18:23:53 ++ tr '[:upper:]' '[:lower:]' 18:23:53 ++ facter osfamily 18:23:54 + OS_FAMILY=debian 18:23:54 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-253 18:23:54 + START_PACKAGES=/tmp/packages_start.txt 18:23:54 + END_PACKAGES=/tmp/packages_end.txt 18:23:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:23:54 + PACKAGES=/tmp/packages_start.txt 18:23:54 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-253 ']' 18:23:54 + PACKAGES=/tmp/packages_end.txt 18:23:54 + case "${OS_FAMILY}" in 18:23:54 + dpkg -l 18:23:54 + grep '^ii' 18:23:54 + '[' -f /tmp/packages_start.txt ']' 18:23:54 + '[' -f /tmp/packages_end.txt ']' 18:23:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:23:54 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-253 ']' 18:23:54 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-253/archives/ 18:23:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-253/archives/ [Pipeline] echo 18:23:54 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-253/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:23:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:55 prd-ubuntu20.04-docker-8c-8g-17498 does not seem to be running inside a container 18:23:55 $ 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-253/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-253 -v /w/workspace/y_app-rfid-llrp-inventory_PR-253:/w/workspace/y_app-rfid-llrp-inventory_PR-253:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-253@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 18:23:55 $ docker top f87963591eed2a9a33e4ed0fb025d081998ef8c92d5ded77e0e60dfa7b8172f7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:55 + touch /tmp/pre-build-complete [Pipeline] sh 18:23:56 + mkdir -p /var/log/sysstat [Pipeline] sh 18:23:56 + ls /var/log/sa-host 18:23:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:56 provisioning config files... 18:23:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-253@tmp/config4016748205747915431tmp [Pipeline] { [Pipeline] echo 18:23:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:23:56 ---> create-netrc.sh [Pipeline] } 18:23:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:23:57 ---> python-tools-install.sh [Pipeline] echo 18:23:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:23:57 ---> sudo-logs.sh 18:23:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:23:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:23:58 ---> job-cost.sh 18:23:58 lf-activate-venv: SKIPPING 18:23:58 DEBUG: total: 0.2199999988079071 18:23:58 INFO: Retrieving Stack Cost... 18:23:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:23:58 INFO: Archiving Costs [Pipeline] echo 18:23:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:23:59 ---> logs-deploy.sh 18:23:59 lf-activate-venv: SKIPPING 18:23:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-253/1 18:23:59 INFO: archiving workspace using pattern(s): 18:24:00 Archives upload complete. 18:24:00 INFO: archiving logs to Nexus