Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a00f466457d09e0dac64c715bdd5dd92404c416+6246ebef5c7f64de05beec12187b3c2eaa551c81 (778e7946b3ed7c8fede88a1e046bc566b02dd776) 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-ssh11691434038796389018.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-ssh14348586790107029048.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-ssh7452139770202903226.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-ssh14076434902980766015.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-ssh8456427819709125651.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21574 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 > 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 Merging remotes/origin/main commit 6246ebef5c7f64de05beec12187b3c2eaa551c81 into PR head commit 7a00f466457d09e0dac64c715bdd5dd92404c416 Merge succeeded, producing 1d9b3749a2585be18980e4a263ff172a3b1113fc Checking out Revision 1d9b3749a2585be18980e4a263ff172a3b1113fc (PR-65) > 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 6246ebef5c7f64de05beec12187b3c2eaa551c81 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d9b3749a2585be18980e4a263ff172a3b1113fc # timeout=10 Commit message: "Merge commit '6246ebef5c7f64de05beec12187b3c2eaa551c81' into HEAD" > git rev-list --no-walk 7a00f466457d09e0dac64c715bdd5dd92404c416 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:59:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:59:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:59:06 ========================================================= 07:59:06 EdgeX Global Pipelines Version Info 07:59:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:59:07 ------------------- 07:59:07 stable info: 07:59:07 ------------------- 07:59:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:07 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:59:07 Message: update stable to v1.0.221 07:59:07 ------------------- 07:59:07 experimental info: 07:59:07 ------------------- 07:59:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:07 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 07:59:07 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d9b3749a2585be18980e4a263ff172a3b1113fc [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d9b374 [Pipeline] echo 07:59:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:08 provisioning config files... 07:59:08 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config2170550715069887759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:08 ---> docker-login.sh 07:59:08 nexus3.edgexfoundry.org:10001 07:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:08 Configure a credential helper to remove this warning. See 07:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:08 07:59:08 Login Succeeded 07:59:08 nexus3.edgexfoundry.org:10002 07:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:09 Configure a credential helper to remove this warning. See 07:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:09 07:59:09 Login Succeeded 07:59:09 nexus3.edgexfoundry.org:10003 07:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:09 Configure a credential helper to remove this warning. See 07:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:09 07:59:09 Login Succeeded 07:59:09 nexus3.edgexfoundry.org:10004 07:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:09 Configure a credential helper to remove this warning. See 07:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:09 07:59:09 Login Succeeded 07:59:09 docker.io 07:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:09 Configure a credential helper to remove this warning. See 07:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:09 07:59:09 Login Succeeded 07:59:09 ---> docker-login.sh ends [Pipeline] } 07:59:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:59:10 + git rev-list -1 --merges 1d9b3749a2585be18980e4a263ff172a3b1113fc~1..1d9b3749a2585be18980e4a263ff172a3b1113fc [Pipeline] echo 07:59:10 -----------> git rev-list -1 --merges 1d9b3749a2585be18980e4a263ff172a3b1113fc~1..1d9b3749a2585be18980e4a263ff172a3b1113fc 1d9b3749a2585be18980e4a263ff172a3b1113fc 07:59:10 1d9b3749a2585be18980e4a263ff172a3b1113fc [false] [Pipeline] sh 07:59:10 + git log --format=format:%s -1 1d9b3749a2585be18980e4a263ff172a3b1113fc [Pipeline] echo 07:59:10 ========================================================= 07:59:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:59:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:59:11 + git log --format=format:%s -1 1d9b3749a2585be18980e4a263ff172a3b1113fc [Pipeline] echo 07:59:11 [semverPrep] GIT_COMMIT: 1d9b3749a2585be18980e4a263ff172a3b1113fc, Commit Message: Merge commit '6246ebef5c7f64de05beec12187b3c2eaa551c81' into HEAD [Pipeline] echo 07:59:11 [semverPrep] This is not a build commit. [Pipeline] sh 07:59:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:59:11 + grep -v github /etc/ssh/ssh_known_hosts 07:59:11 + [ -e /tmp/ssh_known_hosts ] 07:59:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:59:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:59:11 + sudo tee -a /etc/ssh/ssh_known_hosts 07:59:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:59:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:11 07:59:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:59:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:12 latest: Pulling from edgex-devops/git-semver 07:59:12 a0d0a0d46f8b: Pulling fs layer 07:59:12 3e5f54012d9b: Pulling fs layer 07:59:12 4c7163046ea9: Pulling fs layer 07:59:12 0c2d73faf560: Pulling fs layer 07:59:12 0c2d73faf560: Waiting 07:59:12 3e5f54012d9b: Verifying Checksum 07:59:12 3e5f54012d9b: Download complete 07:59:12 a0d0a0d46f8b: Download complete 07:59:12 0c2d73faf560: Verifying Checksum 07:59:12 0c2d73faf560: Download complete 07:59:12 4c7163046ea9: Download complete 07:59:12 a0d0a0d46f8b: Pull complete 07:59:12 3e5f54012d9b: Pull complete 07:59:12 4c7163046ea9: Pull complete 07:59:12 0c2d73faf560: Pull complete 07:59:12 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:59:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:59:13 prd-ubuntu20.04-docker-8c-8g-21574 does not seem to be running inside a container 07:59:13 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:59:13 $ docker top 8f055f291f821f56781672549174d8174de204606a35eb7eb167ca130c210dfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:59:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:13 [ssh-agent] Looking for ssh-agent implementation... 07:59:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:14 $ docker exec 8f055f291f821f56781672549174d8174de204606a35eb7eb167ca130c210dfe ssh-agent 07:59:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaboNnO/agent.13 07:59:14 SSH_AGENT_PID=19 07:59:14 Running ssh-add (command line suppressed) 07:59:14 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_7152873288279342738.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_7152873288279342738.key) 07:59:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:14 + git tag --points-at HEAD [Pipeline] } 07:59:14 $ docker exec --env ******** --env ******** 8f055f291f821f56781672549174d8174de204606a35eb7eb167ca130c210dfe ssh-agent -k 07:59:14 unset SSH_AUTH_SOCK; 07:59:14 unset SSH_AGENT_PID; 07:59:14 echo Agent pid 19 killed; 07:59:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:59:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:14 [ssh-agent] Looking for ssh-agent implementation... 07:59:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:15 $ docker exec 8f055f291f821f56781672549174d8174de204606a35eb7eb167ca130c210dfe ssh-agent 07:59:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoicJDb/agent.52 07:59:15 SSH_AGENT_PID=58 07:59:15 Running ssh-add (command line suppressed) 07:59:15 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_1568493608873962607.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_1568493608873962607.key) 07:59:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:15 + git semver init 07:59:15 # -> Open(): unable to determine branch for HEAD 07:59:15 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-65/.git 07:59:15 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-65 07:59:15 # $SEMVER_REMOTE_NAME = origin 07:59:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:59:15 # $SEMVER_USER_NAME = edgex-jenkins 07:59:15 # $SEMVER_BRANCH = PR-65 07:59:15 # $SEMVER_TEMP = /tmp/semver-957110243 07:59:15 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 07:59:17 # '/tmp/semver-957110243' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-65/.semver' 07:59:17 # -> Force: false 07:59:17 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-65/.semver [Pipeline] } 07:59:17 $ docker exec --env ******** --env ******** 8f055f291f821f56781672549174d8174de204606a35eb7eb167ca130c210dfe ssh-agent -k 07:59:17 unset SSH_AUTH_SOCK; 07:59:17 unset SSH_AGENT_PID; 07:59:17 echo Agent pid 58 killed; 07:59:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:59:17 + git semver [Pipeline] } 07:59:17 $ docker stop --time=1 8f055f291f821f56781672549174d8174de204606a35eb7eb167ca130c210dfe 07:59:18 $ docker rm -f 8f055f291f821f56781672549174d8174de204606a35eb7eb167ca130c210dfe [Pipeline] // withDockerContainer [Pipeline] sh 07:59:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:59:19 Stashed 1 file(s) [Pipeline] echo 07:59:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:19 provisioning config files... 07:59:19 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config339715150884749249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:20 ---> docker-login.sh 07:59:20 nexus3.edgexfoundry.org:10001 07:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:20 Configure a credential helper to remove this warning. See 07:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:20 07:59:20 Login Succeeded 07:59:20 nexus3.edgexfoundry.org:10002 07:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:20 Configure a credential helper to remove this warning. See 07:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:20 07:59:20 Login Succeeded 07:59:20 nexus3.edgexfoundry.org:10003 07:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:20 Configure a credential helper to remove this warning. See 07:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:20 07:59:20 Login Succeeded 07:59:20 nexus3.edgexfoundry.org:10004 07:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:20 Configure a credential helper to remove this warning. See 07:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:20 07:59:20 Login Succeeded 07:59:20 docker.io 07:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:20 Configure a credential helper to remove this warning. See 07:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:20 07:59:20 Login Succeeded 07:59:20 ---> docker-login.sh ends [Pipeline] } 07:59:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:59:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:59:20 ========================================================= 07:59:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:59:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:59:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:59:21 Sending build context to Docker daemon 10.03MB 07:59:21 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:59:21 Step 2/13 : FROM ${BASE} AS builder 07:59:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:59:21 59bf1c3509f3: Pulling fs layer 07:59:21 666ba61612fd: Pulling fs layer 07:59:21 8ed8ca486205: Pulling fs layer 07:59:21 4fe6c5a15a65: Pulling fs layer 07:59:21 22a0e8bec74d: Pulling fs layer 07:59:21 640e595b4fbd: Pulling fs layer 07:59:21 763cafe07f6e: Pulling fs layer 07:59:21 0c0b528cf693: Pulling fs layer 07:59:21 10935f4eaf8b: Pulling fs layer 07:59:21 22a0e8bec74d: Waiting 07:59:21 4fe6c5a15a65: Waiting 07:59:21 640e595b4fbd: Waiting 07:59:21 0c0b528cf693: Waiting 07:59:21 10935f4eaf8b: Waiting 07:59:21 763cafe07f6e: Waiting 07:59:21 8ed8ca486205: Verifying Checksum 07:59:21 8ed8ca486205: Download complete 07:59:21 666ba61612fd: Download complete 07:59:21 22a0e8bec74d: Verifying Checksum 07:59:21 22a0e8bec74d: Download complete 07:59:21 59bf1c3509f3: Verifying Checksum 07:59:21 59bf1c3509f3: Download complete 07:59:21 640e595b4fbd: Verifying Checksum 07:59:21 640e595b4fbd: Download complete 07:59:21 763cafe07f6e: Verifying Checksum 07:59:21 763cafe07f6e: Download complete 07:59:21 0c0b528cf693: Verifying Checksum 07:59:21 0c0b528cf693: Download complete 07:59:21 59bf1c3509f3: Pull complete 07:59:21 666ba61612fd: Pull complete 07:59:22 8ed8ca486205: Pull complete 07:59:22 10935f4eaf8b: Verifying Checksum 07:59:22 10935f4eaf8b: Download complete 07:59:22 4fe6c5a15a65: Verifying Checksum 07:59:22 4fe6c5a15a65: Download complete 07:59:26 4fe6c5a15a65: Pull complete 07:59:26 22a0e8bec74d: Pull complete 07:59:26 640e595b4fbd: Pull complete 07:59:26 763cafe07f6e: Pull complete 07:59:26 0c0b528cf693: Pull complete 07:59:28 10935f4eaf8b: Pull complete 07:59:28 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:59:28 ---> 99d49a6021b9 07:59:28 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 07:59:29 ---> Running in d61b959cb4be 07:59:30 Removing intermediate container d61b959cb4be 07:59:30 ---> 74a39b61ccec 07:59:30 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 07:59:30 ---> Running in a6e3c84e76c5 07:59:30 Removing intermediate container a6e3c84e76c5 07:59:30 ---> e31c5c041e01 07:59:30 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:59:30 ---> Running in 9ed7dfa2df91 07:59:30 Removing intermediate container 9ed7dfa2df91 07:59:30 ---> 8909d1e5cc0a 07:59:30 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:59:30 ---> Running in 954f7db4bf82 07:59:30 Removing intermediate container 954f7db4bf82 07:59:30 ---> 592a73d830f1 07:59:30 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:59:30 ---> Running in ff77c56c3712 07:59:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:59:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:59:32 OK: 221 MiB in 52 packages 07:59:32 Removing intermediate container ff77c56c3712 07:59:32 ---> 53a8309dec6f 07:59:32 Step 8/13 : WORKDIR /app 07:59:32 ---> Running in 7a9b6380c0f7 07:59:32 Removing intermediate container 7a9b6380c0f7 07:59:32 ---> ab8333fd2219 07:59:32 Step 9/13 : COPY go.mod vendor* ./ 07:59:32 ---> 07c41637ba2a 07:59:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:59:32 ---> Running in ef908485867f 07:59:34 Still waiting to schedule task 07:59:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:59:54 Removing intermediate container ef908485867f 07:59:54 ---> 5f86ebed195f 07:59:54 Step 11/13 : COPY . . 07:59:54 ---> 733b5b7774f5 07:59:54 Step 12/13 : ARG MAKE="make build" 07:59:55 ---> Running in 7a98ec382767 07:59:55 Removing intermediate container 7a98ec382767 07:59:55 ---> 2520645ccc66 07:59:55 Step 13/13 : RUN $MAKE 07:59:55 ---> Running in ce37e0df4509 07:59:55 noop 07:59:55 Removing intermediate container ce37e0df4509 07:59:55 ---> 7098015d41c1 07:59:55 Successfully built 7098015d41c1 07:59:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:59:56 + docker inspect -f . ci-base-image-x86_64 07:59:56 . [Pipeline] withDockerContainer 07:59:56 prd-ubuntu20.04-docker-8c-8g-21574 does not seem to be running inside a container 07:59:56 $ 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 ******** ci-base-image-x86_64 cat 07:59:56 $ docker top e5e034d0ef2d3259e650b211334f27decafaa788ae203fa1f2e1330b63687bd3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:57 + go version 07:59:57 go version go1.17.6 linux/amd64 [Pipeline] } 07:59:57 $ docker stop --time=1 e5e034d0ef2d3259e650b211334f27decafaa788ae203fa1f2e1330b63687bd3 07:59:58 $ docker rm -f e5e034d0ef2d3259e650b211334f27decafaa788ae203fa1f2e1330b63687bd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:59:58 + docker inspect -f . ci-base-image-x86_64 07:59:58 . [Pipeline] withDockerContainer 07:59:59 prd-ubuntu20.04-docker-8c-8g-21574 does not seem to be running inside a container 07:59:59 $ 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 ******** ci-base-image-x86_64 cat 07:59:59 $ docker top 1494a54db46609ebf05a70b29bec748d784a702521464969d15959341cdf33b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:59:59 + make test 07:59:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:00:08 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:00:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.034s coverage: 86.2% of statements 08:00:08 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:00:09 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.544s coverage: 71.9% of statements 08:00:09 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:00:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:00:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:00:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:00:19 ./bin/test-attribution.sh [Pipeline] echo 08:00:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:00:19 $ docker stop --time=1 1494a54db46609ebf05a70b29bec748d784a702521464969d15959341cdf33b5 08:00:21 $ docker rm -f 1494a54db46609ebf05a70b29bec748d784a702521464969d15959341cdf33b5 [Pipeline] // withDockerContainer [Pipeline] sh 08:00:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:00:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:00:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:22 + ls -al . 08:00:22 total 240 08:00:22 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 08:00 . 08:00:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 07:59 .. 08:00:22 -rw-rw-r-- 1 jenkins jenkins 262 Apr 21 07:59 .dockerignore 08:00:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 07:59 .git 08:00:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 07:59 .github 08:00:22 -rw-rw-r-- 1 jenkins jenkins 788 Apr 21 07:59 .gitignore 08:00:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 07:59 .golangci.yml 08:00:22 drwx------ 3 jenkins jenkins 4096 Apr 21 07:59 .semver 08:00:22 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 21 07:59 Attribution.txt 08:00:22 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 21 07:59 Dockerfile 08:00:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 07:59 GOVERNANCE.md 08:00:22 -rw-rw-r-- 1 jenkins jenkins 687 Apr 21 07:59 Jenkinsfile 08:00:22 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 21 07:59 LICENSE 08:00:22 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 21 07:59 Makefile 08:00:22 -rw-rw-r-- 1 jenkins jenkins 617 Apr 21 07:59 OWNERS.md 08:00:22 -rw-rw-r-- 1 jenkins jenkins 30039 Apr 21 07:59 README.md 08:00:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 07:59 VERSION 08:00:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 07:59 bin 08:00:22 -rw-r--r-- 1 jenkins jenkins 41008 Apr 21 08:00 coverage.out 08:00:22 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 21 07:59 go.mod 08:00:22 -rw-rw-r-- 1 jenkins jenkins 49621 Apr 21 07:59 go.sum 08:00:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 07:59 images 08:00:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 07:59 internal 08:00:22 -rw-rw-r-- 1 jenkins jenkins 531 Apr 21 07:59 main.go 08:00:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 07:59 res 08:00:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 07:59 snap 08:00:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 07:59 static [Pipeline] isUnix [Pipeline] sh 08:00:23 + 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=1d9b3749a2585be18980e4a263ff172a3b1113fc --label arch=amd64 --label version=0.0.0 . 08:00:23 Sending build context to Docker daemon 10.03MB 08:00:23 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:00:23 Step 2/31 : FROM ${BASE} AS builder 08:00:23 ---> 7098015d41c1 08:00:23 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:00:23 ---> Running in 63af2070d70a 08:00:23 Removing intermediate container 63af2070d70a 08:00:23 ---> 1c92e04c839e 08:00:23 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:00:23 ---> Running in 0c5849ff0980 08:00:23 Removing intermediate container 0c5849ff0980 08:00:23 ---> 05b86fc7a883 08:00:23 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:23 ---> Running in ac8c36de7b27 08:00:23 Removing intermediate container ac8c36de7b27 08:00:23 ---> 7459ed19439a 08:00:23 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:23 ---> Running in 771556f03684 08:00:24 Removing intermediate container 771556f03684 08:00:24 ---> 843b9f6347d2 08:00:24 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:00:24 ---> Running in 0dcc234b7e0f 08:00:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:00:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:00:25 OK: 221 MiB in 52 packages 08:00:26 Removing intermediate container 0dcc234b7e0f 08:00:26 ---> 10f8b4f5a34f 08:00:26 Step 8/31 : WORKDIR /app 08:00:26 ---> Running in 6251c9e8d19d 08:00:26 Removing intermediate container 6251c9e8d19d 08:00:26 ---> 1bcbe5996b9d 08:00:26 Step 9/31 : COPY go.mod vendor* ./ 08:00:26 ---> 56ba2a1e9710 08:00:26 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:26 ---> Running in 6fefbffa8d86 08:00:27 Removing intermediate container 6fefbffa8d86 08:00:27 ---> 27340bfae02c 08:00:27 Step 11/31 : COPY . . 08:00:27 ---> 39942904f41b 08:00:27 Step 12/31 : ARG MAKE="make build" 08:00:27 ---> Running in 55ce96136bca 08:00:27 Removing intermediate container 55ce96136bca 08:00:27 ---> 7355c7d03288 08:00:27 Step 13/31 : RUN $MAKE 08:00:27 ---> Running in a2bf9c0261f4 08:00:28 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:00:36 Removing intermediate container a2bf9c0261f4 08:00:36 ---> 6c587f54db58 08:00:36 Step 14/31 : FROM alpine:3.14 08:00:36 3.14: Pulling from library/alpine 08:00:36 8663204ce13b: Pulling fs layer 08:00:36 8663204ce13b: Verifying Checksum 08:00:36 8663204ce13b: Download complete 08:00:37 8663204ce13b: Pull complete 08:00:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:00:37 Status: Downloaded newer image for alpine:3.14 08:00:37 ---> e04c818066af 08:00:37 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:37 ---> Running in 1c208afde49a 08:00:37 Removing intermediate container 1c208afde49a 08:00:37 ---> afc1ad32a8a5 08:00:37 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:00:37 ---> Running in 3b960bcc1a3e 08:00:37 Removing intermediate container 3b960bcc1a3e 08:00:37 ---> 16f9dc5884e1 08:00:37 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:37 ---> Running in f6413bfc5c60 08:00:38 Removing intermediate container f6413bfc5c60 08:00:38 ---> 77b93e060ad4 08:00:38 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:00:38 ---> Running in 309c1a7ca7e9 08:00:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:00:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:00:39 (1/6) Installing ca-certificates (20211220-r0) 08:00:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:00:39 (3/6) Installing libsodium (1.0.18-r0) 08:00:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:00:39 (5/6) Installing libzmq (4.3.4-r0) 08:00:39 (6/6) Installing zeromq (4.3.4-r0) 08:00:40 Executing busybox-1.33.1-r7.trigger 08:00:40 Executing ca-certificates-20211220-r0.trigger 08:00:40 OK: 9 MiB in 20 packages 08:00:40 Removing intermediate container 309c1a7ca7e9 08:00:40 ---> 6d89fe51c441 08:00:40 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:00:40 ---> 69126976b08a 08:00:40 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:00:41 ---> 9ae4dd59e3de 08:00:41 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:00:41 ---> 3cc0e19fa82e 08:00:41 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:00:41 ---> 53ebc9b1db07 08:00:41 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:00:41 ---> 7b40b609010d 08:00:41 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:00:41 ---> Running in 64edd5af17df 08:00:42 Removing intermediate container 64edd5af17df 08:00:42 ---> 9fbd23df14a7 08:00:42 Step 25/31 : VOLUME /cache 08:00:42 ---> Running in 344b45c03272 08:00:42 Removing intermediate container 344b45c03272 08:00:42 ---> f178d712eeb5 08:00:42 Step 26/31 : EXPOSE 59711 08:00:42 ---> Running in 7110bb1fbc08 08:00:42 Removing intermediate container 7110bb1fbc08 08:00:42 ---> 1d1ef0da6297 08:00:42 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:00:42 ---> Running in 09342b75fe6d 08:00:42 Removing intermediate container 09342b75fe6d 08:00:42 ---> 69621027970f 08:00:42 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:00:42 ---> Running in 4e033889c289 08:00:42 Removing intermediate container 4e033889c289 08:00:42 ---> cb2e3d3b1361 08:00:42 Step 29/31 : LABEL arch=amd64 08:00:42 ---> Running in ed794c660503 08:00:42 Removing intermediate container ed794c660503 08:00:42 ---> d7b89a3ab50b 08:00:42 Step 30/31 : LABEL git_sha=1d9b3749a2585be18980e4a263ff172a3b1113fc 08:00:42 ---> Running in 5059166eab4b 08:00:43 Removing intermediate container 5059166eab4b 08:00:43 ---> 6b2ec92befda 08:00:43 Step 31/31 : LABEL version=0.0.0 08:00:43 ---> Running in 02087588eaa2 08:00:43 Removing intermediate container 02087588eaa2 08:00:43 ---> 575649a6b7a4 08:00:43 [Warning] One or more build-args [ARCH] were not consumed 08:00:43 Successfully built 575649a6b7a4 08:00:43 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:00:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:43 08:00:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:00:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:43 latest: Pulling from edgex-lftools-log-publisher 08:00:43 5eb5b503b376: Pulling fs layer 08:00:43 5c69ac0246d0: Pulling fs layer 08:00:43 ec43610c2a17: Pulling fs layer 08:00:43 3a2ae6a8a46f: Pulling fs layer 08:00:43 33b1e0a273af: Pulling fs layer 08:00:43 5d3b04190fa2: Pulling fs layer 08:00:43 2f39f015ded8: Pulling fs layer 08:00:43 33b1e0a273af: Waiting 08:00:43 5d3b04190fa2: Waiting 08:00:43 2f39f015ded8: Waiting 08:00:43 3a2ae6a8a46f: Waiting 08:00:43 5c69ac0246d0: Download complete 08:00:43 3a2ae6a8a46f: Verifying Checksum 08:00:43 3a2ae6a8a46f: Download complete 08:00:43 33b1e0a273af: Verifying Checksum 08:00:43 33b1e0a273af: Download complete 08:00:43 5d3b04190fa2: Download complete 08:00:43 ec43610c2a17: Verifying Checksum 08:00:43 ec43610c2a17: Download complete 08:00:44 5eb5b503b376: Verifying Checksum 08:00:44 5eb5b503b376: Download complete 08:00:44 2f39f015ded8: Download complete 08:00:45 5eb5b503b376: Pull complete 08:00:45 5c69ac0246d0: Pull complete 08:00:45 ec43610c2a17: Pull complete 08:00:45 3a2ae6a8a46f: Pull complete 08:00:46 33b1e0a273af: Pull complete 08:00:46 5d3b04190fa2: Pull complete 08:00:50 2f39f015ded8: Pull complete 08:00:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:00:50 prd-ubuntu20.04-docker-8c-8g-21574 does not seem to be running inside a container 08:00:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:00:52 $ docker top 16c0c59f90a286d34ad49ac752befaac0190a3f64381eb8d4c36039cd3acab18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:52 ---> job-cost.sh 08:00:52 lf-activate-venv: SKIPPING 08:00:52 INFO: No Stack... 08:00:53 INFO: Retrieving Pricing Info for: v3-standard-8 08:00:53 INFO: Archiving Costs [Pipeline] sh 08:00:54 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives/cost.csv 08:00:54 + cut -d, -f6 [Pipeline] lock 08:00:54 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] 08:00:54 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] did not exist. Created. 08:00:54 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:00:54 + echo total: 0.2199999988079071 [Pipeline] stash 08:00:54 Stashed 1 file(s) [Pipeline] } 08:00:54 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:00:54 $ docker stop --time=1 16c0c59f90a286d34ad49ac752befaac0190a3f64381eb8d4c36039cd3acab18 08:00:55 $ docker rm -f 16c0c59f90a286d34ad49ac752befaac0190a3f64381eb8d4c36039cd3acab18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:02:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21576 in /w/workspace/ry_app-rfid-llrp-inventory_PR-65 [Pipeline] { [Pipeline] ws 08:02:14 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 08:02:15 The recommended git tool is: git 08:02:21 using credential edgex-jenkins-ssh 08:02:21 Cloning the remote Git repository 08:02:22 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:02:22 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 08:02:22 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:02:22 > git --version # timeout=10 08:02:22 > git --version # 'git version 2.25.1' 08:02:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:02:24 Merging remotes/origin/main commit 6246ebef5c7f64de05beec12187b3c2eaa551c81 into PR head commit 7a00f466457d09e0dac64c715bdd5dd92404c416 08:02:25 Merge succeeded, producing fc5047185756df0e6748037dc7ca14a3284c668e 08:02:25 Checking out Revision fc5047185756df0e6748037dc7ca14a3284c668e (PR-65) 08:02:24 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:02:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:02:24 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:02:24 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:02:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:24 > 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:02:24 > git config core.sparsecheckout # timeout=10 08:02:25 > git checkout -f 7a00f466457d09e0dac64c715bdd5dd92404c416 # timeout=10 08:02:25 > git remote # timeout=10 08:02:25 > git config --get remote.origin.url # timeout=10 08:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:25 > git merge 6246ebef5c7f64de05beec12187b3c2eaa551c81 # timeout=10 08:02:25 > git rev-parse HEAD^{commit} # timeout=10 08:02:25 > git config core.sparsecheckout # timeout=10 08:02:25 > git checkout -f fc5047185756df0e6748037dc7ca14a3284c668e # timeout=10 08:02:29 Commit message: "Merge commit '6246ebef5c7f64de05beec12187b3c2eaa551c81' into HEAD" 08:02:29 > git rev-list --no-walk 7a00f466457d09e0dac64c715bdd5dd92404c416 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:02:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:02:30 % Total % Received % Xferd Average Speed Time Time Time Current 08:02:30 Dload Upload Total Spent Left Speed 08:02:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh 08:02:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:02:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:02:31 + sudo tee /etc/docker/daemon.new 08:02:31 { 08:02:31 "registry-mirrors": [ 08:02:31 "https://nexus3.edgexfoundry.org:10001" 08:02:31 ], 08:02:31 "bip": "10.250.0.254/24", 08:02:31 "hosts": [ 08:02:31 "tcp://0.0.0.0:5555", 08:02:31 "unix:///var/run/docker.sock" 08:02:31 ], 08:02:31 "mtu": 1458, 08:02:31 "selinux-enabled": true, 08:02:31 "seccomp-profile": "/etc/docker/seccomp.json" 08:02:31 } [Pipeline] sh 08:02:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:02:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:50 provisioning config files... 08:02:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config219070215044107216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:02:51 ---> docker-login.sh 08:02:51 nexus3.edgexfoundry.org:10001 08:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:52 Configure a credential helper to remove this warning. See 08:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:52 08:02:52 Login Succeeded 08:02:52 nexus3.edgexfoundry.org:10002 08:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:52 Configure a credential helper to remove this warning. See 08:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:52 08:02:52 Login Succeeded 08:02:52 nexus3.edgexfoundry.org:10003 08:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:53 Configure a credential helper to remove this warning. See 08:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:53 08:02:53 Login Succeeded 08:02:53 nexus3.edgexfoundry.org:10004 08:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:53 Configure a credential helper to remove this warning. See 08:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:53 08:02:53 Login Succeeded 08:02:53 docker.io 08:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:54 Configure a credential helper to remove this warning. See 08:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:54 08:02:54 Login Succeeded 08:02:54 ---> docker-login.sh ends [Pipeline] } 08:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:02:55 ========================================================= 08:02:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:02:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:02:55 + 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:02:55 Sending build context to Docker daemon 692.7kB 08:02:55 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:02:55 Step 2/13 : FROM ${BASE} AS builder 08:02:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:02:56 9b3977197b4f: Pulling fs layer 08:02:56 1a89e8eeedd5: Pulling fs layer 08:02:56 94645a83ff95: Pulling fs layer 08:02:56 3f3a8bcf1eab: Pulling fs layer 08:02:56 0c92f367c5e7: Pulling fs layer 08:02:56 f7c0051592d6: Pulling fs layer 08:02:56 a227ed2f7395: Pulling fs layer 08:02:56 3f3a8bcf1eab: Waiting 08:02:56 f7c0051592d6: Waiting 08:02:56 a227ed2f7395: Waiting 08:02:56 7b1c46037f91: Pulling fs layer 08:02:56 7b1c46037f91: Waiting 08:02:56 94645a83ff95: Verifying Checksum 08:02:56 94645a83ff95: Download complete 08:02:56 1a89e8eeedd5: Verifying Checksum 08:02:56 1a89e8eeedd5: Download complete 08:02:56 0c92f367c5e7: Verifying Checksum 08:02:56 0c92f367c5e7: Download complete 08:02:56 f7c0051592d6: Verifying Checksum 08:02:56 f7c0051592d6: Download complete 08:02:56 9b3977197b4f: Verifying Checksum 08:02:56 9b3977197b4f: Download complete 08:02:56 a227ed2f7395: Verifying Checksum 08:02:56 a227ed2f7395: Download complete 08:02:57 9b3977197b4f: Pull complete 08:02:57 1a89e8eeedd5: Pull complete 08:02:57 94645a83ff95: Pull complete 08:02:58 7b1c46037f91: Verifying Checksum 08:02:58 7b1c46037f91: Download complete 08:02:58 3f3a8bcf1eab: Verifying Checksum 08:02:58 3f3a8bcf1eab: Download complete 08:03:11 3f3a8bcf1eab: Pull complete 08:03:11 0c92f367c5e7: Pull complete 08:03:12 f7c0051592d6: Pull complete 08:03:12 a227ed2f7395: Pull complete 08:03:18 7b1c46037f91: Pull complete 08:03:18 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:03:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:03:18 ---> f79e39bc4007 08:03:18 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:03:19 ---> Running in 1bfcbf793bb1 08:03:19 Removing intermediate container 1bfcbf793bb1 08:03:19 ---> 09d08db9dd7b 08:03:19 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:03:19 ---> Running in a80d6985b3fe 08:03:20 Removing intermediate container a80d6985b3fe 08:03:20 ---> e9f3d961736b 08:03:20 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:03:20 ---> Running in 447ea21f7504 08:03:20 Removing intermediate container 447ea21f7504 08:03:20 ---> 1edeb112fe96 08:03:20 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:03:20 ---> Running in 3c52a4b11365 08:03:24 Removing intermediate container 3c52a4b11365 08:03:24 ---> 6e7961d179ba 08:03:24 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:03:24 ---> Running in 5b2fab369ec7 08:03:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:03:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:03:26 OK: 220 MiB in 52 packages 08:03:27 Removing intermediate container 5b2fab369ec7 08:03:27 ---> 5759ea9a28d1 08:03:27 Step 8/13 : WORKDIR /app 08:03:27 ---> Running in 0175775de904 08:03:27 Removing intermediate container 0175775de904 08:03:27 ---> 7538276d3216 08:03:27 Step 9/13 : COPY go.mod vendor* ./ 08:03:28 ---> e7650fefc935 08:03:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:03:28 ---> Running in a6faca96b84a 08:04:50 Removing intermediate container a6faca96b84a 08:04:50 ---> 71d4b2b97c63 08:04:50 Step 11/13 : COPY . . 08:04:50 ---> 3f601135767d 08:04:50 Step 12/13 : ARG MAKE="make build" 08:04:50 ---> Running in 98a1103f1a0e 08:04:50 Removing intermediate container 98a1103f1a0e 08:04:50 ---> 926f6510019f 08:04:50 Step 13/13 : RUN $MAKE 08:04:50 ---> Running in 49f21894477a 08:04:50 noop 08:04:50 Removing intermediate container 49f21894477a 08:04:50 ---> b3fea4997071 08:04:50 Successfully built b3fea4997071 08:04:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:04:50 + docker inspect -f . ci-base-image-arm64 08:04:50 . [Pipeline] withDockerContainer 08:04:50 prd-ubuntu20.04-docker-arm64-4c-16g-21576 does not seem to be running inside a container 08:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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:04:52 $ docker top 88886731bce0168d216202b734e3344347227f19ec2c18fc304ebca23457a929 -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:53 + go version 08:04:53 go version go1.17.6 linux/arm64 [Pipeline] } 08:04:53 $ docker stop --time=1 88886731bce0168d216202b734e3344347227f19ec2c18fc304ebca23457a929 08:04:55 $ docker rm -f 88886731bce0168d216202b734e3344347227f19ec2c18fc304ebca23457a929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:04:55 + docker inspect -f . ci-base-image-arm64 08:04:55 . [Pipeline] withDockerContainer 08:04:55 prd-ubuntu20.04-docker-arm64-4c-16g-21576 does not seem to be running inside a container 08:04:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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:04:57 $ docker top 8e2215310e8997e4fa97574aaefdc8cedbe68d7665a9fed9ac719707c90036b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:04:58 + make test 08:04:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:05:54 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:05:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.148s coverage: 86.2% of statements 08:05:54 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:05:57 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.697s coverage: 71.9% of statements 08:05:57 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:05:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:05:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:06:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:06:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:06:24 ./bin/test-attribution.sh [Pipeline] echo 08:06:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:06:25 $ docker stop --time=1 8e2215310e8997e4fa97574aaefdc8cedbe68d7665a9fed9ac719707c90036b9 08:06:26 $ docker rm -f 8e2215310e8997e4fa97574aaefdc8cedbe68d7665a9fed9ac719707c90036b9 [Pipeline] // withDockerContainer [Pipeline] sh 08:06:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:06:27 Warning: overwriting stash ‘coverage-report’ 08:06:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:06:28 + ls -al . 08:06:28 total 236 08:06:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 08:06 . 08:06:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 08:02 .. 08:06:28 -rw-rw-r-- 1 jenkins jenkins 262 Apr 21 08:02 .dockerignore 08:06:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 08:02 .git 08:06:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 08:02 .github 08:06:28 -rw-rw-r-- 1 jenkins jenkins 788 Apr 21 08:02 .gitignore 08:06:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 08:02 .golangci.yml 08:06:28 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 21 08:02 Attribution.txt 08:06:28 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 21 08:02 Dockerfile 08:06:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 08:02 GOVERNANCE.md 08:06:28 -rw-rw-r-- 1 jenkins jenkins 687 Apr 21 08:02 Jenkinsfile 08:06:28 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 21 08:02 LICENSE 08:06:28 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 21 08:02 Makefile 08:06:28 -rw-rw-r-- 1 jenkins jenkins 617 Apr 21 08:02 OWNERS.md 08:06:28 -rw-rw-r-- 1 jenkins jenkins 30039 Apr 21 08:02 README.md 08:06:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 07:59 VERSION 08:06:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 08:02 bin 08:06:28 -rw-r--r-- 1 jenkins jenkins 41008 Apr 21 08:05 coverage.out 08:06:28 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 21 08:02 go.mod 08:06:28 -rw-rw-r-- 1 jenkins jenkins 49621 Apr 21 08:02 go.sum 08:06:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 08:02 images 08:06:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 08:02 internal 08:06:28 -rw-rw-r-- 1 jenkins jenkins 531 Apr 21 08:02 main.go 08:06:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 08:02 res 08:06:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 08:02 snap 08:06:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 08:02 static [Pipeline] isUnix [Pipeline] sh 08:06:29 + 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=fc5047185756df0e6748037dc7ca14a3284c668e --label arch=arm64 --label version=0.0.0 . 08:06:29 Sending build context to Docker daemon 692.7kB 08:06:29 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:06:29 Step 2/31 : FROM ${BASE} AS builder 08:06:29 ---> b3fea4997071 08:06:29 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:06:29 ---> Running in aad08fe7abd7 08:06:30 Removing intermediate container aad08fe7abd7 08:06:30 ---> 1c4307ba75f6 08:06:30 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:06:30 ---> Running in 91e98d007baa 08:06:30 Removing intermediate container 91e98d007baa 08:06:30 ---> 2dcdbb429308 08:06:30 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:06:30 ---> Running in 80a3e6ec537e 08:06:31 Removing intermediate container 80a3e6ec537e 08:06:31 ---> d8b8c483e37a 08:06:31 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:06:31 ---> Running in e4b40fffd6e8 08:06:33 Removing intermediate container e4b40fffd6e8 08:06:33 ---> 72c3cd134e98 08:06:33 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:06:33 ---> Running in 8763bee53250 08:06:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:06:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:06:36 OK: 220 MiB in 52 packages 08:06:36 Removing intermediate container 8763bee53250 08:06:36 ---> 298c4762ee0d 08:06:36 Step 8/31 : WORKDIR /app 08:06:36 ---> Running in 54a3d3fae66e 08:06:37 Removing intermediate container 54a3d3fae66e 08:06:37 ---> 82c4899bb07c 08:06:37 Step 9/31 : COPY go.mod vendor* ./ 08:06:37 ---> 59255824c368 08:06:37 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:06:37 ---> Running in 48249198d5dd 08:06:39 Removing intermediate container 48249198d5dd 08:06:39 ---> 2663039d7032 08:06:39 Step 11/31 : COPY . . 08:06:40 ---> fb0b31d9d67b 08:06:40 Step 12/31 : ARG MAKE="make build" 08:06:40 ---> Running in 6ee62045f4e5 08:06:41 Removing intermediate container 6ee62045f4e5 08:06:41 ---> 95c5399f8b44 08:06:41 Step 13/31 : RUN $MAKE 08:06:41 ---> Running in 9d35d6d50722 08:06:42 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:07:29 Removing intermediate container 9d35d6d50722 08:07:29 ---> a3262cd7ffbe 08:07:29 Step 14/31 : FROM alpine:3.14 08:07:29 3.14: Pulling from library/alpine 08:07:29 455c02918c45: Pulling fs layer 08:07:29 455c02918c45: Verifying Checksum 08:07:29 455c02918c45: Download complete 08:07:30 455c02918c45: Pull complete 08:07:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:07:30 Status: Downloaded newer image for alpine:3.14 08:07:30 ---> ac73e934f311 08:07:30 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:07:30 ---> Running in 1568527dc925 08:07:30 Removing intermediate container 1568527dc925 08:07:30 ---> 5c83ce3c7bd2 08:07:30 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:07:30 ---> Running in 2dfa05a7a6ff 08:07:30 Removing intermediate container 2dfa05a7a6ff 08:07:30 ---> 4c33d9587e8e 08:07:30 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:07:30 ---> Running in d2eeac2f23e3 08:07:32 Removing intermediate container d2eeac2f23e3 08:07:32 ---> 3f491ce6a1ff 08:07:32 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:07:32 ---> Running in a1e4c3b25801 08:07:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:07:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:07:35 (1/6) Installing ca-certificates (20211220-r0) 08:07:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:07:35 (3/6) Installing libsodium (1.0.18-r0) 08:07:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:07:35 (5/6) Installing libzmq (4.3.4-r0) 08:07:36 (6/6) Installing zeromq (4.3.4-r0) 08:07:36 Executing busybox-1.33.1-r7.trigger 08:07:36 Executing ca-certificates-20211220-r0.trigger 08:07:36 OK: 9 MiB in 20 packages 08:07:37 Removing intermediate container a1e4c3b25801 08:07:37 ---> d57a721cfb00 08:07:37 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:07:37 ---> 4e9a62ce40d8 08:07:37 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:07:38 ---> ad9816b327f3 08:07:38 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:07:39 ---> 2fe758b88d1c 08:07:39 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:07:39 ---> 6b9bbef1f650 08:07:39 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:07:40 ---> b53bfb99001e 08:07:40 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:07:40 ---> Running in 3c5449eb6c65 08:07:42 Removing intermediate container 3c5449eb6c65 08:07:42 ---> 381ee9ead19a 08:07:42 Step 25/31 : VOLUME /cache 08:07:42 ---> Running in 4fb0ee589c28 08:07:42 Removing intermediate container 4fb0ee589c28 08:07:42 ---> 83943f6ff4d4 08:07:42 Step 26/31 : EXPOSE 59711 08:07:42 ---> Running in 0bdcab9e214c 08:07:43 Removing intermediate container 0bdcab9e214c 08:07:43 ---> 455bc1947956 08:07:43 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:07:43 ---> Running in 7b3b1a128c87 08:07:43 Removing intermediate container 7b3b1a128c87 08:07:43 ---> 2f80ada53b05 08:07:43 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:07:43 ---> Running in d006d80dc094 08:07:44 Removing intermediate container d006d80dc094 08:07:44 ---> 98dd02398b4c 08:07:44 Step 29/31 : LABEL arch=arm64 08:07:44 ---> Running in dede6aa4b26e 08:07:44 Removing intermediate container dede6aa4b26e 08:07:44 ---> 19e0d6d5c90b 08:07:44 Step 30/31 : LABEL git_sha=fc5047185756df0e6748037dc7ca14a3284c668e 08:07:44 ---> Running in cccd9141da5c 08:07:44 Removing intermediate container cccd9141da5c 08:07:44 ---> f9e3b67c83fe 08:07:44 Step 31/31 : LABEL version=0.0.0 08:07:44 ---> Running in 711656b381ae 08:07:45 Removing intermediate container 711656b381ae 08:07:45 ---> 13e847a4f5ca 08:07:45 [Warning] One or more build-args [ARCH] were not consumed 08:07:45 Successfully built 13e847a4f5ca 08:07:45 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:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:07:45 08:07:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:07:46 arm64: Pulling from edgex-lftools-log-publisher 08:07:46 8998bd30e6a1: Pulling fs layer 08:07:46 04944245beec: Pulling fs layer 08:07:46 699f458cf7ca: Pulling fs layer 08:07:46 765212b225bb: Pulling fs layer 08:07:46 f23df028b6ca: Pulling fs layer 08:07:46 d65c8cfc05b1: Pulling fs layer 08:07:46 2437ff75d9bd: Pulling fs layer 08:07:46 f23df028b6ca: Waiting 08:07:46 d65c8cfc05b1: Waiting 08:07:46 765212b225bb: Waiting 08:07:46 2437ff75d9bd: Waiting 08:07:46 04944245beec: Verifying Checksum 08:07:46 04944245beec: Download complete 08:07:46 765212b225bb: Verifying Checksum 08:07:46 765212b225bb: Download complete 08:07:46 f23df028b6ca: Verifying Checksum 08:07:46 f23df028b6ca: Download complete 08:07:46 d65c8cfc05b1: Verifying Checksum 08:07:46 d65c8cfc05b1: Download complete 08:07:46 699f458cf7ca: Verifying Checksum 08:07:46 699f458cf7ca: Download complete 08:07:46 8998bd30e6a1: Verifying Checksum 08:07:46 8998bd30e6a1: Download complete 08:07:49 2437ff75d9bd: Verifying Checksum 08:07:49 2437ff75d9bd: Download complete 08:07:50 8998bd30e6a1: Pull complete 08:07:51 04944245beec: Pull complete 08:07:52 699f458cf7ca: Pull complete 08:07:53 765212b225bb: Pull complete 08:07:54 f23df028b6ca: Pull complete 08:07:54 d65c8cfc05b1: Pull complete 08:08:09 2437ff75d9bd: Pull complete 08:08:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:08:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:08:09 prd-ubuntu20.04-docker-arm64-4c-16g-21576 does not seem to be running inside a container 08:08:09 $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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:08:12 $ docker top d485addeb806a4ef3c4e0245b120e71df5f111089430bf76703262ff3f881fa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:08:12 ---> job-cost.sh 08:08:12 lf-activate-venv: SKIPPING 08:08:12 INFO: No Stack... 08:08:13 INFO: Retrieving Pricing Info for: v3-standard-4 08:08:14 INFO: Archiving Costs [Pipeline] sh 08:08:14 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 08:08:14 + cut -d, -f6 [Pipeline] lock 08:08:14 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] 08:08:14 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] did not exist. Created. 08:08:14 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:08:15 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-18fa42a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:08:16 + echo total: 0.10999999940395355 [Pipeline] stash 08:08:16 Warning: overwriting stash ‘stack-cost’ 08:08:16 Stashed 1 file(s) [Pipeline] } 08:08:16 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:08:16 $ docker stop --time=1 d485addeb806a4ef3c4e0245b120e71df5f111089430bf76703262ff3f881fa9 08:08:17 $ docker rm -f d485addeb806a4ef3c4e0245b120e71df5f111089430bf76703262ff3f881fa9 [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:08:18 provisioning config files... 08:08:18 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config354969302204228155tmp [Pipeline] { [Pipeline] sh 08:08:18 + set +x 08:08:18 + curl -s https://codecov.io/bash 08:08:18 + bash -s -- 08:08:18 08:08:18 _____ _ 08:08:18 / ____| | | 08:08:18 | | ___ __| | ___ ___ _____ __ 08:08:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:08:18 | |___| (_) | (_| | __/ (_| (_) \ V / 08:08:18 \_____\___/ \__,_|\___|\___\___/ \_/ 08:08:18 Bash-1.0.6 08:08:18 08:08:18 08:08:18 ==> git version 2.25.1 found 08:08:18 ==> 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:08:18 Release-Date: 2020-01-08 08:08:18 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:08:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:08:18 ==> Jenkins CI detected. 08:08:18 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-65 08:08:18 project root: . 08:08:18 --> token set from env 08:08:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:08:18 ==> Running gcov in . (disable via -X gcov) 08:08:18 ==> Python coveragepy not found 08:08:18 ==> Searching for coverage reports in: 08:08:18 + . 08:08:18 -> Found 1 reports 08:08:18 ==> Detecting git/mercurial file structure 08:08:18 ==> Reading reports 08:08:18 + ./coverage.out bytes=41008 08:08:18 ==> Appending adjustments 08:08:18 https://docs.codecov.io/docs/fixing-reports 08:08:19 + Found adjustments 08:08:19 ==> Gzipping contents 08:08:19 12K /tmp/codecov.csWlDT.gz 08:08:19 ==> Uploading reports 08:08:19 url: https://codecov.io 08:08:19 query: branch=PR-65&commit=1d9b3749a2585be18980e4a263ff172a3b1113fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-65%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=65&job=&cmd_args= 08:08:19 -> Pinging Codecov 08:08:19 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=1d9b3749a2585be18980e4a263ff172a3b1113fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-65%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=65&job=&cmd_args= 08:08:19 -> Uploading to 08:08:19 https://storage.googleapis.com/codecov/v4/raw/2022-04-21/581DD39554BDF9B6E22D074273EAD858/1d9b3749a2585be18980e4a263ff172a3b1113fc/8c0a8909-8f1f-4a93-94f9-0b7a35e36700.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220421T080819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92f26d2802e309f44733638f135d33d8739125b1cc5ed2c1a22dff36aea36029 08:08:19 % Total % Received % Xferd Average Speed Time Time Time Current 08:08:19 Dload Upload Total Spent Left Speed 08:08:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11578 0 0 100 11578 0 53601 --:--:-- --:--:-- --:--:-- 53601 08:08:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/1d9b3749a2585be18980e4a263ff172a3b1113fc [Pipeline] } 08:08:19 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:08:20 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives ] 08:08:20 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:08:20 total 16 08:08:20 drwxr-xr-x 3 root root 4096 Apr 21 08:00 . 08:08:20 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 08:00 .. 08:08:20 drwxr-xr-x 2 root root 4096 Apr 21 08:00 cost 08:08:20 -rw-r--r-- 1 root root 93 Apr 21 08:00 cost.csv 08:08:20 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:08:20 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:08:20 total 16 08:08:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 08:00 . 08:08:20 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 08:00 .. 08:08:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 08:00 cost 08:08:20 -rw-r--r-- 1 jenkins jenkins 93 Apr 21 08:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:08:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:08:21 ---> package-listing.sh 08:08:21 ++ facter osfamily 08:08:21 ++ tr '[:upper:]' '[:lower:]' 08:08:21 + OS_FAMILY=debian 08:08:21 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-65 08:08:21 + START_PACKAGES=/tmp/packages_start.txt 08:08:21 + END_PACKAGES=/tmp/packages_end.txt 08:08:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:08:21 + PACKAGES=/tmp/packages_start.txt 08:08:21 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-65 ']' 08:08:21 + PACKAGES=/tmp/packages_end.txt 08:08:21 + case "${OS_FAMILY}" in 08:08:21 + dpkg -l 08:08:21 + grep '^ii' 08:08:21 + '[' -f /tmp/packages_start.txt ']' 08:08:21 + '[' -f /tmp/packages_end.txt ']' 08:08:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:08:21 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-65 ']' 08:08:21 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives/ 08:08:21 + 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:08:21 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:08:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:08:22 . [Pipeline] withDockerContainer 08:08:22 prd-ubuntu20.04-docker-8c-8g-21574 does not seem to be running inside a container 08:08:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:08:22 $ docker top 37e8ae8812be77d0f691f4356eab2e546a10c3799c0358d4764f2b7690c6fd51 -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:23 + touch /tmp/pre-build-complete [Pipeline] sh 08:08:23 + mkdir -p /var/log/sysstat [Pipeline] sh 08:08:23 + ls /var/log/sa-host 08:08:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:08:23 provisioning config files... 08:08:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config7626882436592253163tmp [Pipeline] { [Pipeline] echo 08:08:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:08:24 ---> create-netrc.sh [Pipeline] } 08:08:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:08:24 ---> python-tools-install.sh [Pipeline] echo 08:08:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:08:24 ---> sudo-logs.sh 08:08:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:08:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:08:25 ---> job-cost.sh 08:08:25 lf-activate-venv: SKIPPING 08:08:25 DEBUG: total: 0.2199999988079071 08:08:25 INFO: Retrieving Stack Cost... 08:08:25 INFO: Retrieving Pricing Info for: v3-standard-8 08:08:25 INFO: Archiving Costs [Pipeline] echo 08:08:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:08:26 ---> logs-deploy.sh 08:08:26 lf-activate-venv: SKIPPING 08:08:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-65/2 08:08:26 INFO: archiving workspace using pattern(s): 08:08:27 Archives upload complete. 08:08:27 INFO: archiving logs to Nexus