Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from d18d0f12150e76f281615eee984fa5cbe55ac6d4+3238fc2d0ace65e1c621b12a7e75f28d928cef37 (241bfdb6a5596e9bef5145414cd4a01d492eb6ba) 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-ssh2789248030118720744.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh3140617721817945294.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-67/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-67/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1888442324509629409.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh10439776794522009824.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-67/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-67/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16269135523320573823.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-23578 in /w/workspace/ry_app-rfid-llrp-inventory_PR-67 [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/ry_app-rfid-llrp-inventory_PR-67 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3238fc2d0ace65e1c621b12a7e75f28d928cef37 into PR head commit d18d0f12150e76f281615eee984fa5cbe55ac6d4 Merge succeeded, producing 90513323f3d34296888c7261efd15df7857a30db Checking out Revision 90513323f3d34296888c7261efd15df7857a30db (PR-67) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d18d0f12150e76f281615eee984fa5cbe55ac6d4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3238fc2d0ace65e1c621b12a7e75f28d928cef37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90513323f3d34296888c7261efd15df7857a30db # timeout=10 Commit message: "Merge commit '3238fc2d0ace65e1c621b12a7e75f28d928cef37' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:58:20 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk d7ee93637f0ce1f0ff3ee588b13aa7b4467cd189 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:58:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:58:20 ========================================================= 07:58:20 EdgeX Global Pipelines Version Info 07:58:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:58:21 ------------------- 07:58:21 stable info: 07:58:21 ------------------- 07:58:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:58:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:58:21 Message: update stable to v1.0.221 07:58:22 ------------------- 07:58:22 experimental info: 07:58:22 ------------------- 07:58:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:58:22 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 07:58:22 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-67 [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-67 [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-67 [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90513323f3d34296888c7261efd15df7857a30db [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9051332 [Pipeline] echo 07:58:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:22 provisioning config files... 07:58:23 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/config839792806639954136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:23 ---> docker-login.sh 07:58:23 nexus3.edgexfoundry.org:10001 07:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:23 Configure a credential helper to remove this warning. See 07:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:23 07:58:23 Login Succeeded 07:58:23 nexus3.edgexfoundry.org:10002 07:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:23 Configure a credential helper to remove this warning. See 07:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:23 07:58:23 Login Succeeded 07:58:23 nexus3.edgexfoundry.org:10003 07:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:23 Configure a credential helper to remove this warning. See 07:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:23 07:58:23 Login Succeeded 07:58:23 nexus3.edgexfoundry.org:10004 07:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:24 Configure a credential helper to remove this warning. See 07:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:24 07:58:24 Login Succeeded 07:58:24 docker.io 07:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:24 Configure a credential helper to remove this warning. See 07:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:24 07:58:24 Login Succeeded 07:58:24 ---> docker-login.sh ends [Pipeline] } 07:58:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:58:25 + git rev-list -1 --merges 90513323f3d34296888c7261efd15df7857a30db~1..90513323f3d34296888c7261efd15df7857a30db [Pipeline] echo 07:58:25 -----------> git rev-list -1 --merges 90513323f3d34296888c7261efd15df7857a30db~1..90513323f3d34296888c7261efd15df7857a30db 90513323f3d34296888c7261efd15df7857a30db 07:58:25 90513323f3d34296888c7261efd15df7857a30db [false] [Pipeline] sh 07:58:25 + git log --format=format:%s -1 90513323f3d34296888c7261efd15df7857a30db [Pipeline] echo 07:58:25 ========================================================= 07:58:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:58:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:58:25 + git log --format=format:%s -1 90513323f3d34296888c7261efd15df7857a30db [Pipeline] echo 07:58:25 [semverPrep] GIT_COMMIT: 90513323f3d34296888c7261efd15df7857a30db, Commit Message: Merge commit '3238fc2d0ace65e1c621b12a7e75f28d928cef37' into HEAD [Pipeline] echo 07:58:25 [semverPrep] This is not a build commit. [Pipeline] sh 07:58:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:58:26 + grep -v github /etc/ssh/ssh_known_hosts 07:58:26 + [ -e /tmp/ssh_known_hosts ] 07:58:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:58:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:58:26 + sudo tee -a /etc/ssh/ssh_known_hosts 07:58:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:58:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:58:26 07:58:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:58:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:58:27 latest: Pulling from edgex-devops/git-semver 07:58:27 a0d0a0d46f8b: Pulling fs layer 07:58:27 3e5f54012d9b: Pulling fs layer 07:58:27 4c7163046ea9: Pulling fs layer 07:58:27 0c2d73faf560: Pulling fs layer 07:58:27 0c2d73faf560: Waiting 07:58:27 3e5f54012d9b: Verifying Checksum 07:58:27 3e5f54012d9b: Download complete 07:58:27 a0d0a0d46f8b: Verifying Checksum 07:58:27 a0d0a0d46f8b: Download complete 07:58:27 0c2d73faf560: Verifying Checksum 07:58:27 0c2d73faf560: Download complete 07:58:27 4c7163046ea9: Verifying Checksum 07:58:27 4c7163046ea9: Download complete 07:58:27 a0d0a0d46f8b: Pull complete 07:58:27 3e5f54012d9b: Pull complete 07:58:27 4c7163046ea9: Pull complete 07:58:27 0c2d73faf560: Pull complete 07:58:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:58:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:58:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:58:28 prd-ubuntu20.04-docker-8c-8g-23578 does not seem to be running inside a container 07:58:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-67 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67:/w/workspace/ry_app-rfid-llrp-inventory_PR-67:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:58:28 $ docker top 6a293b67e466a0d406d16e9656c0c87b8ca139250cd88f8e206566cff4214e9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:58:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:58:28 [ssh-agent] Looking for ssh-agent implementation... 07:58:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:58:29 $ docker exec 6a293b67e466a0d406d16e9656c0c87b8ca139250cd88f8e206566cff4214e9f ssh-agent 07:58:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFPDGAk/agent.12 07:58:29 SSH_AGENT_PID=19 07:58:29 Running ssh-add (command line suppressed) 07:58:29 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/private_key_5005693384281950551.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/private_key_5005693384281950551.key) 07:58:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:58:29 + git tag --points-at HEAD [Pipeline] } 07:58:29 $ docker exec --env ******** --env ******** 6a293b67e466a0d406d16e9656c0c87b8ca139250cd88f8e206566cff4214e9f ssh-agent -k 07:58:29 unset SSH_AUTH_SOCK; 07:58:29 unset SSH_AGENT_PID; 07:58:29 echo Agent pid 19 killed; 07:58:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:58:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:58:29 [ssh-agent] Looking for ssh-agent implementation... 07:58:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:58:29 $ docker exec 6a293b67e466a0d406d16e9656c0c87b8ca139250cd88f8e206566cff4214e9f ssh-agent 07:58:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgfCOej/agent.53 07:58:30 SSH_AGENT_PID=60 07:58:30 Running ssh-add (command line suppressed) 07:58:30 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/private_key_6302209476974242890.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/private_key_6302209476974242890.key) 07:58:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:58:30 + git semver init 07:58:30 # -> Open(): unable to determine branch for HEAD 07:58:30 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-67/.git 07:58:30 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-67 07:58:30 # $SEMVER_REMOTE_NAME = origin 07:58:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:58:30 # $SEMVER_USER_NAME = edgex-jenkins 07:58:30 # $SEMVER_BRANCH = PR-67 07:58:30 # $SEMVER_TEMP = /tmp/semver-759944833 07:58:30 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 07:58:31 # '/tmp/semver-759944833' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-67/.semver' 07:58:31 # -> Force: false 07:58:31 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-67/.semver [Pipeline] } 07:58:31 $ docker exec --env ******** --env ******** 6a293b67e466a0d406d16e9656c0c87b8ca139250cd88f8e206566cff4214e9f ssh-agent -k 07:58:32 unset SSH_AUTH_SOCK; 07:58:32 unset SSH_AGENT_PID; 07:58:32 echo Agent pid 60 killed; 07:58:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:58:32 + git semver [Pipeline] } 07:58:32 $ docker stop --time=1 6a293b67e466a0d406d16e9656c0c87b8ca139250cd88f8e206566cff4214e9f 07:58:33 $ docker rm -f 6a293b67e466a0d406d16e9656c0c87b8ca139250cd88f8e206566cff4214e9f [Pipeline] // withDockerContainer [Pipeline] sh 07:58:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:58:34 Stashed 1 file(s) [Pipeline] echo 07:58:34 [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 07:58:34 provisioning config files... 07:58:34 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/config7043892240923926653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:34 ---> docker-login.sh 07:58:34 nexus3.edgexfoundry.org:10001 07:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:34 Configure a credential helper to remove this warning. See 07:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:34 07:58:34 Login Succeeded 07:58:34 nexus3.edgexfoundry.org:10002 07:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:35 Configure a credential helper to remove this warning. See 07:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:35 07:58:35 Login Succeeded 07:58:35 nexus3.edgexfoundry.org:10003 07:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:35 Configure a credential helper to remove this warning. See 07:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:35 07:58:35 Login Succeeded 07:58:35 nexus3.edgexfoundry.org:10004 07:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:35 Configure a credential helper to remove this warning. See 07:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:35 07:58:35 Login Succeeded 07:58:35 docker.io 07:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:35 Configure a credential helper to remove this warning. See 07:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:35 07:58:35 Login Succeeded 07:58:35 ---> docker-login.sh ends [Pipeline] } 07:58:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:58:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:35 ========================================================= 07:58:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:58:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:58:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:58:36 Sending build context to Docker daemon 10.04MB 07:58:36 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:58:36 Step 2/13 : FROM ${BASE} AS builder 07:58:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:58:36 59bf1c3509f3: Pulling fs layer 07:58:36 666ba61612fd: Pulling fs layer 07:58:36 8ed8ca486205: Pulling fs layer 07:58:36 4fe6c5a15a65: Pulling fs layer 07:58:36 22a0e8bec74d: Pulling fs layer 07:58:36 ca2b28591e48: Pulling fs layer 07:58:36 a51346096db8: Pulling fs layer 07:58:36 daebc70d1ce1: Pulling fs layer 07:58:36 0e18a0eac166: Pulling fs layer 07:58:36 22a0e8bec74d: Waiting 07:58:36 a51346096db8: Waiting 07:58:36 4fe6c5a15a65: Waiting 07:58:36 0e18a0eac166: Waiting 07:58:36 daebc70d1ce1: Waiting 07:58:36 ca2b28591e48: Waiting 07:58:36 8ed8ca486205: Verifying Checksum 07:58:36 8ed8ca486205: Download complete 07:58:36 666ba61612fd: Download complete 07:58:36 22a0e8bec74d: Verifying Checksum 07:58:36 22a0e8bec74d: Download complete 07:58:36 ca2b28591e48: Verifying Checksum 07:58:36 ca2b28591e48: Download complete 07:58:36 59bf1c3509f3: Verifying Checksum 07:58:36 59bf1c3509f3: Download complete 07:58:36 a51346096db8: Verifying Checksum 07:58:36 a51346096db8: Download complete 07:58:36 daebc70d1ce1: Verifying Checksum 07:58:36 daebc70d1ce1: Download complete 07:58:36 59bf1c3509f3: Pull complete 07:58:36 666ba61612fd: Pull complete 07:58:36 8ed8ca486205: Pull complete 07:58:36 0e18a0eac166: Verifying Checksum 07:58:36 0e18a0eac166: Download complete 07:58:37 4fe6c5a15a65: Verifying Checksum 07:58:37 4fe6c5a15a65: Download complete 07:58:41 4fe6c5a15a65: Pull complete 07:58:41 22a0e8bec74d: Pull complete 07:58:41 ca2b28591e48: Pull complete 07:58:41 a51346096db8: Pull complete 07:58:41 daebc70d1ce1: Pull complete 07:58:43 0e18a0eac166: Pull complete 07:58:43 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 07:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:58:43 ---> f018257e8ee9 07:58:43 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 07:58:44 ---> Running in e045f78a028e 07:58:44 Removing intermediate container e045f78a028e 07:58:44 ---> 5d9ea28c1030 07:58:44 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 07:58:45 ---> Running in 927b23a0076f 07:58:45 Removing intermediate container 927b23a0076f 07:58:45 ---> 9b3549139ba6 07:58:45 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:58:45 ---> Running in 3300061580a5 07:58:45 Removing intermediate container 3300061580a5 07:58:45 ---> 75ff7429c3d9 07:58:45 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:58:45 ---> Running in 7a2c1aee1744 07:58:45 Removing intermediate container 7a2c1aee1744 07:58:45 ---> 6676ec035c3c 07:58:45 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:45 ---> Running in 15a4a01c3431 07:58:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:58:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:58:48 OK: 221 MiB in 52 packages 07:58:48 Removing intermediate container 15a4a01c3431 07:58:48 ---> 8f059987099b 07:58:48 Step 8/13 : WORKDIR /app 07:58:48 ---> Running in e391a8daacb5 07:58:48 Removing intermediate container e391a8daacb5 07:58:48 ---> c9de0ddf7ea9 07:58:48 Step 9/13 : COPY go.mod vendor* ./ 07:58:48 ---> 1551c77d6736 07:58:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:48 ---> Running in fdee2ee18669 07:58:49 Still waiting to schedule task 07:58:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:59:21 Removing intermediate container fdee2ee18669 07:59:21 ---> d697e5e52c06 07:59:21 Step 11/13 : COPY . . 07:59:21 ---> 4931a60a7749 07:59:21 Step 12/13 : ARG MAKE="make build" 07:59:21 ---> Running in 7de9256f68ab 07:59:21 Removing intermediate container 7de9256f68ab 07:59:21 ---> 08a11a90483a 07:59:21 Step 13/13 : RUN $MAKE 07:59:21 ---> Running in 6ba8f7d3e1b9 07:59:21 noop 07:59:21 Removing intermediate container 6ba8f7d3e1b9 07:59:21 ---> 25103dd3d48c 07:59:21 Successfully built 25103dd3d48c 07:59:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:59:21 + docker inspect -f . ci-base-image-x86_64 07:59:21 . [Pipeline] withDockerContainer 07:59:21 prd-ubuntu20.04-docker-8c-8g-23578 does not seem to be running inside a container 07:59:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-67 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67:/w/workspace/ry_app-rfid-llrp-inventory_PR-67:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:59:21 $ docker top 1038faae9325c1b70552ac5d4e112163a32d46b649860a89197347304ddad003 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:22 + go version 07:59:22 go version go1.17.6 linux/amd64 [Pipeline] } 07:59:22 $ docker stop --time=1 1038faae9325c1b70552ac5d4e112163a32d46b649860a89197347304ddad003 07:59:23 $ docker rm -f 1038faae9325c1b70552ac5d4e112163a32d46b649860a89197347304ddad003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:59:23 + docker inspect -f . ci-base-image-x86_64 07:59:23 . [Pipeline] withDockerContainer 07:59:23 prd-ubuntu20.04-docker-8c-8g-23578 does not seem to be running inside a container 07:59:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-67 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67:/w/workspace/ry_app-rfid-llrp-inventory_PR-67:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:59:24 $ docker top 959a7b56f1ba0ba6389e867ec8eccc9de6c6044fd545ea4f114bb18f3c5af3c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:59:24 + make test 07:59:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:59:31 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 07:59:31 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.040s coverage: 86.2% of statements 07:59:31 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 07:59:33 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.543s coverage: 71.9% of statements 07:59:33 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 07:59:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:59:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:59:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:59:42 ./bin/test-attribution.sh [Pipeline] echo 07:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:59:42 $ docker stop --time=1 959a7b56f1ba0ba6389e867ec8eccc9de6c6044fd545ea4f114bb18f3c5af3c2 07:59:44 $ docker rm -f 959a7b56f1ba0ba6389e867ec8eccc9de6c6044fd545ea4f114bb18f3c5af3c2 [Pipeline] // withDockerContainer [Pipeline] sh 07:59:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:59:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:59:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:59:46 + ls -al . 07:59:46 total 240 07:59:46 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 07:59 . 07:59:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 07:58 .. 07:59:46 -rw-rw-r-- 1 jenkins jenkins 262 Apr 26 07:58 .dockerignore 07:59:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 07:58 .git 07:59:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 07:58 .github 07:59:46 -rw-rw-r-- 1 jenkins jenkins 788 Apr 26 07:58 .gitignore 07:59:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 07:58 .golangci.yml 07:59:46 drwx------ 3 jenkins jenkins 4096 Apr 26 07:58 .semver 07:59:46 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 26 07:58 Attribution.txt 07:59:46 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 26 07:58 Dockerfile 07:59:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 07:58 GOVERNANCE.md 07:59:46 -rw-rw-r-- 1 jenkins jenkins 687 Apr 26 07:58 Jenkinsfile 07:59:46 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 26 07:58 LICENSE 07:59:46 -rw-rw-r-- 1 jenkins jenkins 2949 Apr 26 07:58 Makefile 07:59:46 -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 07:58 OWNERS.md 07:59:46 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 26 07:58 README.md 07:59:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 07:58 VERSION 07:59:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 07:58 bin 07:59:46 -rw-r--r-- 1 jenkins jenkins 41008 Apr 26 07:59 coverage.out 07:59:46 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 26 07:59 go.mod 07:59:46 -rw-rw-r-- 1 jenkins jenkins 49531 Apr 26 07:58 go.sum 07:59:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 07:58 images 07:59:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 07:58 internal 07:59:46 -rw-rw-r-- 1 jenkins jenkins 531 Apr 26 07:58 main.go 07:59:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 07:58 res 07:59:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 07:58 snap 07:59:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 07:58 static [Pipeline] isUnix [Pipeline] sh 07:59:46 + 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=90513323f3d34296888c7261efd15df7857a30db --label arch=amd64 --label version=0.0.0 . 07:59:46 Sending build context to Docker daemon 10.04MB 07:59:46 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 07:59:46 Step 2/31 : FROM ${BASE} AS builder 07:59:46 ---> 25103dd3d48c 07:59:46 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 07:59:46 ---> Running in 42df2501774d 07:59:46 Removing intermediate container 42df2501774d 07:59:46 ---> 8f1a3bc8f99d 07:59:46 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 07:59:46 ---> Running in e52fa0de2830 07:59:46 Removing intermediate container e52fa0de2830 07:59:46 ---> 7aa3ba710187 07:59:46 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:59:47 ---> Running in 3f62647a072b 07:59:47 Removing intermediate container 3f62647a072b 07:59:47 ---> 9208e2469db9 07:59:47 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:59:47 ---> Running in 885f26865a54 07:59:47 Removing intermediate container 885f26865a54 07:59:47 ---> 1721707d343a 07:59:47 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:59:47 ---> Running in b24ecfe2b32e 07:59:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:59:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:59:49 OK: 221 MiB in 52 packages 07:59:49 Removing intermediate container b24ecfe2b32e 07:59:49 ---> c529b4a2ece7 07:59:49 Step 8/31 : WORKDIR /app 07:59:49 ---> Running in 264eae30dd3c 07:59:49 Removing intermediate container 264eae30dd3c 07:59:49 ---> ee8755dc1077 07:59:49 Step 9/31 : COPY go.mod vendor* ./ 07:59:49 ---> 237bc26f7e4e 07:59:49 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:59:49 ---> Running in 8ba4f91dc09d 07:59:50 Removing intermediate container 8ba4f91dc09d 07:59:50 ---> f727f2e2cff8 07:59:50 Step 11/31 : COPY . . 07:59:50 ---> 8d0e966ec349 07:59:50 Step 12/31 : ARG MAKE="make build" 07:59:50 ---> Running in 52ded68c60fb 07:59:51 Removing intermediate container 52ded68c60fb 07:59:51 ---> ab74163e89d7 07:59:51 Step 13/31 : RUN $MAKE 07:59:51 ---> Running in 8356957239de 07:59:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -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 08:00:09 Removing intermediate container 8356957239de 08:00:09 ---> ae431a6e9d0b 08:00:09 Step 14/31 : FROM alpine:3.14 08:00:09 3.14: Pulling from library/alpine 08:00:09 8663204ce13b: Pulling fs layer 08:00:09 8663204ce13b: Verifying Checksum 08:00:09 8663204ce13b: Download complete 08:00:09 8663204ce13b: Pull complete 08:00:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:00:09 Status: Downloaded newer image for alpine:3.14 08:00:09 ---> e04c818066af 08:00:09 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:09 ---> Running in db14638da405 08:00:09 Removing intermediate container db14638da405 08:00:09 ---> f0dfc7be7f1f 08:00:09 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:00:09 ---> Running in 1797c359499d 08:00:09 Removing intermediate container 1797c359499d 08:00:09 ---> b576f67a4d65 08:00:09 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:09 ---> Running in f37d5cfde45c 08:00:09 Removing intermediate container f37d5cfde45c 08:00:09 ---> 33d952262845 08:00:09 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:00:09 ---> Running in 59d2bfa5b075 08:00:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:00:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:00:10 (1/6) Installing ca-certificates (20211220-r0) 08:00:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:00:10 (3/6) Installing libsodium (1.0.18-r0) 08:00:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:00:11 (5/6) Installing libzmq (4.3.4-r0) 08:00:11 (6/6) Installing zeromq (4.3.4-r0) 08:00:11 Executing busybox-1.33.1-r7.trigger 08:00:11 Executing ca-certificates-20211220-r0.trigger 08:00:11 OK: 9 MiB in 20 packages 08:00:11 Removing intermediate container 59d2bfa5b075 08:00:11 ---> 3482b6a2685b 08:00:11 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:00:11 ---> 49c49c8f02d3 08:00:11 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:00:12 ---> 61698cd28469 08:00:12 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:00:12 ---> 5beec391117a 08:00:12 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:00:12 ---> 069b51d76f34 08:00:12 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:00:13 ---> 020d47f645f3 08:00:13 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:00:13 ---> Running in 12a182252098 08:00:13 Removing intermediate container 12a182252098 08:00:13 ---> ea889727128f 08:00:13 Step 25/31 : VOLUME /cache 08:00:13 ---> Running in 5e3fb70a8965 08:00:13 Removing intermediate container 5e3fb70a8965 08:00:13 ---> 52e52df77a6f 08:00:13 Step 26/31 : EXPOSE 59711 08:00:13 ---> Running in 21a42bf5917b 08:00:13 Removing intermediate container 21a42bf5917b 08:00:13 ---> ea26d6461e3f 08:00:13 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:00:13 ---> Running in 70486d4901c5 08:00:14 Removing intermediate container 70486d4901c5 08:00:14 ---> d27267048813 08:00:14 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:00:14 ---> Running in 8c3f6edcda15 08:00:14 Removing intermediate container 8c3f6edcda15 08:00:14 ---> d9fdb3f8505c 08:00:14 Step 29/31 : LABEL arch=amd64 08:00:14 ---> Running in 9bbf5ed0aed5 08:00:14 Removing intermediate container 9bbf5ed0aed5 08:00:14 ---> dc36e74edbbc 08:00:14 Step 30/31 : LABEL git_sha=90513323f3d34296888c7261efd15df7857a30db 08:00:14 ---> Running in 14e9d8232792 08:00:14 Removing intermediate container 14e9d8232792 08:00:14 ---> 8fb3f4ca1ad8 08:00:14 Step 31/31 : LABEL version=0.0.0 08:00:14 ---> Running in a6627f495f61 08:00:14 Removing intermediate container a6627f495f61 08:00:14 ---> 109351feeabd 08:00:14 [Warning] One or more build-args [ARCH] were not consumed 08:00:14 Successfully built 109351feeabd 08:00:14 Successfully tagged app-rfid-llrp-inventory:latest [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] sh 08:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:15 08:00:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:00:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:15 latest: Pulling from edgex-lftools-log-publisher 08:00:15 5eb5b503b376: Pulling fs layer 08:00:15 5c69ac0246d0: Pulling fs layer 08:00:15 ec43610c2a17: Pulling fs layer 08:00:15 3a2ae6a8a46f: Pulling fs layer 08:00:15 33b1e0a273af: Pulling fs layer 08:00:15 5d3b04190fa2: Pulling fs layer 08:00:15 2f39f015ded8: Pulling fs layer 08:00:15 33b1e0a273af: Waiting 08:00:15 5d3b04190fa2: Waiting 08:00:15 3a2ae6a8a46f: Waiting 08:00:15 2f39f015ded8: Waiting 08:00:15 5c69ac0246d0: Verifying Checksum 08:00:15 5c69ac0246d0: Download complete 08:00:15 3a2ae6a8a46f: Verifying Checksum 08:00:15 3a2ae6a8a46f: Download complete 08:00:15 ec43610c2a17: Verifying Checksum 08:00:15 ec43610c2a17: Download complete 08:00:15 5d3b04190fa2: Verifying Checksum 08:00:15 5d3b04190fa2: Download complete 08:00:15 33b1e0a273af: Verifying Checksum 08:00:15 33b1e0a273af: Download complete 08:00:15 5eb5b503b376: Verifying Checksum 08:00:15 5eb5b503b376: Download complete 08:00:16 2f39f015ded8: Download complete 08:00:16 5eb5b503b376: Pull complete 08:00:17 5c69ac0246d0: Pull complete 08:00:17 ec43610c2a17: Pull complete 08:00:17 3a2ae6a8a46f: Pull complete 08:00:17 33b1e0a273af: Pull complete 08:00:17 5d3b04190fa2: Pull complete 08:00:22 2f39f015ded8: Pull complete 08:00:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:00:22 prd-ubuntu20.04-docker-8c-8g-23578 does not seem to be running inside a container 08:00:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-67 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67:/w/workspace/ry_app-rfid-llrp-inventory_PR-67:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:00:23 $ docker top cdb153f5ab48575de6281cef9daf2758608cbca6da7687bc58be82b5e56e63f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:24 ---> job-cost.sh 08:00:24 lf-activate-venv: SKIPPING 08:00:24 INFO: No Stack... 08:00:24 INFO: Retrieving Pricing Info for: v3-standard-8 08:00:25 INFO: Archiving Costs [Pipeline] sh 08:00:25 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-67/archives/cost.csv 08:00:25 + cut -d, -f6 [Pipeline] lock 08:00:25 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] 08:00:25 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] did not exist. Created. 08:00:25 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:00:25 + echo total: 0.2199999988079071 [Pipeline] stash 08:00:25 Stashed 1 file(s) [Pipeline] } 08:00:25 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:00:25 $ docker stop --time=1 cdb153f5ab48575de6281cef9daf2758608cbca6da7687bc58be82b5e56e63f3 08:00:26 $ docker rm -f cdb153f5ab48575de6281cef9daf2758608cbca6da7687bc58be82b5e56e63f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:00:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23580 in /w/workspace/ry_app-rfid-llrp-inventory_PR-67 [Pipeline] { [Pipeline] ws 08:00:27 Running in /w/workspace/app-rfid-llrp-inventory/4 [Pipeline] { [Pipeline] checkout 08:00:28 The recommended git tool is: git 08:00:34 using credential edgex-jenkins-ssh 08:00:34 Cloning the remote Git repository 08:00:35 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:35 > git init /w/workspace/app-rfid-llrp-inventory/4 # timeout=10 08:00:35 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:35 > git --version # timeout=10 08:00:35 > git --version # 'git version 2.25.1' 08:00:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:38 Merging remotes/origin/main commit 3238fc2d0ace65e1c621b12a7e75f28d928cef37 into PR head commit d18d0f12150e76f281615eee984fa5cbe55ac6d4 08:00:37 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:00:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:37 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:00:37 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:00:38 > git config core.sparsecheckout # timeout=10 08:00:38 Merge succeeded, producing 7f1997bb4c2fcce6a21194b07445d53c6f65e903 08:00:38 Checking out Revision 7f1997bb4c2fcce6a21194b07445d53c6f65e903 (PR-67) 08:00:38 > git checkout -f d18d0f12150e76f281615eee984fa5cbe55ac6d4 # timeout=10 08:00:38 > git remote # timeout=10 08:00:38 > git config --get remote.origin.url # timeout=10 08:00:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:38 > git merge 3238fc2d0ace65e1c621b12a7e75f28d928cef37 # timeout=10 08:00:38 > git rev-parse HEAD^{commit} # timeout=10 08:00:38 > git config core.sparsecheckout # timeout=10 08:00:38 > git checkout -f 7f1997bb4c2fcce6a21194b07445d53c6f65e903 # timeout=10 08:00:42 Commit message: "Merge commit '3238fc2d0ace65e1c621b12a7e75f28d928cef37' into HEAD" 08:00:42 First time build. Skipping changelog. 08:00:42 > git rev-list --no-walk d7ee93637f0ce1f0ff3ee588b13aa7b4467cd189 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:00:43 % Total % Received % Xferd Average Speed Time Time Time Current 08:00:43 Dload Upload Total Spent Left Speed 08:00:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh 08:00:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:00:44 + + sudo teesudo /etc/docker/daemon.new jq 08:00:44 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:00:44 { 08:00:44 "registry-mirrors": [ 08:00:44 "https://nexus3.edgexfoundry.org:10001" 08:00:44 ], 08:00:44 "bip": "10.250.0.254/24", 08:00:44 "hosts": [ 08:00:44 "tcp://0.0.0.0:5555", 08:00:44 "unix:///var/run/docker.sock" 08:00:44 ], 08:00:44 "mtu": 1458, 08:00:44 "selinux-enabled": true, 08:00:44 "seccomp-profile": "/etc/docker/seccomp.json" 08:00:44 } [Pipeline] sh 08:00:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:00:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:03 provisioning config files... 08:01:03 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/4@tmp/config9019693493769336981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:04 ---> docker-login.sh 08:01:04 nexus3.edgexfoundry.org:10001 08:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:04 Configure a credential helper to remove this warning. See 08:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:04 08:01:04 Login Succeeded 08:01:04 nexus3.edgexfoundry.org:10002 08:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:05 Configure a credential helper to remove this warning. See 08:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:05 08:01:05 Login Succeeded 08:01:05 nexus3.edgexfoundry.org:10003 08:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:06 Configure a credential helper to remove this warning. See 08:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:06 08:01:06 Login Succeeded 08:01:06 nexus3.edgexfoundry.org:10004 08:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:06 Configure a credential helper to remove this warning. See 08:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:06 08:01:06 Login Succeeded 08:01:06 docker.io 08:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:07 Configure a credential helper to remove this warning. See 08:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:07 08:01:07 Login Succeeded 08:01:07 ---> docker-login.sh ends [Pipeline] } 08:01:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:01:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:07 ========================================================= 08:01:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:01:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:01:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:01:08 Sending build context to Docker daemon 693.8kB 08:01:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:01:08 Step 2/13 : FROM ${BASE} AS builder 08:01:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:01:08 9b3977197b4f: Pulling fs layer 08:01:08 1a89e8eeedd5: Pulling fs layer 08:01:08 94645a83ff95: Pulling fs layer 08:01:08 3f3a8bcf1eab: Pulling fs layer 08:01:08 0c92f367c5e7: Pulling fs layer 08:01:08 3096ccb668a1: Pulling fs layer 08:01:08 e8cf19c19ddd: Pulling fs layer 08:01:08 a4caa8a26152: Pulling fs layer 08:01:08 3f3a8bcf1eab: Waiting 08:01:08 0c92f367c5e7: Waiting 08:01:08 3096ccb668a1: Waiting 08:01:08 e8cf19c19ddd: Waiting 08:01:08 a4caa8a26152: Waiting 08:01:08 94645a83ff95: Download complete 08:01:08 1a89e8eeedd5: Download complete 08:01:08 0c92f367c5e7: Verifying Checksum 08:01:08 0c92f367c5e7: Download complete 08:01:08 3096ccb668a1: Verifying Checksum 08:01:08 3096ccb668a1: Download complete 08:01:08 9b3977197b4f: Verifying Checksum 08:01:08 e8cf19c19ddd: Verifying Checksum 08:01:08 e8cf19c19ddd: Download complete 08:01:09 9b3977197b4f: Pull complete 08:01:09 1a89e8eeedd5: Pull complete 08:01:10 94645a83ff95: Pull complete 08:01:10 a4caa8a26152: Verifying Checksum 08:01:10 a4caa8a26152: Download complete 08:01:11 3f3a8bcf1eab: Verifying Checksum 08:01:11 3f3a8bcf1eab: Download complete 08:01:23 3f3a8bcf1eab: Pull complete 08:01:23 0c92f367c5e7: Pull complete 08:01:23 3096ccb668a1: Pull complete 08:01:24 e8cf19c19ddd: Pull complete 08:01:30 a4caa8a26152: Pull complete 08:01:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:01:30 ---> 725f1c02e7f9 08:01:30 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:01:31 ---> Running in 4a0babc3926f 08:01:31 Removing intermediate container 4a0babc3926f 08:01:31 ---> 288e265d2fcc 08:01:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:01:31 ---> Running in cf0f4adccd6c 08:01:32 Removing intermediate container cf0f4adccd6c 08:01:32 ---> d938c0004bfa 08:01:32 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:32 ---> Running in 367b54e57f90 08:01:32 Removing intermediate container 367b54e57f90 08:01:32 ---> bc75d1ec0b20 08:01:32 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:32 ---> Running in 5914a4169e0d 08:01:34 Removing intermediate container 5914a4169e0d 08:01:34 ---> 32da7708f8ad 08:01:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:01:34 ---> Running in f7195db5f51b 08:01:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:01:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:01:37 OK: 220 MiB in 52 packages 08:01:37 Removing intermediate container f7195db5f51b 08:01:37 ---> f9948f9e6fdd 08:01:37 Step 8/13 : WORKDIR /app 08:01:37 ---> Running in f5c7fec40827 08:01:39 Removing intermediate container f5c7fec40827 08:01:39 ---> 64f66bf005ad 08:01:39 Step 9/13 : COPY go.mod vendor* ./ 08:01:39 ---> d83965b538b0 08:01:39 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:40 ---> Running in af1c7440e302 08:03:01 Removing intermediate container af1c7440e302 08:03:01 ---> 89f5be125984 08:03:01 Step 11/13 : COPY . . 08:03:01 ---> 1b0042a7edbf 08:03:01 Step 12/13 : ARG MAKE="make build" 08:03:01 ---> Running in b9918e7a89f4 08:03:01 Removing intermediate container b9918e7a89f4 08:03:01 ---> 9a5e9dabbb24 08:03:01 Step 13/13 : RUN $MAKE 08:03:01 ---> Running in 97b3a57c8acf 08:03:01 noop 08:03:01 Removing intermediate container 97b3a57c8acf 08:03:01 ---> 644fef8fd0ca 08:03:01 Successfully built 644fef8fd0ca 08:03:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:03:02 + docker inspect -f . ci-base-image-arm64 08:03:02 . [Pipeline] withDockerContainer 08:03:02 prd-ubuntu20.04-docker-arm64-4c-16g-23580 does not seem to be running inside a container 08:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/4 -v /w/workspace/app-rfid-llrp-inventory/4:/w/workspace/app-rfid-llrp-inventory/4:rw,z -v /w/workspace/app-rfid-llrp-inventory/4@tmp:/w/workspace/app-rfid-llrp-inventory/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:03:03 $ docker top 03f558cc62f188269ed7af4b87a7cb55d6c3bad6e65ea14e65c824b434887fe8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:03:04 + go version 08:03:04 go version go1.17.6 linux/arm64 [Pipeline] } 08:03:04 $ docker stop --time=1 03f558cc62f188269ed7af4b87a7cb55d6c3bad6e65ea14e65c824b434887fe8 08:03:06 $ docker rm -f 03f558cc62f188269ed7af4b87a7cb55d6c3bad6e65ea14e65c824b434887fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:03:07 + docker inspect -f . ci-base-image-arm64 08:03:07 . [Pipeline] withDockerContainer 08:03:07 prd-ubuntu20.04-docker-arm64-4c-16g-23580 does not seem to be running inside a container 08:03:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/4 -v /w/workspace/app-rfid-llrp-inventory/4:/w/workspace/app-rfid-llrp-inventory/4:rw,z -v /w/workspace/app-rfid-llrp-inventory/4@tmp:/w/workspace/app-rfid-llrp-inventory/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:03:08 $ docker top d3db3790d21200fe4026b4843e6f3475028670e2a2319c33400900265a9f1e23 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:03:09 + make test 08:03:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:04:06 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:04:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.192s coverage: 86.2% of statements 08:04:06 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:04:09 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.712s coverage: 71.9% of statements 08:04:09 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:04:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:04:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:04:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:04:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:04:32 ./bin/test-attribution.sh [Pipeline] echo 08:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:04:33 $ docker stop --time=1 d3db3790d21200fe4026b4843e6f3475028670e2a2319c33400900265a9f1e23 08:04:35 $ docker rm -f d3db3790d21200fe4026b4843e6f3475028670e2a2319c33400900265a9f1e23 [Pipeline] // withDockerContainer [Pipeline] sh 08:04:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:04:36 Warning: overwriting stash ‘coverage-report’ 08:04:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:37 + ls -al . 08:04:37 total 236 08:04:37 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:04 . 08:04:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:00 .. 08:04:37 -rw-rw-r-- 1 jenkins jenkins 262 Apr 26 08:00 .dockerignore 08:04:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:00 .git 08:04:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:00 .github 08:04:37 -rw-rw-r-- 1 jenkins jenkins 788 Apr 26 08:00 .gitignore 08:04:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:00 .golangci.yml 08:04:37 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 26 08:00 Attribution.txt 08:04:37 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 26 08:00 Dockerfile 08:04:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:00 GOVERNANCE.md 08:04:37 -rw-rw-r-- 1 jenkins jenkins 687 Apr 26 08:00 Jenkinsfile 08:04:37 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 26 08:00 LICENSE 08:04:37 -rw-rw-r-- 1 jenkins jenkins 2949 Apr 26 08:00 Makefile 08:04:37 -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 08:00 OWNERS.md 08:04:37 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 26 08:00 README.md 08:04:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 07:58 VERSION 08:04:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:00 bin 08:04:37 -rw-r--r-- 1 jenkins jenkins 41008 Apr 26 08:04 coverage.out 08:04:37 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 26 08:04 go.mod 08:04:37 -rw-rw-r-- 1 jenkins jenkins 49531 Apr 26 08:00 go.sum 08:04:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:00 images 08:04:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:00 internal 08:04:37 -rw-rw-r-- 1 jenkins jenkins 531 Apr 26 08:00 main.go 08:04:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:00 res 08:04:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:00 snap 08:04:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:00 static [Pipeline] isUnix [Pipeline] sh 08:04:37 + 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=7f1997bb4c2fcce6a21194b07445d53c6f65e903 --label arch=arm64 --label version=0.0.0 . 08:04:38 Sending build context to Docker daemon 693.8kB 08:04:38 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:04:38 Step 2/31 : FROM ${BASE} AS builder 08:04:38 ---> 644fef8fd0ca 08:04:38 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:04:38 ---> Running in bab3d58b42d5 08:04:38 Removing intermediate container bab3d58b42d5 08:04:38 ---> 2ed9b893a833 08:04:38 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:04:38 ---> Running in 78f22329af2f 08:04:39 Removing intermediate container 78f22329af2f 08:04:39 ---> d2feb20aa270 08:04:39 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:39 ---> Running in e6bfcd587a7c 08:04:39 Removing intermediate container e6bfcd587a7c 08:04:39 ---> 6c089e8960d5 08:04:39 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:39 ---> Running in a7d99b8b4212 08:04:41 Removing intermediate container a7d99b8b4212 08:04:41 ---> a3cc72a9f40b 08:04:41 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:41 ---> Running in 60a53a506131 08:04:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:04:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:04:44 OK: 220 MiB in 52 packages 08:04:45 Removing intermediate container 60a53a506131 08:04:45 ---> 37ce6d5ae8e7 08:04:45 Step 8/31 : WORKDIR /app 08:04:45 ---> Running in 8726a9c11d6e 08:04:45 Removing intermediate container 8726a9c11d6e 08:04:45 ---> 878d09f7a5f8 08:04:45 Step 9/31 : COPY go.mod vendor* ./ 08:04:46 ---> 10aa5e802a3b 08:04:46 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:46 ---> Running in 25e21e0f7066 08:04:47 Removing intermediate container 25e21e0f7066 08:04:47 ---> 937410863dfb 08:04:47 Step 11/31 : COPY . . 08:04:48 ---> 5af8eb2d17a6 08:04:48 Step 12/31 : ARG MAKE="make build" 08:04:48 ---> Running in 2aa9ede064f8 08:04:49 Removing intermediate container 2aa9ede064f8 08:04:49 ---> 58b7f684316b 08:04:49 Step 13/31 : RUN $MAKE 08:04:49 ---> Running in c4106bd6174d 08:04:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -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 08:06:27 Removing intermediate container c4106bd6174d 08:06:27 ---> 63d09fd09140 08:06:27 Step 14/31 : FROM alpine:3.14 08:06:27 3.14: Pulling from library/alpine 08:06:27 455c02918c45: Pulling fs layer 08:06:27 455c02918c45: Verifying Checksum 08:06:27 455c02918c45: Download complete 08:06:27 455c02918c45: Pull complete 08:06:27 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:06:27 Status: Downloaded newer image for alpine:3.14 08:06:27 ---> ac73e934f311 08:06:27 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:06:27 ---> Running in 701b4ac67581 08:06:27 Removing intermediate container 701b4ac67581 08:06:27 ---> c0af54cd79d1 08:06:27 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:06:27 ---> Running in 4e5c010b1efb 08:06:27 Removing intermediate container 4e5c010b1efb 08:06:27 ---> c9bd71e3239c 08:06:27 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:06:27 ---> Running in fd53f539afb1 08:06:27 Removing intermediate container fd53f539afb1 08:06:27 ---> bd17ffa35e9a 08:06:27 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:06:27 ---> Running in 8036ae5cec5e 08:06:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:06:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:06:27 (1/6) Installing ca-certificates (20211220-r0) 08:06:27 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:06:27 (3/6) Installing libsodium (1.0.18-r0) 08:06:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:06:27 (5/6) Installing libzmq (4.3.4-r0) 08:06:27 (6/6) Installing zeromq (4.3.4-r0) 08:06:27 Executing busybox-1.33.1-r7.trigger 08:06:27 Executing ca-certificates-20211220-r0.trigger 08:06:27 OK: 9 MiB in 20 packages 08:06:27 Removing intermediate container 8036ae5cec5e 08:06:27 ---> 9248544eff49 08:06:27 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:06:27 ---> 66eff31c2cfb 08:06:27 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:06:27 ---> 1a002b7266a8 08:06:27 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:06:27 ---> 2ddbf1581309 08:06:27 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:06:27 ---> 3f50bf3f0480 08:06:27 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:06:29 ---> 038ccb36a804 08:06:29 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:06:29 ---> Running in 66e292b329dd 08:06:30 Removing intermediate container 66e292b329dd 08:06:30 ---> 01845ea3dcd8 08:06:30 Step 25/31 : VOLUME /cache 08:06:30 ---> Running in 547321ac9014 08:06:31 Removing intermediate container 547321ac9014 08:06:31 ---> bbfdf8d40be0 08:06:31 Step 26/31 : EXPOSE 59711 08:06:31 ---> Running in 8430a5d74dbe 08:06:31 Removing intermediate container 8430a5d74dbe 08:06:31 ---> 698f19f0f7c2 08:06:31 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:06:31 ---> Running in 0e499844541d 08:06:32 Removing intermediate container 0e499844541d 08:06:32 ---> a36da67155ba 08:06:32 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:06:32 ---> Running in ad26083d3b78 08:06:32 Removing intermediate container ad26083d3b78 08:06:32 ---> 06935560840e 08:06:32 Step 29/31 : LABEL arch=arm64 08:06:32 ---> Running in 55eee36605f1 08:06:32 Removing intermediate container 55eee36605f1 08:06:32 ---> b0aaac668478 08:06:32 Step 30/31 : LABEL git_sha=7f1997bb4c2fcce6a21194b07445d53c6f65e903 08:06:33 ---> Running in b8b5f65e1f70 08:06:33 Removing intermediate container b8b5f65e1f70 08:06:33 ---> a6ffe1dc7b82 08:06:33 Step 31/31 : LABEL version=0.0.0 08:06:33 ---> Running in 5a54111684a8 08:06:33 Removing intermediate container 5a54111684a8 08:06:33 ---> 4538ca11f5f1 08:06:33 [Warning] One or more build-args [ARCH] were not consumed 08:06:33 Successfully built 4538ca11f5f1 08:06:33 Successfully tagged app-rfid-llrp-inventory-arm64:latest [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] sh 08:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:34 08:06:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:06:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:34 arm64: Pulling from edgex-lftools-log-publisher 08:06:34 8998bd30e6a1: Pulling fs layer 08:06:34 04944245beec: Pulling fs layer 08:06:34 699f458cf7ca: Pulling fs layer 08:06:34 765212b225bb: Pulling fs layer 08:06:34 f23df028b6ca: Pulling fs layer 08:06:34 d65c8cfc05b1: Pulling fs layer 08:06:34 2437ff75d9bd: Pulling fs layer 08:06:34 765212b225bb: Waiting 08:06:34 f23df028b6ca: Waiting 08:06:34 d65c8cfc05b1: Waiting 08:06:34 2437ff75d9bd: Waiting 08:06:34 04944245beec: Verifying Checksum 08:06:34 04944245beec: Download complete 08:06:34 765212b225bb: Download complete 08:06:34 f23df028b6ca: Verifying Checksum 08:06:34 f23df028b6ca: Download complete 08:06:34 d65c8cfc05b1: Verifying Checksum 08:06:34 d65c8cfc05b1: Download complete 08:06:35 699f458cf7ca: Verifying Checksum 08:06:35 699f458cf7ca: Download complete 08:06:35 8998bd30e6a1: Download complete 08:06:38 2437ff75d9bd: Verifying Checksum 08:06:38 2437ff75d9bd: Download complete 08:06:40 8998bd30e6a1: Pull complete 08:06:40 04944245beec: Pull complete 08:06:41 699f458cf7ca: Pull complete 08:06:42 765212b225bb: Pull complete 08:06:42 f23df028b6ca: Pull complete 08:06:42 d65c8cfc05b1: Pull complete 08:06:58 2437ff75d9bd: Pull complete 08:06:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:06:58 prd-ubuntu20.04-docker-arm64-4c-16g-23580 does not seem to be running inside a container 08:06:58 $ 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/4 -v /w/workspace/app-rfid-llrp-inventory/4:/w/workspace/app-rfid-llrp-inventory/4:rw,z -v /w/workspace/app-rfid-llrp-inventory/4@tmp:/w/workspace/app-rfid-llrp-inventory/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:07:01 $ docker top 092373ac83c6bea7e3cad20a4315d2ed088f6e63cbdb7c5fd2cab7db2b547428 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:07:02 ---> job-cost.sh 08:07:02 lf-activate-venv: SKIPPING 08:07:02 INFO: No Stack... 08:07:02 INFO: Retrieving Pricing Info for: v3-standard-4 08:07:03 INFO: Archiving Costs [Pipeline] sh 08:07:04 + cat /w/workspace/app-rfid-llrp-inventory/4/archives/cost.csv 08:07:04 + cut -d, -f6 [Pipeline] lock 08:07:04 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] 08:07:04 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] did not exist. Created. 08:07:04 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:07:04 /w/workspace/app-rfid-llrp-inventory/4@tmp/durable-7b95ea30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:07:05 + echo total: 0.10999999940395355 [Pipeline] stash 08:07:05 Warning: overwriting stash ‘stack-cost’ 08:07:05 Stashed 1 file(s) [Pipeline] } 08:07:05 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-67-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:07:05 $ docker stop --time=1 092373ac83c6bea7e3cad20a4315d2ed088f6e63cbdb7c5fd2cab7db2b547428 08:07:07 $ docker rm -f 092373ac83c6bea7e3cad20a4315d2ed088f6e63cbdb7c5fd2cab7db2b547428 [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 08:07:07 provisioning config files... 08:07:07 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/config6376551821024589213tmp [Pipeline] { [Pipeline] sh 08:07:08 + set +x 08:07:08 + curl -s https://codecov.io/bash 08:07:08 + bash -s -- 08:07:08 08:07:08 _____ _ 08:07:08 / ____| | | 08:07:08 | | ___ __| | ___ ___ _____ __ 08:07:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:07:08 | |___| (_) | (_| | __/ (_| (_) \ V / 08:07:08 \_____\___/ \__,_|\___|\___\___/ \_/ 08:07:08 Bash-1.0.6 08:07:08 08:07:08 08:07:08 ==> git version 2.25.1 found 08:07:08 ==> 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 08:07:08 Release-Date: 2020-01-08 08:07:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:07:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:07:08 ==> Jenkins CI detected. 08:07:08 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-67 08:07:08 project root: . 08:07:08 --> token set from env 08:07:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:07:08 ==> Running gcov in . (disable via -X gcov) 08:07:08 ==> Python coveragepy not found 08:07:08 ==> Searching for coverage reports in: 08:07:08 + . 08:07:08 -> Found 1 reports 08:07:08 ==> Detecting git/mercurial file structure 08:07:08 ==> Reading reports 08:07:08 + ./coverage.out bytes=41008 08:07:08 ==> Appending adjustments 08:07:08 https://docs.codecov.io/docs/fixing-reports 08:07:08 + Found adjustments 08:07:08 ==> Gzipping contents 08:07:08 12K /tmp/codecov.RkRYVy.gz 08:07:08 ==> Uploading reports 08:07:08 url: https://codecov.io 08:07:08 query: branch=PR-67&commit=90513323f3d34296888c7261efd15df7857a30db&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-67%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=67&job=&cmd_args= 08:07:08 -> Pinging Codecov 08:07:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-67&commit=90513323f3d34296888c7261efd15df7857a30db&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-67%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=67&job=&cmd_args= 08:07:08 -> Uploading to 08:07:08 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/581DD39554BDF9B6E22D074273EAD858/90513323f3d34296888c7261efd15df7857a30db/a4bc0f94-1d94-4b9a-a06b-aa3e73691a7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T080708Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85cd6d034c2d69f4655b189eefd588ef3d3d4f36e74cc27969c881036c23dbfb 08:07:08 % Total % Received % Xferd Average Speed Time Time Time Current 08:07:08 Dload Upload Total Spent Left Speed 08:07:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11583 0 0 100 11583 0 47277 --:--:-- --:--:-- --:--:-- 47277 08:07:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/90513323f3d34296888c7261efd15df7857a30db [Pipeline] } 08:07:08 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 08:07:09 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-67/archives ] 08:07:09 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-67/archives 08:07:09 total 16 08:07:09 drwxr-xr-x 3 root root 4096 Apr 26 08:00 . 08:07:09 drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 08:00 .. 08:07:09 drwxr-xr-x 2 root root 4096 Apr 26 08:00 cost 08:07:09 -rw-r--r-- 1 root root 93 Apr 26 08:00 cost.csv 08:07:09 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-67/archives 08:07:09 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-67/archives 08:07:09 total 16 08:07:09 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 08:00 . 08:07:09 drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 08:00 .. 08:07:09 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 08:00 cost 08:07:09 -rw-r--r-- 1 jenkins jenkins 93 Apr 26 08:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:07:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:10 ---> package-listing.sh 08:07:10 ++ facter osfamily 08:07:10 ++ tr '[:upper:]' '[:lower:]' 08:07:11 + OS_FAMILY=debian 08:07:11 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-67 08:07:11 + START_PACKAGES=/tmp/packages_start.txt 08:07:11 + END_PACKAGES=/tmp/packages_end.txt 08:07:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:07:11 + PACKAGES=/tmp/packages_start.txt 08:07:11 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-67 ']' 08:07:11 + PACKAGES=/tmp/packages_end.txt 08:07:11 + case "${OS_FAMILY}" in 08:07:11 + dpkg -l 08:07:11 + grep '^ii' 08:07:11 + '[' -f /tmp/packages_start.txt ']' 08:07:11 + '[' -f /tmp/packages_end.txt ']' 08:07:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:07:11 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-67 ']' 08:07:11 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-67/archives/ 08:07:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-67/archives/ [Pipeline] echo 08:07:11 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/ry_app-rfid-llrp-inventory_PR-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:07:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:07:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:07:12 . [Pipeline] withDockerContainer 08:07:12 prd-ubuntu20.04-docker-8c-8g-23578 does not seem to be running inside a container 08:07:12 $ 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/ry_app-rfid-llrp-inventory_PR-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-67 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67:/w/workspace/ry_app-rfid-llrp-inventory_PR-67:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:07:12 $ docker top aeacfd6496ef3f8879adbed37374ecd62ee4a2092cac5493f9b6f531ba99ef01 -eo pid,comm [Pipeline] { [Pipeline] sh 08:07:12 + touch /tmp/pre-build-complete [Pipeline] sh 08:07:13 + mkdir -p /var/log/sysstat [Pipeline] sh 08:07:13 + ls /var/log/sa-host 08:07:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:13 provisioning config files... 08:07:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-67@tmp/config6055901847157728494tmp [Pipeline] { [Pipeline] echo 08:07:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:07:14 ---> create-netrc.sh [Pipeline] } 08:07:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:07:14 ---> python-tools-install.sh [Pipeline] echo 08:07:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:07:14 ---> sudo-logs.sh 08:07:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:07:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:07:15 ---> job-cost.sh 08:07:15 lf-activate-venv: SKIPPING 08:07:15 DEBUG: total: 0.2199999988079071 08:07:15 INFO: Retrieving Stack Cost... 08:07:15 INFO: Retrieving Pricing Info for: v3-standard-8 08:07:15 INFO: Archiving Costs [Pipeline] echo 08:07:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:07:16 ---> logs-deploy.sh 08:07:16 lf-activate-venv: SKIPPING 08:07:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-67/4 08:07:16 INFO: archiving workspace using pattern(s): 08:07:17 Archives upload complete. 08:07:17 INFO: archiving logs to Nexus