Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a00f466457d09e0dac64c715bdd5dd92404c416+8b2fb15614d399982e3d107523aa790b0caa1bb8 (325e2b7c293d150877d8d957a7ff89f15b2dc6ab) 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-ssh11335675418331839612.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-ssh13482502008941557696.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-65/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-65/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5474474150148913268.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-ssh1527573133568951065.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-65/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-65/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10046768897014923515.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 on ‘prd-ubuntu20.04-docker-8c-8g-21749’ Running on prd-ubuntu20.04-docker-8c-8g-21753 in /w/workspace/ry_app-rfid-llrp-inventory_PR-65 [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-65 # 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 8b2fb15614d399982e3d107523aa790b0caa1bb8 into PR head commit 7a00f466457d09e0dac64c715bdd5dd92404c416 Merge succeeded, producing 5e941c0aca510d873eb1abd2974e71ee9f364cd9 Checking out Revision 5e941c0aca510d873eb1abd2974e71ee9f364cd9 (PR-65) > 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/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a00f466457d09e0dac64c715bdd5dd92404c416 # 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 8b2fb15614d399982e3d107523aa790b0caa1bb8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e941c0aca510d873eb1abd2974e71ee9f364cd9 # timeout=10 Commit message: "Merge commit '8b2fb15614d399982e3d107523aa790b0caa1bb8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:59:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:59:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:59:48 ========================================================= 07:59:48 EdgeX Global Pipelines Version Info 07:59:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fc5047185756df0e6748037dc7ca14a3284c668e # timeout=10 07:59:49 ------------------- 07:59:49 stable info: 07:59:49 ------------------- 07:59:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:59:49 Message: update stable to v1.0.221 07:59:50 ------------------- 07:59:50 experimental info: 07:59:50 ------------------- 07:59:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:50 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 07:59:50 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e941c0aca510d873eb1abd2974e71ee9f364cd9 [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e941c0 [Pipeline] echo 07:59:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:50 provisioning config files... 07:59:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config4466070834645681130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:51 ---> docker-login.sh 07:59:51 nexus3.edgexfoundry.org:10001 07:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:51 Configure a credential helper to remove this warning. See 07:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:51 07:59:51 Login Succeeded 07:59:51 nexus3.edgexfoundry.org:10002 07:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:51 Configure a credential helper to remove this warning. See 07:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:51 07:59:51 Login Succeeded 07:59:51 nexus3.edgexfoundry.org:10003 07:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:52 Configure a credential helper to remove this warning. See 07:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:52 07:59:52 Login Succeeded 07:59:52 nexus3.edgexfoundry.org:10004 07:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:52 Configure a credential helper to remove this warning. See 07:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:52 07:59:52 Login Succeeded 07:59:52 docker.io 07:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:52 Configure a credential helper to remove this warning. See 07:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:52 07:59:52 Login Succeeded 07:59:52 ---> docker-login.sh ends [Pipeline] } 07:59:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:59:52 + git rev-list -1 --merges 5e941c0aca510d873eb1abd2974e71ee9f364cd9~1..5e941c0aca510d873eb1abd2974e71ee9f364cd9 [Pipeline] echo 07:59:52 -----------> git rev-list -1 --merges 5e941c0aca510d873eb1abd2974e71ee9f364cd9~1..5e941c0aca510d873eb1abd2974e71ee9f364cd9 5e941c0aca510d873eb1abd2974e71ee9f364cd9 07:59:52 5e941c0aca510d873eb1abd2974e71ee9f364cd9 [false] [Pipeline] sh 07:59:53 + git log --format=format:%s -1 5e941c0aca510d873eb1abd2974e71ee9f364cd9 [Pipeline] echo 07:59:53 ========================================================= 07:59:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:59:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:59:53 + git log --format=format:%s -1 5e941c0aca510d873eb1abd2974e71ee9f364cd9 [Pipeline] echo 07:59:53 [semverPrep] GIT_COMMIT: 5e941c0aca510d873eb1abd2974e71ee9f364cd9, Commit Message: Merge commit '8b2fb15614d399982e3d107523aa790b0caa1bb8' into HEAD [Pipeline] echo 07:59:53 [semverPrep] This is not a build commit. [Pipeline] sh 07:59:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:59:54 + grep -v github /etc/ssh/ssh_known_hosts 07:59:54 + [ -e /tmp/ssh_known_hosts ] 07:59:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:59:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:59:54 + sudo tee -a /etc/ssh/ssh_known_hosts 07:59:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:59:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:54 07:59:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:59:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:54 latest: Pulling from edgex-devops/git-semver 07:59:54 a0d0a0d46f8b: Pulling fs layer 07:59:54 3e5f54012d9b: Pulling fs layer 07:59:54 4c7163046ea9: Pulling fs layer 07:59:54 0c2d73faf560: Pulling fs layer 07:59:54 0c2d73faf560: Waiting 07:59:54 3e5f54012d9b: Verifying Checksum 07:59:54 3e5f54012d9b: Download complete 07:59:54 a0d0a0d46f8b: Verifying Checksum 07:59:54 a0d0a0d46f8b: Download complete 07:59:54 0c2d73faf560: Download complete 07:59:54 4c7163046ea9: Verifying Checksum 07:59:54 4c7163046ea9: Download complete 07:59:54 a0d0a0d46f8b: Pull complete 07:59:54 3e5f54012d9b: Pull complete 07:59:55 4c7163046ea9: Pull complete 07:59:55 0c2d73faf560: Pull complete 07:59:55 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:59:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:59:55 prd-ubuntu20.04-docker-8c-8g-21753 does not seem to be running inside a container 07:59:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-65 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65:/w/workspace/ry_app-rfid-llrp-inventory_PR-65:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:59:56 $ docker top c429908a7bd0276ce7c2a68355a8cc4598c0a1f88a0ec9a63c7a0464db79b250 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:59:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:56 [ssh-agent] Looking for ssh-agent implementation... 07:59:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:56 $ docker exec c429908a7bd0276ce7c2a68355a8cc4598c0a1f88a0ec9a63c7a0464db79b250 ssh-agent 07:59:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBOaMDM/agent.13 07:59:56 SSH_AGENT_PID=19 07:59:56 Running ssh-add (command line suppressed) 07:59:56 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_4217051945020555650.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_4217051945020555650.key) 07:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:57 + git tag --points-at HEAD [Pipeline] } 07:59:57 $ docker exec --env ******** --env ******** c429908a7bd0276ce7c2a68355a8cc4598c0a1f88a0ec9a63c7a0464db79b250 ssh-agent -k 07:59:57 unset SSH_AUTH_SOCK; 07:59:57 unset SSH_AGENT_PID; 07:59:57 echo Agent pid 19 killed; 07:59:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:59:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:57 [ssh-agent] Looking for ssh-agent implementation... 07:59:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:57 $ docker exec c429908a7bd0276ce7c2a68355a8cc4598c0a1f88a0ec9a63c7a0464db79b250 ssh-agent 07:59:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOCcejm/agent.52 07:59:57 SSH_AGENT_PID=59 07:59:57 Running ssh-add (command line suppressed) 07:59:57 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_4295621996611661535.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_4295621996611661535.key) 07:59:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:58 + git semver init 07:59:58 # -> Open(): unable to determine branch for HEAD 07:59:58 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-65/.git 07:59:58 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-65 07:59:58 # $SEMVER_REMOTE_NAME = origin 07:59:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:59:58 # $SEMVER_USER_NAME = edgex-jenkins 07:59:58 # $SEMVER_BRANCH = PR-65 07:59:58 # $SEMVER_TEMP = /tmp/semver-528470610 07:59:58 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 07:59:59 # '/tmp/semver-528470610' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-65/.semver' 07:59:59 # -> Force: false 07:59:59 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-65/.semver [Pipeline] } 07:59:59 $ docker exec --env ******** --env ******** c429908a7bd0276ce7c2a68355a8cc4598c0a1f88a0ec9a63c7a0464db79b250 ssh-agent -k 07:59:59 unset SSH_AUTH_SOCK; 07:59:59 unset SSH_AGENT_PID; 07:59:59 echo Agent pid 59 killed; 07:59:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:59:59 + git semver [Pipeline] } 08:00:00 $ docker stop --time=1 c429908a7bd0276ce7c2a68355a8cc4598c0a1f88a0ec9a63c7a0464db79b250 08:00:01 $ docker rm -f c429908a7bd0276ce7c2a68355a8cc4598c0a1f88a0ec9a63c7a0464db79b250 [Pipeline] // withDockerContainer [Pipeline] sh 08:00:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:00:02 Stashed 1 file(s) [Pipeline] echo 08:00:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:00:02 provisioning config files... 08:00:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config1443285270488400708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:02 ---> docker-login.sh 08:00:02 nexus3.edgexfoundry.org:10001 08:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:02 Configure a credential helper to remove this warning. See 08:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:02 08:00:02 Login Succeeded 08:00:02 nexus3.edgexfoundry.org:10002 08:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:02 Configure a credential helper to remove this warning. See 08:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:02 08:00:02 Login Succeeded 08:00:02 nexus3.edgexfoundry.org:10003 08:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:02 Configure a credential helper to remove this warning. See 08:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:02 08:00:02 Login Succeeded 08:00:02 nexus3.edgexfoundry.org:10004 08:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:03 Configure a credential helper to remove this warning. See 08:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:03 08:00:03 Login Succeeded 08:00:03 docker.io 08:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:03 Configure a credential helper to remove this warning. See 08:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:03 08:00:03 Login Succeeded 08:00:03 ---> docker-login.sh ends [Pipeline] } 08:00:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:00:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:00:03 ========================================================= 08:00:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:00:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:00:03 + 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 . 08:00:03 Sending build context to Docker daemon 10.04MB 08:00:03 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:00:03 Step 2/13 : FROM ${BASE} AS builder 08:00:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:00:03 59bf1c3509f3: Pulling fs layer 08:00:03 666ba61612fd: Pulling fs layer 08:00:03 8ed8ca486205: Pulling fs layer 08:00:03 4fe6c5a15a65: Pulling fs layer 08:00:03 22a0e8bec74d: Pulling fs layer 08:00:03 640e595b4fbd: Pulling fs layer 08:00:03 763cafe07f6e: Pulling fs layer 08:00:03 0c0b528cf693: Pulling fs layer 08:00:03 10935f4eaf8b: Pulling fs layer 08:00:03 4fe6c5a15a65: Waiting 08:00:03 22a0e8bec74d: Waiting 08:00:03 640e595b4fbd: Waiting 08:00:03 763cafe07f6e: Waiting 08:00:03 0c0b528cf693: Waiting 08:00:03 10935f4eaf8b: Waiting 08:00:04 8ed8ca486205: Verifying Checksum 08:00:04 8ed8ca486205: Download complete 08:00:04 666ba61612fd: Verifying Checksum 08:00:04 666ba61612fd: Download complete 08:00:04 22a0e8bec74d: Verifying Checksum 08:00:04 22a0e8bec74d: Download complete 08:00:04 640e595b4fbd: Verifying Checksum 08:00:04 640e595b4fbd: Download complete 08:00:04 763cafe07f6e: Verifying Checksum 08:00:04 763cafe07f6e: Download complete 08:00:04 59bf1c3509f3: Download complete 08:00:04 0c0b528cf693: Verifying Checksum 08:00:04 0c0b528cf693: Download complete 08:00:04 59bf1c3509f3: Pull complete 08:00:04 666ba61612fd: Pull complete 08:00:04 8ed8ca486205: Pull complete 08:00:04 10935f4eaf8b: Verifying Checksum 08:00:04 10935f4eaf8b: Download complete 08:00:05 4fe6c5a15a65: Download complete 08:00:09 4fe6c5a15a65: Pull complete 08:00:09 22a0e8bec74d: Pull complete 08:00:09 640e595b4fbd: Pull complete 08:00:09 763cafe07f6e: Pull complete 08:00:09 0c0b528cf693: Pull complete 08:00:12 10935f4eaf8b: Pull complete 08:00:12 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:00:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:00:12 ---> 99d49a6021b9 08:00:12 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:00:13 ---> Running in 679b53cd0294 08:00:13 Removing intermediate container 679b53cd0294 08:00:13 ---> 869d2d61fde9 08:00:13 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:00:13 ---> Running in 28ba93e8ff4d 08:00:13 Removing intermediate container 28ba93e8ff4d 08:00:13 ---> f595330fbc7d 08:00:13 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:13 ---> Running in e94444b09e01 08:00:13 Removing intermediate container e94444b09e01 08:00:13 ---> 92f6ed6390e1 08:00:13 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:13 ---> Running in 7d7233b44d9b 08:00:14 Removing intermediate container 7d7233b44d9b 08:00:14 ---> 5098e00bb5b1 08:00:14 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:00:14 ---> Running in 8a254db45a53 08:00:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:00:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:00:15 OK: 221 MiB in 52 packages 08:00:16 Removing intermediate container 8a254db45a53 08:00:16 ---> 566f2a9338cd 08:00:16 Step 8/13 : WORKDIR /app 08:00:17 Still waiting to schedule task 08:00:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21751’ 08:00:17 ---> Running in ef138bb1a9fd 08:00:18 Removing intermediate container ef138bb1a9fd 08:00:18 ---> db1713176d1c 08:00:18 Step 9/13 : COPY go.mod vendor* ./ 08:00:19 ---> ff2f904d54ad 08:00:19 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:20 ---> Running in 5c5f471bc342 08:00:52 Removing intermediate container 5c5f471bc342 08:00:52 ---> cea19f347fb6 08:00:52 Step 11/13 : COPY . . 08:00:52 ---> d700857894a0 08:00:52 Step 12/13 : ARG MAKE="make build" 08:00:52 ---> Running in 09b26e155b55 08:00:52 Removing intermediate container 09b26e155b55 08:00:52 ---> 7a819c9ff1f7 08:00:52 Step 13/13 : RUN $MAKE 08:00:52 ---> Running in 9429b0c2bbe1 08:00:52 noop 08:00:52 Removing intermediate container 9429b0c2bbe1 08:00:52 ---> d592f4300f59 08:00:52 Successfully built d592f4300f59 08:00:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:00:52 + docker inspect -f . ci-base-image-x86_64 08:00:52 . [Pipeline] withDockerContainer 08:00:53 prd-ubuntu20.04-docker-8c-8g-21753 does not seem to be running inside a container 08:00:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-65 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65:/w/workspace/ry_app-rfid-llrp-inventory_PR-65:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@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 ******** ci-base-image-x86_64 cat 08:00:53 $ docker top 2d95abc3f276ba3ec55f50892fed1495ee5f5fc46cce82e31d2bd44fe80fcdd9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:53 + go version 08:00:53 go version go1.17.6 linux/amd64 [Pipeline] } 08:00:53 $ docker stop --time=1 2d95abc3f276ba3ec55f50892fed1495ee5f5fc46cce82e31d2bd44fe80fcdd9 08:00:55 $ docker rm -f 2d95abc3f276ba3ec55f50892fed1495ee5f5fc46cce82e31d2bd44fe80fcdd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:00:55 + docker inspect -f . ci-base-image-x86_64 08:00:55 . [Pipeline] withDockerContainer 08:00:55 prd-ubuntu20.04-docker-8c-8g-21753 does not seem to be running inside a container 08:00:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-65 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65:/w/workspace/ry_app-rfid-llrp-inventory_PR-65:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@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 ******** ci-base-image-x86_64 cat 08:00:56 $ docker top 684e3744e4de6c7d3591a08c3561e1272eb4259426d7ad71d7a89a00bf02a6c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:00:56 + make test 08:00:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:01:04 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:01:04 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.033s coverage: 86.2% of statements 08:01:04 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:01:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.548s coverage: 71.9% of statements 08:01:06 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:01:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:01:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:01:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:01:16 ./bin/test-attribution.sh [Pipeline] echo 08:01:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:01:16 $ docker stop --time=1 684e3744e4de6c7d3591a08c3561e1272eb4259426d7ad71d7a89a00bf02a6c6 08:01:18 $ docker rm -f 684e3744e4de6c7d3591a08c3561e1272eb4259426d7ad71d7a89a00bf02a6c6 [Pipeline] // withDockerContainer [Pipeline] sh 08:01:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:01:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:01:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:19 + ls -al . 08:01:19 total 240 08:01:19 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 08:01 . 08:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 .. 08:01:19 -rw-rw-r-- 1 jenkins jenkins 262 Apr 22 07:59 .dockerignore 08:01:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 07:59 .git 08:01:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 07:59 .github 08:01:19 -rw-rw-r-- 1 jenkins jenkins 788 Apr 22 07:59 .gitignore 08:01:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 07:59 .golangci.yml 08:01:19 drwx------ 3 jenkins jenkins 4096 Apr 22 07:59 .semver 08:01:19 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 22 07:59 Attribution.txt 08:01:19 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 22 07:59 Dockerfile 08:01:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 07:59 GOVERNANCE.md 08:01:19 -rw-rw-r-- 1 jenkins jenkins 687 Apr 22 07:59 Jenkinsfile 08:01:19 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 22 07:59 LICENSE 08:01:19 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 22 07:59 Makefile 08:01:19 -rw-rw-r-- 1 jenkins jenkins 617 Apr 22 07:59 OWNERS.md 08:01:19 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 22 07:59 README.md 08:01:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:00 VERSION 08:01:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 07:59 bin 08:01:19 -rw-r--r-- 1 jenkins jenkins 41008 Apr 22 08:01 coverage.out 08:01:19 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 22 07:59 go.mod 08:01:19 -rw-rw-r-- 1 jenkins jenkins 49621 Apr 22 07:59 go.sum 08:01:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 07:59 images 08:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 internal 08:01:19 -rw-rw-r-- 1 jenkins jenkins 531 Apr 22 07:59 main.go 08:01:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 07:59 res 08:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 snap 08:01:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 07:59 static [Pipeline] isUnix [Pipeline] sh 08:01:19 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5e941c0aca510d873eb1abd2974e71ee9f364cd9 --label arch=amd64 --label version=0.0.0 . 08:01:19 Sending build context to Docker daemon 10.04MB 08:01:19 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:01:19 Step 2/31 : FROM ${BASE} AS builder 08:01:19 ---> d592f4300f59 08:01:19 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:01:20 ---> Running in 161fb8ae536e 08:01:20 Removing intermediate container 161fb8ae536e 08:01:20 ---> efa29d6c5fd8 08:01:20 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:01:20 ---> Running in 8950feffb659 08:01:20 Removing intermediate container 8950feffb659 08:01:20 ---> c9fc4f98c301 08:01:20 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:20 ---> Running in 2c11eea4fe99 08:01:20 Removing intermediate container 2c11eea4fe99 08:01:20 ---> c9d35de30293 08:01:20 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:20 ---> Running in 55f9c5428c81 08:01:21 Removing intermediate container 55f9c5428c81 08:01:21 ---> a5470d6b69d3 08:01:21 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:01:21 ---> Running in 73cac1d643e7 08:01:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:01:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:01:23 OK: 221 MiB in 52 packages 08:01:23 Removing intermediate container 73cac1d643e7 08:01:23 ---> 52d68ff5a0b7 08:01:23 Step 8/31 : WORKDIR /app 08:01:23 ---> Running in 7d28ee2b9923 08:01:23 Removing intermediate container 7d28ee2b9923 08:01:23 ---> 3cbd350e0ccc 08:01:23 Step 9/31 : COPY go.mod vendor* ./ 08:01:23 ---> 43d785bbf199 08:01:23 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:23 ---> Running in 730ac80bd122 08:01:24 Removing intermediate container 730ac80bd122 08:01:24 ---> fd80b885d8bd 08:01:24 Step 11/31 : COPY . . 08:01:24 ---> 633d9e1e4916 08:01:24 Step 12/31 : ARG MAKE="make build" 08:01:24 ---> Running in 246f24b6f633 08:01:24 Removing intermediate container 246f24b6f633 08:01:24 ---> c7452b43ad59 08:01:24 Step 13/31 : RUN $MAKE 08:01:24 ---> Running in 47d3ecff651e 08:01:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-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" -o app-rfid-llrp-inventory 08:01:33 Removing intermediate container 47d3ecff651e 08:01:33 ---> eeca2c2cd7e8 08:01:33 Step 14/31 : FROM alpine:3.14 08:01:33 3.14: Pulling from library/alpine 08:01:33 8663204ce13b: Pulling fs layer 08:01:34 8663204ce13b: Verifying Checksum 08:01:34 8663204ce13b: Download complete 08:01:34 8663204ce13b: Pull complete 08:01:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:01:34 Status: Downloaded newer image for alpine:3.14 08:01:34 ---> e04c818066af 08:01:34 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:34 ---> Running in b9ba78458558 08:01:34 Removing intermediate container b9ba78458558 08:01:34 ---> 227e52794fe5 08:01:34 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:01:34 ---> Running in b0a5772ad37b 08:01:34 Removing intermediate container b0a5772ad37b 08:01:34 ---> 463e4a2048d1 08:01:34 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:34 ---> Running in 0574a4628baa 08:01:34 Removing intermediate container 0574a4628baa 08:01:34 ---> 9d56d64167e8 08:01:34 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:01:34 ---> Running in 0b503bda6ca5 08:01:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:01:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:01:36 (1/6) Installing ca-certificates (20211220-r0) 08:01:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:01:36 (3/6) Installing libsodium (1.0.18-r0) 08:01:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:01:36 (5/6) Installing libzmq (4.3.4-r0) 08:01:36 (6/6) Installing zeromq (4.3.4-r0) 08:01:37 Executing busybox-1.33.1-r7.trigger 08:01:37 Executing ca-certificates-20211220-r0.trigger 08:01:37 OK: 9 MiB in 20 packages 08:01:37 Removing intermediate container 0b503bda6ca5 08:01:37 ---> 24a4b001049d 08:01:37 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:01:37 ---> 7b31c7267a72 08:01:37 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:01:37 ---> 4333091693c0 08:01:37 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:01:37 ---> 65a1c95cba6a 08:01:37 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:01:38 ---> f1a6d121124f 08:01:38 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:01:38 ---> 35389a1c3b07 08:01:38 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:01:38 ---> Running in e2182f7e031c 08:01:39 Removing intermediate container e2182f7e031c 08:01:39 ---> 9cee348a8f91 08:01:39 Step 25/31 : VOLUME /cache 08:01:39 ---> Running in ecde1f2db748 08:01:39 Removing intermediate container ecde1f2db748 08:01:39 ---> b2a2f5751626 08:01:39 Step 26/31 : EXPOSE 59711 08:01:39 ---> Running in 65ba62952878 08:01:39 Removing intermediate container 65ba62952878 08:01:39 ---> 250c63472439 08:01:39 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:01:39 ---> Running in 1d4dd238d5ca 08:01:39 Removing intermediate container 1d4dd238d5ca 08:01:39 ---> 053127be061f 08:01:39 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:01:39 ---> Running in 3d96bc98ed48 08:01:39 Removing intermediate container 3d96bc98ed48 08:01:39 ---> 4810157cd5ee 08:01:39 Step 29/31 : LABEL arch=amd64 08:01:39 ---> Running in 0662f0bbfed5 08:01:39 Removing intermediate container 0662f0bbfed5 08:01:39 ---> bbdc0d150212 08:01:39 Step 30/31 : LABEL git_sha=5e941c0aca510d873eb1abd2974e71ee9f364cd9 08:01:39 ---> Running in 8c35306f5834 08:01:39 Removing intermediate container 8c35306f5834 08:01:39 ---> 65a24aff2a20 08:01:39 Step 31/31 : LABEL version=0.0.0 08:01:39 ---> Running in e9924e0f4913 08:01:40 Removing intermediate container e9924e0f4913 08:01:40 ---> 2e8b339a5573 08:01:40 [Warning] One or more build-args [ARCH] were not consumed 08:01:40 Successfully built 2e8b339a5573 08:01:40 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:01:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:01:40 08:01:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:01:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:01:40 latest: Pulling from edgex-lftools-log-publisher 08:01:40 5eb5b503b376: Pulling fs layer 08:01:40 5c69ac0246d0: Pulling fs layer 08:01:40 ec43610c2a17: Pulling fs layer 08:01:40 3a2ae6a8a46f: Pulling fs layer 08:01:40 33b1e0a273af: Pulling fs layer 08:01:40 5d3b04190fa2: Pulling fs layer 08:01:40 3a2ae6a8a46f: Waiting 08:01:40 33b1e0a273af: Waiting 08:01:40 2f39f015ded8: Pulling fs layer 08:01:40 5d3b04190fa2: Waiting 08:01:40 2f39f015ded8: Waiting 08:01:40 5c69ac0246d0: Verifying Checksum 08:01:40 5c69ac0246d0: Download complete 08:01:40 3a2ae6a8a46f: Verifying Checksum 08:01:40 3a2ae6a8a46f: Download complete 08:01:40 33b1e0a273af: Verifying Checksum 08:01:40 33b1e0a273af: Download complete 08:01:40 5d3b04190fa2: Verifying Checksum 08:01:40 5d3b04190fa2: Download complete 08:01:41 ec43610c2a17: Verifying Checksum 08:01:41 ec43610c2a17: Download complete 08:01:41 5eb5b503b376: Verifying Checksum 08:01:41 5eb5b503b376: Download complete 08:01:41 2f39f015ded8: Download complete 08:01:42 5eb5b503b376: Pull complete 08:01:42 5c69ac0246d0: Pull complete 08:01:43 ec43610c2a17: Pull complete 08:01:43 3a2ae6a8a46f: Pull complete 08:01:43 33b1e0a273af: Pull complete 08:01:43 5d3b04190fa2: Pull complete 08:01:47 2f39f015ded8: Pull complete 08:01:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:01:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:01:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:01:47 prd-ubuntu20.04-docker-8c-8g-21753 does not seem to be running inside a container 08:01:47 $ 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-65 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65:/w/workspace/ry_app-rfid-llrp-inventory_PR-65:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:01:49 $ docker top 98d1e329fb960c9b25809e5761995f6a9603fc27b94810281f270826093f976f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:49 ---> job-cost.sh 08:01:49 lf-activate-venv: SKIPPING 08:01:49 INFO: No Stack... 08:01:50 INFO: Retrieving Pricing Info for: v3-standard-8 08:01:50 INFO: Archiving Costs [Pipeline] sh 08:01:51 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives/cost.csv 08:01:51 + cut -d, -f6 [Pipeline] lock 08:01:51 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] 08:01:51 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] did not exist. Created. 08:01:51 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:01:51 + echo total: 0.2199999988079071 [Pipeline] stash 08:01:51 Stashed 1 file(s) [Pipeline] } 08:01:51 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:01:51 $ docker stop --time=1 98d1e329fb960c9b25809e5761995f6a9603fc27b94810281f270826093f976f 08:01:52 $ docker rm -f 98d1e329fb960c9b25809e5761995f6a9603fc27b94810281f270826093f976f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:03:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21755 in /w/workspace/ry_app-rfid-llrp-inventory_PR-65 [Pipeline] { [Pipeline] ws 08:03:27 Running in /w/workspace/app-rfid-llrp-inventory/3 [Pipeline] { [Pipeline] checkout 08:03:27 The recommended git tool is: git 08:03:34 using credential edgex-jenkins-ssh 08:03:34 Cloning the remote Git repository 08:03:34 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:03:34 > git init /w/workspace/app-rfid-llrp-inventory/3 # timeout=10 08:03:34 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:03:34 > git --version # timeout=10 08:03:34 > git --version # 'git version 2.25.1' 08:03:34 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:37 Merging remotes/origin/main commit 8b2fb15614d399982e3d107523aa790b0caa1bb8 into PR head commit 7a00f466457d09e0dac64c715bdd5dd92404c416 08:03:37 Merge succeeded, producing 75a8bc6a149f3078f6870fa834d0b94c9897a4f6 08:03:37 Checking out Revision 75a8bc6a149f3078f6870fa834d0b94c9897a4f6 (PR-65) 08:03:36 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:03:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:36 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:03:37 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:03:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:03:37 > git config core.sparsecheckout # timeout=10 08:03:37 > git checkout -f 7a00f466457d09e0dac64c715bdd5dd92404c416 # timeout=10 08:03:37 > git remote # timeout=10 08:03:37 > git config --get remote.origin.url # timeout=10 08:03:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:37 > git merge 8b2fb15614d399982e3d107523aa790b0caa1bb8 # timeout=10 08:03:37 > git rev-parse HEAD^{commit} # timeout=10 08:03:37 > git config core.sparsecheckout # timeout=10 08:03:37 > git checkout -f 75a8bc6a149f3078f6870fa834d0b94c9897a4f6 # timeout=10 08:03:42 Commit message: "Merge commit '8b2fb15614d399982e3d107523aa790b0caa1bb8' into HEAD" 08:03:42 First time build. Skipping changelog. 08:03:42 > git rev-list --no-walk fc5047185756df0e6748037dc7ca14a3284c668e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:03:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:03:43 % Total % Received % Xferd Average Speed Time Time Time Current 08:03:43 Dload Upload Total Spent Left Speed 08:03:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 08:03:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:03:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:03:44 + sudo tee /etc/docker/daemon.new 08:03:44 { 08:03:44 "registry-mirrors": [ 08:03:44 "https://nexus3.edgexfoundry.org:10001" 08:03:44 ], 08:03:44 "bip": "10.250.0.254/24", 08:03:44 "hosts": [ 08:03:44 "tcp://0.0.0.0:5555", 08:03:44 "unix:///var/run/docker.sock" 08:03:44 ], 08:03:44 "mtu": 1458, 08:03:44 "selinux-enabled": true, 08:03:44 "seccomp-profile": "/etc/docker/seccomp.json" 08:03:44 } [Pipeline] sh 08:03:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:03:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:04:03 provisioning config files... 08:04:03 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/3@tmp/config4926711365994792135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:03 ---> docker-login.sh 08:04:03 nexus3.edgexfoundry.org:10001 08:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:04 Configure a credential helper to remove this warning. See 08:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:04 08:04:04 Login Succeeded 08:04:04 nexus3.edgexfoundry.org:10002 08:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:05 Configure a credential helper to remove this warning. See 08:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:05 08:04:05 Login Succeeded 08:04:05 nexus3.edgexfoundry.org:10003 08:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:05 Configure a credential helper to remove this warning. See 08:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:05 08:04:05 Login Succeeded 08:04:05 nexus3.edgexfoundry.org:10004 08:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:06 Configure a credential helper to remove this warning. See 08:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:06 08:04:06 Login Succeeded 08:04:06 docker.io 08:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:04:06 Configure a credential helper to remove this warning. See 08:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:04:06 08:04:06 Login Succeeded 08:04:07 ---> docker-login.sh ends [Pipeline] } 08:04:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:04:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:04:07 ========================================================= 08:04:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:04:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:04: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:04:08 Sending build context to Docker daemon 692.7kB 08:04:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:04:08 Step 2/13 : FROM ${BASE} AS builder 08:04:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:04:08 9b3977197b4f: Pulling fs layer 08:04:08 1a89e8eeedd5: Pulling fs layer 08:04:08 94645a83ff95: Pulling fs layer 08:04:08 3f3a8bcf1eab: Pulling fs layer 08:04:08 0c92f367c5e7: Pulling fs layer 08:04:08 f7c0051592d6: Pulling fs layer 08:04:08 a227ed2f7395: Pulling fs layer 08:04:08 7b1c46037f91: Pulling fs layer 08:04:08 f7c0051592d6: Waiting 08:04:08 a227ed2f7395: Waiting 08:04:08 7b1c46037f91: Waiting 08:04:08 3f3a8bcf1eab: Waiting 08:04:08 94645a83ff95: Verifying Checksum 08:04:08 94645a83ff95: Download complete 08:04:08 1a89e8eeedd5: Download complete 08:04:08 0c92f367c5e7: Verifying Checksum 08:04:08 0c92f367c5e7: Download complete 08:04:08 f7c0051592d6: Verifying Checksum 08:04:08 f7c0051592d6: Download complete 08:04:08 9b3977197b4f: Verifying Checksum 08:04:08 9b3977197b4f: Download complete 08:04:08 a227ed2f7395: Verifying Checksum 08:04:08 a227ed2f7395: Download complete 08:04:09 9b3977197b4f: Pull complete 08:04:10 1a89e8eeedd5: Pull complete 08:04:10 94645a83ff95: Pull complete 08:04:10 7b1c46037f91: Verifying Checksum 08:04:10 7b1c46037f91: Download complete 08:04:11 3f3a8bcf1eab: Verifying Checksum 08:04:11 3f3a8bcf1eab: Download complete 08:04:23 3f3a8bcf1eab: Pull complete 08:04:24 0c92f367c5e7: Pull complete 08:04:24 f7c0051592d6: Pull complete 08:04:25 a227ed2f7395: Pull complete 08:04:31 7b1c46037f91: Pull complete 08:04:31 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:04:31 ---> f79e39bc4007 08:04:31 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:04:32 ---> Running in 30774159513a 08:04:33 Removing intermediate container 30774159513a 08:04:33 ---> 5fd5ee26ebf2 08:04:33 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:04:33 ---> Running in 721fb95d9ad3 08:04:33 Removing intermediate container 721fb95d9ad3 08:04:33 ---> 0014e8fdccc3 08:04:33 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:33 ---> Running in 9c9fcc517b6a 08:04:35 Removing intermediate container 9c9fcc517b6a 08:04:35 ---> b6bc4dac8fbd 08:04:35 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:35 ---> Running in b5c32a4fefca 08:04:37 Removing intermediate container b5c32a4fefca 08:04:37 ---> b4fdb705e044 08:04:37 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:37 ---> Running in 7479c25e564f 08:04:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:04:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:04:40 OK: 220 MiB in 52 packages 08:04:41 Removing intermediate container 7479c25e564f 08:04:41 ---> eea4759e4334 08:04:41 Step 8/13 : WORKDIR /app 08:04:41 ---> Running in 08dd145acaf1 08:04:41 Removing intermediate container 08dd145acaf1 08:04:41 ---> 94c0c2b5004d 08:04:41 Step 9/13 : COPY go.mod vendor* ./ 08:04:42 ---> 6f90d0ecfed2 08:04:42 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:42 ---> Running in cd25364d57ca 08:06:04 Removing intermediate container cd25364d57ca 08:06:04 ---> fb7d1989a913 08:06:04 Step 11/13 : COPY . . 08:06:04 ---> cbe02b49dd69 08:06:04 Step 12/13 : ARG MAKE="make build" 08:06:04 ---> Running in 6b2827b4b93d 08:06:04 Removing intermediate container 6b2827b4b93d 08:06:04 ---> 0e15d4217505 08:06:04 Step 13/13 : RUN $MAKE 08:06:04 ---> Running in c1435cc40782 08:06:04 noop 08:06:04 Removing intermediate container c1435cc40782 08:06:04 ---> 8a3d83f867f8 08:06:04 Successfully built 8a3d83f867f8 08:06:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:06:04 + docker inspect -f . ci-base-image-arm64 08:06:04 . [Pipeline] withDockerContainer 08:06:04 prd-ubuntu20.04-docker-arm64-4c-16g-21755 does not seem to be running inside a container 08:06:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/3 -v /w/workspace/app-rfid-llrp-inventory/3:/w/workspace/app-rfid-llrp-inventory/3:rw,z -v /w/workspace/app-rfid-llrp-inventory/3@tmp:/w/workspace/app-rfid-llrp-inventory/3@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 ******** ci-base-image-arm64 cat 08:06:06 $ docker top 273763fbb6b6119308fb71037dee196d6134957c379b8e86d3d4852cf3c71341 -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:07 + go version 08:06:07 go version go1.17.6 linux/arm64 [Pipeline] } 08:06:07 $ docker stop --time=1 273763fbb6b6119308fb71037dee196d6134957c379b8e86d3d4852cf3c71341 08:06:09 $ docker rm -f 273763fbb6b6119308fb71037dee196d6134957c379b8e86d3d4852cf3c71341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:06:09 + docker inspect -f . ci-base-image-arm64 08:06:09 . [Pipeline] withDockerContainer 08:06:09 prd-ubuntu20.04-docker-arm64-4c-16g-21755 does not seem to be running inside a container 08:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/3 -v /w/workspace/app-rfid-llrp-inventory/3:/w/workspace/app-rfid-llrp-inventory/3:rw,z -v /w/workspace/app-rfid-llrp-inventory/3@tmp:/w/workspace/app-rfid-llrp-inventory/3@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 ******** ci-base-image-arm64 cat 08:06:11 $ docker top 461c1921e43f5b55dc75465fbe22d58c0199e422a276334bb09738b620e8123c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:06:12 + make test 08:06:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:07:08 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:07:10 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.207s coverage: 86.2% of statements 08:07:10 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:07:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.704s coverage: 71.9% of statements 08:07:14 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:07:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:07:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:07:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:07:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:07:36 ./bin/test-attribution.sh [Pipeline] echo 08:07:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:07:37 $ docker stop --time=1 461c1921e43f5b55dc75465fbe22d58c0199e422a276334bb09738b620e8123c 08:07:39 $ docker rm -f 461c1921e43f5b55dc75465fbe22d58c0199e422a276334bb09738b620e8123c [Pipeline] // withDockerContainer [Pipeline] sh 08:07:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:07:39 Warning: overwriting stash ‘coverage-report’ 08:07:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:07:41 + ls -al . 08:07:41 total 236 08:07:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 08:07 . 08:07:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:03 .. 08:07:41 -rw-rw-r-- 1 jenkins jenkins 262 Apr 22 08:03 .dockerignore 08:07:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:03 .git 08:07:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:03 .github 08:07:41 -rw-rw-r-- 1 jenkins jenkins 788 Apr 22 08:03 .gitignore 08:07:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 08:03 .golangci.yml 08:07:41 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 22 08:03 Attribution.txt 08:07:41 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 22 08:03 Dockerfile 08:07:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 08:03 GOVERNANCE.md 08:07:41 -rw-rw-r-- 1 jenkins jenkins 687 Apr 22 08:03 Jenkinsfile 08:07:41 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 22 08:03 LICENSE 08:07:41 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 22 08:03 Makefile 08:07:41 -rw-rw-r-- 1 jenkins jenkins 617 Apr 22 08:03 OWNERS.md 08:07:41 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 22 08:03 README.md 08:07:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:00 VERSION 08:07:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:03 bin 08:07:41 -rw-r--r-- 1 jenkins jenkins 41008 Apr 22 08:07 coverage.out 08:07:41 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 22 08:03 go.mod 08:07:41 -rw-rw-r-- 1 jenkins jenkins 49621 Apr 22 08:03 go.sum 08:07:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:03 images 08:07:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:03 internal 08:07:41 -rw-rw-r-- 1 jenkins jenkins 531 Apr 22 08:03 main.go 08:07:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:03 res 08:07:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:03 snap 08:07:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:03 static [Pipeline] isUnix [Pipeline] sh 08:07:41 + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=75a8bc6a149f3078f6870fa834d0b94c9897a4f6 --label arch=arm64 --label version=0.0.0 . 08:07:41 Sending build context to Docker daemon 692.7kB 08:07:41 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:07:41 Step 2/31 : FROM ${BASE} AS builder 08:07:41 ---> 8a3d83f867f8 08:07:41 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:07:41 ---> Running in ba07ec92fead 08:07:42 Removing intermediate container ba07ec92fead 08:07:42 ---> 1407440f0750 08:07:42 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:07:42 ---> Running in 86e067b0952e 08:07:42 Removing intermediate container 86e067b0952e 08:07:42 ---> ce15a7ea1623 08:07:42 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:07:42 ---> Running in fc2470dcaa0b 08:07:42 Removing intermediate container fc2470dcaa0b 08:07:42 ---> 74e1653e5331 08:07:42 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:07:43 ---> Running in c4f56e8d6df1 08:07:44 Removing intermediate container c4f56e8d6df1 08:07:44 ---> e11cc8cb4b59 08:07:44 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:07:44 ---> Running in b3768c482bab 08:07:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:07:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:07:47 OK: 220 MiB in 52 packages 08:07:48 Removing intermediate container b3768c482bab 08:07:48 ---> 0071e234deb8 08:07:48 Step 8/31 : WORKDIR /app 08:07:48 ---> Running in 43629dbd2a56 08:07:48 Removing intermediate container 43629dbd2a56 08:07:48 ---> 177e991c8a78 08:07:48 Step 9/31 : COPY go.mod vendor* ./ 08:07:49 ---> d9f001a11ad2 08:07:49 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:07:49 ---> Running in 8ada058e769f 08:07:51 Removing intermediate container 8ada058e769f 08:07:51 ---> 942148391b4d 08:07:51 Step 11/31 : COPY . . 08:07:51 ---> 23891edae5a8 08:07:51 Step 12/31 : ARG MAKE="make build" 08:07:51 ---> Running in 335b08290deb 08:07:52 Removing intermediate container 335b08290deb 08:07:52 ---> 7da94ee5103d 08:07:52 Step 13/31 : RUN $MAKE 08:07:52 ---> Running in c9136dd0321f 08:07:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-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" -o app-rfid-llrp-inventory 08:08:40 Removing intermediate container c9136dd0321f 08:08:40 ---> 88dee4e98fb3 08:08:40 Step 14/31 : FROM alpine:3.14 08:08:40 3.14: Pulling from library/alpine 08:08:40 455c02918c45: Pulling fs layer 08:08:40 455c02918c45: Verifying Checksum 08:08:40 455c02918c45: Download complete 08:08:40 455c02918c45: Pull complete 08:08:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:08:40 Status: Downloaded newer image for alpine:3.14 08:08:40 ---> ac73e934f311 08:08:40 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:08:40 ---> Running in c54193c57e54 08:08:41 Removing intermediate container c54193c57e54 08:08:41 ---> 4189ab2894b7 08:08:41 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:08:41 ---> Running in 601811430daf 08:08:41 Removing intermediate container 601811430daf 08:08:41 ---> 9f631284861a 08:08:41 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:08:41 ---> Running in 78a5321fe435 08:08:43 Removing intermediate container 78a5321fe435 08:08:43 ---> 0c0c3bb1c53b 08:08:43 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:08:43 ---> Running in 1a58df29d995 08:08:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:08:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:08:46 (1/6) Installing ca-certificates (20211220-r0) 08:08:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:08:46 (3/6) Installing libsodium (1.0.18-r0) 08:08:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:08:46 (5/6) Installing libzmq (4.3.4-r0) 08:08:46 (6/6) Installing zeromq (4.3.4-r0) 08:08:46 Executing busybox-1.33.1-r7.trigger 08:08:46 Executing ca-certificates-20211220-r0.trigger 08:08:46 OK: 9 MiB in 20 packages 08:08:47 Removing intermediate container 1a58df29d995 08:08:47 ---> 7cafa40af0fa 08:08:47 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:08:48 ---> 696a731850a0 08:08:48 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:08:49 ---> b079442f32ee 08:08:49 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:08:49 ---> a89bb0344cf9 08:08:49 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:08:50 ---> 6b356e71bd02 08:08:50 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:08:51 ---> 07af928e0037 08:08:51 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:08:51 ---> Running in 83c16fbaed6f 08:08:53 Removing intermediate container 83c16fbaed6f 08:08:53 ---> b14aac0d85f6 08:08:53 Step 25/31 : VOLUME /cache 08:08:53 ---> Running in 198bbf0e8e76 08:08:53 Removing intermediate container 198bbf0e8e76 08:08:53 ---> 4a674348ce32 08:08:53 Step 26/31 : EXPOSE 59711 08:08:53 ---> Running in 94e1103c7916 08:08:54 Removing intermediate container 94e1103c7916 08:08:54 ---> 4e70048df010 08:08:54 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:08:54 ---> Running in 859fe96c1754 08:08:54 Removing intermediate container 859fe96c1754 08:08:54 ---> 525acdd08718 08:08:54 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:08:54 ---> Running in 31cb0304a184 08:08:54 Removing intermediate container 31cb0304a184 08:08:54 ---> e6bd01be5b43 08:08:54 Step 29/31 : LABEL arch=arm64 08:08:54 ---> Running in c6237c1566a3 08:08:55 Removing intermediate container c6237c1566a3 08:08:55 ---> 85b5308d282d 08:08:55 Step 30/31 : LABEL git_sha=75a8bc6a149f3078f6870fa834d0b94c9897a4f6 08:08:55 ---> Running in eb8fa15c57e1 08:08:55 Removing intermediate container eb8fa15c57e1 08:08:55 ---> 63b81b6c1b59 08:08:55 Step 31/31 : LABEL version=0.0.0 08:08:55 ---> Running in 5df1343c870f 08:08:55 Removing intermediate container 5df1343c870f 08:08:55 ---> c40b25054239 08:08:55 [Warning] One or more build-args [ARCH] were not consumed 08:08:55 Successfully built c40b25054239 08:08:55 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:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:08:56 08:08:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:08:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:08:57 arm64: Pulling from edgex-lftools-log-publisher 08:08:57 8998bd30e6a1: Pulling fs layer 08:08:57 04944245beec: Pulling fs layer 08:08:57 699f458cf7ca: Pulling fs layer 08:08:57 765212b225bb: Pulling fs layer 08:08:57 f23df028b6ca: Pulling fs layer 08:08:57 d65c8cfc05b1: Pulling fs layer 08:08:57 2437ff75d9bd: Pulling fs layer 08:08:57 765212b225bb: Waiting 08:08:57 f23df028b6ca: Waiting 08:08:57 d65c8cfc05b1: Waiting 08:08:57 2437ff75d9bd: Waiting 08:08:57 04944245beec: Download complete 08:08:57 765212b225bb: Verifying Checksum 08:08:57 765212b225bb: Download complete 08:08:57 f23df028b6ca: Verifying Checksum 08:08:57 f23df028b6ca: Download complete 08:08:57 d65c8cfc05b1: Verifying Checksum 08:08:57 d65c8cfc05b1: Download complete 08:08:57 699f458cf7ca: Verifying Checksum 08:08:57 8998bd30e6a1: Verifying Checksum 08:08:57 8998bd30e6a1: Download complete 08:09:00 2437ff75d9bd: Verifying Checksum 08:09:00 2437ff75d9bd: Download complete 08:09:02 8998bd30e6a1: Pull complete 08:09:02 04944245beec: Pull complete 08:09:04 699f458cf7ca: Pull complete 08:09:04 765212b225bb: Pull complete 08:09:05 f23df028b6ca: Pull complete 08:09:05 d65c8cfc05b1: Pull complete 08:09:20 2437ff75d9bd: Pull complete 08:09:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:09:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:09:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:09:21 prd-ubuntu20.04-docker-arm64-4c-16g-21755 does not seem to be running inside a container 08:09:21 $ 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/3 -v /w/workspace/app-rfid-llrp-inventory/3:/w/workspace/app-rfid-llrp-inventory/3:rw,z -v /w/workspace/app-rfid-llrp-inventory/3@tmp:/w/workspace/app-rfid-llrp-inventory/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:09:23 $ docker top e24f8ec062f2aaa41f505f621f5d2053728a33b899f56f49f56c01ef9011b444 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:24 ---> job-cost.sh 08:09:24 lf-activate-venv: SKIPPING 08:09:24 INFO: No Stack... 08:09:25 INFO: Retrieving Pricing Info for: v3-standard-4 08:09:26 INFO: Archiving Costs [Pipeline] sh 08:09:26 + cat /w/workspace/app-rfid-llrp-inventory/3/archives/cost.csv 08:09:26 + cut -d, -f6 [Pipeline] lock 08:09:26 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] 08:09:26 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] did not exist. Created. 08:09:26 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:09:27 /w/workspace/app-rfid-llrp-inventory/3@tmp/durable-683f86d3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:09:28 + echo total: 0.10999999940395355 [Pipeline] stash 08:09:28 Warning: overwriting stash ‘stack-cost’ 08:09:28 Stashed 1 file(s) [Pipeline] } 08:09:28 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:09:28 $ docker stop --time=1 e24f8ec062f2aaa41f505f621f5d2053728a33b899f56f49f56c01ef9011b444 08:09:29 $ docker rm -f e24f8ec062f2aaa41f505f621f5d2053728a33b899f56f49f56c01ef9011b444 [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:09:30 provisioning config files... 08:09:30 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config8081514095009799296tmp [Pipeline] { [Pipeline] sh 08:09:30 + set +x 08:09:30 + + bashcurl -s -s -- https://codecov.io/bash 08:09:30 08:09:30 08:09:30 _____ _ 08:09:30 / ____| | | 08:09:30 | | ___ __| | ___ ___ _____ __ 08:09:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:09:30 | |___| (_) | (_| | __/ (_| (_) \ V / 08:09:30 \_____\___/ \__,_|\___|\___\___/ \_/ 08:09:30 Bash-1.0.6 08:09:30 08:09:30 08:09:30 ==> git version 2.25.1 found 08:09:30 ==> 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:09:30 Release-Date: 2020-01-08 08:09:30 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:09:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:09:30 ==> Jenkins CI detected. 08:09:30 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-65 08:09:30 project root: . 08:09:30 --> token set from env 08:09:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:09:30 ==> Running gcov in . (disable via -X gcov) 08:09:30 ==> Python coveragepy not found 08:09:30 ==> Searching for coverage reports in: 08:09:30 + . 08:09:30 -> Found 1 reports 08:09:30 ==> Detecting git/mercurial file structure 08:09:30 ==> Reading reports 08:09:30 + ./coverage.out bytes=41008 08:09:30 ==> Appending adjustments 08:09:30 https://docs.codecov.io/docs/fixing-reports 08:09:30 + Found adjustments 08:09:30 ==> Gzipping contents 08:09:30 12K /tmp/codecov.rN74sR.gz 08:09:30 ==> Uploading reports 08:09:30 url: https://codecov.io 08:09:30 query: branch=PR-65&commit=5e941c0aca510d873eb1abd2974e71ee9f364cd9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-65%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=65&job=&cmd_args= 08:09:30 -> Pinging Codecov 08:09:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-65&commit=5e941c0aca510d873eb1abd2974e71ee9f364cd9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-65%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=65&job=&cmd_args= 08:09:31 -> Uploading to 08:09:31 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/581DD39554BDF9B6E22D074273EAD858/5e941c0aca510d873eb1abd2974e71ee9f364cd9/b3ebe672-769a-4363-81a1-2756a3b7e3b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T080930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=098c5176414f38d1aa7f907354acb4d0e6356c40415b55c4e70a401cf5db7b05 08:09:31 % Total % Received % Xferd Average Speed Time Time Time Current 08:09:31 Dload Upload Total Spent Left Speed 08:09:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11565 0 0 100 11565 0 45000 --:--:-- --:--:-- --:--:-- 45000 08:09:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5e941c0aca510d873eb1abd2974e71ee9f364cd9 [Pipeline] } 08:09:31 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:09:32 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives ] 08:09:32 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:09:32 total 16 08:09:32 drwxr-xr-x 3 root root 4096 Apr 22 08:01 . 08:09:32 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 08:01 .. 08:09:32 drwxr-xr-x 2 root root 4096 Apr 22 08:01 cost 08:09:32 -rw-r--r-- 1 root root 93 Apr 22 08:01 cost.csv 08:09:32 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:09:32 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:09:32 total 16 08:09:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 08:01 . 08:09:32 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 08:01 .. 08:09:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 08:01 cost 08:09:32 -rw-r--r-- 1 jenkins jenkins 93 Apr 22 08:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:09:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:09:33 ---> package-listing.sh 08:09:33 ++ facter osfamily 08:09:33 ++ tr '[:upper:]' '[:lower:]' 08:09:33 + OS_FAMILY=debian 08:09:33 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-65 08:09:33 + START_PACKAGES=/tmp/packages_start.txt 08:09:33 + END_PACKAGES=/tmp/packages_end.txt 08:09:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:09:33 + PACKAGES=/tmp/packages_start.txt 08:09:33 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-65 ']' 08:09:33 + PACKAGES=/tmp/packages_end.txt 08:09:33 + case "${OS_FAMILY}" in 08:09:33 + dpkg -l 08:09:33 + grep '^ii' 08:09:33 + '[' -f /tmp/packages_start.txt ']' 08:09:33 + '[' -f /tmp/packages_end.txt ']' 08:09:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:09:33 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-65 ']' 08:09:33 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives/ 08:09:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives/ [Pipeline] echo 08:09:33 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-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:09:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:09:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:09:34 . [Pipeline] withDockerContainer 08:09:34 prd-ubuntu20.04-docker-8c-8g-21753 does not seem to be running inside a container 08:09:34 $ 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-65/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-65 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65:/w/workspace/ry_app-rfid-llrp-inventory_PR-65:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@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:10003/edgex-lftools-log-publisher:latest cat 08:09:34 $ docker top 403de5427674c9879cd1870b6de55c47060533fc72a7cdc0f5a2b57b03e3c2bc -eo pid,comm [Pipeline] { [Pipeline] sh 08:09:34 + touch /tmp/pre-build-complete [Pipeline] sh 08:09:35 + mkdir -p /var/log/sysstat [Pipeline] sh 08:09:35 + ls /var/log/sa-host 08:09:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:09:35 provisioning config files... 08:09:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config729160103003392504tmp [Pipeline] { [Pipeline] echo 08:09:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:09:35 ---> create-netrc.sh [Pipeline] } 08:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:09:36 ---> python-tools-install.sh [Pipeline] echo 08:09:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:09:36 ---> sudo-logs.sh 08:09:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:09:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:09:36 ---> job-cost.sh 08:09:36 lf-activate-venv: SKIPPING 08:09:36 DEBUG: total: 0.2199999988079071 08:09:36 INFO: Retrieving Stack Cost... 08:09:37 INFO: Retrieving Pricing Info for: v3-standard-8 08:09:37 INFO: Archiving Costs [Pipeline] echo 08:09:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:09:38 ---> logs-deploy.sh 08:09:38 lf-activate-venv: SKIPPING 08:09:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-65/3 08:09:38 INFO: archiving workspace using pattern(s): 08:09:38 Archives upload complete. 08:09:38 INFO: archiving logs to Nexus