Pull request #113 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47+50b7175916fade296152ad9743613fc80727b30a (79a5f0bceef079b3d3bf47691aafcab55b827c41) 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-ssh15564945160684060373.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11347399362775239608.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-113/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-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8446666951213150654.key Verifying host key using known hosts file > 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-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7143775662750120404.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh10417122995296595092.key Verifying host key using known hosts file > 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-113/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-113/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10319147733936127431.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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, buildSnap:false] ========================================================= [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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6865’ Running on prd-ubuntu20.04-docker-8c-8g-6870 in /w/workspace/y_app-rfid-llrp-inventory_PR-113 [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-113 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 50b7175916fade296152ad9743613fc80727b30a into PR head commit 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 Merge succeeded, producing 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 Checking out Revision 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 (PR-113) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:13:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:13:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:13:12 ========================================================= 13:13:12 EdgeX Global Pipelines Version Info 13:13:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 50b7175916fade296152ad9743613fc80727b30a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 # timeout=10 13:13:13 ------------------- 13:13:13 stable info: 13:13:13 ------------------- 13:13:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 13:13:13 Message: update stable to v1.0.239 13:13:14 ------------------- 13:13:14 experimental info: 13:13:14 ------------------- 13:13:14 Commited By: **** collab-it+edgex@linuxfoundation.org 13:13:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 13:13:14 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:13:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-113 [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-113 [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-113 [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d0d522 [Pipeline] echo 13:13:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:15 provisioning config files... 13:13:15 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/config16839472106482027330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:16 ---> docker-login.sh 13:13:16 nexus3.edgexfoundry.org:10001 13:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:16 Configure a credential helper to remove this warning. See 13:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:16 13:13:16 Login Succeeded 13:13:16 nexus3.edgexfoundry.org:10002 13:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:16 Configure a credential helper to remove this warning. See 13:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:16 13:13:16 Login Succeeded 13:13:16 nexus3.edgexfoundry.org:10003 13:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:16 Configure a credential helper to remove this warning. See 13:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:16 13:13:16 Login Succeeded 13:13:16 nexus3.edgexfoundry.org:10004 13:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:17 Configure a credential helper to remove this warning. See 13:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:17 13:13:17 Login Succeeded 13:13:17 docker.io 13:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:17 Configure a credential helper to remove this warning. See 13:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:17 13:13:17 Login Succeeded 13:13:17 ---> docker-login.sh ends [Pipeline] } 13:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:13:17 + git rev-list -1 --merges 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47~1..5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 [Pipeline] echo 13:13:18 -----------> git rev-list -1 --merges 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47~1..5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 [false] [Pipeline] sh 13:13:18 + git log --format=format:%s -1 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 [Pipeline] echo 13:13:18 ========================================================= 13:13:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:13:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:18 + git log --format=format:%s -1 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 [Pipeline] echo 13:13:18 [semverPrep] GIT_COMMIT: 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 13:13:18 [semverPrep] This is not a build commit. [Pipeline] sh 13:13:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:13:19 + grep -v github /etc/ssh/ssh_known_hosts 13:13:19 + [ -e /tmp/ssh_known_hosts ] 13:13:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:13:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:13:19 + sudo tee -a /etc/ssh/ssh_known_hosts 13:13:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:19 13:13:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:20 0.1.4: Pulling from edgex-devops/py-git-semver 13:13:20 b85a868b505f: Pulling fs layer 13:13:20 e2be974225ed: Pulling fs layer 13:13:20 339a4e72a1f5: Pulling fs layer 13:13:20 988bab9f4d93: Pulling fs layer 13:13:20 1469e6f7b9e6: Pulling fs layer 13:13:20 eaf3925da568: Pulling fs layer 13:13:20 bab4dde63d76: Pulling fs layer 13:13:20 bde34c3a00c8: Pulling fs layer 13:13:20 b352a97aabf1: Pulling fs layer 13:13:20 4872d77fe225: Pulling fs layer 13:13:20 5851b861e8e6: Pulling fs layer 13:13:20 bab4dde63d76: Waiting 13:13:20 bde34c3a00c8: Waiting 13:13:20 b352a97aabf1: Waiting 13:13:20 4872d77fe225: Waiting 13:13:20 5851b861e8e6: Waiting 13:13:20 1469e6f7b9e6: Waiting 13:13:20 eaf3925da568: Waiting 13:13:20 988bab9f4d93: Waiting 13:13:20 e2be974225ed: Download complete 13:13:20 988bab9f4d93: Verifying Checksum 13:13:20 988bab9f4d93: Download complete 13:13:20 339a4e72a1f5: Verifying Checksum 13:13:20 339a4e72a1f5: Download complete 13:13:20 1469e6f7b9e6: Verifying Checksum 13:13:20 1469e6f7b9e6: Download complete 13:13:20 eaf3925da568: Verifying Checksum 13:13:20 eaf3925da568: Download complete 13:13:20 bde34c3a00c8: Download complete 13:13:20 b352a97aabf1: Download complete 13:13:20 4872d77fe225: Download complete 13:13:20 5851b861e8e6: Verifying Checksum 13:13:20 5851b861e8e6: Download complete 13:13:20 b85a868b505f: Verifying Checksum 13:13:20 b85a868b505f: Download complete 13:13:20 bab4dde63d76: Verifying Checksum 13:13:20 bab4dde63d76: Download complete 13:13:21 b85a868b505f: Pull complete 13:13:21 e2be974225ed: Pull complete 13:13:22 339a4e72a1f5: Pull complete 13:13:22 988bab9f4d93: Pull complete 13:13:22 1469e6f7b9e6: Pull complete 13:13:22 eaf3925da568: Pull complete 13:13:24 bab4dde63d76: Pull complete 13:13:24 bde34c3a00c8: Pull complete 13:13:24 b352a97aabf1: Pull complete 13:13:24 4872d77fe225: Pull complete 13:13:24 5851b861e8e6: Pull complete 13:13:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:25 prd-ubuntu20.04-docker-8c-8g-6870 does not seem to be running inside a container 13:13:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-113 -v /w/workspace/y_app-rfid-llrp-inventory_PR-113:/w/workspace/y_app-rfid-llrp-inventory_PR-113:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:13:26 $ docker top bbb08d7929b26d8296eb02024ecfbbd48a90de226bfcb2c2a692dd9ac40c0593 -eo pid,comm 13:13:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:13:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:13:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:26 [ssh-agent] Looking for ssh-agent implementation... 13:13:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:26 $ docker exec bbb08d7929b26d8296eb02024ecfbbd48a90de226bfcb2c2a692dd9ac40c0593 ssh-agent 13:13:26 SSH_AUTH_SOCK=/tmp/ssh-TQv1zLw24UHw/agent.33 13:13:26 SSH_AGENT_PID=39 13:13:26 Running ssh-add (command line suppressed) 13:13:26 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/private_key_10645109153030264950.key (/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/private_key_10645109153030264950.key) 13:13:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:27 + git tag --points-at HEAD [Pipeline] } 13:13:27 $ docker exec --env ******** --env ******** bbb08d7929b26d8296eb02024ecfbbd48a90de226bfcb2c2a692dd9ac40c0593 ssh-agent -k 13:13:27 unset SSH_AUTH_SOCK; 13:13:27 unset SSH_AGENT_PID; 13:13:27 echo Agent pid 39 killed; 13:13:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:13:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:27 [ssh-agent] Looking for ssh-agent implementation... 13:13:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:27 $ docker exec bbb08d7929b26d8296eb02024ecfbbd48a90de226bfcb2c2a692dd9ac40c0593 ssh-agent 13:13:27 SSH_AUTH_SOCK=/tmp/ssh-mkfDb1GvASKt/agent.71 13:13:27 SSH_AGENT_PID=77 13:13:27 Running ssh-add (command line suppressed) 13:13:27 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/private_key_7230806564992041895.key (/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/private_key_7230806564992041895.key) 13:13:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:28 + git semver init 13:13:28 2022-10-03 13:13:28,277 [run_init] DEBUG init version:0.0.0 force:False 13:13:28 2022-10-03 13:13:28,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver 13:13:28 2022-10-03 13:13:28,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver 13:13:28 2022-10-03 13:13:28,280 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-113, universal_newlines=False, shell=None, istream=None) 13:13:29 2022-10-03 13:13:29,410 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-113/.git/info/exclude 13:13:29 2022-10-03 13:13:29,410 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver/PR-113 with force:False 13:13:29 2022-10-03 13:13:29,411 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver/PR-113 13:13:29 2022-10-03 13:13:29,415 [execute] INFO git cat-file --batch-check 13:13:29 2022-10-03 13:13:29,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver, universal_newlines=False, shell=None, istream=) 13:13:29 2022-10-03 13:13:29,422 [execute] INFO git cat-file --batch 13:13:29 2022-10-03 13:13:29,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver, universal_newlines=False, shell=None, istream=) 13:13:29 2022-10-03 13:13:29,427 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-113/.semver/PR-113 13:13:29 0.0.0 [Pipeline] } 13:13:29 $ docker exec --env ******** --env ******** bbb08d7929b26d8296eb02024ecfbbd48a90de226bfcb2c2a692dd9ac40c0593 ssh-agent -k 13:13:29 unset SSH_AUTH_SOCK; 13:13:29 unset SSH_AGENT_PID; 13:13:29 echo Agent pid 77 killed; 13:13:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:30 + git semver [Pipeline] } 13:13:30 $ docker stop --time=1 bbb08d7929b26d8296eb02024ecfbbd48a90de226bfcb2c2a692dd9ac40c0593 13:13:31 $ docker rm -f bbb08d7929b26d8296eb02024ecfbbd48a90de226bfcb2c2a692dd9ac40c0593 [Pipeline] // withDockerContainer [Pipeline] sh 13:13:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:13:32 Stashed 1 file(s) [Pipeline] echo 13:13:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:33 provisioning config files... 13:13:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/config7074727484657592819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:33 ---> docker-login.sh 13:13:33 nexus3.edgexfoundry.org:10001 13:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:33 Configure a credential helper to remove this warning. See 13:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:33 13:13:33 Login Succeeded 13:13:33 nexus3.edgexfoundry.org:10002 13:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:33 Configure a credential helper to remove this warning. See 13:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:33 13:13:33 Login Succeeded 13:13:33 nexus3.edgexfoundry.org:10003 13:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:33 Configure a credential helper to remove this warning. See 13:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:33 13:13:33 Login Succeeded 13:13:33 nexus3.edgexfoundry.org:10004 13:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:33 Configure a credential helper to remove this warning. See 13:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:33 13:13:33 Login Succeeded 13:13:33 docker.io 13:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:34 Configure a credential helper to remove this warning. See 13:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:34 13:13:34 Login Succeeded 13:13:34 ---> docker-login.sh ends [Pipeline] } 13:13:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:34 ========================================================= 13:13:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:13:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:13:35 Sending build context to Docker daemon 12.49MB 13:13:35 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 13:13:35 Step 2/14 : FROM ${BASE} AS builder 13:13:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:13:35 2408cc74d12b: Pulling fs layer 13:13:35 ea60b727a1ce: Pulling fs layer 13:13:35 30c4a7721957: Pulling fs layer 13:13:35 370296b7ddb6: Pulling fs layer 13:13:35 7c6cee850709: Pulling fs layer 13:13:35 aa9baa53a306: Pulling fs layer 13:13:35 370296b7ddb6: Waiting 13:13:35 7c6cee850709: Waiting 13:13:35 8b309c321861: Pulling fs layer 13:13:35 d8d76fd02f46: Pulling fs layer 13:13:35 fa31f396de31: Pulling fs layer 13:13:35 fa31f396de31: Waiting 13:13:35 d8d76fd02f46: Waiting 13:13:35 aa9baa53a306: Waiting 13:13:35 30c4a7721957: Verifying Checksum 13:13:35 30c4a7721957: Download complete 13:13:35 ea60b727a1ce: Verifying Checksum 13:13:35 ea60b727a1ce: Download complete 13:13:35 7c6cee850709: Verifying Checksum 13:13:35 7c6cee850709: Download complete 13:13:35 aa9baa53a306: Verifying Checksum 13:13:35 aa9baa53a306: Download complete 13:13:35 2408cc74d12b: Verifying Checksum 13:13:35 2408cc74d12b: Download complete 13:13:35 8b309c321861: Verifying Checksum 13:13:35 8b309c321861: Download complete 13:13:35 2408cc74d12b: Pull complete 13:13:35 ea60b727a1ce: Pull complete 13:13:35 30c4a7721957: Pull complete 13:13:36 fa31f396de31: Verifying Checksum 13:13:36 fa31f396de31: Download complete 13:13:36 d8d76fd02f46: Verifying Checksum 13:13:36 d8d76fd02f46: Download complete 13:13:36 370296b7ddb6: Verifying Checksum 13:13:36 370296b7ddb6: Download complete 13:13:40 370296b7ddb6: Pull complete 13:13:40 7c6cee850709: Pull complete 13:13:40 aa9baa53a306: Pull complete 13:13:40 8b309c321861: Pull complete 13:13:42 d8d76fd02f46: Pull complete 13:13:43 fa31f396de31: Pull complete 13:13:43 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 13:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:13:43 ---> cef68f9685f8 13:13:43 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:13:44 ---> Running in 931ac01ee849 13:13:44 Removing intermediate container 931ac01ee849 13:13:44 ---> b167de02ab8c 13:13:44 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 13:13:44 ---> Running in 33c8b2454106 13:13:44 Removing intermediate container 33c8b2454106 13:13:44 ---> ab70aee42aea 13:13:44 Step 5/14 : ARG ADD_BUILD_TAGS="" 13:13:44 ---> Running in 3b40d44ad12f 13:13:44 Removing intermediate container 3b40d44ad12f 13:13:44 ---> cede894259f8 13:13:44 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:13:44 ---> Running in 6e0ee447e188 13:13:44 Removing intermediate container 6e0ee447e188 13:13:44 ---> 564a700d3c40 13:13:44 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:13:45 ---> Running in 6c86264b47f6 13:13:45 Removing intermediate container 6c86264b47f6 13:13:45 ---> b2241af220ad 13:13:45 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:13:45 ---> Running in 05387e5b114d 13:13:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:13:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:13:47 OK: 211 MiB in 51 packages 13:13:47 Removing intermediate container 05387e5b114d 13:13:47 ---> 6a003a234a77 13:13:47 Step 9/14 : WORKDIR /app 13:13:47 ---> Running in 074a784fa41e 13:13:47 Removing intermediate container 074a784fa41e 13:13:47 ---> cb2705658c83 13:13:47 Step 10/14 : COPY go.mod vendor* ./ 13:13:47 ---> aaf6018bfa52 13:13:47 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:13:47 ---> Running in 4091ce240512 13:13:47 Still waiting to schedule task 13:13:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6866’ 13:14:06 Removing intermediate container 4091ce240512 13:14:06 ---> 14e338c42f55 13:14:06 Step 12/14 : COPY . . 13:14:06 ---> 82eac33f26c5 13:14:06 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:14:06 ---> Running in f4bc78fa2c38 13:14:06 Removing intermediate container f4bc78fa2c38 13:14:06 ---> a07f6aa9794e 13:14:06 Step 14/14 : RUN $MAKE 13:14:06 ---> Running in 29442c38c9eb 13:14:06 noop 13:14:06 Removing intermediate container 29442c38c9eb 13:14:06 ---> 50d661f9b87a 13:14:06 Successfully built 50d661f9b87a 13:14:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:07 + docker inspect -f . ci-base-image-x86_64 13:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:07 prd-ubuntu20.04-docker-8c-8g-6870 does not seem to be running inside a container 13:14:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-113 -v /w/workspace/y_app-rfid-llrp-inventory_PR-113:/w/workspace/y_app-rfid-llrp-inventory_PR-113:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:14:07 $ docker top c537f7254cd019c80e8ae52c0da4081ee027f2b8d893397b1b2fe02953905fd7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:08 + go version 13:14:08 go version go1.18.3 linux/amd64 [Pipeline] } 13:14:08 $ docker stop --time=1 c537f7254cd019c80e8ae52c0da4081ee027f2b8d893397b1b2fe02953905fd7 13:14:09 $ docker rm -f c537f7254cd019c80e8ae52c0da4081ee027f2b8d893397b1b2fe02953905fd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:10 + docker inspect -f . ci-base-image-x86_64 13:14:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:10 prd-ubuntu20.04-docker-8c-8g-6870 does not seem to be running inside a container 13:14:10 $ 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-113 -v /w/workspace/y_app-rfid-llrp-inventory_PR-113:/w/workspace/y_app-rfid-llrp-inventory_PR-113:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:14:10 $ docker top 04c935b03b0656703215f2a7938801d97cc1ba5e22dfbdeda4591a17ee02d7da -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:11 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-113 [Pipeline] fileExists [Pipeline] sh 13:14:11 + make test 13:14:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:14:23 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:14:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.033s coverage: 86.2% of statements 13:14:23 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:14:24 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.556s coverage: 71.9% of statements 13:14:33 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 13:14:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:14:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:14:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:14:37 ./bin/test-attribution.sh [Pipeline] echo 13:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:14:37 $ docker stop --time=1 04c935b03b0656703215f2a7938801d97cc1ba5e22dfbdeda4591a17ee02d7da 13:14:39 $ docker rm -f 04c935b03b0656703215f2a7938801d97cc1ba5e22dfbdeda4591a17ee02d7da [Pipeline] // withDockerContainer [Pipeline] sh 13:14:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:14:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:14:40 + ls -al . 13:14:40 total 232 13:14:40 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 13:14 . 13:14:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:13 .. 13:14:40 -rw-rw-r-- 1 jenkins jenkins 262 Oct 3 13:13 .dockerignore 13:14:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 13:14 .git 13:14:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 13:13 .github 13:14:40 -rw-rw-r-- 1 jenkins jenkins 788 Oct 3 13:13 .gitignore 13:14:40 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 13:13 .golangci.yml 13:14:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 13:13 .semver 13:14:40 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 3 13:13 Attribution.txt 13:14:40 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 3 13:13 CHANGELOG.md 13:14:40 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 3 13:13 Dockerfile 13:14:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 13:13 GOVERNANCE.md 13:14:40 -rw-rw-r-- 1 jenkins jenkins 687 Oct 3 13:13 Jenkinsfile 13:14:40 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 3 13:13 LICENSE 13:14:40 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 3 13:13 Makefile 13:14:40 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 13:13 OWNERS.md 13:14:40 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 3 13:13 README.md 13:14:40 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 13:13 VERSION 13:14:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:13 bin 13:14:40 -rw-r--r-- 1 jenkins jenkins 41008 Oct 3 13:14 coverage.out 13:14:40 -rw-rw-r-- 1 jenkins jenkins 3685 Oct 3 13:13 go.mod 13:14:40 -rw-rw-r-- 1 jenkins jenkins 38073 Oct 3 13:13 go.sum 13:14:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:13 images 13:14:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:13 internal 13:14:40 -rw-rw-r-- 1 jenkins jenkins 531 Oct 3 13:13 main.go 13:14:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:13 res 13:14:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:13 snap 13:14:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 13:13 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:41 + 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=5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 --label arch=amd64 --label version=0.0.0 . 13:14:41 Sending build context to Docker daemon 12.49MB 13:14:41 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 13:14:41 Step 2/32 : FROM ${BASE} AS builder 13:14:41 ---> 50d661f9b87a 13:14:41 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:14:41 ---> Running in 385513a2f1f5 13:14:41 Removing intermediate container 385513a2f1f5 13:14:41 ---> 0c5cf2fd5e13 13:14:41 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 13:14:41 ---> Running in c15ad98546f6 13:14:41 Removing intermediate container c15ad98546f6 13:14:41 ---> 3ee844e0486d 13:14:41 Step 5/32 : ARG ADD_BUILD_TAGS="" 13:14:41 ---> Running in a2aff5fc98cc 13:14:41 Removing intermediate container a2aff5fc98cc 13:14:41 ---> fb4554057bae 13:14:41 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:14:41 ---> Running in 4ae5c7daa17f 13:14:41 Removing intermediate container 4ae5c7daa17f 13:14:41 ---> f74c6e5dee57 13:14:41 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:41 ---> Running in 630985869c12 13:14:42 Removing intermediate container 630985869c12 13:14:42 ---> dae34b8b9c02 13:14:42 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:42 ---> Running in a956ec387e80 13:14:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:14:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:14:43 OK: 211 MiB in 51 packages 13:14:44 Removing intermediate container a956ec387e80 13:14:44 ---> b01c40454d5d 13:14:44 Step 9/32 : WORKDIR /app 13:14:44 ---> Running in e012a6e57957 13:14:44 Removing intermediate container e012a6e57957 13:14:44 ---> 3d98e78d2c80 13:14:44 Step 10/32 : COPY go.mod vendor* ./ 13:14:44 ---> 7a975d0a04d9 13:14:44 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:44 ---> Running in a2eb3b8c010f 13:14:45 Removing intermediate container a2eb3b8c010f 13:14:45 ---> 1ab3697236aa 13:14:45 Step 12/32 : COPY . . 13:14:45 ---> b0dd0cfd1d9c 13:14:45 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:14:45 ---> Running in 8fa9634f7b01 13:14:45 Removing intermediate container 8fa9634f7b01 13:14:45 ---> 0b1e5129d6ea 13:14:45 Step 14/32 : RUN $MAKE 13:14:45 ---> Running in 7f0387ab9ca3 13:14:45 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 13:15:07 Removing intermediate container 7f0387ab9ca3 13:15:07 ---> 47880455a719 13:15:07 Step 15/32 : FROM alpine:3.14 13:15:07 3.14: Pulling from library/alpine 13:15:07 c7ed990a2339: Pulling fs layer 13:15:08 c7ed990a2339: Verifying Checksum 13:15:08 c7ed990a2339: Download complete 13:15:08 c7ed990a2339: Pull complete 13:15:08 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 13:15:08 Status: Downloaded newer image for alpine:3.14 13:15:08 ---> dd53f409bf0b 13:15:08 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:15:08 ---> Running in 3514025c2d85 13:15:08 Removing intermediate container 3514025c2d85 13:15:08 ---> f526c8aeea2b 13:15:08 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:15:08 ---> Running in 0efc7c2907f8 13:15:08 Removing intermediate container 0efc7c2907f8 13:15:08 ---> 6cb6f2123dba 13:15:08 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:08 ---> Running in b912113c44b1 13:15:09 Removing intermediate container b912113c44b1 13:15:09 ---> f206fc5341a1 13:15:09 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:15:09 ---> Running in 239248b8eefe 13:15:09 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:15:10 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:15:10 (1/7) Installing ca-certificates (20220614-r0) 13:15:10 (2/7) Installing dumb-init (1.2.5-r1) 13:15:10 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:15:10 (4/7) Installing libsodium (1.0.18-r0) 13:15:11 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:15:11 (6/7) Installing libzmq (4.3.4-r0) 13:15:11 (7/7) Installing zeromq (4.3.4-r0) 13:15:11 Executing busybox-1.33.1-r8.trigger 13:15:11 Executing ca-certificates-20220614-r0.trigger 13:15:11 OK: 9 MiB in 21 packages 13:15:11 Removing intermediate container 239248b8eefe 13:15:11 ---> 9c872a730f10 13:15:11 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:15:12 ---> 9abd262c03f3 13:15:12 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 13:15:12 ---> c491cd151fa9 13:15:12 Step 22/32 : COPY --from=builder /app/res/ /res/ 13:15:12 ---> 2376fe51e50b 13:15:12 Step 23/32 : COPY --from=builder /app/static/ /static/ 13:15:12 ---> 034970f3ffe5 13:15:12 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:15:13 ---> 88a2f80a2568 13:15:13 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:15:13 ---> Running in 677f1a6b52f1 13:15:13 Removing intermediate container 677f1a6b52f1 13:15:13 ---> b61ea424cf00 13:15:13 Step 26/32 : VOLUME /cache 13:15:13 ---> Running in aa92e4a80113 13:15:13 Removing intermediate container aa92e4a80113 13:15:13 ---> d666b27314fe 13:15:13 Step 27/32 : EXPOSE 59711 13:15:13 ---> Running in 2310b0633653 13:15:13 Removing intermediate container 2310b0633653 13:15:13 ---> 5218de6a03e9 13:15:13 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:15:14 ---> Running in 7dccc6dfe1de 13:15:14 Removing intermediate container 7dccc6dfe1de 13:15:14 ---> 3c5cc4eb73da 13:15:14 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:15:14 ---> Running in bd4ceceed836 13:15:14 Removing intermediate container bd4ceceed836 13:15:14 ---> d8c9d3fc0642 13:15:14 Step 30/32 : LABEL arch=amd64 13:15:14 ---> Running in 7c8fa7b46cf6 13:15:14 Removing intermediate container 7c8fa7b46cf6 13:15:14 ---> 3a050865acdf 13:15:14 Step 31/32 : LABEL git_sha=5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 13:15:14 ---> Running in d290812b6157 13:15:14 Removing intermediate container d290812b6157 13:15:14 ---> 5a3dcb6d8b1d 13:15:14 Step 32/32 : LABEL version=0.0.0 13:15:14 ---> Running in 3a75a4f48bd2 13:15:14 Removing intermediate container 3a75a4f48bd2 13:15:14 ---> c2a8db7004fd 13:15:14 [Warning] One or more build-args [ARCH] were not consumed 13:15:14 Successfully built c2a8db7004fd 13:15:14 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] } [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 13:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:15 13:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:15 latest: Pulling from edgex-lftools-log-publisher 13:15:15 5eb5b503b376: Pulling fs layer 13:15:15 5c69ac0246d0: Pulling fs layer 13:15:15 ec43610c2a17: Pulling fs layer 13:15:15 3a2ae6a8a46f: Pulling fs layer 13:15:15 33b1e0a273af: Pulling fs layer 13:15:15 5d3b04190fa2: Pulling fs layer 13:15:15 2f39f015ded8: Pulling fs layer 13:15:15 33b1e0a273af: Waiting 13:15:15 5d3b04190fa2: Waiting 13:15:15 2f39f015ded8: Waiting 13:15:15 3a2ae6a8a46f: Waiting 13:15:15 5c69ac0246d0: Verifying Checksum 13:15:15 5c69ac0246d0: Download complete 13:15:15 3a2ae6a8a46f: Verifying Checksum 13:15:15 3a2ae6a8a46f: Download complete 13:15:15 33b1e0a273af: Verifying Checksum 13:15:16 5d3b04190fa2: Verifying Checksum 13:15:16 5d3b04190fa2: Download complete 13:15:16 ec43610c2a17: Verifying Checksum 13:15:16 ec43610c2a17: Download complete 13:15:16 5eb5b503b376: Verifying Checksum 13:15:16 5eb5b503b376: Download complete 13:15:16 2f39f015ded8: Download complete 13:15:17 5eb5b503b376: Pull complete 13:15:17 5c69ac0246d0: Pull complete 13:15:18 ec43610c2a17: Pull complete 13:15:18 3a2ae6a8a46f: Pull complete 13:15:18 33b1e0a273af: Pull complete 13:15:18 5d3b04190fa2: Pull complete 13:15:23 2f39f015ded8: Pull complete 13:15:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:15:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:23 prd-ubuntu20.04-docker-8c-8g-6870 does not seem to be running inside a container 13:15:23 $ 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-113 -v /w/workspace/y_app-rfid-llrp-inventory_PR-113:/w/workspace/y_app-rfid-llrp-inventory_PR-113:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:15:26 $ docker top 782e56123afb9753073dc3c92bd621dea2ac3e3ce23075a6045b6f4b485a2e19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:26 ---> job-cost.sh 13:15:26 lf-activate-venv: SKIPPING 13:15:26 INFO: No Stack... 13:15:26 INFO: Retrieving Pricing Info for: v3-standard-8 13:15:27 INFO: Archiving Costs [Pipeline] sh 13:15:27 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-113/archives/cost.csv 13:15:27 + cut -d, -f6 [Pipeline] lock 13:15:27 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] 13:15:27 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] did not exist. Created. 13:15:27 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:15:27 + echo total: 0.2199999988079071 [Pipeline] stash 13:15:27 Stashed 1 file(s) [Pipeline] } 13:15:27 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:15:27 $ docker stop --time=1 782e56123afb9753073dc3c92bd621dea2ac3e3ce23075a6045b6f4b485a2e19 13:15:29 $ docker rm -f 782e56123afb9753073dc3c92bd621dea2ac3e3ce23075a6045b6f4b485a2e19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:16:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6872 in /w/workspace/y_app-rfid-llrp-inventory_PR-113 [Pipeline] { [Pipeline] ws 13:16:36 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:16:36 The recommended git tool is: git 13:16:42 using credential edgex-jenkins-ssh 13:16:42 Cloning the remote Git repository 13:16:42 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:42 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:16:42 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:42 > git --version # timeout=10 13:16:42 > git --version # 'git version 2.25.1' 13:16:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:42 Verifying host key using known hosts file 13:16:42 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 13:16:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:44 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:16:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:46 Merging remotes/origin/main commit 50b7175916fade296152ad9743613fc80727b30a into PR head commit 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 13:16:46 Merge succeeded, producing 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 13:16:46 Checking out Revision 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 (PR-113) 13:16:45 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:16:45 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:45 Verifying host key using known hosts file 13:16:45 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 13:16:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:16:46 > git config core.sparsecheckout # timeout=10 13:16:46 > git checkout -f 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 # timeout=10 13:16:46 > git remote # timeout=10 13:16:46 > git config --get remote.origin.url # timeout=10 13:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:46 Verifying host key using known hosts file 13:16:46 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 13:16:46 > git merge 50b7175916fade296152ad9743613fc80727b30a # timeout=10 13:16:46 > git rev-parse HEAD^{commit} # timeout=10 13:16:46 > git config core.sparsecheckout # timeout=10 13:16:46 > git checkout -f 5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 # timeout=10 13:16:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 13:16:47 > git --version # timeout=10 13:16:47 > git --version # 'git version 2.25.1' 13:16:47 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:16:48 % Total % Received % Xferd Average Speed Time Time Time Current 13:16:48 Dload Upload Total Spent Left Speed 13:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 13:16:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:16:49 + sudo tee /etc/docker/daemon.new 13:16:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:16:49 { 13:16:49 "registry-mirrors": [ 13:16:49 "https://nexus3.edgexfoundry.org:10001" 13:16:49 ], 13:16:49 "bip": "10.250.0.254/24", 13:16:49 "hosts": [ 13:16:49 "tcp://0.0.0.0:5555", 13:16:49 "unix:///var/run/docker.sock" 13:16:49 ], 13:16:49 "mtu": 1458, 13:16:49 "selinux-enabled": true, 13:16:49 "seccomp-profile": "/etc/docker/seccomp.json" 13:16:49 } [Pipeline] sh 13:16:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:16:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:08 provisioning config files... 13:17:08 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config14551053885810672133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:08 ---> docker-login.sh 13:17:08 nexus3.edgexfoundry.org:10001 13:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:09 Configure a credential helper to remove this warning. See 13:17:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:09 13:17:09 Login Succeeded 13:17:09 nexus3.edgexfoundry.org:10002 13:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:09 Configure a credential helper to remove this warning. See 13:17:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:09 13:17:09 Login Succeeded 13:17:09 nexus3.edgexfoundry.org:10003 13:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:10 Configure a credential helper to remove this warning. See 13:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:10 13:17:10 Login Succeeded 13:17:10 nexus3.edgexfoundry.org:10004 13:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:10 Configure a credential helper to remove this warning. See 13:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:10 13:17:10 Login Succeeded 13:17:10 docker.io 13:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:10 Configure a credential helper to remove this warning. See 13:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:10 13:17:10 Login Succeeded 13:17:10 ---> docker-login.sh ends [Pipeline] } 13:17:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:17:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:17:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:17:11 ========================================================= 13:17:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:17:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:17:12 Sending build context to Docker daemon 683.5kB 13:17:12 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 13:17:12 Step 2/14 : FROM ${BASE} AS builder 13:17:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:17:12 b3c136eddcbf: Pulling fs layer 13:17:12 c0a3192eca97: Pulling fs layer 13:17:12 a050256f5b6f: Pulling fs layer 13:17:12 656be50a0ddc: Pulling fs layer 13:17:12 2bbca73fdf42: Pulling fs layer 13:17:12 f607e4fc86c3: Pulling fs layer 13:17:12 4d572c569a2c: Pulling fs layer 13:17:12 fcf976331f73: Pulling fs layer 13:17:12 656be50a0ddc: Waiting 13:17:12 2bbca73fdf42: Waiting 13:17:12 f607e4fc86c3: Waiting 13:17:12 fcf976331f73: Waiting 13:17:12 4d572c569a2c: Waiting 13:17:12 a050256f5b6f: Verifying Checksum 13:17:12 a050256f5b6f: Download complete 13:17:12 c0a3192eca97: Verifying Checksum 13:17:12 c0a3192eca97: Download complete 13:17:12 2bbca73fdf42: Download complete 13:17:12 f607e4fc86c3: Verifying Checksum 13:17:12 f607e4fc86c3: Download complete 13:17:12 b3c136eddcbf: Verifying Checksum 13:17:12 b3c136eddcbf: Download complete 13:17:13 b3c136eddcbf: Pull complete 13:17:13 fcf976331f73: Verifying Checksum 13:17:13 fcf976331f73: Download complete 13:17:13 c0a3192eca97: Pull complete 13:17:13 a050256f5b6f: Pull complete 13:17:14 4d572c569a2c: Verifying Checksum 13:17:14 656be50a0ddc: Verifying Checksum 13:17:14 656be50a0ddc: Download complete 13:17:27 656be50a0ddc: Pull complete 13:17:27 2bbca73fdf42: Pull complete 13:17:27 f607e4fc86c3: Pull complete 13:17:32 4d572c569a2c: Pull complete 13:17:34 fcf976331f73: Pull complete 13:17:34 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 13:17:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:17:34 ---> 3970a7415f9e 13:17:34 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:17:36 ---> Running in 91620a623293 13:17:36 Removing intermediate container 91620a623293 13:17:36 ---> 241742563f81 13:17:36 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 13:17:36 ---> Running in 0cb97159b134 13:17:36 Removing intermediate container 0cb97159b134 13:17:36 ---> f486cb441f48 13:17:36 Step 5/14 : ARG ADD_BUILD_TAGS="" 13:17:36 ---> Running in ea05a826fb74 13:17:36 Removing intermediate container ea05a826fb74 13:17:36 ---> c4fd6a16855c 13:17:36 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:17:36 ---> Running in 30601d5f2ada 13:17:37 Removing intermediate container 30601d5f2ada 13:17:37 ---> 8ca36223db4e 13:17:37 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:17:37 ---> Running in 9d07a924021a 13:17:39 Removing intermediate container 9d07a924021a 13:17:39 ---> ec00aafa84a8 13:17:39 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:39 ---> Running in bb93649740dd 13:17:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:17:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:17:42 OK: 221 MiB in 51 packages 13:17:42 Removing intermediate container bb93649740dd 13:17:42 ---> 1e5a66ea876d 13:17:42 Step 9/14 : WORKDIR /app 13:17:42 ---> Running in 67aacb170783 13:17:43 Removing intermediate container 67aacb170783 13:17:43 ---> d1ad2b19a1e8 13:17:43 Step 10/14 : COPY go.mod vendor* ./ 13:17:43 ---> 93c6de51cc7a 13:17:43 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:43 ---> Running in 5990440eaa11 13:18:30 Removing intermediate container 5990440eaa11 13:18:30 ---> a585393da161 13:18:30 Step 12/14 : COPY . . 13:18:30 ---> e6a7c8db319f 13:18:30 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:18:30 ---> Running in 4932530d5280 13:18:30 Removing intermediate container 4932530d5280 13:18:30 ---> 5aa5d9bf98c2 13:18:30 Step 14/14 : RUN $MAKE 13:18:30 ---> Running in af70a05fd518 13:18:30 noop 13:18:30 Removing intermediate container af70a05fd518 13:18:30 ---> 22fa400bc8c7 13:18:30 Successfully built 22fa400bc8c7 13:18:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:31 + docker inspect -f . ci-base-image-arm64 13:18:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:31 prd-ubuntu20.04-docker-arm64-4c-16g-6872 does not seem to be running inside a container 13:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:32 $ docker top 0b7ee3efb606d54b08a83d2eefd4f3697591f1ec21237846d0776d68723b4087 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:33 + go version 13:18:33 go version go1.18.3 linux/arm64 [Pipeline] } 13:18:33 $ docker stop --time=1 0b7ee3efb606d54b08a83d2eefd4f3697591f1ec21237846d0776d68723b4087 13:18:34 $ docker rm -f 0b7ee3efb606d54b08a83d2eefd4f3697591f1ec21237846d0776d68723b4087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:35 + docker inspect -f . ci-base-image-arm64 13:18:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:36 prd-ubuntu20.04-docker-arm64-4c-16g-6872 does not seem to be running inside a container 13:18:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:37 $ docker top 77e8d021091c958f68c3dbaa8c23cb4a5839b651ecd1758108ab4e2154caaa1b -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:37 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:18:38 + make test 13:18:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:20:14 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:20:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.184s coverage: 86.2% of statements 13:20:14 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:20:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.716s coverage: 71.9% of statements 13:20:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:20:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:20:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:20:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:20:36 ./bin/test-attribution.sh [Pipeline] echo 13:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:20:36 $ docker stop --time=1 77e8d021091c958f68c3dbaa8c23cb4a5839b651ecd1758108ab4e2154caaa1b 13:20:38 $ docker rm -f 77e8d021091c958f68c3dbaa8c23cb4a5839b651ecd1758108ab4e2154caaa1b [Pipeline] // withDockerContainer [Pipeline] sh 13:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:20:39 Warning: overwriting stash ‘coverage-report’ 13:20:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:20:41 + ls -al . 13:20:41 total 228 13:20:41 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 13:18 . 13:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:16 .. 13:20:41 -rw-rw-r-- 1 jenkins jenkins 262 Oct 3 13:16 .dockerignore 13:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 13:16 .git 13:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 13:16 .github 13:20:41 -rw-rw-r-- 1 jenkins jenkins 788 Oct 3 13:16 .gitignore 13:20:41 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 13:16 .golangci.yml 13:20:41 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 3 13:16 Attribution.txt 13:20:41 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 3 13:16 CHANGELOG.md 13:20:41 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 3 13:16 Dockerfile 13:20:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 13:16 GOVERNANCE.md 13:20:41 -rw-rw-r-- 1 jenkins jenkins 687 Oct 3 13:16 Jenkinsfile 13:20:41 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 3 13:16 LICENSE 13:20:41 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 3 13:16 Makefile 13:20:41 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 13:16 OWNERS.md 13:20:41 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 3 13:16 README.md 13:20:41 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 13:13 VERSION 13:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:16 bin 13:20:41 -rw-r--r-- 1 jenkins jenkins 41008 Oct 3 13:20 coverage.out 13:20:41 -rw-rw-r-- 1 jenkins jenkins 3685 Oct 3 13:16 go.mod 13:20:41 -rw-rw-r-- 1 jenkins jenkins 38073 Oct 3 13:16 go.sum 13:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:16 images 13:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:16 internal 13:20:41 -rw-rw-r-- 1 jenkins jenkins 531 Oct 3 13:16 main.go 13:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:16 res 13:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:16 snap 13:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 13:16 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:41 + 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=5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 --label arch=arm64 --label version=0.0.0 . 13:20:41 Sending build context to Docker daemon 683.5kB 13:20:41 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 13:20:41 Step 2/32 : FROM ${BASE} AS builder 13:20:41 ---> 22fa400bc8c7 13:20:41 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:20:41 ---> Running in 51738cc55b15 13:20:41 Removing intermediate container 51738cc55b15 13:20:41 ---> 0d9d387dda38 13:20:41 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 13:20:41 ---> Running in fef749c1cb33 13:20:42 Removing intermediate container fef749c1cb33 13:20:42 ---> 6a0915d41311 13:20:42 Step 5/32 : ARG ADD_BUILD_TAGS="" 13:20:42 ---> Running in 8d7fd792856a 13:20:42 Removing intermediate container 8d7fd792856a 13:20:42 ---> 79f41783ce9a 13:20:42 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:20:42 ---> Running in b3d4bf219039 13:20:43 Removing intermediate container b3d4bf219039 13:20:43 ---> 725fcaa1771b 13:20:43 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:20:43 ---> Running in 1e8c386ec986 13:20:45 Removing intermediate container 1e8c386ec986 13:20:45 ---> 9c187acc65fd 13:20:45 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:20:45 ---> Running in 3b1175c32144 13:20:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:20:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:20:47 OK: 221 MiB in 51 packages 13:20:48 Removing intermediate container 3b1175c32144 13:20:48 ---> 2e6f1fa35b23 13:20:48 Step 9/32 : WORKDIR /app 13:20:48 ---> Running in f3f2aaee9f43 13:20:48 Removing intermediate container f3f2aaee9f43 13:20:48 ---> 848b4d0a549e 13:20:48 Step 10/32 : COPY go.mod vendor* ./ 13:20:49 ---> 92b9240ac66b 13:20:49 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:20:49 ---> Running in c7b63b8ae402 13:20:51 Removing intermediate container c7b63b8ae402 13:20:51 ---> 09974fe3a195 13:20:51 Step 12/32 : COPY . . 13:20:52 ---> 565221e4838a 13:20:52 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:20:52 ---> Running in fe880a2d65f6 13:20:52 Removing intermediate container fe880a2d65f6 13:20:52 ---> b469712610fb 13:20:52 Step 14/32 : RUN $MAKE 13:20:52 ---> Running in 252defc0dc50 13:20:53 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 13:23:30 Removing intermediate container 252defc0dc50 13:23:30 ---> db8ba96a0a27 13:23:30 Step 15/32 : FROM alpine:3.14 13:23:30 3.14: Pulling from library/alpine 13:23:30 90cda3b7c325: Pulling fs layer 13:23:30 90cda3b7c325: Verifying Checksum 13:23:30 90cda3b7c325: Download complete 13:23:30 90cda3b7c325: Pull complete 13:23:30 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 13:23:30 Status: Downloaded newer image for alpine:3.14 13:23:30 ---> 376ba31ae3da 13:23:30 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:23:30 ---> Running in 63cbfd241ee9 13:23:30 Removing intermediate container 63cbfd241ee9 13:23:30 ---> 708186101761 13:23:30 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:23:30 ---> Running in aad17552a23c 13:23:30 Removing intermediate container aad17552a23c 13:23:30 ---> bfcb33dd66c8 13:23:30 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:23:30 ---> Running in 0804cc5e1b15 13:23:30 Removing intermediate container 0804cc5e1b15 13:23:30 ---> 3c92004ef0a9 13:23:30 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:23:30 ---> Running in 14fc031d5ee2 13:23:30 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:23:30 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:23:30 (1/7) Installing ca-certificates (20220614-r0) 13:23:30 (2/7) Installing dumb-init (1.2.5-r1) 13:23:30 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:23:30 (4/7) Installing libsodium (1.0.18-r0) 13:23:31 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:23:31 (6/7) Installing libzmq (4.3.4-r0) 13:23:31 (7/7) Installing zeromq (4.3.4-r0) 13:23:31 Executing busybox-1.33.1-r8.trigger 13:23:31 Executing ca-certificates-20220614-r0.trigger 13:23:31 OK: 9 MiB in 21 packages 13:23:33 Removing intermediate container 14fc031d5ee2 13:23:33 ---> f058176fbbbc 13:23:33 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:23:33 ---> ebcffb5cb90e 13:23:33 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 13:23:34 ---> 66e0d4b220e0 13:23:34 Step 22/32 : COPY --from=builder /app/res/ /res/ 13:23:34 ---> becf861d090b 13:23:34 Step 23/32 : COPY --from=builder /app/static/ /static/ 13:23:35 ---> 021adfc9fe26 13:23:35 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:23:36 ---> 10512bc4af2f 13:23:36 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:23:36 ---> Running in 76748f9ded44 13:23:38 Removing intermediate container 76748f9ded44 13:23:38 ---> c2607e8e9df3 13:23:38 Step 26/32 : VOLUME /cache 13:23:38 ---> Running in 92ee9e77c89b 13:23:38 Removing intermediate container 92ee9e77c89b 13:23:38 ---> 2deaf4f87bf6 13:23:38 Step 27/32 : EXPOSE 59711 13:23:38 ---> Running in eef9dd509320 13:23:38 Removing intermediate container eef9dd509320 13:23:38 ---> 70083ef04de4 13:23:38 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:23:38 ---> Running in 72fe09929d5d 13:23:39 Removing intermediate container 72fe09929d5d 13:23:39 ---> ac9540b80cd6 13:23:39 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:23:39 ---> Running in f4c77c356552 13:23:39 Removing intermediate container f4c77c356552 13:23:39 ---> 102becb58d8e 13:23:39 Step 30/32 : LABEL arch=arm64 13:23:39 ---> Running in d0cea7410aa6 13:23:39 Removing intermediate container d0cea7410aa6 13:23:39 ---> 5d603e99d0b6 13:23:39 Step 31/32 : LABEL git_sha=5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 13:23:39 ---> Running in 9c2dd064232f 13:23:40 Removing intermediate container 9c2dd064232f 13:23:40 ---> 0a20058e0f6b 13:23:40 Step 32/32 : LABEL version=0.0.0 13:23:40 ---> Running in eca04d166fb6 13:23:40 Removing intermediate container eca04d166fb6 13:23:40 ---> 6367b92b11c6 13:23:40 [Warning] One or more build-args [ARCH] were not consumed 13:23:40 Successfully built 6367b92b11c6 13:23:40 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 13:23:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:41 13:23:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:41 arm64: Pulling from edgex-lftools-log-publisher 13:23:41 8998bd30e6a1: Pulling fs layer 13:23:41 04944245beec: Pulling fs layer 13:23:41 699f458cf7ca: Pulling fs layer 13:23:41 765212b225bb: Pulling fs layer 13:23:41 f23df028b6ca: Pulling fs layer 13:23:41 d65c8cfc05b1: Pulling fs layer 13:23:41 2437ff75d9bd: Pulling fs layer 13:23:41 765212b225bb: Waiting 13:23:41 f23df028b6ca: Waiting 13:23:41 d65c8cfc05b1: Waiting 13:23:41 2437ff75d9bd: Waiting 13:23:42 04944245beec: Verifying Checksum 13:23:42 04944245beec: Download complete 13:23:42 765212b225bb: Verifying Checksum 13:23:42 765212b225bb: Download complete 13:23:42 f23df028b6ca: Verifying Checksum 13:23:42 f23df028b6ca: Download complete 13:23:42 d65c8cfc05b1: Verifying Checksum 13:23:42 d65c8cfc05b1: Download complete 13:23:42 699f458cf7ca: Verifying Checksum 13:23:42 699f458cf7ca: Download complete 13:23:42 8998bd30e6a1: Verifying Checksum 13:23:42 8998bd30e6a1: Download complete 13:23:45 2437ff75d9bd: Verifying Checksum 13:23:45 2437ff75d9bd: Download complete 13:23:46 8998bd30e6a1: Pull complete 13:23:46 04944245beec: Pull complete 13:23:48 699f458cf7ca: Pull complete 13:23:48 765212b225bb: Pull complete 13:23:49 f23df028b6ca: Pull complete 13:23:49 d65c8cfc05b1: Pull complete 13:24:04 2437ff75d9bd: Pull complete 13:24:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:24:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:04 prd-ubuntu20.04-docker-arm64-4c-16g-6872 does not seem to be running inside a container 13:24:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:24:07 $ docker top 9f89ec74b3d2d8c4c5a78784adc80aea0a4d8fb7eb236edbf9bbaf55f9f51274 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:07 ---> job-cost.sh 13:24:08 lf-activate-venv: SKIPPING 13:24:08 INFO: No Stack... 13:24:08 INFO: Retrieving Pricing Info for: v3-standard-4 13:24:09 INFO: Archiving Costs [Pipeline] sh 13:24:10 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:24:10 + cut -d, -f6 [Pipeline] lock 13:24:10 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] 13:24:10 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] did not exist. Created. 13:24:10 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:10 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-316e34ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:24:11 + echo total: 0.10999999940395355 [Pipeline] stash 13:24:11 Warning: overwriting stash ‘stack-cost’ 13:24:11 Stashed 1 file(s) [Pipeline] } 13:24:11 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:11 $ docker stop --time=1 9f89ec74b3d2d8c4c5a78784adc80aea0a4d8fb7eb236edbf9bbaf55f9f51274 13:24:12 $ docker rm -f 9f89ec74b3d2d8c4c5a78784adc80aea0a4d8fb7eb236edbf9bbaf55f9f51274 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:24:13 provisioning config files... 13:24:13 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/config16842282739198071141tmp [Pipeline] { [Pipeline] sh 13:24:14 + set +x 13:24:14 + curl -s https://codecov.io/bash 13:24:14 + bash -s -- 13:24:14 13:24:14 _____ _ 13:24:14 / ____| | | 13:24:14 | | ___ __| | ___ ___ _____ __ 13:24:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:24:14 | |___| (_) | (_| | __/ (_| (_) \ V / 13:24:14 \_____\___/ \__,_|\___|\___\___/ \_/ 13:24:14 Bash-1.0.6 13:24:14 13:24:14 13:24:14 ==> git version 2.25.1 found 13:24:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:24:14 Release-Date: 2020-01-08 13:24:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:24:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:24:14 ==> Jenkins CI detected. 13:24:14 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-113 13:24:14 project root: . 13:24:14 --> token set from env 13:24:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:24:14 ==> Running gcov in . (disable via -X gcov) 13:24:14 ==> Python coveragepy not found 13:24:14 ==> Searching for coverage reports in: 13:24:14 + . 13:24:14 -> Found 1 reports 13:24:14 ==> Detecting git/mercurial file structure 13:24:14 ==> Reading reports 13:24:14 + ./coverage.out bytes=41008 13:24:14 ==> Appending adjustments 13:24:14 https://docs.codecov.io/docs/fixing-reports 13:24:14 + Found adjustments 13:24:14 ==> Gzipping contents 13:24:14 12K /tmp/codecov.DuLGUW.gz 13:24:14 ==> Uploading reports 13:24:14 url: https://codecov.io 13:24:14 query: branch=PR-113&commit=5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=113&job=&cmd_args= 13:24:14 -> Pinging Codecov 13:24:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-113&commit=5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=113&job=&cmd_args= 13:24:14 -> Uploading to 13:24:14 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/581DD39554BDF9B6E22D074273EAD858/5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47/f3c07b57-b203-444b-bede-7dcd488a25e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T132414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58e4b92e8fd50921fae2106433749c939dbe4ea8af6f33c43a36301d9ce83e3c 13:24:14 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:14 Dload Upload Total Spent Left Speed 13:24:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11471 0 0 100 11471 0 53854 --:--:-- --:--:-- --:--:-- 53854 13:24:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5d0d52213de6bedb911f7cfc7bfbc91fe0e17a47 [Pipeline] } 13:24:15 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 13:24:16 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-113/archives ] 13:24:16 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-113/archives 13:24:16 total 16 13:24:16 drwxr-xr-x 3 root root 4096 Oct 3 13:15 . 13:24:16 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 13:15 .. 13:24:16 drwxr-xr-x 2 root root 4096 Oct 3 13:15 cost 13:24:16 -rw-r--r-- 1 root root 95 Oct 3 13:15 cost.csv 13:24:16 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-113/archives 13:24:16 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-113/archives 13:24:16 total 16 13:24:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 13:15 . 13:24:16 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 13:15 .. 13:24:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 13:15 cost 13:24:16 -rw-r--r-- 1 jenkins jenkins 95 Oct 3 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:24:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:18 ---> package-listing.sh 13:24:18 ++ facter osfamily 13:24:18 ++ tr '[:upper:]' '[:lower:]' 13:24:18 + OS_FAMILY=debian 13:24:18 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-113 13:24:18 + START_PACKAGES=/tmp/packages_start.txt 13:24:18 + END_PACKAGES=/tmp/packages_end.txt 13:24:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:18 + PACKAGES=/tmp/packages_start.txt 13:24:18 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-113 ']' 13:24:18 + PACKAGES=/tmp/packages_end.txt 13:24:18 + case "${OS_FAMILY}" in 13:24:18 + dpkg -l 13:24:18 + grep '^ii' 13:24:18 + '[' -f /tmp/packages_start.txt ']' 13:24:18 + '[' -f /tmp/packages_end.txt ']' 13:24:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:18 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-113 ']' 13:24:18 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-113/archives/ 13:24:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-113/archives/ [Pipeline] echo 13:24:18 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-113/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:24:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:19 prd-ubuntu20.04-docker-8c-8g-6870 does not seem to be running inside a container 13:24:19 $ 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-113/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-113 -v /w/workspace/y_app-rfid-llrp-inventory_PR-113:/w/workspace/y_app-rfid-llrp-inventory_PR-113:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:24:19 $ docker top ed8c5fbab2e17fa3db702002f5969962d1b173684f56819c995dbc6e46483ae2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:20 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:20 + mkdir -p /var/log/sysstat [Pipeline] sh 13:24:20 + ls /var/log/sa-host 13:24:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:20 provisioning config files... 13:24:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-113@tmp/config15751720167776435184tmp [Pipeline] { [Pipeline] echo 13:24:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:21 ---> create-netrc.sh [Pipeline] } 13:24:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:24:21 ---> python-tools-install.sh [Pipeline] echo 13:24:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:22 ---> sudo-logs.sh 13:24:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:24:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:22 ---> job-cost.sh 13:24:22 lf-activate-venv: SKIPPING 13:24:22 DEBUG: total: 0.2199999988079071 13:24:22 INFO: Retrieving Stack Cost... 13:24:23 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:23 INFO: Archiving Costs [Pipeline] echo 13:24:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:23 ---> logs-deploy.sh 13:24:23 lf-activate-venv: SKIPPING 13:24:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-113/1 13:24:23 INFO: archiving workspace using pattern(s): 13:24:25 Archives upload complete. 13:24:25 INFO: archiving logs to Nexus