Pull request #64 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from 88bcb40ffbb0dab08d4b9a73a9cdac923c1a592a+f43ac5ecc0fa5fb3b17b69b608bd853f288b8253 (e4c6b42d348899e545dd4a843bbf816968650098) 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-ssh13885469902522439766.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh4569581463725057668.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-64/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-64/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14866492315071987301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh17034363554012211690.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-64/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-64/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15993170659861302658.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 ‘prd-centos7-docker-4c-2g-5648’ is offline Running on prd-centos7-docker-4c-2g-5651 in /w/workspace/ry_app-rfid-llrp-inventory_PR-64 [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-64 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/jenkins-gitclient-ssh321572948209850878.key > 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 f43ac5ecc0fa5fb3b17b69b608bd853f288b8253 into PR head commit 88bcb40ffbb0dab08d4b9a73a9cdac923c1a592a Merge succeeded, producing 3e495c5ababef8d4fec75debe1951a4601127110 Checking out Revision 3e495c5ababef8d4fec75debe1951a4601127110 (PR-64) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/jenkins-gitclient-ssh6983492631945124061.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88bcb40ffbb0dab08d4b9a73a9cdac923c1a592a # timeout=10 > git remote # timeout=10 > 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 /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/jenkins-gitclient-ssh46484286902048908.key > git merge f43ac5ecc0fa5fb3b17b69b608bd853f288b8253 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e495c5ababef8d4fec75debe1951a4601127110 # timeout=10 Commit message: "Merge commit 'f43ac5ecc0fa5fb3b17b69b608bd853f288b8253' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 01d310e954bf04c5e2b90520aa52afd2db4968da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:52:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:52:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:52:50 ========================================================= 16:52:50 EdgeX Global Pipelines Version Info 16:52:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:52:51 ------------------- 16:52:51 stable info: 16:52:51 ------------------- 16:52:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:52:51 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 16:52:51 Message: update stable to v1.0.220 16:52:52 ------------------- 16:52:52 experimental info: 16:52:52 ------------------- 16:52:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:52:52 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 16:52:52 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:52:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e495c5ababef8d4fec75debe1951a4601127110 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e495c5 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:53 provisioning config files... 16:52:53 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/config8082452025218884741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:53 ---> docker-login.sh 16:52:53 nexus3.edgexfoundry.org:10001 16:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:53 Configure a credential helper to remove this warning. See 16:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:53 16:52:53 Login Succeeded 16:52:53 nexus3.edgexfoundry.org:10002 16:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:53 Configure a credential helper to remove this warning. See 16:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:53 16:52:53 Login Succeeded 16:52:53 nexus3.edgexfoundry.org:10003 16:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:54 Configure a credential helper to remove this warning. See 16:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:54 16:52:54 Login Succeeded 16:52:54 nexus3.edgexfoundry.org:10004 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:54 Configure a credential helper to remove this warning. See 16:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:54 16:52:54 Login Succeeded 16:52:54 docker.io 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:54 Configure a credential helper to remove this warning. See 16:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:54 16:52:54 Login Succeeded 16:52:54 ---> docker-login.sh ends [Pipeline] } 16:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:52:54 + git rev-list -1 --merges 3e495c5ababef8d4fec75debe1951a4601127110~1..3e495c5ababef8d4fec75debe1951a4601127110 [Pipeline] echo 16:52:55 -----------> git rev-list -1 --merges 3e495c5ababef8d4fec75debe1951a4601127110~1..3e495c5ababef8d4fec75debe1951a4601127110 3e495c5ababef8d4fec75debe1951a4601127110 16:52:55 3e495c5ababef8d4fec75debe1951a4601127110 [false] [Pipeline] sh 16:52:55 + git log --format=format:%s -1 3e495c5ababef8d4fec75debe1951a4601127110 [Pipeline] echo 16:52:55 ========================================================= 16:52:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:52:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:55 + git log --format=format:%s -1 3e495c5ababef8d4fec75debe1951a4601127110 [Pipeline] echo 16:52:55 [semverPrep] GIT_COMMIT: 3e495c5ababef8d4fec75debe1951a4601127110, Commit Message: Merge commit 'f43ac5ecc0fa5fb3b17b69b608bd853f288b8253' into HEAD [Pipeline] echo 16:52:55 [semverPrep] This is not a build commit. [Pipeline] sh 16:52:56 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 16:52:56 + grep -v github /etc/ssh/ssh_known_hosts 16:52:56 + '[' -e /tmp/ssh_known_hosts ']' 16:52:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:52:56 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 16:52:56 + sudo tee -a /etc/ssh/ssh_known_hosts 16:52:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:56 16:52:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:52:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:56 latest: Pulling from edgex-devops/git-semver 16:52:56 a0d0a0d46f8b: Pulling fs layer 16:52:56 3e5f54012d9b: Pulling fs layer 16:52:56 4c7163046ea9: Pulling fs layer 16:52:56 0c2d73faf560: Pulling fs layer 16:52:56 0c2d73faf560: Waiting 16:52:56 3e5f54012d9b: Verifying Checksum 16:52:56 3e5f54012d9b: Download complete 16:52:56 a0d0a0d46f8b: Verifying Checksum 16:52:56 a0d0a0d46f8b: Download complete 16:52:56 4c7163046ea9: Verifying Checksum 16:52:56 4c7163046ea9: Download complete 16:52:56 0c2d73faf560: Verifying Checksum 16:52:56 0c2d73faf560: Download complete 16:52:57 a0d0a0d46f8b: Pull complete 16:52:57 3e5f54012d9b: Pull complete 16:52:57 4c7163046ea9: Pull complete 16:52:57 0c2d73faf560: Pull complete 16:52:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:52:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:52:57 prd-centos7-docker-4c-2g-5651 does not seem to be running inside a container 16:52:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-64 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64:/w/workspace/ry_app-rfid-llrp-inventory_PR-64:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@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:10004/edgex-devops/git-semver:latest cat 16:52:58 $ docker top 66d745b5363c63b9aa8d160c623c1e8b50c0da6896ddbd217c35f976fb013c12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:52:58 [ssh-agent] Looking for ssh-agent implementation... 16:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:52:58 $ docker exec 66d745b5363c63b9aa8d160c623c1e8b50c0da6896ddbd217c35f976fb013c12 ssh-agent 16:52:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHDCmMn/agent.14 16:52:58 SSH_AGENT_PID=20 16:52:58 Running ssh-add (command line suppressed) 16:52:58 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/private_key_5721063182829062900.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/private_key_5721063182829062900.key) 16:52:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:52:59 + git tag --points-at HEAD [Pipeline] } 16:52:59 $ docker exec --env ******** --env ******** 66d745b5363c63b9aa8d160c623c1e8b50c0da6896ddbd217c35f976fb013c12 ssh-agent -k 16:52:59 unset SSH_AUTH_SOCK; 16:52:59 unset SSH_AGENT_PID; 16:52:59 echo Agent pid 20 killed; 16:52:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:52:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:52:59 [ssh-agent] Looking for ssh-agent implementation... 16:52:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:52:59 $ docker exec 66d745b5363c63b9aa8d160c623c1e8b50c0da6896ddbd217c35f976fb013c12 ssh-agent 16:52:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhoKoGO/agent.53 16:52:59 SSH_AGENT_PID=59 16:52:59 Running ssh-add (command line suppressed) 16:52:59 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/private_key_9220422415301707500.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/private_key_9220422415301707500.key) 16:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:52:59 + git semver init 16:52:59 # -> Open(): unable to determine branch for HEAD 16:52:59 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-64/.git 16:52:59 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-64 16:52:59 # $SEMVER_REMOTE_NAME = origin 16:52:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:52:59 # $SEMVER_USER_NAME = edgex-jenkins 16:52:59 # $SEMVER_BRANCH = PR-64 16:52:59 # $SEMVER_TEMP = /tmp/semver-985071941 16:52:59 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 16:53:01 # '/tmp/semver-985071941' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-64/.semver' 16:53:01 # -> Force: false 16:53:01 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-64/.semver [Pipeline] } 16:53:01 $ docker exec --env ******** --env ******** 66d745b5363c63b9aa8d160c623c1e8b50c0da6896ddbd217c35f976fb013c12 ssh-agent -k 16:53:01 unset SSH_AUTH_SOCK; 16:53:01 unset SSH_AGENT_PID; 16:53:01 echo Agent pid 59 killed; 16:53:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:01 + git semver [Pipeline] } 16:53:01 $ docker stop --time=1 66d745b5363c63b9aa8d160c623c1e8b50c0da6896ddbd217c35f976fb013c12 16:53:03 $ docker rm -f 66d745b5363c63b9aa8d160c623c1e8b50c0da6896ddbd217c35f976fb013c12 [Pipeline] // withDockerContainer [Pipeline] sh 16:53:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:53:03 Stashed 1 file(s) [Pipeline] echo 16:53:03 [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 16:53:03 provisioning config files... 16:53:03 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/config4081059049864681142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:04 ---> docker-login.sh 16:53:04 nexus3.edgexfoundry.org:10001 16:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:04 Configure a credential helper to remove this warning. See 16:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:04 16:53:04 Login Succeeded 16:53:04 nexus3.edgexfoundry.org:10002 16:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:04 Configure a credential helper to remove this warning. See 16:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:04 16:53:04 Login Succeeded 16:53:04 nexus3.edgexfoundry.org:10003 16:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:04 Configure a credential helper to remove this warning. See 16:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:04 16:53:04 Login Succeeded 16:53:04 nexus3.edgexfoundry.org:10004 16:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:04 Configure a credential helper to remove this warning. See 16:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:04 16:53:04 Login Succeeded 16:53:04 docker.io 16:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:04 Configure a credential helper to remove this warning. See 16:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:04 16:53:04 Login Succeeded 16:53:04 ---> docker-login.sh ends [Pipeline] } 16:53:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:53:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:53:04 ========================================================= 16:53:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:53:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:53:05 + 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 . 16:53:05 Sending build context to Docker daemon 10.03MB 16:53:05 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:53:05 Step 2/13 : FROM ${BASE} AS builder 16:53:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:53:05 59bf1c3509f3: Pulling fs layer 16:53:05 666ba61612fd: Pulling fs layer 16:53:05 8ed8ca486205: Pulling fs layer 16:53:05 4fe6c5a15a65: Pulling fs layer 16:53:05 22a0e8bec74d: Pulling fs layer 16:53:05 640e595b4fbd: Pulling fs layer 16:53:05 763cafe07f6e: Pulling fs layer 16:53:05 0c0b528cf693: Pulling fs layer 16:53:05 10935f4eaf8b: Pulling fs layer 16:53:05 640e595b4fbd: Waiting 16:53:05 763cafe07f6e: Waiting 16:53:05 0c0b528cf693: Waiting 16:53:05 4fe6c5a15a65: Waiting 16:53:05 10935f4eaf8b: Waiting 16:53:05 22a0e8bec74d: Waiting 16:53:05 8ed8ca486205: Verifying Checksum 16:53:05 8ed8ca486205: Download complete 16:53:05 666ba61612fd: Verifying Checksum 16:53:05 666ba61612fd: Download complete 16:53:05 22a0e8bec74d: Verifying Checksum 16:53:05 22a0e8bec74d: Download complete 16:53:05 640e595b4fbd: Verifying Checksum 16:53:05 640e595b4fbd: Download complete 16:53:05 763cafe07f6e: Verifying Checksum 16:53:05 763cafe07f6e: Download complete 16:53:05 59bf1c3509f3: Verifying Checksum 16:53:05 59bf1c3509f3: Download complete 16:53:05 0c0b528cf693: Verifying Checksum 16:53:05 0c0b528cf693: Download complete 16:53:05 59bf1c3509f3: Pull complete 16:53:06 666ba61612fd: Pull complete 16:53:06 4fe6c5a15a65: Verifying Checksum 16:53:06 4fe6c5a15a65: Download complete 16:53:06 10935f4eaf8b: Verifying Checksum 16:53:06 10935f4eaf8b: Download complete 16:53:06 8ed8ca486205: Pull complete 16:53:10 4fe6c5a15a65: Pull complete 16:53:10 22a0e8bec74d: Pull complete 16:53:10 640e595b4fbd: Pull complete 16:53:10 763cafe07f6e: Pull complete 16:53:10 0c0b528cf693: Pull complete 16:53:12 10935f4eaf8b: Pull complete 16:53:12 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 16:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:53:12 ---> 99d49a6021b9 16:53:12 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:53:14 ---> Running in 89457a9ddad9 16:53:14 Removing intermediate container 89457a9ddad9 16:53:14 ---> 1da0c3e49f18 16:53:14 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 16:53:14 ---> Running in e5e6bb56a133 16:53:15 Removing intermediate container e5e6bb56a133 16:53:15 ---> 90f6a6d7c87b 16:53:15 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:53:15 ---> Running in 8eb643fe07e5 16:53:15 Removing intermediate container 8eb643fe07e5 16:53:15 ---> be2943987c4d 16:53:15 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:53:15 ---> Running in e2457be4ebf4 16:53:15 Removing intermediate container e2457be4ebf4 16:53:15 ---> 15956d692235 16:53:15 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:53:15 ---> Running in 0fae57372359 16:53:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:53:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:53:17 OK: 221 MiB in 52 packages 16:53:17 Removing intermediate container 0fae57372359 16:53:17 ---> aa8c0c378ffd 16:53:17 Step 8/13 : WORKDIR /app 16:53:17 ---> Running in 283d9ff4d9a7 16:53:17 Removing intermediate container 283d9ff4d9a7 16:53:17 ---> f0b711efe3af 16:53:17 Step 9/13 : COPY go.mod vendor* ./ 16:53:17 ---> 99a53ced140e 16:53:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:53:17 ---> Running in bf99468adbde 16:53:18 Still waiting to schedule task 16:53:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:53:44 Removing intermediate container bf99468adbde 16:53:44 ---> b94539222a2b 16:53:44 Step 11/13 : COPY . . 16:53:44 ---> 371fbf251e99 16:53:44 Step 12/13 : ARG MAKE="make build" 16:53:44 ---> Running in 0f59b810dea8 16:53:44 Removing intermediate container 0f59b810dea8 16:53:44 ---> 078c15d6197c 16:53:44 Step 13/13 : RUN $MAKE 16:53:44 ---> Running in 7d42653684c1 16:53:44 noop 16:53:44 Removing intermediate container 7d42653684c1 16:53:44 ---> 086d76d062e2 16:53:44 Successfully built 086d76d062e2 16:53:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:53:44 + docker inspect -f . ci-base-image-x86_64 16:53:44 . [Pipeline] withDockerContainer 16:53:44 prd-centos7-docker-4c-2g-5651 does not seem to be running inside a container 16:53:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-64 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64:/w/workspace/ry_app-rfid-llrp-inventory_PR-64:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:53:45 $ docker top b01b46b9934f60b0e7f07a1ff66da8035c20963b05de69340b54066bcfb95e17 -eo pid,comm [Pipeline] { [Pipeline] sh 16:53:45 + go version 16:53:45 go version go1.17.6 linux/amd64 [Pipeline] } 16:53:45 $ docker stop --time=1 b01b46b9934f60b0e7f07a1ff66da8035c20963b05de69340b54066bcfb95e17 16:53:46 $ docker rm -f b01b46b9934f60b0e7f07a1ff66da8035c20963b05de69340b54066bcfb95e17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:53:47 + docker inspect -f . ci-base-image-x86_64 16:53:47 . [Pipeline] withDockerContainer 16:53:47 prd-centos7-docker-4c-2g-5651 does not seem to be running inside a container 16:53:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-64 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64:/w/workspace/ry_app-rfid-llrp-inventory_PR-64:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:53:47 $ docker top 39af2ec1db76d6d6b4a390dc3c934befe43ac324e4d887b96395bad16020ad7b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:53:47 + make test 16:53:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:54:03 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:54:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.025s coverage: 86.2% of statements 16:54:03 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:54:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.533s coverage: 71.9% of statements 16:54:06 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 16:54:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:54:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:54:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:54:22 ./bin/test-attribution.sh [Pipeline] echo 16:54:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:54:23 $ docker stop --time=1 39af2ec1db76d6d6b4a390dc3c934befe43ac324e4d887b96395bad16020ad7b 16:54:24 $ docker rm -f 39af2ec1db76d6d6b4a390dc3c934befe43ac324e4d887b96395bad16020ad7b [Pipeline] // withDockerContainer [Pipeline] sh 16:54:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:54:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:54:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:54:25 + ls -al . 16:54:25 total 200 16:54:25 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 18 16:54 . 16:54:25 drwxrwxr-x. 4 jenkins jenkins 112 Feb 18 16:52 .. 16:54:25 -rw-rw-r--. 1 jenkins jenkins 8248 Feb 18 16:52 Attribution.txt 16:54:25 drwxrwxr-x. 2 jenkins jenkins 33 Feb 18 16:52 bin 16:54:25 -rw-r--r--. 1 jenkins jenkins 41008 Feb 18 16:54 coverage.out 16:54:25 -rw-rw-r--. 1 jenkins jenkins 1923 Feb 18 16:52 Dockerfile 16:54:25 -rw-rw-r--. 1 jenkins jenkins 262 Feb 18 16:52 .dockerignore 16:54:25 drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 16:52 .git 16:54:25 drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 16:52 .github 16:54:25 -rw-rw-r--. 1 jenkins jenkins 788 Feb 18 16:52 .gitignore 16:54:25 -rw-rw-r--. 1 jenkins jenkins 41 Feb 18 16:52 .golangci.yml 16:54:25 -rw-rw-r--. 1 jenkins jenkins 3019 Feb 18 16:54 go.mod 16:54:25 -rw-rw-r--. 1 jenkins jenkins 49531 Feb 18 16:52 go.sum 16:54:25 -rw-rw-r--. 1 jenkins jenkins 677 Feb 18 16:52 GOVERNANCE.md 16:54:25 drwxrwxr-x. 2 jenkins jenkins 140 Feb 18 16:52 images 16:54:25 drwxrwxr-x. 4 jenkins jenkins 35 Feb 18 16:52 internal 16:54:25 -rw-rw-r--. 1 jenkins jenkins 686 Feb 18 16:52 Jenkinsfile 16:54:25 -rw-rw-r--. 1 jenkins jenkins 11347 Feb 18 16:52 LICENSE 16:54:25 -rw-rw-r--. 1 jenkins jenkins 531 Feb 18 16:52 main.go 16:54:25 -rw-rw-r--. 1 jenkins jenkins 2095 Feb 18 16:52 Makefile 16:54:25 -rw-rw-r--. 1 jenkins jenkins 617 Feb 18 16:52 OWNERS.md 16:54:25 -rw-rw-r--. 1 jenkins jenkins 30039 Feb 18 16:52 README.md 16:54:25 drwxrwxr-x. 2 jenkins jenkins 32 Feb 18 16:52 res 16:54:25 drwx------. 3 jenkins jenkins 43 Feb 18 16:53 .semver 16:54:25 drwxrwxr-x. 4 jenkins jenkins 71 Feb 18 16:52 snap 16:54:25 drwxrwxr-x. 3 jenkins jenkins 18 Feb 18 16:52 static 16:54:25 -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 16:53 VERSION [Pipeline] isUnix [Pipeline] sh 16:54:26 + 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=3e495c5ababef8d4fec75debe1951a4601127110 --label arch=amd64 --label version=0.0.0 . 16:54:26 Sending build context to Docker daemon 10.03MB 16:54:26 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 16:54:26 Step 2/31 : FROM ${BASE} AS builder 16:54:26 ---> 086d76d062e2 16:54:26 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:54:26 ---> Running in b1ec56c1c4ec 16:54:26 Removing intermediate container b1ec56c1c4ec 16:54:26 ---> 3aadab1b17b7 16:54:26 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 16:54:26 ---> Running in 2372cf7732bc 16:54:26 Removing intermediate container 2372cf7732bc 16:54:26 ---> 22c0140bad18 16:54:26 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:54:26 ---> Running in 40c2069002f2 16:54:26 Removing intermediate container 40c2069002f2 16:54:26 ---> 70ca76d21932 16:54:26 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:54:26 ---> Running in bbc7bfa41213 16:54:27 Removing intermediate container bbc7bfa41213 16:54:27 ---> 7d24e3d1ad35 16:54:27 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:27 ---> Running in 9fda86294be4 16:54:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:54:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:54:28 OK: 221 MiB in 52 packages 16:54:28 Removing intermediate container 9fda86294be4 16:54:28 ---> 0a5c63e87c94 16:54:28 Step 8/31 : WORKDIR /app 16:54:28 ---> Running in 72dd276e4089 16:54:29 Removing intermediate container 72dd276e4089 16:54:29 ---> 4a57b8e3fbf5 16:54:29 Step 9/31 : COPY go.mod vendor* ./ 16:54:29 ---> 4e09b0835358 16:54:29 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:29 ---> Running in a7d27724c642 16:54:30 Removing intermediate container a7d27724c642 16:54:30 ---> 8b6393072315 16:54:30 Step 11/31 : COPY . . 16:54:30 ---> 3fd40c144d96 16:54:30 Step 12/31 : ARG MAKE="make build" 16:54:30 ---> Running in 01507bcc895c 16:54:30 Removing intermediate container 01507bcc895c 16:54:30 ---> 64e15cbe241b 16:54:30 Step 13/31 : RUN $MAKE 16:54:30 ---> Running in c6a9132296e0 16:54:30 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 16:54:45 Removing intermediate container c6a9132296e0 16:54:45 ---> 0c8882bdf623 16:54:45 Step 14/31 : FROM alpine:3.14 16:54:45 3.14: Pulling from library/alpine 16:54:45 97518928ae5f: Pulling fs layer 16:54:45 97518928ae5f: Verifying Checksum 16:54:45 97518928ae5f: Download complete 16:54:45 97518928ae5f: Pull complete 16:54:45 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 16:54:45 Status: Downloaded newer image for alpine:3.14 16:54:45 ---> 0a97eee8041e 16:54:45 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:54:45 ---> Running in 7bc96db68df1 16:54:45 Removing intermediate container 7bc96db68df1 16:54:45 ---> e0f2e130faca 16:54:45 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:54:45 ---> Running in d1808e3194a9 16:54:45 Removing intermediate container d1808e3194a9 16:54:45 ---> ccf74f836fac 16:54:45 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:54:45 ---> Running in 2a9ece3771b7 16:54:45 Removing intermediate container 2a9ece3771b7 16:54:45 ---> 11ecf6cd6a9f 16:54:45 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 16:54:45 ---> Running in 14b1f23f8eba 16:54:45 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:54:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5652 in /w/workspace/ry_app-rfid-llrp-inventory_PR-64 [Pipeline] { [Pipeline] ws 16:54:45 Running in /w/workspace/app-rfid-llrp-inventory/14 [Pipeline] { [Pipeline] checkout 16:54:46 The recommended git tool is: git 16:54:46 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:54:46 (1/6) Installing ca-certificates (20211220-r0) 16:54:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:54:46 (3/6) Installing libsodium (1.0.18-r0) 16:54:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:54:46 (5/6) Installing libzmq (4.3.4-r0) 16:54:46 (6/6) Installing zeromq (4.3.4-r0) 16:54:46 Executing busybox-1.33.1-r6.trigger 16:54:46 Executing ca-certificates-20211220-r0.trigger 16:54:47 OK: 9 MiB in 20 packages 16:54:47 Removing intermediate container 14b1f23f8eba 16:54:47 ---> 2e724414471c 16:54:47 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:54:47 ---> 0ccc527eea96 16:54:47 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 16:54:47 ---> d758807ffbbe 16:54:47 Step 21/31 : COPY --from=builder /app/res/ /res/ 16:54:47 ---> 38132b3c600f 16:54:47 Step 22/31 : COPY --from=builder /app/static/ /static/ 16:54:48 ---> 69e50808717f 16:54:48 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:54:48 ---> 377d27b843cf 16:54:48 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:54:48 ---> Running in 25cc561eb018 16:54:48 Removing intermediate container 25cc561eb018 16:54:48 ---> 9495df587913 16:54:48 Step 25/31 : VOLUME /cache 16:54:48 ---> Running in 4a2522dc8322 16:54:49 Removing intermediate container 4a2522dc8322 16:54:49 ---> 35d26432233d 16:54:49 Step 26/31 : EXPOSE 59711 16:54:49 ---> Running in b7e44df425f8 16:54:49 Removing intermediate container b7e44df425f8 16:54:49 ---> 9f523e55eefd 16:54:49 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:54:49 ---> Running in c56bfd2a0ff5 16:54:49 Removing intermediate container c56bfd2a0ff5 16:54:49 ---> 578eb5521b3e 16:54:49 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 16:54:49 ---> Running in 0f53221c2850 16:54:49 Removing intermediate container 0f53221c2850 16:54:49 ---> 56cfcd1d9531 16:54:49 Step 29/31 : LABEL arch=amd64 16:54:49 ---> Running in 636518a7da2f 16:54:49 Removing intermediate container 636518a7da2f 16:54:49 ---> 945a7ee510f8 16:54:49 Step 30/31 : LABEL git_sha=3e495c5ababef8d4fec75debe1951a4601127110 16:54:49 ---> Running in 7c4f491ddb51 16:54:49 Removing intermediate container 7c4f491ddb51 16:54:49 ---> da3cc9c05908 16:54:49 Step 31/31 : LABEL version=0.0.0 16:54:49 ---> Running in 2c6f1b49a1a0 16:54:49 Removing intermediate container 2c6f1b49a1a0 16:54:49 ---> cd909014eac4 16:54:49 [Warning] One or more build-args [ARCH] were not consumed 16:54:49 Successfully built cd909014eac4 16:54:49 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) [Pipeline] findFiles [Pipeline] node 16:54:50 using credential edgex-jenkins-ssh 16:54:50 Cloning the remote Git repository 16:54:50 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:54:50 > git init /w/workspace/app-rfid-llrp-inventory/14 # timeout=10 16:54:50 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:54:50 > git --version # timeout=10 16:54:50 > git --version # 'git version 2.17.1' 16:54:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:54:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:54:53 Merging remotes/origin/main commit f43ac5ecc0fa5fb3b17b69b608bd853f288b8253 into PR head commit 88bcb40ffbb0dab08d4b9a73a9cdac923c1a592a 16:54:52 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:54:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:54:52 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:54:52 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:54:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:54:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:54:53 > git config core.sparsecheckout # timeout=10 16:54:53 > git checkout -f 88bcb40ffbb0dab08d4b9a73a9cdac923c1a592a # timeout=10 16:54:53 > git remote # timeout=10 16:54:53 > git config --get remote.origin.url # timeout=10 16:54:53 Merge succeeded, producing 7cfbc8a13a66a24b2cefab4a83fc57cc8bd05c08 16:54:53 Checking out Revision 7cfbc8a13a66a24b2cefab4a83fc57cc8bd05c08 (PR-64) 16:54:53 using GIT_SSH to set credentials SSH Credentials for GitHub 16:54:53 > git merge f43ac5ecc0fa5fb3b17b69b608bd853f288b8253 # timeout=10 16:54:53 > git rev-parse HEAD^{commit} # timeout=10 16:54:53 > git config core.sparsecheckout # timeout=10 16:54:53 > git checkout -f 7cfbc8a13a66a24b2cefab4a83fc57cc8bd05c08 # timeout=10 16:54:57 Commit message: "Merge commit 'f43ac5ecc0fa5fb3b17b69b608bd853f288b8253' into HEAD" 16:54:57 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:57 > git rev-list --no-walk 01d310e954bf04c5e2b90520aa52afd2db4968da # timeout=10 16:54:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:54:59 % Total % Received % Xferd Average Speed Time Time Time Current 16:54:59 Dload Upload Total Spent Left Speed 16:54:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 91100 [Pipeline] sh 16:54:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:55:00 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json 16:55:00 /etc/docker/daemon.new 16:55:00 { 16:55:00 "registry-mirrors": [ 16:55:00 "https://nexus3.edgexfoundry.org:10001" 16:55:00 ], 16:55:00 "bip": "10.250.0.254/24", 16:55:00 "hosts": [ 16:55:00 "tcp://0.0.0.0:5555", 16:55:00 "unix:///var/run/docker.sock" 16:55:00 ], 16:55:00 "mtu": 1458, 16:55:00 "selinux-enabled": true, 16:55:00 "seccomp-profile": "/etc/docker/seccomp.json" 16:55:00 } [Pipeline] sh 16:55:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:55:00 + sudo service docker restart 16:55:04 Still waiting to schedule task 16:55:04 All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:19 provisioning config files... 16:55:19 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/14@tmp/config5252922678994196074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:19 ---> docker-login.sh 16:55:19 nexus3.edgexfoundry.org:10001 16:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:20 Configure a credential helper to remove this warning. See 16:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:20 16:55:20 Login Succeeded 16:55:20 nexus3.edgexfoundry.org:10002 16:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:20 Configure a credential helper to remove this warning. See 16:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:20 16:55:20 Login Succeeded 16:55:20 nexus3.edgexfoundry.org:10003 16:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:21 Configure a credential helper to remove this warning. See 16:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:21 16:55:21 Login Succeeded 16:55:21 nexus3.edgexfoundry.org:10004 16:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:21 Configure a credential helper to remove this warning. See 16:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:21 16:55:21 Login Succeeded 16:55:21 docker.io 16:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:22 Configure a credential helper to remove this warning. See 16:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:22 16:55:22 Login Succeeded 16:55:22 ---> docker-login.sh ends [Pipeline] } 16:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:55:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:55:23 ========================================================= 16:55:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:55:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:55:23 + 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 . 16:55:23 Sending build context to Docker daemon 690.7kB 16:55:23 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:55:23 Step 2/13 : FROM ${BASE} AS builder 16:55:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:55:24 9b3977197b4f: Pulling fs layer 16:55:24 1a89e8eeedd5: Pulling fs layer 16:55:24 94645a83ff95: Pulling fs layer 16:55:24 3f3a8bcf1eab: Pulling fs layer 16:55:24 0c92f367c5e7: Pulling fs layer 16:55:24 3f3a8bcf1eab: Waiting 16:55:24 f7c0051592d6: Pulling fs layer 16:55:24 a227ed2f7395: Pulling fs layer 16:55:24 7b1c46037f91: Pulling fs layer 16:55:24 f7c0051592d6: Waiting 16:55:24 a227ed2f7395: Waiting 16:55:24 0c92f367c5e7: Waiting 16:55:24 7b1c46037f91: Waiting 16:55:24 94645a83ff95: Verifying Checksum 16:55:24 94645a83ff95: Download complete 16:55:24 1a89e8eeedd5: Download complete 16:55:24 0c92f367c5e7: Verifying Checksum 16:55:24 0c92f367c5e7: Download complete 16:55:24 f7c0051592d6: Verifying Checksum 16:55:24 f7c0051592d6: Download complete 16:55:24 9b3977197b4f: Download complete 16:55:24 a227ed2f7395: Verifying Checksum 16:55:24 a227ed2f7395: Download complete 16:55:24 9b3977197b4f: Pull complete 16:55:25 1a89e8eeedd5: Pull complete 16:55:25 94645a83ff95: Pull complete 16:55:25 7b1c46037f91: Verifying Checksum 16:55:25 7b1c46037f91: Download complete 16:55:26 3f3a8bcf1eab: Download complete 16:55:38 3f3a8bcf1eab: Pull complete 16:55:38 0c92f367c5e7: Pull complete 16:55:38 f7c0051592d6: Pull complete 16:55:38 a227ed2f7395: Pull complete 16:55:38 Running on prd-ubuntu18.04-docker-8c-8g-5653 in /w/workspace/ry_app-rfid-llrp-inventory_PR-64 [Pipeline] { [Pipeline] ws 16:55:38 Running in /w/workspace/app-rfid-llrp-inventory/14 [Pipeline] { [Pipeline] checkout 16:55:39 The recommended git tool is: git 16:55:40 using credential edgex-jenkins-ssh 16:55:40 Cloning the remote Git repository 16:55:40 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:55:40 > git init /w/workspace/app-rfid-llrp-inventory/14 # timeout=10 16:55:40 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:55:40 > git --version # timeout=10 16:55:40 > git --version # 'git version 2.17.1' 16:55:40 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:55:42 Merging remotes/origin/main commit f43ac5ecc0fa5fb3b17b69b608bd853f288b8253 into PR head commit 88bcb40ffbb0dab08d4b9a73a9cdac923c1a592a [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:55:41 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:55:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:55:41 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:55:41 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:55:41 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:55:42 > git config core.sparsecheckout # timeout=10 16:55:42 > git checkout -f 88bcb40ffbb0dab08d4b9a73a9cdac923c1a592a # timeout=10 16:55:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:42 16:55:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:55:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:42 latest: Pulling from edgex-lftools-log-publisher 16:55:42 b4d181a07f80: Pulling fs layer 16:55:42 a1111a8f2ec3: Pulling fs layer 16:55:42 ed53099fbce6: Pulling fs layer 16:55:42 dc539afda2c1: Pulling fs layer 16:55:42 77bc0d833cb6: Pulling fs layer 16:55:42 9065ff56babe: Pulling fs layer 16:55:42 d287ab97295c: Pulling fs layer 16:55:42 77bc0d833cb6: Waiting 16:55:42 9065ff56babe: Waiting 16:55:42 d287ab97295c: Waiting 16:55:42 dc539afda2c1: Waiting 16:55:42 a1111a8f2ec3: Verifying Checksum 16:55:42 a1111a8f2ec3: Download complete 16:55:42 dc539afda2c1: Verifying Checksum 16:55:42 dc539afda2c1: Download complete 16:55:42 ed53099fbce6: Verifying Checksum 16:55:42 ed53099fbce6: Download complete 16:55:42 9065ff56babe: Verifying Checksum 16:55:42 9065ff56babe: Download complete 16:55:42 77bc0d833cb6: Verifying Checksum 16:55:42 77bc0d833cb6: Download complete 16:55:42 b4d181a07f80: Verifying Checksum 16:55:42 b4d181a07f80: Download complete 16:55:43 d287ab97295c: Verifying Checksum 16:55:43 d287ab97295c: Download complete 16:55:44 7b1c46037f91: Pull complete 16:55:44 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:55:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:55:44 ---> f79e39bc4007 16:55:44 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:55:44 b4d181a07f80: Pull complete 16:55:44 a1111a8f2ec3: Pull complete 16:55:45 ed53099fbce6: Pull complete 16:55:45 dc539afda2c1: Pull complete 16:55:45 77bc0d833cb6: Pull complete 16:55:45 9065ff56babe: Pull complete 16:55:45 ---> Running in 8b3a83b22486 16:55:45 Removing intermediate container 8b3a83b22486 16:55:45 ---> e738a32c87c2 16:55:45 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 16:55:45 ---> Running in d85d34a432c5 16:55:46 Removing intermediate container d85d34a432c5 16:55:46 ---> 4ef4d9bfc079 16:55:46 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:55:46 ---> Running in edc78e0dca27 16:55:46 Removing intermediate container edc78e0dca27 16:55:46 ---> 177621e626a8 16:55:46 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:46 ---> Running in a88ee3058725 16:55:48 Removing intermediate container a88ee3058725 16:55:48 ---> ce277ef975b2 16:55:48 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:48 ---> Running in ee213afef6df 16:55:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:55:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:55:50 d287ab97295c: Pull complete 16:55:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:55:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:55:50 prd-centos7-docker-4c-2g-5651 does not seem to be running inside a container 16:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-64 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64:/w/workspace/ry_app-rfid-llrp-inventory_PR-64:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:55:51 OK: 220 MiB in 52 packages 16:55:52 Removing intermediate container ee213afef6df 16:55:52 ---> 979c84b5fd9e 16:55:52 Step 8/13 : WORKDIR /app 16:55:52 ---> Running in 3a194cd253cd 16:55:52 Removing intermediate container 3a194cd253cd 16:55:52 ---> 9cedc0fbe3d6 16:55:52 Step 9/13 : COPY go.mod vendor* ./ 16:55:53 ---> ca6620902e27 16:55:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:53 ---> Running in 43417b70fbd3 16:55:53 $ docker top e4e40aa096145a248a3d50a43b2985e1e86ad3c992e825e6da9d572a03c36a63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:53 ---> job-cost.sh 16:55:53 lf-activate-venv: SKIPPING 16:55:53 INFO: No Stack... 16:55:54 INFO: Retrieving Pricing Info for: v3-standard-2 16:55:54 INFO: Archiving Costs [Pipeline] sh 16:55:54 + cut -d, -f6 16:55:54 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-64/archives/cost.csv [Pipeline] lock 16:55:54 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] 16:55:54 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] did not exist. Created. 16:55:54 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:55:55 + echo total: 0.05999999865889549 [Pipeline] stash 16:55:55 Stashed 1 file(s) [Pipeline] } 16:55:55 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] [Pipeline] // lock [Pipeline] } 16:55:55 $ docker stop --time=1 e4e40aa096145a248a3d50a43b2985e1e86ad3c992e825e6da9d572a03c36a63 16:55:56 $ docker rm -f e4e40aa096145a248a3d50a43b2985e1e86ad3c992e825e6da9d572a03c36a63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:55:56 Failed in branch amd64 16:57:14 Removing intermediate container 43417b70fbd3 16:57:14 ---> e3bb7a2d7bf7 16:57:14 Step 11/13 : COPY . . 16:57:14 ---> d84a3d83172c 16:57:14 Step 12/13 : ARG MAKE="make build" 16:57:14 ---> Running in aab36c4859f2 16:57:14 Removing intermediate container aab36c4859f2 16:57:14 ---> debc08bfb99b 16:57:14 Step 13/13 : RUN $MAKE 16:57:14 ---> Running in 5036c4cc853c 16:57:14 noop 16:57:14 Removing intermediate container 5036c4cc853c 16:57:14 ---> 4131b813a1cd 16:57:14 Successfully built 4131b813a1cd 16:57:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:57:15 + docker inspect -f . ci-base-image-arm64 16:57:15 . [Pipeline] withDockerContainer 16:57:15 prd-ubuntu18.04-docker-arm64-4c-16g-5652 does not seem to be running inside a container 16:57:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/14 -v /w/workspace/app-rfid-llrp-inventory/14:/w/workspace/app-rfid-llrp-inventory/14:rw,z -v /w/workspace/app-rfid-llrp-inventory/14@tmp:/w/workspace/app-rfid-llrp-inventory/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:57:16 $ docker top 10fcf0b76e7e3ae410871e7694385f43638678b7cfd53931ff47f5341320424b -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:17 + go version 16:57:17 go version go1.17.6 linux/arm64 [Pipeline] } 16:57:17 $ docker stop --time=1 10fcf0b76e7e3ae410871e7694385f43638678b7cfd53931ff47f5341320424b 16:57:19 $ docker rm -f 10fcf0b76e7e3ae410871e7694385f43638678b7cfd53931ff47f5341320424b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:57:19 + docker inspect -f . ci-base-image-arm64 16:57:19 . [Pipeline] withDockerContainer 16:57:20 prd-ubuntu18.04-docker-arm64-4c-16g-5652 does not seem to be running inside a container 16:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/14 -v /w/workspace/app-rfid-llrp-inventory/14:/w/workspace/app-rfid-llrp-inventory/14:rw,z -v /w/workspace/app-rfid-llrp-inventory/14@tmp:/w/workspace/app-rfid-llrp-inventory/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:57:21 $ docker top 4d4ab0c125b06ee18aee35137ee503e5babd681afcc56e4d2b06aeba394c154c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:57:22 + make test 16:57:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:58:09 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:58:11 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.204s coverage: 86.2% of statements 16:58:11 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:58:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.673s coverage: 71.9% of statements 16:58:15 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 16:58:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:58:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:58:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:58:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:58:37 ./bin/test-attribution.sh [Pipeline] echo 16:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:58:37 $ docker stop --time=1 4d4ab0c125b06ee18aee35137ee503e5babd681afcc56e4d2b06aeba394c154c 16:58:39 $ docker rm -f 4d4ab0c125b06ee18aee35137ee503e5babd681afcc56e4d2b06aeba394c154c [Pipeline] // withDockerContainer [Pipeline] sh 16:58:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:58:40 Warning: overwriting stash ‘coverage-report’ 16:58:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:58:41 + ls -al . 16:58:41 total 236 16:58:41 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 16:58 . 16:58:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 16:54 .. 16:58:41 -rw-rw-r-- 1 jenkins jenkins 262 Feb 18 16:54 .dockerignore 16:58:41 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 16:54 .git 16:58:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 16:54 .github 16:58:41 -rw-rw-r-- 1 jenkins jenkins 788 Feb 18 16:54 .gitignore 16:58:41 -rw-rw-r-- 1 jenkins jenkins 41 Feb 18 16:54 .golangci.yml 16:58:41 -rw-rw-r-- 1 jenkins jenkins 8248 Feb 18 16:54 Attribution.txt 16:58:41 -rw-rw-r-- 1 jenkins jenkins 1923 Feb 18 16:54 Dockerfile 16:58:41 -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 16:54 GOVERNANCE.md 16:58:41 -rw-rw-r-- 1 jenkins jenkins 686 Feb 18 16:54 Jenkinsfile 16:58:41 -rw-rw-r-- 1 jenkins jenkins 11347 Feb 18 16:54 LICENSE 16:58:41 -rw-rw-r-- 1 jenkins jenkins 2095 Feb 18 16:54 Makefile 16:58:41 -rw-rw-r-- 1 jenkins jenkins 617 Feb 18 16:54 OWNERS.md 16:58:41 -rw-rw-r-- 1 jenkins jenkins 30039 Feb 18 16:54 README.md 16:58:41 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 16:53 VERSION 16:58:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 16:54 bin 16:58:41 -rw-r--r-- 1 jenkins jenkins 41008 Feb 18 16:58 coverage.out 16:58:41 -rw-rw-r-- 1 jenkins jenkins 3019 Feb 18 16:58 go.mod 16:58:41 -rw-rw-r-- 1 jenkins jenkins 49531 Feb 18 16:54 go.sum 16:58:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 16:54 images 16:58:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 16:54 internal 16:58:41 -rw-rw-r-- 1 jenkins jenkins 531 Feb 18 16:54 main.go 16:58:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 16:54 res 16:58:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 16:54 snap 16:58:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 16:54 static [Pipeline] isUnix [Pipeline] sh 16:58:41 + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7cfbc8a13a66a24b2cefab4a83fc57cc8bd05c08 --label arch=arm64 --label version=0.0.0 . 16:58:42 Sending build context to Docker daemon 690.7kB 16:58:42 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 16:58:42 Step 2/31 : FROM ${BASE} AS builder 16:58:42 ---> 4131b813a1cd 16:58:42 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:58:42 ---> Running in d1ddd4252daa 16:58:42 Removing intermediate container d1ddd4252daa 16:58:42 ---> 3482d4bd2cbb 16:58:42 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 16:58:42 ---> Running in eb2d029bc306 16:58:43 Removing intermediate container eb2d029bc306 16:58:43 ---> 88df4f5dc41d 16:58:43 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:58:43 ---> Running in ec5be2309d71 16:58:43 Removing intermediate container ec5be2309d71 16:58:43 ---> 9dbd06d22b23 16:58:43 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:58:43 ---> Running in cf6d4cc2b292 16:58:45 Removing intermediate container cf6d4cc2b292 16:58:45 ---> d1cabdf672f6 16:58:45 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:58:45 ---> Running in 4dd85c8472ef 16:58:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:58:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:58:48 OK: 220 MiB in 52 packages 16:58:49 Removing intermediate container 4dd85c8472ef 16:58:49 ---> 7d58e51adb94 16:58:49 Step 8/31 : WORKDIR /app 16:58:49 ---> Running in adc665c1c60a 16:58:49 Removing intermediate container adc665c1c60a 16:58:49 ---> 165f9933b44c 16:58:49 Step 9/31 : COPY go.mod vendor* ./ 16:58:50 ---> 9dc67f833981 16:58:50 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:58:50 ---> Running in 56206d69735d 16:58:52 Removing intermediate container 56206d69735d 16:58:52 ---> 15be8bca77c8 16:58:52 Step 11/31 : COPY . . 16:58:52 ---> 87c49bf0d4f6 16:58:52 Step 12/31 : ARG MAKE="make build" 16:58:52 ---> Running in 9ebc54cad483 16:58:53 Removing intermediate container 9ebc54cad483 16:58:53 ---> 7b0340734b63 16:58:53 Step 13/31 : RUN $MAKE 16:58:53 ---> Running in 374c18762eeb 16:58:54 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 16:59:41 Removing intermediate container 374c18762eeb 16:59:41 ---> 6042b81d5317 16:59:41 Step 14/31 : FROM alpine:3.14 16:59:41 3.14: Pulling from library/alpine 16:59:41 be307f383ecc: Pulling fs layer 16:59:41 be307f383ecc: Verifying Checksum 16:59:41 be307f383ecc: Download complete 16:59:41 be307f383ecc: Pull complete 16:59:41 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 16:59:41 Status: Downloaded newer image for alpine:3.14 16:59:41 ---> 5b8b7b635229 16:59:41 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:59:41 ---> Running in 5a790d2030b6 16:59:41 Removing intermediate container 5a790d2030b6 16:59:41 ---> 150fdd18327b 16:59:41 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:59:41 ---> Running in 9d1de9893f9c 16:59:41 Removing intermediate container 9d1de9893f9c 16:59:41 ---> 71daa35bbdef 16:59:41 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:59:41 ---> Running in 8060acd0a4de 16:59:41 Removing intermediate container 8060acd0a4de 16:59:41 ---> 1501118c6c43 16:59:41 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 16:59:41 ---> Running in 641ff290c451 16:59:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:59:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:59:42 (1/6) Installing ca-certificates (20211220-r0) 16:59:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:59:42 (3/6) Installing libsodium (1.0.18-r0) 16:59:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:59:43 (5/6) Installing libzmq (4.3.4-r0) 16:59:43 (6/6) Installing zeromq (4.3.4-r0) 16:59:43 Executing busybox-1.33.1-r6.trigger 16:59:43 Executing ca-certificates-20211220-r0.trigger 16:59:43 OK: 9 MiB in 20 packages 16:59:44 Removing intermediate container 641ff290c451 16:59:44 ---> bac76e0fb184 16:59:44 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:59:45 ---> 644faa436c45 16:59:45 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 16:59:45 ---> 7690d171c0eb 16:59:45 Step 21/31 : COPY --from=builder /app/res/ /res/ 16:59:46 ---> c935598b09cb 16:59:46 Step 22/31 : COPY --from=builder /app/static/ /static/ 16:59:47 ---> be1468f3675c 16:59:47 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:59:48 ---> b7b7667830ea 16:59:48 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:59:48 ---> Running in f539c9624f0b 16:59:50 Removing intermediate container f539c9624f0b 16:59:50 ---> 7b3b5e05a3f3 16:59:50 Step 25/31 : VOLUME /cache 16:59:50 ---> Running in 64f12dd92d36 16:59:50 Removing intermediate container 64f12dd92d36 16:59:50 ---> a113e24c814d 16:59:50 Step 26/31 : EXPOSE 59711 16:59:50 ---> Running in 6dc716e89323 16:59:50 Removing intermediate container 6dc716e89323 16:59:50 ---> d28027a7b55c 16:59:50 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:59:50 ---> Running in ff1052db827e 16:59:51 Removing intermediate container ff1052db827e 16:59:51 ---> 99601bcf67b5 16:59:51 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 16:59:51 ---> Running in 4766d8828d05 16:59:51 Removing intermediate container 4766d8828d05 16:59:51 ---> 763a01dd93b9 16:59:51 Step 29/31 : LABEL arch=arm64 16:59:51 ---> Running in 626ac112a569 16:59:52 Removing intermediate container 626ac112a569 16:59:52 ---> e2f47a46f8c2 16:59:52 Step 30/31 : LABEL git_sha=7cfbc8a13a66a24b2cefab4a83fc57cc8bd05c08 16:59:52 ---> Running in a2f927a01e49 16:59:52 Removing intermediate container a2f927a01e49 16:59:52 ---> 4735379ecb9b 16:59:52 Step 31/31 : LABEL version=0.0.0 16:59:52 ---> Running in c9673b898013 16:59:52 Removing intermediate container c9673b898013 16:59:52 ---> b55c570b0773 16:59:52 [Warning] One or more build-args [ARCH] were not consumed 16:59:52 Successfully built b55c570b0773 16:59:52 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 16:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:59:53 16:59:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:59:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:59:53 arm64: Pulling from edgex-lftools-log-publisher 16:59:53 448f6bf000e3: Pulling fs layer 16:59:53 f757da607395: Pulling fs layer 16:59:53 05883995daec: Pulling fs layer 16:59:53 8603b9c90790: Pulling fs layer 16:59:53 1560dd03e051: Pulling fs layer 16:59:53 27f5ce0e4adf: Pulling fs layer 16:59:53 c2d8d7efcc4b: Pulling fs layer 16:59:53 8603b9c90790: Waiting 16:59:53 27f5ce0e4adf: Waiting 16:59:53 c2d8d7efcc4b: Waiting 16:59:53 1560dd03e051: Waiting 16:59:53 f757da607395: Verifying Checksum 16:59:53 f757da607395: Download complete 16:59:53 8603b9c90790: Verifying Checksum 16:59:53 8603b9c90790: Download complete 16:59:53 1560dd03e051: Verifying Checksum 16:59:53 1560dd03e051: Download complete 16:59:53 27f5ce0e4adf: Verifying Checksum 16:59:53 27f5ce0e4adf: Download complete 16:59:54 05883995daec: Verifying Checksum 16:59:54 05883995daec: Download complete 16:59:54 448f6bf000e3: Verifying Checksum 16:59:54 448f6bf000e3: Download complete 16:59:57 c2d8d7efcc4b: Verifying Checksum 16:59:57 c2d8d7efcc4b: Download complete 16:59:58 448f6bf000e3: Pull complete 16:59:58 f757da607395: Pull complete 16:59:59 05883995daec: Pull complete 17:00:00 8603b9c90790: Pull complete 17:00:01 1560dd03e051: Pull complete 17:00:01 27f5ce0e4adf: Pull complete 17:00:16 c2d8d7efcc4b: Pull complete 17:00:16 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:00:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:00:16 prd-ubuntu18.04-docker-arm64-4c-16g-5652 does not seem to be running inside a container 17:00:16 $ 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/14 -v /w/workspace/app-rfid-llrp-inventory/14:/w/workspace/app-rfid-llrp-inventory/14:rw,z -v /w/workspace/app-rfid-llrp-inventory/14@tmp:/w/workspace/app-rfid-llrp-inventory/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:00:19 $ docker top d3b74d1d11610a8c4ff8de58bbb10921f9f4a6288beeddd854546283219b7aa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:20 ---> job-cost.sh 17:00:20 lf-activate-venv: SKIPPING 17:00:20 INFO: No Stack... 17:00:20 INFO: Retrieving Pricing Info for: v3-standard-4 17:00:20 INFO: Archiving Costs [Pipeline] sh 17:00:21 + cut -d, -f6 17:00:21 + cat /w/workspace/app-rfid-llrp-inventory/14/archives/cost.csv [Pipeline] lock 17:00:21 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] 17:00:21 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] did not exist. Created. 17:00:21 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:00:22 /w/workspace/app-rfid-llrp-inventory/14@tmp/durable-97aac1c1/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/14@tmp/durable-97aac1c1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:00:22 + echo total: 0.10999999940395355 [Pipeline] stash 17:00:22 Warning: overwriting stash ‘stack-cost’ 17:00:22 Stashed 1 file(s) [Pipeline] } 17:00:22 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-64-14-stack-cost] [Pipeline] // lock [Pipeline] } 17:00:22 $ docker stop --time=1 d3b74d1d11610a8c4ff8de58bbb10921f9f4a6288beeddd854546283219b7aa1 17:00:24 $ docker rm -f d3b74d1d11610a8c4ff8de58bbb10921f9f4a6288beeddd854546283219b7aa1 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:00:25 + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-64/archives ']' 17:00:25 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-64/archives 17:00:25 total 8 17:00:25 drwxr-xr-x. 3 root root 34 Feb 18 16:55 . 17:00:25 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 18 16:55 .. 17:00:25 drwxr-xr-x. 2 root root 6 Feb 18 16:55 cost 17:00:25 -rw-r--r--. 1 root root 94 Feb 18 16:55 cost.csv 17:00:25 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-64/archives 17:00:25 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-64/archives 17:00:25 total 8 17:00:25 drwxr-xr-x. 3 jenkins jenkins 34 Feb 18 16:55 . 17:00:25 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 18 16:55 .. 17:00:25 drwxr-xr-x. 2 jenkins jenkins 6 Feb 18 16:55 cost 17:00:25 -rw-r--r--. 1 jenkins jenkins 94 Feb 18 16:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:00:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:00:26 ---> package-listing.sh 17:00:26 ++ facter osfamily 17:00:26 ++ tr '[:upper:]' '[:lower:]' 17:00:26 + OS_FAMILY=redhat 17:00:26 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-64 17:00:26 + START_PACKAGES=/tmp/packages_start.txt 17:00:26 + END_PACKAGES=/tmp/packages_end.txt 17:00:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:00:26 + PACKAGES=/tmp/packages_start.txt 17:00:26 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-64 ']' 17:00:26 + PACKAGES=/tmp/packages_end.txt 17:00:26 + case "${OS_FAMILY}" in 17:00:26 + sort 17:00:26 + rpm -qa 17:00:26 + '[' -f /tmp/packages_start.txt ']' 17:00:26 + '[' -f /tmp/packages_end.txt ']' 17:00:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:00:26 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-64 ']' 17:00:26 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-64/archives/ 17:00:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-64/archives/ [Pipeline] echo 17:00:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:00:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:00:27 . [Pipeline] withDockerContainer 17:00:27 prd-centos7-docker-4c-2g-5651 does not seem to be running inside a container 17:00:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-64/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-64 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64:/w/workspace/ry_app-rfid-llrp-inventory_PR-64:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:00:28 $ docker top fc3149028e7cdce7b986d778fac3d73a9f38065041e304e58583114179488ba8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:28 + touch /tmp/pre-build-complete [Pipeline] sh 17:00:28 + mkdir -p /var/log/sysstat [Pipeline] sh 17:00:29 + ls /var/log/sa-host 17:00:29 + sadf -c /var/log/sa-host/sa17 17:00:29 file_magic: OK 17:00:29 HZ: Using current value: 100 17:00:29 file_header: OK 17:00:29 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:00:29 Statistics: 17:00:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:00:29 File successfully converted to sysstat format version 12.0.3 17:00:29 + sadf -c /var/log/sa-host/sa18 17:00:29 file_magic: OK 17:00:29 HZ: Using current value: 100 17:00:29 file_header: OK 17:00:29 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:00:29 Statistics: 17:00:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:00:29 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:29 provisioning config files... 17:00:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-64@tmp/config8407135287981144915tmp [Pipeline] { [Pipeline] echo 17:00:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:00:29 ---> create-netrc.sh [Pipeline] } 17:00:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:00:29 ---> python-tools-install.sh [Pipeline] echo 17:00:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:00:30 ---> sudo-logs.sh 17:00:30 Archiving 'sudo' log.. 17:00:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-5651.novalocal: Name or service not known 17:00:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-5651.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:00:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:00:30 ---> job-cost.sh 17:00:30 lf-activate-venv: SKIPPING 17:00:30 DEBUG: total: 0.05999999865889549 17:00:30 INFO: Retrieving Stack Cost... 17:00:30 INFO: Retrieving Pricing Info for: v3-standard-2 17:00:30 INFO: Archiving Costs [Pipeline] echo 17:00:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:00:31 ---> logs-deploy.sh 17:00:31 lf-activate-venv: SKIPPING 17:00:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-64/14 17:00:31 INFO: archiving workspace using pattern(s): 17:00:31 Archives upload complete. 17:00:32 INFO: archiving logs to Nexus