Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a00f466457d09e0dac64c715bdd5dd92404c416+3238fc2d0ace65e1c621b12a7e75f28d928cef37 (1f5b231722d40e6bf89d2d733410cba1c8826de2) 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-ssh4692893065436861805.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-ssh1411051531760815397.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-ssh14147478217306744832.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-ssh4768499124596137921.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-ssh503547927515021301.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-23579 in /w/workspace/ry_app-rfid-llrp-inventory_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/ry_app-rfid-llrp-inventory_PR-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3238fc2d0ace65e1c621b12a7e75f28d928cef37 into PR head commit 7a00f466457d09e0dac64c715bdd5dd92404c416 Merge succeeded, producing d56cdea12403ef2631cca7611563552dbeb8b4a4 Checking out Revision d56cdea12403ef2631cca7611563552dbeb8b4a4 (PR-65) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a00f466457d09e0dac64c715bdd5dd92404c416 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3238fc2d0ace65e1c621b12a7e75f28d928cef37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d56cdea12403ef2631cca7611563552dbeb8b4a4 # timeout=10 Commit message: "Merge commit '3238fc2d0ace65e1c621b12a7e75f28d928cef37' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 75a8bc6a149f3078f6870fa834d0b94c9897a4f6 # timeout=10 [Pipeline] timeout 07:59:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:59:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:59:23 ========================================================= 07:59:23 EdgeX Global Pipelines Version Info 07:59:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:59:24 ------------------- 07:59:24 stable info: 07:59:24 ------------------- 07:59:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:24 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:59:24 Message: update stable to v1.0.221 07:59:24 ------------------- 07:59:24 experimental info: 07:59:24 ------------------- 07:59:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:59:24 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 07:59:24 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d56cdea12403ef2631cca7611563552dbeb8b4a4 [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d56cdea [Pipeline] echo 07:59:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:25 provisioning config files... 07:59:25 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config7210662691001304751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:25 ---> docker-login.sh 07:59:25 nexus3.edgexfoundry.org:10001 07:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:26 Configure a credential helper to remove this warning. See 07:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:26 07:59:26 Login Succeeded 07:59:26 nexus3.edgexfoundry.org:10002 07:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:26 Configure a credential helper to remove this warning. See 07:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:26 07:59:26 Login Succeeded 07:59:26 nexus3.edgexfoundry.org:10003 07:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:26 Configure a credential helper to remove this warning. See 07:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:26 07:59:26 Login Succeeded 07:59:26 nexus3.edgexfoundry.org:10004 07:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:26 Configure a credential helper to remove this warning. See 07:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:26 07:59:26 Login Succeeded 07:59:26 docker.io 07:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:26 Configure a credential helper to remove this warning. See 07:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:26 07:59:26 Login Succeeded 07:59:27 ---> docker-login.sh ends [Pipeline] } 07:59:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:59:27 + git rev-list -1 --merges d56cdea12403ef2631cca7611563552dbeb8b4a4~1..d56cdea12403ef2631cca7611563552dbeb8b4a4 [Pipeline] echo 07:59:27 -----------> git rev-list -1 --merges d56cdea12403ef2631cca7611563552dbeb8b4a4~1..d56cdea12403ef2631cca7611563552dbeb8b4a4 d56cdea12403ef2631cca7611563552dbeb8b4a4 07:59:27 d56cdea12403ef2631cca7611563552dbeb8b4a4 [false] [Pipeline] sh 07:59:27 + git log --format=format:%s -1 d56cdea12403ef2631cca7611563552dbeb8b4a4 [Pipeline] echo 07:59:27 ========================================================= 07:59:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:59:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:59:28 + git log --format=format:%s -1 d56cdea12403ef2631cca7611563552dbeb8b4a4 [Pipeline] echo 07:59:28 [semverPrep] GIT_COMMIT: d56cdea12403ef2631cca7611563552dbeb8b4a4, Commit Message: Merge commit '3238fc2d0ace65e1c621b12a7e75f28d928cef37' into HEAD [Pipeline] echo 07:59:28 [semverPrep] This is not a build commit. [Pipeline] sh 07:59:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:59:28 + grep -v github /etc/ssh/ssh_known_hosts 07:59:28 + [ -e /tmp/ssh_known_hosts ] 07:59:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:59:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:59:28 + sudo tee -a /etc/ssh/ssh_known_hosts 07:59:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:59:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:29 07:59:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:59:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:29 latest: Pulling from edgex-devops/git-semver 07:59:29 a0d0a0d46f8b: Pulling fs layer 07:59:29 3e5f54012d9b: Pulling fs layer 07:59:29 4c7163046ea9: Pulling fs layer 07:59:29 0c2d73faf560: Pulling fs layer 07:59:29 0c2d73faf560: Waiting 07:59:29 3e5f54012d9b: Download complete 07:59:29 a0d0a0d46f8b: Verifying Checksum 07:59:29 a0d0a0d46f8b: Download complete 07:59:29 0c2d73faf560: Verifying Checksum 07:59:29 0c2d73faf560: Download complete 07:59:29 4c7163046ea9: Verifying Checksum 07:59:29 4c7163046ea9: Download complete 07:59:29 a0d0a0d46f8b: Pull complete 07:59:29 3e5f54012d9b: Pull complete 07:59:30 4c7163046ea9: Pull complete 07:59:30 0c2d73faf560: Pull complete 07:59:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:59:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:59:30 prd-ubuntu20.04-docker-8c-8g-23579 does not seem to be running inside a container 07:59:30 $ 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:31 $ docker top 0f973f7716554650c88d48555cc229e2700292543ab61f3f2bdc9af7e3e9a770 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:59:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:31 [ssh-agent] Looking for ssh-agent implementation... 07:59:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:31 $ docker exec 0f973f7716554650c88d48555cc229e2700292543ab61f3f2bdc9af7e3e9a770 ssh-agent 07:59:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbfjimk/agent.14 07:59:31 SSH_AGENT_PID=20 07:59:31 Running ssh-add (command line suppressed) 07:59:31 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_5297457297290033541.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_5297457297290033541.key) 07:59:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:31 + git tag --points-at HEAD [Pipeline] } 07:59:31 $ docker exec --env ******** --env ******** 0f973f7716554650c88d48555cc229e2700292543ab61f3f2bdc9af7e3e9a770 ssh-agent -k 07:59:32 unset SSH_AUTH_SOCK; 07:59:32 unset SSH_AGENT_PID; 07:59:32 echo Agent pid 20 killed; 07:59:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:59:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:32 [ssh-agent] Looking for ssh-agent implementation... 07:59:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:32 $ docker exec 0f973f7716554650c88d48555cc229e2700292543ab61f3f2bdc9af7e3e9a770 ssh-agent 07:59:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGLKNog/agent.55 07:59:32 SSH_AGENT_PID=61 07:59:32 Running ssh-add (command line suppressed) 07:59:32 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_4839897308846448154.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/private_key_4839897308846448154.key) 07:59:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:32 + git semver init 07:59:32 # -> Open(): unable to determine branch for HEAD 07:59:32 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-65/.git 07:59:32 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-65 07:59:32 # $SEMVER_REMOTE_NAME = origin 07:59:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:59:32 # $SEMVER_USER_NAME = edgex-jenkins 07:59:32 # $SEMVER_BRANCH = PR-65 07:59:32 # $SEMVER_TEMP = /tmp/semver-953162405 07:59:32 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 07:59:34 # '/tmp/semver-953162405' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-65/.semver' 07:59:34 # -> Force: false 07:59:34 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-65/.semver [Pipeline] } 07:59:34 $ docker exec --env ******** --env ******** 0f973f7716554650c88d48555cc229e2700292543ab61f3f2bdc9af7e3e9a770 ssh-agent -k 07:59:34 unset SSH_AUTH_SOCK; 07:59:34 unset SSH_AGENT_PID; 07:59:34 echo Agent pid 61 killed; 07:59:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:59:34 + git semver [Pipeline] } 07:59:34 $ docker stop --time=1 0f973f7716554650c88d48555cc229e2700292543ab61f3f2bdc9af7e3e9a770 07:59:36 $ docker rm -f 0f973f7716554650c88d48555cc229e2700292543ab61f3f2bdc9af7e3e9a770 [Pipeline] // withDockerContainer [Pipeline] sh 07:59:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:59:36 Stashed 1 file(s) [Pipeline] echo 07:59:36 [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:36 provisioning config files... 07:59:36 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config9061696993779655679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:37 ---> docker-login.sh 07:59:37 nexus3.edgexfoundry.org:10001 07:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:37 Configure a credential helper to remove this warning. See 07:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:37 07:59:37 Login Succeeded 07:59:37 nexus3.edgexfoundry.org:10002 07:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:37 Configure a credential helper to remove this warning. See 07:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:37 07:59:37 Login Succeeded 07:59:37 nexus3.edgexfoundry.org:10003 07:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:37 Configure a credential helper to remove this warning. See 07:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:37 07:59:37 Login Succeeded 07:59:37 nexus3.edgexfoundry.org:10004 07:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:37 Configure a credential helper to remove this warning. See 07:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:37 07:59:37 Login Succeeded 07:59:37 docker.io 07:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:37 Configure a credential helper to remove this warning. See 07:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:37 07:59:37 Login Succeeded 07:59:37 ---> docker-login.sh ends [Pipeline] } 07:59:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:59:38 ========================================================= 07:59:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:59:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:59:38 + 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:38 Sending build context to Docker daemon 10.04MB 07:59:38 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:59:38 Step 2/13 : FROM ${BASE} AS builder 07:59:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:59:38 59bf1c3509f3: Pulling fs layer 07:59:38 666ba61612fd: Pulling fs layer 07:59:38 8ed8ca486205: Pulling fs layer 07:59:38 4fe6c5a15a65: Pulling fs layer 07:59:38 22a0e8bec74d: Pulling fs layer 07:59:38 ca2b28591e48: Pulling fs layer 07:59:38 a51346096db8: Pulling fs layer 07:59:38 daebc70d1ce1: Pulling fs layer 07:59:38 0e18a0eac166: Pulling fs layer 07:59:38 4fe6c5a15a65: Waiting 07:59:38 22a0e8bec74d: Waiting 07:59:38 a51346096db8: Waiting 07:59:38 daebc70d1ce1: Waiting 07:59:38 0e18a0eac166: Waiting 07:59:38 8ed8ca486205: Download complete 07:59:38 22a0e8bec74d: Verifying Checksum 07:59:38 22a0e8bec74d: Download complete 07:59:38 ca2b28591e48: Verifying Checksum 07:59:38 ca2b28591e48: Download complete 07:59:38 59bf1c3509f3: Verifying Checksum 07:59:38 59bf1c3509f3: Download complete 07:59:38 a51346096db8: Verifying Checksum 07:59:38 a51346096db8: Download complete 07:59:38 daebc70d1ce1: Verifying Checksum 07:59:38 daebc70d1ce1: Download complete 07:59:38 59bf1c3509f3: Pull complete 07:59:38 666ba61612fd: Pull complete 07:59:38 8ed8ca486205: Pull complete 07:59:39 0e18a0eac166: Verifying Checksum 07:59:39 0e18a0eac166: Download complete 07:59:39 4fe6c5a15a65: Verifying Checksum 07:59:39 4fe6c5a15a65: Download complete 07:59:43 4fe6c5a15a65: Pull complete 07:59:43 22a0e8bec74d: Pull complete 07:59:43 ca2b28591e48: Pull complete 07:59:43 a51346096db8: Pull complete 07:59:43 daebc70d1ce1: Pull complete 07:59:45 0e18a0eac166: Pull complete 07:59:45 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 07:59:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:59:45 ---> f018257e8ee9 07:59:45 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 07:59:47 ---> Running in 61ad8878095d 07:59:47 Removing intermediate container 61ad8878095d 07:59:47 ---> 15a204ecc3cc 07:59:47 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 07:59:47 ---> Running in bea8d29d232a 07:59:47 Removing intermediate container bea8d29d232a 07:59:47 ---> 3cb688ecc5bc 07:59:47 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:59:47 ---> Running in 731bf41cacec 07:59:47 Removing intermediate container 731bf41cacec 07:59:47 ---> 747848104258 07:59:47 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:59:47 ---> Running in d74c3cca8e4e 07:59:48 Removing intermediate container d74c3cca8e4e 07:59:48 ---> 1804429a82a1 07:59:48 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:59:48 ---> Running in 951ad6ac5df3 07:59:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:59:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:59:49 OK: 221 MiB in 52 packages 07:59:49 Removing intermediate container 951ad6ac5df3 07:59:49 ---> dfc176785de6 07:59:49 Step 8/13 : WORKDIR /app 07:59:50 ---> Running in fb35391615d7 07:59:50 Removing intermediate container fb35391615d7 07:59:50 ---> 35bb0c58c571 07:59:50 Step 9/13 : COPY go.mod vendor* ./ 07:59:50 ---> 434eb5433cd4 07:59:50 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:59:50 ---> Running in 0ab11a91f7cf 07:59:51 Still waiting to schedule task 07:59:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23580’ is offline 08:00:12 Removing intermediate container 0ab11a91f7cf 08:00:12 ---> 88d118be694d 08:00:12 Step 11/13 : COPY . . 08:00:12 ---> 8f4cfaa96ea0 08:00:12 Step 12/13 : ARG MAKE="make build" 08:00:12 ---> Running in 31531b1a3373 08:00:12 Removing intermediate container 31531b1a3373 08:00:12 ---> 173a83fcf228 08:00:12 Step 13/13 : RUN $MAKE 08:00:12 ---> Running in 42b67c022bf4 08:00:12 noop 08:00:12 Removing intermediate container 42b67c022bf4 08:00:12 ---> d04cc7340a09 08:00:12 Successfully built d04cc7340a09 08:00:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:00:12 + docker inspect -f . ci-base-image-x86_64 08:00:12 . [Pipeline] withDockerContainer 08:00:12 prd-ubuntu20.04-docker-8c-8g-23579 does not seem to be running inside a container 08:00:12 $ 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 08:00:13 $ docker top 0a2317fb69d968915c24afc2fb8f6288ce340dce35359fc3e8801c840a6393b0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:13 + go version 08:00:13 go version go1.17.6 linux/amd64 [Pipeline] } 08:00:13 $ docker stop --time=1 0a2317fb69d968915c24afc2fb8f6288ce340dce35359fc3e8801c840a6393b0 08:00:14 $ docker rm -f 0a2317fb69d968915c24afc2fb8f6288ce340dce35359fc3e8801c840a6393b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:00:15 + docker inspect -f . ci-base-image-x86_64 08:00:15 . [Pipeline] withDockerContainer 08:00:15 prd-ubuntu20.04-docker-8c-8g-23579 does not seem to be running inside a container 08:00:15 $ 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 08:00:15 $ docker top c58e07ef93fc3f4f0c9e69a928075c84e2a3923961a7e925f4636103a97e873e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:00:16 + make test 08:00:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:00:22 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:00:22 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.027s coverage: 86.2% of statements 08:00:22 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:00:25 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.542s coverage: 71.9% of statements 08:00:25 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:00:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:00:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:00:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:00:33 ./bin/test-attribution.sh [Pipeline] echo 08:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:00:33 $ docker stop --time=1 c58e07ef93fc3f4f0c9e69a928075c84e2a3923961a7e925f4636103a97e873e 08:00:35 $ docker rm -f c58e07ef93fc3f4f0c9e69a928075c84e2a3923961a7e925f4636103a97e873e [Pipeline] // withDockerContainer [Pipeline] sh 08:00:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:00:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:36 + ls -al . 08:00:36 total 240 08:00:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 08:00 . 08:00:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 07:59 .. 08:00:36 -rw-rw-r-- 1 jenkins jenkins 262 Apr 26 07:59 .dockerignore 08:00:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 07:59 .git 08:00:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 07:59 .github 08:00:36 -rw-rw-r-- 1 jenkins jenkins 788 Apr 26 07:59 .gitignore 08:00:36 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 07:59 .golangci.yml 08:00:36 drwx------ 3 jenkins jenkins 4096 Apr 26 07:59 .semver 08:00:36 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 26 07:59 Attribution.txt 08:00:36 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 26 07:59 Dockerfile 08:00:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 07:59 GOVERNANCE.md 08:00:36 -rw-rw-r-- 1 jenkins jenkins 687 Apr 26 07:59 Jenkinsfile 08:00:36 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 26 07:59 LICENSE 08:00:36 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 26 07:59 Makefile 08:00:36 -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 07:59 OWNERS.md 08:00:36 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 26 07:59 README.md 08:00:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 07:59 VERSION 08:00:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 07:59 bin 08:00:36 -rw-r--r-- 1 jenkins jenkins 41008 Apr 26 08:00 coverage.out 08:00:36 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 26 07:59 go.mod 08:00:36 -rw-rw-r-- 1 jenkins jenkins 49621 Apr 26 07:59 go.sum 08:00:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 07:59 images 08:00:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 07:59 internal 08:00:36 -rw-rw-r-- 1 jenkins jenkins 531 Apr 26 07:59 main.go 08:00:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 07:59 res 08:00:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 07:59 snap 08:00:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 07:59 static [Pipeline] isUnix [Pipeline] sh 08:00:37 + 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=d56cdea12403ef2631cca7611563552dbeb8b4a4 --label arch=amd64 --label version=0.0.0 . 08:00:37 Sending build context to Docker daemon 10.04MB 08:00:37 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:00:37 Step 2/31 : FROM ${BASE} AS builder 08:00:37 ---> d04cc7340a09 08:00:37 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:00:37 ---> Running in f5df91eb743a 08:00:37 Removing intermediate container f5df91eb743a 08:00:37 ---> a4039a7f8578 08:00:37 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:00:37 ---> Running in 10ac1c153dfe 08:00:37 Removing intermediate container 10ac1c153dfe 08:00:37 ---> dc1b5e58cdf6 08:00:37 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:37 ---> Running in acd4af72685a 08:00:37 Removing intermediate container acd4af72685a 08:00:37 ---> a4798aee610b 08:00:37 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:37 ---> Running in 3e41899bf61d 08:00:38 Removing intermediate container 3e41899bf61d 08:00:38 ---> 201602c5bf2a 08:00:38 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:00:38 ---> Running in 43bed41939fd 08:00:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:00:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:00:39 OK: 221 MiB in 52 packages 08:00:39 Removing intermediate container 43bed41939fd 08:00:39 ---> f273a16c1ebe 08:00:39 Step 8/31 : WORKDIR /app 08:00:39 ---> Running in 24f74f15c11a 08:00:39 Removing intermediate container 24f74f15c11a 08:00:39 ---> 36dde027b4da 08:00:39 Step 9/31 : COPY go.mod vendor* ./ 08:00:40 ---> 6eb2c16cd467 08:00:40 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:40 ---> Running in 5487c846615e 08:00:40 Removing intermediate container 5487c846615e 08:00:40 ---> 9e60b0a60f17 08:00:40 Step 11/31 : COPY . . 08:00:40 ---> 8ec0a9646a3a 08:00:40 Step 12/31 : ARG MAKE="make build" 08:00:40 ---> Running in e73481fe207f 08:00:40 Removing intermediate container e73481fe207f 08:00:40 ---> 1e57ffd8cbde 08:00:40 Step 13/31 : RUN $MAKE 08:00:40 ---> Running in 97bf0d8192a5 08:00:41 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:49 Removing intermediate container 97bf0d8192a5 08:00:49 ---> 25202febdf49 08:00:49 Step 14/31 : FROM alpine:3.14 08:00:49 3.14: Pulling from library/alpine 08:00:49 8663204ce13b: Pulling fs layer 08:00:49 8663204ce13b: Verifying Checksum 08:00:49 8663204ce13b: Download complete 08:00:49 8663204ce13b: Pull complete 08:00:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:00:49 Status: Downloaded newer image for alpine:3.14 08:00:49 ---> e04c818066af 08:00:49 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:49 ---> Running in 8b29317856f9 08:00:49 Removing intermediate container 8b29317856f9 08:00:49 ---> 69445509f6f6 08:00:49 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:00:49 ---> Running in 9d60a431d550 08:00:49 Removing intermediate container 9d60a431d550 08:00:49 ---> ef0215025658 08:00:49 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:50 ---> Running in 4555464ec809 08:00:50 Removing intermediate container 4555464ec809 08:00:50 ---> 59229e000ec7 08:00:50 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:00:50 ---> Running in c1eb96d0951e 08:00:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:00:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:00:52 (1/6) Installing ca-certificates (20211220-r0) 08:00:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:00:52 (3/6) Installing libsodium (1.0.18-r0) 08:00:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:00:52 (5/6) Installing libzmq (4.3.4-r0) 08:00:52 (6/6) Installing zeromq (4.3.4-r0) 08:00:52 Executing busybox-1.33.1-r7.trigger 08:00:52 Executing ca-certificates-20211220-r0.trigger 08:00:52 OK: 9 MiB in 20 packages 08:00:53 Removing intermediate container c1eb96d0951e 08:00:53 ---> 631f7107fed9 08:00:53 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:00:53 ---> 8c455990837c 08:00:53 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:00:53 ---> 8d47f6d720de 08:00:53 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:00:53 ---> f56ad6b086d5 08:00:53 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:00:53 ---> 315b478aebe1 08:00:53 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:00:54 ---> f8b85cd99532 08:00:54 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:00:54 ---> Running in 67f12f0553d9 08:00:54 Removing intermediate container 67f12f0553d9 08:00:54 ---> 648186c4e9cd 08:00:54 Step 25/31 : VOLUME /cache 08:00:54 ---> Running in f1677662f5f9 08:00:54 Removing intermediate container f1677662f5f9 08:00:54 ---> 9a4def8d11bd 08:00:54 Step 26/31 : EXPOSE 59711 08:00:54 ---> Running in 024ea0bcbfd0 08:00:55 Removing intermediate container 024ea0bcbfd0 08:00:55 ---> 791aa1336ba7 08:00:55 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:00:55 ---> Running in c47dc2e4f6bd 08:00:55 Removing intermediate container c47dc2e4f6bd 08:00:55 ---> dda48023c9fc 08:00:55 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:00:55 ---> Running in be09718a0e9c 08:00:55 Removing intermediate container be09718a0e9c 08:00:55 ---> 1017ce38f766 08:00:55 Step 29/31 : LABEL arch=amd64 08:00:55 ---> Running in 0fa57a350ea9 08:00:55 Removing intermediate container 0fa57a350ea9 08:00:55 ---> beb9fa5ba4d1 08:00:55 Step 30/31 : LABEL git_sha=d56cdea12403ef2631cca7611563552dbeb8b4a4 08:00:55 ---> Running in b13671b57b06 08:00:55 Removing intermediate container b13671b57b06 08:00:55 ---> d7579baaa024 08:00:55 Step 31/31 : LABEL version=0.0.0 08:00:55 ---> Running in 539f250505f9 08:00:55 Removing intermediate container 539f250505f9 08:00:55 ---> e9a80d17dfe0 08:00:55 [Warning] One or more build-args [ARCH] were not consumed 08:00:55 Successfully built e9a80d17dfe0 08:00:55 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:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:56 08:00:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:00:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:56 latest: Pulling from edgex-lftools-log-publisher 08:00:56 5eb5b503b376: Pulling fs layer 08:00:56 5c69ac0246d0: Pulling fs layer 08:00:56 ec43610c2a17: Pulling fs layer 08:00:56 3a2ae6a8a46f: Pulling fs layer 08:00:56 33b1e0a273af: Pulling fs layer 08:00:56 5d3b04190fa2: Pulling fs layer 08:00:56 2f39f015ded8: Pulling fs layer 08:00:56 3a2ae6a8a46f: Waiting 08:00:56 33b1e0a273af: Waiting 08:00:56 5d3b04190fa2: Waiting 08:00:56 2f39f015ded8: Waiting 08:00:56 5c69ac0246d0: Verifying Checksum 08:00:56 5c69ac0246d0: Download complete 08:00:56 3a2ae6a8a46f: Verifying Checksum 08:00:56 3a2ae6a8a46f: Download complete 08:00:56 33b1e0a273af: Verifying Checksum 08:00:56 33b1e0a273af: Download complete 08:00:56 5d3b04190fa2: Download complete 08:00:56 ec43610c2a17: Verifying Checksum 08:00:56 ec43610c2a17: Download complete 08:00:56 5eb5b503b376: Download complete 08:00:57 2f39f015ded8: Download complete 08:00:57 5eb5b503b376: Pull complete 08:00:57 5c69ac0246d0: Pull complete 08:00:58 ec43610c2a17: Pull complete 08:00:58 3a2ae6a8a46f: Pull complete 08:00:58 33b1e0a273af: Pull complete 08:00:58 5d3b04190fa2: Pull complete 08:01:02 2f39f015ded8: Pull complete 08:01:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:01:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:01:02 prd-ubuntu20.04-docker-8c-8g-23579 does not seem to be running inside a container 08:01:02 $ 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:01:04 $ docker top d3ad5a247abe07eda2ec8dadaf9350148a1e0558f192a9c81a654ff03e6d5a1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:04 ---> job-cost.sh 08:01:04 lf-activate-venv: SKIPPING 08:01:04 INFO: No Stack... 08:01:05 INFO: Retrieving Pricing Info for: v3-standard-8 08:01:05 INFO: Archiving Costs [Pipeline] sh 08:01:05 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives/cost.csv 08:01:05 + cut -d, -f6 [Pipeline] lock 08:01:05 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] 08:01:05 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] did not exist. Created. 08:01:05 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:01:06 + echo total: 0.2199999988079071 [Pipeline] stash 08:01:06 Stashed 1 file(s) [Pipeline] } 08:01:06 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:01:06 $ docker stop --time=1 d3ad5a247abe07eda2ec8dadaf9350148a1e0558f192a9c81a654ff03e6d5a1c 08:01:07 $ docker rm -f d3ad5a247abe07eda2ec8dadaf9350148a1e0558f192a9c81a654ff03e6d5a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:02:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23581 in /w/workspace/ry_app-rfid-llrp-inventory_PR-65 [Pipeline] { [Pipeline] ws 08:02:26 Running in /w/workspace/app-rfid-llrp-inventory/4 [Pipeline] { [Pipeline] checkout 08:02:26 The recommended git tool is: git 08:02:33 using credential edgex-jenkins-ssh 08:02:33 Cloning the remote Git repository 08:02:33 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:02:33 > git init /w/workspace/app-rfid-llrp-inventory/4 # timeout=10 08:02:33 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:02:33 > git --version # timeout=10 08:02:33 > git --version # 'git version 2.25.1' 08:02:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:02:35 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:02:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:02:35 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:02:35 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:02:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:35 > 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:36 Merging remotes/origin/main commit 3238fc2d0ace65e1c621b12a7e75f28d928cef37 into PR head commit 7a00f466457d09e0dac64c715bdd5dd92404c416 08:02:36 Merge succeeded, producing 03aa5f6e539b67fb221d863e6724579a33073df1 08:02:36 Checking out Revision 03aa5f6e539b67fb221d863e6724579a33073df1 (PR-65) 08:02:36 > git config core.sparsecheckout # timeout=10 08:02:36 > git checkout -f 7a00f466457d09e0dac64c715bdd5dd92404c416 # timeout=10 08:02:36 > git remote # timeout=10 08:02:36 > git config --get remote.origin.url # timeout=10 08:02:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:02:36 > git merge 3238fc2d0ace65e1c621b12a7e75f28d928cef37 # timeout=10 08:02:36 > git rev-parse HEAD^{commit} # timeout=10 08:02:36 > git config core.sparsecheckout # timeout=10 08:02:36 > git checkout -f 03aa5f6e539b67fb221d863e6724579a33073df1 # timeout=10 08:02:40 Commit message: "Merge commit '3238fc2d0ace65e1c621b12a7e75f28d928cef37' into HEAD" 08:02:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:02:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:02:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:02:41 Dload Upload Total Spent Left Speed 08:02:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k 08:02:40 > git rev-list --no-walk 75a8bc6a149f3078f6870fa834d0b94c9897a4f6 # timeout=10 [Pipeline] sh 08:02:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:02:42 + sudo tee /etc/docker/daemon.new 08:02:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:02:42 { 08:02:42 "registry-mirrors": [ 08:02:42 "https://nexus3.edgexfoundry.org:10001" 08:02:42 ], 08:02:42 "bip": "10.250.0.254/24", 08:02:42 "hosts": [ 08:02:42 "tcp://0.0.0.0:5555", 08:02:42 "unix:///var/run/docker.sock" 08:02:42 ], 08:02:42 "mtu": 1458, 08:02:42 "selinux-enabled": true, 08:02:42 "seccomp-profile": "/etc/docker/seccomp.json" 08:02:42 } [Pipeline] sh 08:02:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:02:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:03:01 provisioning config files... 08:03:01 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/4@tmp/config5494865831463719013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:02 ---> docker-login.sh 08:03:02 nexus3.edgexfoundry.org:10001 08:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:03 Configure a credential helper to remove this warning. See 08:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:03 08:03:03 Login Succeeded 08:03:03 nexus3.edgexfoundry.org:10002 08:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:03 Configure a credential helper to remove this warning. See 08:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:03 08:03:03 Login Succeeded 08:03:03 nexus3.edgexfoundry.org:10003 08:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:04 Configure a credential helper to remove this warning. See 08:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:04 08:03:04 Login Succeeded 08:03:04 nexus3.edgexfoundry.org:10004 08:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:04 Configure a credential helper to remove this warning. See 08:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:04 08:03:04 Login Succeeded 08:03:04 docker.io 08:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:05 Configure a credential helper to remove this warning. See 08:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:05 08:03:05 Login Succeeded 08:03:05 ---> docker-login.sh ends [Pipeline] } 08:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:03:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:03:05 ========================================================= 08:03:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:03:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:03:06 + 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:03:06 Sending build context to Docker daemon 693.2kB 08:03:06 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:03:06 Step 2/13 : FROM ${BASE} AS builder 08:03:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:03:06 9b3977197b4f: Pulling fs layer 08:03:06 1a89e8eeedd5: Pulling fs layer 08:03:06 94645a83ff95: Pulling fs layer 08:03:06 3f3a8bcf1eab: Pulling fs layer 08:03:06 0c92f367c5e7: Pulling fs layer 08:03:06 3096ccb668a1: Pulling fs layer 08:03:06 e8cf19c19ddd: Pulling fs layer 08:03:06 a4caa8a26152: Pulling fs layer 08:03:06 3096ccb668a1: Waiting 08:03:06 e8cf19c19ddd: Waiting 08:03:06 a4caa8a26152: Waiting 08:03:06 0c92f367c5e7: Waiting 08:03:06 3f3a8bcf1eab: Waiting 08:03:06 94645a83ff95: Verifying Checksum 08:03:06 94645a83ff95: Download complete 08:03:06 1a89e8eeedd5: Verifying Checksum 08:03:06 1a89e8eeedd5: Download complete 08:03:06 0c92f367c5e7: Verifying Checksum 08:03:06 0c92f367c5e7: Download complete 08:03:06 3096ccb668a1: Verifying Checksum 08:03:06 3096ccb668a1: Download complete 08:03:06 9b3977197b4f: Verifying Checksum 08:03:06 9b3977197b4f: Download complete 08:03:06 e8cf19c19ddd: Verifying Checksum 08:03:06 e8cf19c19ddd: Download complete 08:03:07 9b3977197b4f: Pull complete 08:03:08 1a89e8eeedd5: Pull complete 08:03:08 94645a83ff95: Pull complete 08:03:08 a4caa8a26152: Verifying Checksum 08:03:08 a4caa8a26152: Download complete 08:03:09 3f3a8bcf1eab: Verifying Checksum 08:03:09 3f3a8bcf1eab: Download complete 08:03:22 3f3a8bcf1eab: Pull complete 08:03:22 0c92f367c5e7: Pull complete 08:03:22 3096ccb668a1: Pull complete 08:03:22 e8cf19c19ddd: Pull complete 08:03:29 a4caa8a26152: Pull complete 08:03:29 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:03:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:03:29 ---> 725f1c02e7f9 08:03:29 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:03:29 ---> Running in 28f4788369f6 08:03:29 Removing intermediate container 28f4788369f6 08:03:29 ---> 89de1b9b2410 08:03:29 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:03:29 ---> Running in 37702fdd6823 08:03:29 Removing intermediate container 37702fdd6823 08:03:29 ---> 4addc17b71da 08:03:29 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:03:29 ---> Running in 5952e5af54b8 08:03:30 Removing intermediate container 5952e5af54b8 08:03:30 ---> 82ba7adfa1d1 08:03:30 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:03:30 ---> Running in 570e6a59e930 08:03:32 Removing intermediate container 570e6a59e930 08:03:32 ---> d73db9f631ec 08:03:32 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:03:32 ---> Running in 9b78fe6763b1 08:03:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:03:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:03:36 OK: 220 MiB in 52 packages 08:03:37 Removing intermediate container 9b78fe6763b1 08:03:37 ---> 12aef6b66bf5 08:03:37 Step 8/13 : WORKDIR /app 08:03:37 ---> Running in a983bd2b4156 08:03:37 Removing intermediate container a983bd2b4156 08:03:37 ---> ca0f29812fcc 08:03:37 Step 9/13 : COPY go.mod vendor* ./ 08:03:38 ---> 307d75e47670 08:03:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:03:38 ---> Running in 7f226d33b515 08:05:00 Removing intermediate container 7f226d33b515 08:05:00 ---> bb41b917c523 08:05:00 Step 11/13 : COPY . . 08:05:00 ---> d3b39cef77b0 08:05:00 Step 12/13 : ARG MAKE="make build" 08:05:00 ---> Running in cc905bdc0885 08:05:00 Removing intermediate container cc905bdc0885 08:05:00 ---> 064cea2bbdd1 08:05:00 Step 13/13 : RUN $MAKE 08:05:00 ---> Running in 5deb2c852c32 08:05:00 noop 08:05:00 Removing intermediate container 5deb2c852c32 08:05:00 ---> 870d8d768d50 08:05:00 Successfully built 870d8d768d50 08:05:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:05:00 + docker inspect -f . ci-base-image-arm64 08:05:00 . [Pipeline] withDockerContainer 08:05:00 prd-ubuntu20.04-docker-arm64-4c-16g-23581 does not seem to be running inside a container 08:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/4 -v /w/workspace/app-rfid-llrp-inventory/4:/w/workspace/app-rfid-llrp-inventory/4:rw,z -v /w/workspace/app-rfid-llrp-inventory/4@tmp:/w/workspace/app-rfid-llrp-inventory/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:05:02 $ docker top a3d7a99a04bbcd20625a89a30ce089e4dca69b75e7e6bb276c7f83a1a61ee45e -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:03 + go version 08:05:03 go version go1.17.6 linux/arm64 [Pipeline] } 08:05:03 $ docker stop --time=1 a3d7a99a04bbcd20625a89a30ce089e4dca69b75e7e6bb276c7f83a1a61ee45e 08:05:04 $ docker rm -f a3d7a99a04bbcd20625a89a30ce089e4dca69b75e7e6bb276c7f83a1a61ee45e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:05:05 + docker inspect -f . ci-base-image-arm64 08:05:05 . [Pipeline] withDockerContainer 08:05:05 prd-ubuntu20.04-docker-arm64-4c-16g-23581 does not seem to be running inside a container 08:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/4 -v /w/workspace/app-rfid-llrp-inventory/4:/w/workspace/app-rfid-llrp-inventory/4:rw,z -v /w/workspace/app-rfid-llrp-inventory/4@tmp:/w/workspace/app-rfid-llrp-inventory/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:05:07 $ docker top d923ba682f86cea5df018072a42bd73465144de81320ff6aec2529b1dca94a38 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:05:08 + make test 08:05:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:06:04 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:06:04 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.156s coverage: 86.2% of statements 08:06:04 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:06:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.724s coverage: 71.9% of statements 08:06:08 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:06:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:06:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:06:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:06:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:06:27 ./bin/test-attribution.sh [Pipeline] echo 08:06:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:06:30 $ docker stop --time=1 d923ba682f86cea5df018072a42bd73465144de81320ff6aec2529b1dca94a38 08:06:32 $ docker rm -f d923ba682f86cea5df018072a42bd73465144de81320ff6aec2529b1dca94a38 [Pipeline] // withDockerContainer [Pipeline] sh 08:06:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:06:33 Warning: overwriting stash ‘coverage-report’ 08:06:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:06:34 + ls -al . 08:06:34 total 236 08:06:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:06 . 08:06:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:02 .. 08:06:34 -rw-rw-r-- 1 jenkins jenkins 262 Apr 26 08:02 .dockerignore 08:06:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:02 .git 08:06:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:02 .github 08:06:34 -rw-rw-r-- 1 jenkins jenkins 788 Apr 26 08:02 .gitignore 08:06:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:02 .golangci.yml 08:06:34 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 26 08:02 Attribution.txt 08:06:34 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 26 08:02 Dockerfile 08:06:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:02 GOVERNANCE.md 08:06:34 -rw-rw-r-- 1 jenkins jenkins 687 Apr 26 08:02 Jenkinsfile 08:06:34 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 26 08:02 LICENSE 08:06:34 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 26 08:02 Makefile 08:06:34 -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 08:02 OWNERS.md 08:06:34 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 26 08:02 README.md 08:06:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 07:59 VERSION 08:06:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:02 bin 08:06:34 -rw-r--r-- 1 jenkins jenkins 41008 Apr 26 08:06 coverage.out 08:06:34 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 26 08:02 go.mod 08:06:34 -rw-rw-r-- 1 jenkins jenkins 49621 Apr 26 08:02 go.sum 08:06:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:02 images 08:06:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:02 internal 08:06:34 -rw-rw-r-- 1 jenkins jenkins 531 Apr 26 08:02 main.go 08:06:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:02 res 08:06:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:02 snap 08:06:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:02 static [Pipeline] isUnix [Pipeline] sh 08:06:34 + 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=03aa5f6e539b67fb221d863e6724579a33073df1 --label arch=arm64 --label version=0.0.0 . 08:06:35 Sending build context to Docker daemon 693.2kB 08:06:35 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:06:35 Step 2/31 : FROM ${BASE} AS builder 08:06:35 ---> 870d8d768d50 08:06:35 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:06:35 ---> Running in 7d09cd1f07ac 08:06:35 Removing intermediate container 7d09cd1f07ac 08:06:35 ---> 431230c35f57 08:06:35 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:06:35 ---> Running in 2f48ddce6f3c 08:06:36 Removing intermediate container 2f48ddce6f3c 08:06:36 ---> 05c83b1dba5f 08:06:36 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:06:36 ---> Running in 1460a32c69be 08:06:36 Removing intermediate container 1460a32c69be 08:06:36 ---> bc66b628bbd7 08:06:36 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:06:36 ---> Running in d240313280bd 08:06:38 Removing intermediate container d240313280bd 08:06:38 ---> 2ee90c85cc8d 08:06:38 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:06:38 ---> Running in 29f40783cd41 08:06:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:06:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:06:41 OK: 220 MiB in 52 packages 08:06:42 Removing intermediate container 29f40783cd41 08:06:42 ---> ac1fa1166dab 08:06:42 Step 8/31 : WORKDIR /app 08:06:42 ---> Running in a213c44a6225 08:06:42 Removing intermediate container a213c44a6225 08:06:42 ---> bd62e2c409af 08:06:42 Step 9/31 : COPY go.mod vendor* ./ 08:06:42 ---> c8c09e0431b5 08:06:42 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:06:42 ---> Running in eb21b59c725f 08:06:45 Removing intermediate container eb21b59c725f 08:06:45 ---> 353fc97bee42 08:06:45 Step 11/31 : COPY . . 08:06:45 ---> 93c89c27ed6a 08:06:45 Step 12/31 : ARG MAKE="make build" 08:06:45 ---> Running in 1c8b084a6828 08:06:46 Removing intermediate container 1c8b084a6828 08:06:46 ---> 13b7cee69f40 08:06:46 Step 13/31 : RUN $MAKE 08:06:46 ---> Running in 2f7d00701695 08:06:47 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:34 Removing intermediate container 2f7d00701695 08:07:34 ---> 8816b927c344 08:07:34 Step 14/31 : FROM alpine:3.14 08:07:34 3.14: Pulling from library/alpine 08:07:34 455c02918c45: Pulling fs layer 08:07:34 455c02918c45: Verifying Checksum 08:07:34 455c02918c45: Download complete 08:07:34 455c02918c45: Pull complete 08:07:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:07:34 Status: Downloaded newer image for alpine:3.14 08:07:34 ---> ac73e934f311 08:07:34 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:07:34 ---> Running in 4ae36486545a 08:07:34 Removing intermediate container 4ae36486545a 08:07:34 ---> 16cfbad2bd24 08:07:34 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:07:34 ---> Running in 438e1e2c4105 08:07:34 Removing intermediate container 438e1e2c4105 08:07:34 ---> eddfba9bb7e1 08:07:34 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:07:34 ---> Running in 3cc36681fff9 08:07:36 Removing intermediate container 3cc36681fff9 08:07:36 ---> fea3780203fb 08:07:36 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:07:36 ---> Running in bd65b7bcc6cd 08:07:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:07:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:07:38 (1/6) Installing ca-certificates (20211220-r0) 08:07:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:07:38 (3/6) Installing libsodium (1.0.18-r0) 08:07:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:07:39 (5/6) Installing libzmq (4.3.4-r0) 08:07:39 (6/6) Installing zeromq (4.3.4-r0) 08:07:39 Executing busybox-1.33.1-r7.trigger 08:07:39 Executing ca-certificates-20211220-r0.trigger 08:07:39 OK: 9 MiB in 20 packages 08:07:40 Removing intermediate container bd65b7bcc6cd 08:07:40 ---> cad9d045440a 08:07:40 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:07:41 ---> 485cb4c8a47a 08:07:41 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:07:41 ---> ff9479e2d76c 08:07:41 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:07:42 ---> 130be7d53ccb 08:07:42 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:07:43 ---> 1c9904b4854d 08:07:43 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:07:44 ---> 89027c111e67 08:07:44 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:07:44 ---> Running in 9c68fc85064a 08:07:46 Removing intermediate container 9c68fc85064a 08:07:46 ---> 465dfadce486 08:07:46 Step 25/31 : VOLUME /cache 08:07:46 ---> Running in bfe0fefe3a5a 08:07:46 Removing intermediate container bfe0fefe3a5a 08:07:46 ---> d98164cb4663 08:07:46 Step 26/31 : EXPOSE 59711 08:07:46 ---> Running in 9eda079348c2 08:07:46 Removing intermediate container 9eda079348c2 08:07:46 ---> adcfb61a28cf 08:07:46 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:07:46 ---> Running in 411cda729ed2 08:07:47 Removing intermediate container 411cda729ed2 08:07:47 ---> d03b8e1c7c09 08:07:47 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:07:47 ---> Running in f853e7afd2c4 08:07:47 Removing intermediate container f853e7afd2c4 08:07:47 ---> 9099003c3d65 08:07:47 Step 29/31 : LABEL arch=arm64 08:07:47 ---> Running in 96ad1b0ddb1c 08:07:48 Removing intermediate container 96ad1b0ddb1c 08:07:48 ---> 274467584918 08:07:48 Step 30/31 : LABEL git_sha=03aa5f6e539b67fb221d863e6724579a33073df1 08:07:48 ---> Running in 7bc22c12073a 08:07:48 Removing intermediate container 7bc22c12073a 08:07:48 ---> 3eb8b74787b8 08:07:48 Step 31/31 : LABEL version=0.0.0 08:07:48 ---> Running in 387dbafa3426 08:07:48 Removing intermediate container 387dbafa3426 08:07:48 ---> 04bc6db9dfea 08:07:48 [Warning] One or more build-args [ARCH] were not consumed 08:07:48 Successfully built 04bc6db9dfea 08:07:48 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:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:07:49 08:07:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:07:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:07:49 arm64: Pulling from edgex-lftools-log-publisher 08:07:49 8998bd30e6a1: Pulling fs layer 08:07:49 04944245beec: Pulling fs layer 08:07:49 699f458cf7ca: Pulling fs layer 08:07:49 765212b225bb: Pulling fs layer 08:07:49 f23df028b6ca: Pulling fs layer 08:07:49 d65c8cfc05b1: Pulling fs layer 08:07:49 2437ff75d9bd: Pulling fs layer 08:07:49 f23df028b6ca: Waiting 08:07:49 d65c8cfc05b1: Waiting 08:07:49 2437ff75d9bd: Waiting 08:07:49 765212b225bb: Waiting 08:07:49 04944245beec: Verifying Checksum 08:07:49 04944245beec: Download complete 08:07:49 765212b225bb: Verifying Checksum 08:07:49 765212b225bb: Download complete 08:07:49 f23df028b6ca: Verifying Checksum 08:07:49 f23df028b6ca: Download complete 08:07:49 d65c8cfc05b1: Download complete 08:07:49 699f458cf7ca: Verifying Checksum 08:07:49 699f458cf7ca: Download complete 08:07:50 8998bd30e6a1: Verifying Checksum 08:07:50 8998bd30e6a1: Download complete 08:07:52 2437ff75d9bd: Verifying Checksum 08:07:52 2437ff75d9bd: Download complete 08:07:54 8998bd30e6a1: Pull complete 08:07:55 04944245beec: Pull complete 08:07:56 699f458cf7ca: Pull complete 08:07:56 765212b225bb: Pull complete 08:07:57 f23df028b6ca: Pull complete 08:07:57 d65c8cfc05b1: Pull complete 08:08:12 2437ff75d9bd: Pull complete 08:08:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:08:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:08:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:08:13 prd-ubuntu20.04-docker-arm64-4c-16g-23581 does not seem to be running inside a container 08:08:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/4 -v /w/workspace/app-rfid-llrp-inventory/4:/w/workspace/app-rfid-llrp-inventory/4:rw,z -v /w/workspace/app-rfid-llrp-inventory/4@tmp:/w/workspace/app-rfid-llrp-inventory/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:08:15 $ docker top 386964e9d99fd9a49d28baf2c5bdeb9bae689f8018305b92b4b61eb5f42d8904 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:08:16 ---> job-cost.sh 08:08:16 lf-activate-venv: SKIPPING 08:08:16 INFO: No Stack... 08:08:17 INFO: Retrieving Pricing Info for: v3-standard-4 08:08:17 INFO: Archiving Costs [Pipeline] sh 08:08:18 + cut -d, -f6 08:08:18 + cat /w/workspace/app-rfid-llrp-inventory/4/archives/cost.csv [Pipeline] lock 08:08:18 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] 08:08:18 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] did not exist. Created. 08:08:18 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:08:19 /w/workspace/app-rfid-llrp-inventory/4@tmp/durable-76ad6260/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:08:19 + echo total: 0.10999999940395355 [Pipeline] stash 08:08:19 Warning: overwriting stash ‘stack-cost’ 08:08:19 Stashed 1 file(s) [Pipeline] } 08:08:19 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-65-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:08:19 $ docker stop --time=1 386964e9d99fd9a49d28baf2c5bdeb9bae689f8018305b92b4b61eb5f42d8904 08:08:21 $ docker rm -f 386964e9d99fd9a49d28baf2c5bdeb9bae689f8018305b92b4b61eb5f42d8904 [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:21 provisioning config files... 08:08:21 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config7199059421251159534tmp [Pipeline] { [Pipeline] sh 08:08:22 + set +x 08:08:22 + + bash -s -- 08:08:22 curl -s https://codecov.io/bash 08:08:22 08:08:22 _____ _ 08:08:22 / ____| | | 08:08:22 | | ___ __| | ___ ___ _____ __ 08:08:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:08:22 | |___| (_) | (_| | __/ (_| (_) \ V / 08:08:22 \_____\___/ \__,_|\___|\___\___/ \_/ 08:08:22 Bash-1.0.6 08:08:22 08:08:22 08:08:22 ==> git version 2.25.1 found 08:08:22 ==> 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:22 Release-Date: 2020-01-08 08:08:22 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:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:08:22 ==> Jenkins CI detected. 08:08:22 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-65 08:08:22 project root: . 08:08:22 --> token set from env 08:08:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:08:22 ==> Running gcov in . (disable via -X gcov) 08:08:22 ==> Python coveragepy not found 08:08:22 ==> Searching for coverage reports in: 08:08:22 + . 08:08:22 -> Found 1 reports 08:08:22 ==> Detecting git/mercurial file structure 08:08:22 ==> Reading reports 08:08:22 + ./coverage.out bytes=41008 08:08:22 ==> Appending adjustments 08:08:22 https://docs.codecov.io/docs/fixing-reports 08:08:22 + Found adjustments 08:08:22 ==> Gzipping contents 08:08:22 12K /tmp/codecov.q4H2Dp.gz 08:08:22 ==> Uploading reports 08:08:22 url: https://codecov.io 08:08:22 query: branch=PR-65&commit=d56cdea12403ef2631cca7611563552dbeb8b4a4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-65%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=65&job=&cmd_args= 08:08:22 -> Pinging Codecov 08:08:22 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=d56cdea12403ef2631cca7611563552dbeb8b4a4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-65%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=65&job=&cmd_args= 08:08:22 -> Uploading to 08:08:22 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/581DD39554BDF9B6E22D074273EAD858/d56cdea12403ef2631cca7611563552dbeb8b4a4/9b0212dc-5aac-42f0-96dc-30735b0e8886.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T080822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6bb1a42aad5059a2c3cdc515568253d515a287cb6948837d61fb0006da2443b4 08:08:22 % Total % Received % Xferd Average Speed Time Time Time Current 08:08:22 Dload Upload Total Spent Left Speed 08:08:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11561 0 0 100 11561 0 54533 --:--:-- --:--:-- --:--:-- 54533 08:08:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/d56cdea12403ef2631cca7611563552dbeb8b4a4 [Pipeline] } 08:08:22 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:23 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives ] 08:08:23 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:08:23 total 16 08:08:23 drwxr-xr-x 3 root root 4096 Apr 26 08:01 . 08:08:23 drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 08:01 .. 08:08:23 drwxr-xr-x 2 root root 4096 Apr 26 08:01 cost 08:08:23 -rw-r--r-- 1 root root 93 Apr 26 08:01 cost.csv 08:08:23 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:08:23 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives 08:08:23 total 16 08:08:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 08:01 . 08:08:23 drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 08:01 .. 08:08:23 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 08:01 cost 08:08:23 -rw-r--r-- 1 jenkins jenkins 93 Apr 26 08:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:08:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:08:24 ---> package-listing.sh 08:08:24 ++ facter osfamily 08:08:24 ++ tr '[:upper:]' '[:lower:]' 08:08:25 + OS_FAMILY=debian 08:08:25 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-65 08:08:25 + START_PACKAGES=/tmp/packages_start.txt 08:08:25 + END_PACKAGES=/tmp/packages_end.txt 08:08:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:08:25 + PACKAGES=/tmp/packages_start.txt 08:08:25 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-65 ']' 08:08:25 + PACKAGES=/tmp/packages_end.txt 08:08:25 + case "${OS_FAMILY}" in 08:08:25 + dpkg -l 08:08:25 + grep '^ii' 08:08:25 + '[' -f /tmp/packages_start.txt ']' 08:08:25 + '[' -f /tmp/packages_end.txt ']' 08:08:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:08:25 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-65 ']' 08:08:25 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-65/archives/ 08:08:25 + 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:25 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:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:08:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:08:26 . [Pipeline] withDockerContainer 08:08:26 prd-ubuntu20.04-docker-8c-8g-23579 does not seem to be running inside a container 08:08:26 $ 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:27 $ docker top 9db6e53b1d3f24a2a41ad8fe6a37cdef9a22a144c026ece58992c7ffdc22316d -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:27 + touch /tmp/pre-build-complete [Pipeline] sh 08:08:27 + mkdir -p /var/log/sysstat [Pipeline] sh 08:08:27 + ls /var/log/sa-host 08:08:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:08:28 provisioning config files... 08:08:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-65@tmp/config5144652817499524876tmp [Pipeline] { [Pipeline] echo 08:08:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:08:28 ---> create-netrc.sh [Pipeline] } 08:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:08:28 ---> python-tools-install.sh [Pipeline] echo 08:08:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:08:29 ---> sudo-logs.sh 08:08:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:08:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:08:29 ---> job-cost.sh 08:08:29 lf-activate-venv: SKIPPING 08:08:29 DEBUG: total: 0.2199999988079071 08:08:29 INFO: Retrieving Stack Cost... 08:08:29 INFO: Retrieving Pricing Info for: v3-standard-8 08:08:30 INFO: Archiving Costs [Pipeline] echo 08:08:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:08:30 ---> logs-deploy.sh 08:08:30 lf-activate-venv: SKIPPING 08:08:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-65/4 08:08:30 INFO: archiving workspace using pattern(s): 08:08:31 Archives upload complete. 08:08:31 INFO: archiving logs to Nexus