Pull request #74 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 farshidtz for edgexfoundry/app-rfid-llrp-inventory Loading trusted files from base branch main at 8b2fb15614d399982e3d107523aa790b0caa1bb8 rather than 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 Obtained Jenkinsfile from 8b2fb15614d399982e3d107523aa790b0caa1bb8 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-ssh17177618284782754926.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13005042726557773530.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-74/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-74/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1677373289817473555.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh990160001373725492.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-74/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-74/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12917702254273528795.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22035’ Running on prd-ubuntu20.04-docker-8c-8g-22042 in /w/workspace/ry_app-rfid-llrp-inventory_PR-74 [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-74 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8b2fb15614d399982e3d107523aa790b0caa1bb8 into PR head commit 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 Merge succeeded, producing 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 Checking out Revision 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 (PR-74) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8b2fb15614d399982e3d107523aa790b0caa1bb8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 # timeout=10 Commit message: "build: Upgrade edgex-snap-hooks for fix quotation bug" > git rev-list --no-walk 01b43d8ffaf235f9c83e485bb945c15bd7d45304 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:29:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:29:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:29:20 ========================================================= 14:29:20 EdgeX Global Pipelines Version Info 14:29:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:29:21 ------------------- 14:29:21 stable info: 14:29:21 ------------------- 14:29:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:29:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:29:21 Message: update stable to v1.0.221 14:29:21 ------------------- 14:29:21 experimental info: 14:29:21 ------------------- 14:29:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:29:21 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 14:29:21 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-74 [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-74 [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-74 [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5764f6a [Pipeline] echo 14:29:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:22 provisioning config files... 14:29:22 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/config7695320556034501098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:22 ---> docker-login.sh 14:29:22 nexus3.edgexfoundry.org:10001 14:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:23 Configure a credential helper to remove this warning. See 14:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:23 14:29:23 Login Succeeded 14:29:23 nexus3.edgexfoundry.org:10002 14:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:23 Configure a credential helper to remove this warning. See 14:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:23 14:29:23 Login Succeeded 14:29:23 nexus3.edgexfoundry.org:10003 14:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:23 Configure a credential helper to remove this warning. See 14:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:23 14:29:23 Login Succeeded 14:29:23 nexus3.edgexfoundry.org:10004 14:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:23 Configure a credential helper to remove this warning. See 14:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:23 14:29:23 Login Succeeded 14:29:23 docker.io 14:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:24 Configure a credential helper to remove this warning. See 14:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:24 14:29:24 Login Succeeded 14:29:24 ---> docker-login.sh ends [Pipeline] } 14:29:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:29:24 + git rev-list -1 --merges 5764f6a2d5152da428c12fb5d4dd33bbd399eb69~1..5764f6a2d5152da428c12fb5d4dd33bbd399eb69 [Pipeline] echo 14:29:24 -----------> git rev-list -1 --merges 5764f6a2d5152da428c12fb5d4dd33bbd399eb69~1..5764f6a2d5152da428c12fb5d4dd33bbd399eb69 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 [false] [Pipeline] sh 14:29:25 + git log --format=format:%s -1 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 [Pipeline] echo 14:29:25 ========================================================= 14:29:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:29:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:29:25 + git log --format=format:%s -1 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 [Pipeline] echo 14:29:25 [semverPrep] GIT_COMMIT: 5764f6a2d5152da428c12fb5d4dd33bbd399eb69, Commit Message: build: Upgrade edgex-snap-hooks for fix quotation bug [Pipeline] echo 14:29:25 [semverPrep] This is not a build commit. [Pipeline] sh 14:29:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:29:26 + grep -v github /etc/ssh/ssh_known_hosts 14:29:26 + [ -e /tmp/ssh_known_hosts ] 14:29:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:29:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:29:26 + sudo tee -a /etc/ssh/ssh_known_hosts 14:29:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:29:26 14:29:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:29:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:29:26 latest: Pulling from edgex-devops/git-semver 14:29:26 a0d0a0d46f8b: Pulling fs layer 14:29:26 3e5f54012d9b: Pulling fs layer 14:29:26 4c7163046ea9: Pulling fs layer 14:29:26 0c2d73faf560: Pulling fs layer 14:29:26 3e5f54012d9b: Download complete 14:29:26 a0d0a0d46f8b: Download complete 14:29:26 0c2d73faf560: Download complete 14:29:26 4c7163046ea9: Verifying Checksum 14:29:26 4c7163046ea9: Download complete 14:29:27 a0d0a0d46f8b: Pull complete 14:29:27 3e5f54012d9b: Pull complete 14:29:27 4c7163046ea9: Pull complete 14:29:27 0c2d73faf560: Pull complete 14:29:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:29:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:29:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:29:27 prd-ubuntu20.04-docker-8c-8g-22042 does not seem to be running inside a container 14:29:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-74 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74:/w/workspace/ry_app-rfid-llrp-inventory_PR-74:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:29:28 $ docker top 86edb79353187921f6b716165fe4a8e3474474a23ac696bad56b4f92f097f236 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:29:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:29:28 [ssh-agent] Looking for ssh-agent implementation... 14:29:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:29:28 $ docker exec 86edb79353187921f6b716165fe4a8e3474474a23ac696bad56b4f92f097f236 ssh-agent 14:29:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeFDHOb/agent.15 14:29:28 SSH_AGENT_PID=21 14:29:28 Running ssh-add (command line suppressed) 14:29:28 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/private_key_4394938833564646688.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/private_key_4394938833564646688.key) 14:29:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:29:29 + git tag --points-at HEAD [Pipeline] } 14:29:29 $ docker exec --env ******** --env ******** 86edb79353187921f6b716165fe4a8e3474474a23ac696bad56b4f92f097f236 ssh-agent -k 14:29:29 unset SSH_AUTH_SOCK; 14:29:29 unset SSH_AGENT_PID; 14:29:29 echo Agent pid 21 killed; 14:29:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:29:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:29:29 [ssh-agent] Looking for ssh-agent implementation... 14:29:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:29:29 $ docker exec 86edb79353187921f6b716165fe4a8e3474474a23ac696bad56b4f92f097f236 ssh-agent 14:29:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJBnhIg/agent.54 14:29:29 SSH_AGENT_PID=60 14:29:29 Running ssh-add (command line suppressed) 14:29:29 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/private_key_7137643621184310556.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/private_key_7137643621184310556.key) 14:29:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:29:30 + git semver init 14:29:30 # -> Open(): unable to determine branch for HEAD 14:29:30 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-74/.git 14:29:30 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-74 14:29:30 # $SEMVER_REMOTE_NAME = origin 14:29:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:29:30 # $SEMVER_USER_NAME = edgex-jenkins 14:29:30 # $SEMVER_BRANCH = PR-74 14:29:30 # $SEMVER_TEMP = /tmp/semver-967766370 14:29:30 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 14:29:31 # '/tmp/semver-967766370' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-74/.semver' 14:29:31 # -> Force: false 14:29:31 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-74/.semver [Pipeline] } 14:29:31 $ docker exec --env ******** --env ******** 86edb79353187921f6b716165fe4a8e3474474a23ac696bad56b4f92f097f236 ssh-agent -k 14:29:31 unset SSH_AUTH_SOCK; 14:29:31 unset SSH_AGENT_PID; 14:29:31 echo Agent pid 60 killed; 14:29:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:29:31 + git semver [Pipeline] } 14:29:31 $ docker stop --time=1 86edb79353187921f6b716165fe4a8e3474474a23ac696bad56b4f92f097f236 14:29:33 $ docker rm -f 86edb79353187921f6b716165fe4a8e3474474a23ac696bad56b4f92f097f236 [Pipeline] // withDockerContainer [Pipeline] sh 14:29:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:29:33 Stashed 1 file(s) [Pipeline] echo 14:29:33 [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 14:29:34 provisioning config files... 14:29:34 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/config1488569382045561020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:34 ---> docker-login.sh 14:29:34 nexus3.edgexfoundry.org:10001 14:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:34 Configure a credential helper to remove this warning. See 14:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:34 14:29:34 Login Succeeded 14:29:34 nexus3.edgexfoundry.org:10002 14:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:34 Configure a credential helper to remove this warning. See 14:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:34 14:29:34 Login Succeeded 14:29:34 nexus3.edgexfoundry.org:10003 14:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:34 Configure a credential helper to remove this warning. See 14:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:34 14:29:34 Login Succeeded 14:29:34 nexus3.edgexfoundry.org:10004 14:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:34 Configure a credential helper to remove this warning. See 14:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:34 14:29:34 Login Succeeded 14:29:34 docker.io 14:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:35 Configure a credential helper to remove this warning. See 14:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:35 14:29:35 Login Succeeded 14:29:35 ---> docker-login.sh ends [Pipeline] } 14:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:29:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:29:35 ========================================================= 14:29:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:29:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:29:35 + 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 . 14:29:35 Sending build context to Docker daemon 10.04MB 14:29:35 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:29:35 Step 2/13 : FROM ${BASE} AS builder 14:29:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:29:35 59bf1c3509f3: Pulling fs layer 14:29:35 666ba61612fd: Pulling fs layer 14:29:35 8ed8ca486205: Pulling fs layer 14:29:35 4fe6c5a15a65: Pulling fs layer 14:29:35 22a0e8bec74d: Pulling fs layer 14:29:35 ca2b28591e48: Pulling fs layer 14:29:35 a51346096db8: Pulling fs layer 14:29:35 daebc70d1ce1: Pulling fs layer 14:29:35 0e18a0eac166: Pulling fs layer 14:29:35 daebc70d1ce1: Waiting 14:29:35 22a0e8bec74d: Waiting 14:29:35 ca2b28591e48: Waiting 14:29:35 a51346096db8: Waiting 14:29:35 0e18a0eac166: Waiting 14:29:35 4fe6c5a15a65: Waiting 14:29:35 8ed8ca486205: Download complete 14:29:35 666ba61612fd: Download complete 14:29:35 22a0e8bec74d: Verifying Checksum 14:29:35 22a0e8bec74d: Download complete 14:29:35 ca2b28591e48: Download complete 14:29:35 a51346096db8: Verifying Checksum 14:29:35 a51346096db8: Download complete 14:29:35 59bf1c3509f3: Verifying Checksum 14:29:35 59bf1c3509f3: Download complete 14:29:35 daebc70d1ce1: Verifying Checksum 14:29:35 daebc70d1ce1: Download complete 14:29:35 59bf1c3509f3: Pull complete 14:29:36 666ba61612fd: Pull complete 14:29:36 8ed8ca486205: Pull complete 14:29:36 0e18a0eac166: Verifying Checksum 14:29:36 0e18a0eac166: Download complete 14:29:36 4fe6c5a15a65: Verifying Checksum 14:29:36 4fe6c5a15a65: Download complete 14:29:40 4fe6c5a15a65: Pull complete 14:29:40 22a0e8bec74d: Pull complete 14:29:40 ca2b28591e48: Pull complete 14:29:40 a51346096db8: Pull complete 14:29:40 daebc70d1ce1: Pull complete 14:29:42 0e18a0eac166: Pull complete 14:29:42 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:29:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:29:42 ---> f018257e8ee9 14:29:42 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:29:44 ---> Running in 18ecf3e983cd 14:29:44 Removing intermediate container 18ecf3e983cd 14:29:44 ---> 3746d205cfba 14:29:44 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 14:29:44 ---> Running in fdd2c304c3ff 14:29:44 Removing intermediate container fdd2c304c3ff 14:29:44 ---> c81968a705f6 14:29:44 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:29:44 ---> Running in 24c44053570f 14:29:44 Removing intermediate container 24c44053570f 14:29:44 ---> ca0925f315c7 14:29:44 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:29:44 ---> Running in f413a6bcf186 14:29:44 Removing intermediate container f413a6bcf186 14:29:44 ---> 2e535f8c60cc 14:29:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:29:44 ---> Running in 8544562ba40d 14:29:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:29:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:29:46 OK: 221 MiB in 52 packages 14:29:46 Removing intermediate container 8544562ba40d 14:29:46 ---> db88f0859486 14:29:46 Step 8/13 : WORKDIR /app 14:29:46 ---> Running in 2e17bf2edfe7 14:29:46 Removing intermediate container 2e17bf2edfe7 14:29:46 ---> f87c957615f3 14:29:46 Step 9/13 : COPY go.mod vendor* ./ 14:29:46 ---> f1207231194e 14:29:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:29:46 ---> Running in 3c5cb8139542 14:29:49 Still waiting to schedule task 14:29:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22036’ 14:30:08 Removing intermediate container 3c5cb8139542 14:30:08 ---> 3a83ad9c6cb1 14:30:08 Step 11/13 : COPY . . 14:30:08 ---> 80a2b8f05029 14:30:08 Step 12/13 : ARG MAKE="make build" 14:30:08 ---> Running in b14aa0483a11 14:30:08 Removing intermediate container b14aa0483a11 14:30:08 ---> d0a197a6384d 14:30:08 Step 13/13 : RUN $MAKE 14:30:08 ---> Running in fd61ff33039e 14:30:08 noop 14:30:08 Removing intermediate container fd61ff33039e 14:30:08 ---> 695e1bca5d42 14:30:08 Successfully built 695e1bca5d42 14:30:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:30:09 + docker inspect -f . ci-base-image-x86_64 14:30:09 . [Pipeline] withDockerContainer 14:30:09 prd-ubuntu20.04-docker-8c-8g-22042 does not seem to be running inside a container 14:30:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-74 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74:/w/workspace/ry_app-rfid-llrp-inventory_PR-74:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:30:09 $ docker top b742151edbac4077559615e6cf142250afc6b1618452233cf1b073736ebe854e -eo pid,comm [Pipeline] { [Pipeline] sh 14:30:10 + go version 14:30:10 go version go1.17.6 linux/amd64 [Pipeline] } 14:30:10 $ docker stop --time=1 b742151edbac4077559615e6cf142250afc6b1618452233cf1b073736ebe854e 14:30:11 $ docker rm -f b742151edbac4077559615e6cf142250afc6b1618452233cf1b073736ebe854e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:30:11 + docker inspect -f . ci-base-image-x86_64 14:30:11 . [Pipeline] withDockerContainer 14:30:11 prd-ubuntu20.04-docker-8c-8g-22042 does not seem to be running inside a container 14:30:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-74 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74:/w/workspace/ry_app-rfid-llrp-inventory_PR-74:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:30:12 $ docker top d521b3b4d6080ae99589d26cee37a97ded227c5836e758ee90680c0229d2a2f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:30:12 + make test 14:30:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:30:20 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 14:30:20 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.036s coverage: 86.2% of statements 14:30:20 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 14:30:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.539s coverage: 71.9% of statements 14:30:21 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 14:30:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:30:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:30:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:30:30 ./bin/test-attribution.sh [Pipeline] echo 14:30:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:30:30 $ docker stop --time=1 d521b3b4d6080ae99589d26cee37a97ded227c5836e758ee90680c0229d2a2f5 14:30:32 $ docker rm -f d521b3b4d6080ae99589d26cee37a97ded227c5836e758ee90680c0229d2a2f5 [Pipeline] // withDockerContainer [Pipeline] sh 14:30:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:30:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:30:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:30:34 + ls -al . 14:30:34 total 240 14:30:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 14:30 . 14:30:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:29 .. 14:30:34 -rw-rw-r-- 1 jenkins jenkins 262 Apr 25 14:29 .dockerignore 14:30:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 14:29 .git 14:30:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 14:29 .github 14:30:34 -rw-rw-r-- 1 jenkins jenkins 788 Apr 25 14:29 .gitignore 14:30:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 14:29 .golangci.yml 14:30:34 drwx------ 3 jenkins jenkins 4096 Apr 25 14:29 .semver 14:30:34 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 25 14:29 Attribution.txt 14:30:34 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 25 14:29 Dockerfile 14:30:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 14:29 GOVERNANCE.md 14:30:34 -rw-rw-r-- 1 jenkins jenkins 687 Apr 25 14:29 Jenkinsfile 14:30:34 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 14:29 LICENSE 14:30:34 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 25 14:29 Makefile 14:30:34 -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 14:29 OWNERS.md 14:30:34 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 25 14:29 README.md 14:30:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 14:29 VERSION 14:30:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:29 bin 14:30:34 -rw-r--r-- 1 jenkins jenkins 41008 Apr 25 14:30 coverage.out 14:30:34 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 25 14:30 go.mod 14:30:34 -rw-rw-r-- 1 jenkins jenkins 49531 Apr 25 14:29 go.sum 14:30:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:29 images 14:30:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:29 internal 14:30:34 -rw-rw-r-- 1 jenkins jenkins 531 Apr 25 14:29 main.go 14:30:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:29 res 14:30:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:29 snap 14:30:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 14:29 static [Pipeline] isUnix [Pipeline] sh 14:30:34 + 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=5764f6a2d5152da428c12fb5d4dd33bbd399eb69 --label arch=amd64 --label version=0.0.0 . 14:30:34 Sending build context to Docker daemon 10.04MB 14:30:34 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 14:30:34 Step 2/31 : FROM ${BASE} AS builder 14:30:34 ---> 695e1bca5d42 14:30:34 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:30:34 ---> Running in d49debafcb8e 14:30:34 Removing intermediate container d49debafcb8e 14:30:34 ---> 415798a6f090 14:30:34 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 14:30:34 ---> Running in 3cd43c61ef53 14:30:34 Removing intermediate container 3cd43c61ef53 14:30:34 ---> c3b3808c9e18 14:30:34 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:30:34 ---> Running in 4e3b3491555b 14:30:34 Removing intermediate container 4e3b3491555b 14:30:34 ---> 0d2b145153a9 14:30:34 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:30:35 ---> Running in 9ca78e4921ea 14:30:35 Removing intermediate container 9ca78e4921ea 14:30:35 ---> 4b107a79aa0d 14:30:35 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:30:35 ---> Running in fd3e3376494e 14:30:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:30:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:30:37 OK: 221 MiB in 52 packages 14:30:37 Removing intermediate container fd3e3376494e 14:30:37 ---> fdf1fc751305 14:30:37 Step 8/31 : WORKDIR /app 14:30:37 ---> Running in c2ef323ac749 14:30:37 Removing intermediate container c2ef323ac749 14:30:37 ---> 8ee99777136a 14:30:37 Step 9/31 : COPY go.mod vendor* ./ 14:30:37 ---> ca0032368f5d 14:30:37 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:30:37 ---> Running in fb63fdf2ffcb 14:30:38 Removing intermediate container fb63fdf2ffcb 14:30:38 ---> 6d73101a57fd 14:30:38 Step 11/31 : COPY . . 14:30:38 ---> 04712b8f971f 14:30:38 Step 12/31 : ARG MAKE="make build" 14:30:38 ---> Running in 1d50c155e635 14:30:38 Removing intermediate container 1d50c155e635 14:30:38 ---> 507e34b0bda6 14:30:38 Step 13/31 : RUN $MAKE 14:30:38 ---> Running in 4f0cad945d81 14:30:38 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 14:30:47 Removing intermediate container 4f0cad945d81 14:30:47 ---> a9c4a0044694 14:30:47 Step 14/31 : FROM alpine:3.14 14:30:47 3.14: Pulling from library/alpine 14:30:47 8663204ce13b: Pulling fs layer 14:30:47 8663204ce13b: Verifying Checksum 14:30:47 8663204ce13b: Download complete 14:30:47 8663204ce13b: Pull complete 14:30:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:30:47 Status: Downloaded newer image for alpine:3.14 14:30:47 ---> e04c818066af 14:30:47 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:30:47 ---> Running in 6f5007688a5d 14:30:47 Removing intermediate container 6f5007688a5d 14:30:47 ---> 968c49fa9231 14:30:47 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 14:30:47 ---> Running in 4986f4c196e7 14:30:47 Removing intermediate container 4986f4c196e7 14:30:47 ---> f504240bd1da 14:30:47 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:30:47 ---> Running in 3cc780dea876 14:30:48 Removing intermediate container 3cc780dea876 14:30:48 ---> 32298dcb4159 14:30:48 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 14:30:48 ---> Running in 08b00095c7e1 14:30:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:30:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:30:49 (1/6) Installing ca-certificates (20211220-r0) 14:30:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:30:50 (3/6) Installing libsodium (1.0.18-r0) 14:30:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:30:50 (5/6) Installing libzmq (4.3.4-r0) 14:30:50 (6/6) Installing zeromq (4.3.4-r0) 14:30:50 Executing busybox-1.33.1-r7.trigger 14:30:50 Executing ca-certificates-20211220-r0.trigger 14:30:50 OK: 9 MiB in 20 packages 14:30:50 Removing intermediate container 08b00095c7e1 14:30:50 ---> cc86ed5c407b 14:30:50 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:30:50 ---> eeb2194e7ba8 14:30:50 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 14:30:51 ---> 0177a4025f14 14:30:51 Step 21/31 : COPY --from=builder /app/res/ /res/ 14:30:51 ---> d8ac81af70e5 14:30:51 Step 22/31 : COPY --from=builder /app/static/ /static/ 14:30:51 ---> 708141328017 14:30:51 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 14:30:51 ---> 3999c21720b1 14:30:51 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 14:30:51 ---> Running in f7bc584a426e 14:30:52 Removing intermediate container f7bc584a426e 14:30:52 ---> 83c80cb999b3 14:30:52 Step 25/31 : VOLUME /cache 14:30:52 ---> Running in f695ed04efed 14:30:52 Removing intermediate container f695ed04efed 14:30:52 ---> 7ec08fcd1e2b 14:30:52 Step 26/31 : EXPOSE 59711 14:30:52 ---> Running in fb11d7dc161e 14:30:52 Removing intermediate container fb11d7dc161e 14:30:52 ---> 7a64e2852751 14:30:52 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 14:30:52 ---> Running in 25c236aaa77a 14:30:52 Removing intermediate container 25c236aaa77a 14:30:52 ---> ea4f22b6412b 14:30:52 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 14:30:52 ---> Running in 2b4be508b2ca 14:30:52 Removing intermediate container 2b4be508b2ca 14:30:52 ---> bb49dac3de89 14:30:52 Step 29/31 : LABEL arch=amd64 14:30:52 ---> Running in a518fa0e1f08 14:30:53 Removing intermediate container a518fa0e1f08 14:30:53 ---> 3625ac2085ff 14:30:53 Step 30/31 : LABEL git_sha=5764f6a2d5152da428c12fb5d4dd33bbd399eb69 14:30:53 ---> Running in d186ffb7935e 14:30:53 Removing intermediate container d186ffb7935e 14:30:53 ---> d1d06a5a1cf0 14:30:53 Step 31/31 : LABEL version=0.0.0 14:30:53 ---> Running in c9c8313cda2c 14:30:53 Removing intermediate container c9c8313cda2c 14:30:53 ---> 51b83ae44214 14:30:53 [Warning] One or more build-args [ARCH] were not consumed 14:30:53 Successfully built 51b83ae44214 14:30:53 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:30:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:30:53 14:30:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:30:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:30:54 latest: Pulling from edgex-lftools-log-publisher 14:30:54 5eb5b503b376: Pulling fs layer 14:30:54 5c69ac0246d0: Pulling fs layer 14:30:54 ec43610c2a17: Pulling fs layer 14:30:54 3a2ae6a8a46f: Pulling fs layer 14:30:54 33b1e0a273af: Pulling fs layer 14:30:54 5d3b04190fa2: Pulling fs layer 14:30:54 2f39f015ded8: Pulling fs layer 14:30:54 33b1e0a273af: Waiting 14:30:54 5d3b04190fa2: Waiting 14:30:54 2f39f015ded8: Waiting 14:30:54 3a2ae6a8a46f: Waiting 14:30:54 5c69ac0246d0: Verifying Checksum 14:30:54 5c69ac0246d0: Download complete 14:30:54 3a2ae6a8a46f: Download complete 14:30:54 33b1e0a273af: Verifying Checksum 14:30:54 33b1e0a273af: Download complete 14:30:54 5d3b04190fa2: Download complete 14:30:54 ec43610c2a17: Verifying Checksum 14:30:54 5eb5b503b376: Verifying Checksum 14:30:54 5eb5b503b376: Download complete 14:30:54 2f39f015ded8: Verifying Checksum 14:30:54 2f39f015ded8: Download complete 14:30:55 5eb5b503b376: Pull complete 14:30:55 5c69ac0246d0: Pull complete 14:30:56 ec43610c2a17: Pull complete 14:30:56 3a2ae6a8a46f: Pull complete 14:30:56 33b1e0a273af: Pull complete 14:30:56 5d3b04190fa2: Pull complete 14:31:02 2f39f015ded8: Pull complete 14:31:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:31:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:31:02 prd-ubuntu20.04-docker-8c-8g-22042 does not seem to be running inside a container 14:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-74 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74:/w/workspace/ry_app-rfid-llrp-inventory_PR-74:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:31:04 $ docker top ac01d9b5aba585c0a1eb240d34d1931561000e01f8daeebef4096282b71b463e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:31:05 ---> job-cost.sh 14:31:05 lf-activate-venv: SKIPPING 14:31:05 INFO: No Stack... 14:31:05 INFO: Retrieving Pricing Info for: v3-standard-8 14:31:05 INFO: Archiving Costs [Pipeline] sh 14:31:06 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-74/archives/cost.csv 14:31:06 + cut -d, -f6 [Pipeline] lock 14:31:06 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] 14:31:06 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] did not exist. Created. 14:31:06 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:31:06 + echo total: 0.2199999988079071 [Pipeline] stash 14:31:06 Stashed 1 file(s) [Pipeline] } 14:31:06 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:31:06 $ docker stop --time=1 ac01d9b5aba585c0a1eb240d34d1931561000e01f8daeebef4096282b71b463e 14:31:08 $ docker rm -f ac01d9b5aba585c0a1eb240d34d1931561000e01f8daeebef4096282b71b463e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:33:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22043 in /w/workspace/ry_app-rfid-llrp-inventory_PR-74 [Pipeline] { [Pipeline] ws 14:33:35 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 14:33:36 The recommended git tool is: git 14:33:42 using credential edgex-jenkins-ssh 14:33:42 Cloning the remote Git repository 14:33:42 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 14:33:42 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 14:33:42 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 14:33:42 > git --version # timeout=10 14:33:42 > git --version # 'git version 2.25.1' 14:33:42 using GIT_SSH to set credentials SSH Credentials for GitHub 14:33:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:33:44 Merging remotes/origin/main commit 8b2fb15614d399982e3d107523aa790b0caa1bb8 into PR head commit 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 14:33:45 Merge succeeded, producing 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 14:33:45 Checking out Revision 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 (PR-74) 14:33:44 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 14:33:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:33:44 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 14:33:44 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 14:33:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:33:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:33:45 > git config core.sparsecheckout # timeout=10 14:33:45 > git checkout -f 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 # timeout=10 14:33:45 > git remote # timeout=10 14:33:45 > git config --get remote.origin.url # timeout=10 14:33:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:33:45 > git merge 8b2fb15614d399982e3d107523aa790b0caa1bb8 # timeout=10 14:33:45 > git rev-parse HEAD^{commit} # timeout=10 14:33:45 > git config core.sparsecheckout # timeout=10 14:33:45 > git checkout -f 5764f6a2d5152da428c12fb5d4dd33bbd399eb69 # timeout=10 14:33:49 Commit message: "build: Upgrade edgex-snap-hooks for fix quotation bug" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:33:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:33:50 % Total % Received % Xferd Average Speed Time Time Time Current 14:33:50 Dload Upload Total Spent Left Speed 14:33:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85201 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh 14:33:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:33:51 + sudo tee /etc/docker/daemon.new 14:33:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:33:51 { 14:33:51 "registry-mirrors": [ 14:33:51 "https://nexus3.edgexfoundry.org:10001" 14:33:51 ], 14:33:51 "bip": "10.250.0.254/24", 14:33:51 "hosts": [ 14:33:51 "tcp://0.0.0.0:5555", 14:33:51 "unix:///var/run/docker.sock" 14:33:51 ], 14:33:51 "mtu": 1458, 14:33:51 "selinux-enabled": true, 14:33:51 "seccomp-profile": "/etc/docker/seccomp.json" 14:33:51 } [Pipeline] sh 14:33:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:33:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:10 provisioning config files... 14:34:10 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config5022419058900346388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:10 ---> docker-login.sh 14:34:10 nexus3.edgexfoundry.org:10001 14:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:11 Configure a credential helper to remove this warning. See 14:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:11 14:34:11 Login Succeeded 14:34:11 nexus3.edgexfoundry.org:10002 14:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:12 Configure a credential helper to remove this warning. See 14:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:12 14:34:12 Login Succeeded 14:34:12 nexus3.edgexfoundry.org:10003 14:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:12 Configure a credential helper to remove this warning. See 14:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:12 14:34:12 Login Succeeded 14:34:12 nexus3.edgexfoundry.org:10004 14:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:13 Configure a credential helper to remove this warning. See 14:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:13 14:34:13 Login Succeeded 14:34:13 docker.io 14:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:13 Configure a credential helper to remove this warning. See 14:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:13 14:34:13 Login Succeeded 14:34:13 ---> docker-login.sh ends [Pipeline] } 14:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:34:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:34:14 ========================================================= 14:34:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:34:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:34:14 + 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 . 14:34:15 Sending build context to Docker daemon 693.2kB 14:34:15 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:34:15 Step 2/13 : FROM ${BASE} AS builder 14:34:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:34:15 9b3977197b4f: Pulling fs layer 14:34:15 1a89e8eeedd5: Pulling fs layer 14:34:15 94645a83ff95: Pulling fs layer 14:34:15 3f3a8bcf1eab: Pulling fs layer 14:34:15 0c92f367c5e7: Pulling fs layer 14:34:15 3096ccb668a1: Pulling fs layer 14:34:15 e8cf19c19ddd: Pulling fs layer 14:34:15 a4caa8a26152: Pulling fs layer 14:34:15 3f3a8bcf1eab: Waiting 14:34:15 0c92f367c5e7: Waiting 14:34:15 3096ccb668a1: Waiting 14:34:15 e8cf19c19ddd: Waiting 14:34:15 a4caa8a26152: Waiting 14:34:15 94645a83ff95: Download complete 14:34:15 1a89e8eeedd5: Verifying Checksum 14:34:15 1a89e8eeedd5: Download complete 14:34:15 0c92f367c5e7: Download complete 14:34:15 3096ccb668a1: Verifying Checksum 14:34:15 3096ccb668a1: Download complete 14:34:15 e8cf19c19ddd: Download complete 14:34:15 9b3977197b4f: Verifying Checksum 14:34:15 9b3977197b4f: Download complete 14:34:16 9b3977197b4f: Pull complete 14:34:16 1a89e8eeedd5: Pull complete 14:34:17 94645a83ff95: Pull complete 14:34:17 a4caa8a26152: Verifying Checksum 14:34:17 a4caa8a26152: Download complete 14:34:18 3f3a8bcf1eab: Verifying Checksum 14:34:18 3f3a8bcf1eab: Download complete 14:34:30 3f3a8bcf1eab: Pull complete 14:34:30 0c92f367c5e7: Pull complete 14:34:30 3096ccb668a1: Pull complete 14:34:30 e8cf19c19ddd: Pull complete 14:34:37 a4caa8a26152: Pull complete 14:34:37 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:34:37 ---> 725f1c02e7f9 14:34:37 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:34:37 ---> Running in e99021a5cb7e 14:34:38 Removing intermediate container e99021a5cb7e 14:34:38 ---> 468df486fcd7 14:34:38 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 14:34:38 ---> Running in e66da8b7b970 14:34:38 Removing intermediate container e66da8b7b970 14:34:38 ---> 1605fd65407a 14:34:38 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:34:38 ---> Running in 5e9887241fa2 14:34:39 Removing intermediate container 5e9887241fa2 14:34:39 ---> 53d1c3dc022e 14:34:39 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:34:39 ---> Running in 2255199442aa 14:34:41 Removing intermediate container 2255199442aa 14:34:41 ---> 2bedc07ba0d9 14:34:41 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:34:41 ---> Running in 6808c26d848f 14:34:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:34:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:34:44 OK: 220 MiB in 52 packages 14:34:45 Removing intermediate container 6808c26d848f 14:34:45 ---> 8363ce3ec459 14:34:45 Step 8/13 : WORKDIR /app 14:34:45 ---> Running in 00d3b0ac5dff 14:34:46 Removing intermediate container 00d3b0ac5dff 14:34:46 ---> 962087e22198 14:34:46 Step 9/13 : COPY go.mod vendor* ./ 14:34:46 ---> f8f38e885985 14:34:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:34:46 ---> Running in 5240b151605d 14:36:08 Removing intermediate container 5240b151605d 14:36:08 ---> 93c25c4482b9 14:36:08 Step 11/13 : COPY . . 14:36:08 ---> c26e29a78576 14:36:08 Step 12/13 : ARG MAKE="make build" 14:36:08 ---> Running in 69c0d941dda1 14:36:08 Removing intermediate container 69c0d941dda1 14:36:08 ---> 3cde7c024c09 14:36:08 Step 13/13 : RUN $MAKE 14:36:08 ---> Running in 27594b87871c 14:36:08 noop 14:36:08 Removing intermediate container 27594b87871c 14:36:08 ---> b1f3ee76f192 14:36:08 Successfully built b1f3ee76f192 14:36:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:36:09 + docker inspect -f . ci-base-image-arm64 14:36:09 . [Pipeline] withDockerContainer 14:36:09 prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container 14:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:36:10 $ docker top 1ffdae63357401dbfb76f8236dd9617e637b16b01390ecab7d7c6beae3fb2d63 -eo pid,comm [Pipeline] { [Pipeline] sh 14:36:11 + go version 14:36:11 go version go1.17.6 linux/arm64 [Pipeline] } 14:36:11 $ docker stop --time=1 1ffdae63357401dbfb76f8236dd9617e637b16b01390ecab7d7c6beae3fb2d63 14:36:13 $ docker rm -f 1ffdae63357401dbfb76f8236dd9617e637b16b01390ecab7d7c6beae3fb2d63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:36:14 + docker inspect -f . ci-base-image-arm64 14:36:14 . [Pipeline] withDockerContainer 14:36:14 prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container 14:36:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:36:15 $ docker top 85e8f276f4a2d54bdb990530e3f7accfdc583d9c7ea137bef3a313946d87885f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:36:16 + make test 14:36:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:37:13 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 14:37:13 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.209s coverage: 86.2% of statements 14:37:13 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 14:37:16 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.698s coverage: 71.9% of statements 14:37:16 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 14:37:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:37:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:37:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:37:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:37:39 ./bin/test-attribution.sh [Pipeline] echo 14:37:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:37:42 $ docker stop --time=1 85e8f276f4a2d54bdb990530e3f7accfdc583d9c7ea137bef3a313946d87885f 14:37:44 $ docker rm -f 85e8f276f4a2d54bdb990530e3f7accfdc583d9c7ea137bef3a313946d87885f [Pipeline] // withDockerContainer [Pipeline] sh 14:37:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:37:44 Warning: overwriting stash ‘coverage-report’ 14:37:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:37:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:37:46 + ls -al . 14:37:46 total 236 14:37:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 14:37 . 14:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:33 .. 14:37:46 -rw-rw-r-- 1 jenkins jenkins 262 Apr 25 14:33 .dockerignore 14:37:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 14:33 .git 14:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 14:33 .github 14:37:46 -rw-rw-r-- 1 jenkins jenkins 788 Apr 25 14:33 .gitignore 14:37:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 14:33 .golangci.yml 14:37:46 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 25 14:33 Attribution.txt 14:37:46 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 25 14:33 Dockerfile 14:37:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 14:33 GOVERNANCE.md 14:37:46 -rw-rw-r-- 1 jenkins jenkins 687 Apr 25 14:33 Jenkinsfile 14:37:46 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 14:33 LICENSE 14:37:46 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 25 14:33 Makefile 14:37:46 -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 14:33 OWNERS.md 14:37:46 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 25 14:33 README.md 14:37:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 14:29 VERSION 14:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:33 bin 14:37:46 -rw-r--r-- 1 jenkins jenkins 41008 Apr 25 14:37 coverage.out 14:37:46 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 25 14:37 go.mod 14:37:46 -rw-rw-r-- 1 jenkins jenkins 49531 Apr 25 14:33 go.sum 14:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:33 images 14:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:33 internal 14:37:46 -rw-rw-r-- 1 jenkins jenkins 531 Apr 25 14:33 main.go 14:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 14:33 res 14:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 14:33 snap 14:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 14:33 static [Pipeline] isUnix [Pipeline] sh 14:37:46 + 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=5764f6a2d5152da428c12fb5d4dd33bbd399eb69 --label arch=arm64 --label version=0.0.0 . 14:37:46 Sending build context to Docker daemon 693.2kB 14:37:46 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 14:37:46 Step 2/31 : FROM ${BASE} AS builder 14:37:46 ---> b1f3ee76f192 14:37:46 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:37:47 ---> Running in 8dc3d3c22d2d 14:37:47 Removing intermediate container 8dc3d3c22d2d 14:37:47 ---> f3d363460535 14:37:47 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 14:37:47 ---> Running in 3b23774b1746 14:37:47 Removing intermediate container 3b23774b1746 14:37:47 ---> 7b392e2c94bf 14:37:47 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:37:48 ---> Running in 3d32ed2e2b31 14:37:48 Removing intermediate container 3d32ed2e2b31 14:37:48 ---> 671d98a5d1d6 14:37:48 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:37:48 ---> Running in 1eacc0cf7d85 14:37:50 Removing intermediate container 1eacc0cf7d85 14:37:50 ---> e8c0fdd192af 14:37:50 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:37:50 ---> Running in a286cffe8a40 14:37:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:37:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:37:53 OK: 220 MiB in 52 packages 14:37:53 Removing intermediate container a286cffe8a40 14:37:53 ---> 605e5f1019c4 14:37:53 Step 8/31 : WORKDIR /app 14:37:53 ---> Running in 7b2a2fbf54a9 14:37:54 Removing intermediate container 7b2a2fbf54a9 14:37:54 ---> 0cb2bb6dfad6 14:37:54 Step 9/31 : COPY go.mod vendor* ./ 14:37:55 ---> 7fb2e7f9eeca 14:37:55 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:37:55 ---> Running in 309c5ab7f1bd 14:37:57 Removing intermediate container 309c5ab7f1bd 14:37:57 ---> 6aeaaa6c7476 14:37:57 Step 11/31 : COPY . . 14:37:58 ---> a91cb0446577 14:37:58 Step 12/31 : ARG MAKE="make build" 14:37:58 ---> Running in cd2e80e92909 14:37:58 Removing intermediate container cd2e80e92909 14:37:58 ---> a2ec37d50897 14:37:58 Step 13/31 : RUN $MAKE 14:37:58 ---> Running in 88d67abdce45 14:37:59 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 14:38:56 Removing intermediate container 88d67abdce45 14:38:56 ---> 9d6003bd13ed 14:38:56 Step 14/31 : FROM alpine:3.14 14:38:56 3.14: Pulling from library/alpine 14:38:56 455c02918c45: Pulling fs layer 14:38:56 455c02918c45: Verifying Checksum 14:38:56 455c02918c45: Download complete 14:38:56 455c02918c45: Pull complete 14:38:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:38:56 Status: Downloaded newer image for alpine:3.14 14:38:56 ---> ac73e934f311 14:38:56 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:38:56 ---> Running in cce425669e74 14:38:56 Removing intermediate container cce425669e74 14:38:56 ---> e70b9a01ebbc 14:38:56 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 14:38:56 ---> Running in dcdd2231e384 14:38:56 Removing intermediate container dcdd2231e384 14:38:56 ---> 52966646275e 14:38:56 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:38:56 ---> Running in 28fe6b165219 14:38:56 Removing intermediate container 28fe6b165219 14:38:56 ---> 7d3b74d2f299 14:38:56 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 14:38:56 ---> Running in 2a157505c2b6 14:38:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:38:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:38:56 (1/6) Installing ca-certificates (20211220-r0) 14:38:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:38:56 (3/6) Installing libsodium (1.0.18-r0) 14:38:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:38:56 (5/6) Installing libzmq (4.3.4-r0) 14:38:56 (6/6) Installing zeromq (4.3.4-r0) 14:38:56 Executing busybox-1.33.1-r7.trigger 14:38:56 Executing ca-certificates-20211220-r0.trigger 14:38:56 OK: 9 MiB in 20 packages 14:38:58 Removing intermediate container 2a157505c2b6 14:38:58 ---> 411beacf1938 14:38:58 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:38:58 ---> bd4cff45b363 14:38:58 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 14:38:59 ---> 40d2891d28ad 14:38:59 Step 21/31 : COPY --from=builder /app/res/ /res/ 14:38:59 ---> 500d4299752f 14:38:59 Step 22/31 : COPY --from=builder /app/static/ /static/ 14:39:00 ---> 37ddcfe11dfc 14:39:00 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 14:39:01 ---> c49618f80d13 14:39:01 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 14:39:01 ---> Running in 7f457e87614c 14:39:03 Removing intermediate container 7f457e87614c 14:39:03 ---> 8b9814f33754 14:39:03 Step 25/31 : VOLUME /cache 14:39:03 ---> Running in a43a4081d3a1 14:39:03 Removing intermediate container a43a4081d3a1 14:39:03 ---> 49ecd021ae33 14:39:03 Step 26/31 : EXPOSE 59711 14:39:03 ---> Running in f62f8828ba46 14:39:04 Removing intermediate container f62f8828ba46 14:39:04 ---> ab7a0607cb2e 14:39:04 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 14:39:04 ---> Running in b9fe37792b21 14:39:04 Removing intermediate container b9fe37792b21 14:39:04 ---> 4af6de5800d8 14:39:04 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 14:39:04 ---> Running in 9948a92332d9 14:39:04 Removing intermediate container 9948a92332d9 14:39:04 ---> a3db37c6aeee 14:39:04 Step 29/31 : LABEL arch=arm64 14:39:04 ---> Running in 273070ef778e 14:39:05 Removing intermediate container 273070ef778e 14:39:05 ---> 1f22f119376b 14:39:05 Step 30/31 : LABEL git_sha=5764f6a2d5152da428c12fb5d4dd33bbd399eb69 14:39:05 ---> Running in 0bf7ddd00f8e 14:39:05 Removing intermediate container 0bf7ddd00f8e 14:39:05 ---> f87e3044a8d5 14:39:05 Step 31/31 : LABEL version=0.0.0 14:39:05 ---> Running in 3811ab21ab9f 14:39:05 Removing intermediate container 3811ab21ab9f 14:39:05 ---> 98238c7add72 14:39:05 [Warning] One or more build-args [ARCH] were not consumed 14:39:05 Successfully built 98238c7add72 14:39:06 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 14:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:39:06 14:39:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:39:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:39:07 arm64: Pulling from edgex-lftools-log-publisher 14:39:07 8998bd30e6a1: Pulling fs layer 14:39:07 04944245beec: Pulling fs layer 14:39:07 699f458cf7ca: Pulling fs layer 14:39:07 765212b225bb: Pulling fs layer 14:39:07 f23df028b6ca: Pulling fs layer 14:39:07 d65c8cfc05b1: Pulling fs layer 14:39:07 2437ff75d9bd: Pulling fs layer 14:39:07 f23df028b6ca: Waiting 14:39:07 d65c8cfc05b1: Waiting 14:39:07 2437ff75d9bd: Waiting 14:39:07 765212b225bb: Waiting 14:39:07 04944245beec: Download complete 14:39:07 765212b225bb: Download complete 14:39:07 f23df028b6ca: Verifying Checksum 14:39:07 f23df028b6ca: Download complete 14:39:07 d65c8cfc05b1: Verifying Checksum 14:39:07 d65c8cfc05b1: Download complete 14:39:07 699f458cf7ca: Verifying Checksum 14:39:07 699f458cf7ca: Download complete 14:39:07 8998bd30e6a1: Verifying Checksum 14:39:07 8998bd30e6a1: Download complete 14:39:10 2437ff75d9bd: Verifying Checksum 14:39:10 2437ff75d9bd: Download complete 14:39:12 8998bd30e6a1: Pull complete 14:39:12 04944245beec: Pull complete 14:39:14 699f458cf7ca: Pull complete 14:39:14 765212b225bb: Pull complete 14:39:15 f23df028b6ca: Pull complete 14:39:15 d65c8cfc05b1: Pull complete 14:39:30 2437ff75d9bd: Pull complete 14:39:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:39:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:39:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:39:31 prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container 14:39:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:39:33 $ docker top ad3f7d2cd3d411ff2cd8d5504b424ce21ddfccd94fff6af8e3b14da47f59f5fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:39:34 ---> job-cost.sh 14:39:34 lf-activate-venv: SKIPPING 14:39:34 INFO: No Stack... 14:39:35 INFO: Retrieving Pricing Info for: v3-standard-4 14:39:36 INFO: Archiving Costs [Pipeline] sh 14:39:36 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 14:39:36 + cut -d, -f6 [Pipeline] lock 14:39:36 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] 14:39:36 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] did not exist. Created. 14:39:36 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:39:37 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-67b73da0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:39:38 + echo total: 0.10999999940395355 [Pipeline] stash 14:39:38 Warning: overwriting stash ‘stack-cost’ 14:39:38 Stashed 1 file(s) [Pipeline] } 14:39:38 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-74-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:39:38 $ docker stop --time=1 ad3f7d2cd3d411ff2cd8d5504b424ce21ddfccd94fff6af8e3b14da47f59f5fe 14:39:39 $ docker rm -f ad3f7d2cd3d411ff2cd8d5504b424ce21ddfccd94fff6af8e3b14da47f59f5fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:39:40 provisioning config files... 14:39:40 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/config8873578492034451612tmp [Pipeline] { [Pipeline] sh 14:39:40 + set +x 14:39:40 + curl -s https://codecov.io/bash 14:39:40 + bash -s -- 14:39:40 14:39:40 _____ _ 14:39:40 / ____| | | 14:39:40 | | ___ __| | ___ ___ _____ __ 14:39:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:39:40 | |___| (_) | (_| | __/ (_| (_) \ V / 14:39:40 \_____\___/ \__,_|\___|\___\___/ \_/ 14:39:40 Bash-1.0.6 14:39:40 14:39:40 14:39:40 ==> git version 2.25.1 found 14:39:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 14:39:40 Release-Date: 2020-01-08 14:39:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:39:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:39:40 ==> Jenkins CI detected. 14:39:40 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-74 14:39:40 project root: . 14:39:40 --> token set from env 14:39:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:39:40 ==> Running gcov in . (disable via -X gcov) 14:39:40 ==> Python coveragepy not found 14:39:40 ==> Searching for coverage reports in: 14:39:40 + . 14:39:40 -> Found 1 reports 14:39:40 ==> Detecting git/mercurial file structure 14:39:40 ==> Reading reports 14:39:40 + ./coverage.out bytes=41008 14:39:40 ==> Appending adjustments 14:39:40 https://docs.codecov.io/docs/fixing-reports 14:39:40 + Found adjustments 14:39:40 ==> Gzipping contents 14:39:40 12K /tmp/codecov.IZJ3K7.gz 14:39:40 ==> Uploading reports 14:39:40 url: https://codecov.io 14:39:40 query: branch=PR-74&commit=5764f6a2d5152da428c12fb5d4dd33bbd399eb69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-74%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=74&job=&cmd_args= 14:39:40 -> Pinging Codecov 14:39:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-74&commit=5764f6a2d5152da428c12fb5d4dd33bbd399eb69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-74%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=74&job=&cmd_args= 14:39:41 -> Uploading to 14:39:41 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/581DD39554BDF9B6E22D074273EAD858/5764f6a2d5152da428c12fb5d4dd33bbd399eb69/6fec813b-2d22-458f-be66-e50986fe3bff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T143941Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a256797fdf59a322ac874db9d455daf4ccd428b69ccc6f28cd2f5ab947b45a9a 14:39:41 % Total % Received % Xferd Average Speed Time Time Time Current 14:39:41 Dload Upload Total Spent Left Speed 14:39:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11559 0 0 100 11559 0 54014 --:--:-- --:--:-- --:--:-- 54267 14:39:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5764f6a2d5152da428c12fb5d4dd33bbd399eb69 [Pipeline] } 14:39:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:39:42 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-74/archives ] 14:39:42 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-74/archives 14:39:42 total 16 14:39:42 drwxr-xr-x 3 root root 4096 Apr 25 14:31 . 14:39:42 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 14:31 .. 14:39:42 drwxr-xr-x 2 root root 4096 Apr 25 14:31 cost 14:39:42 -rw-r--r-- 1 root root 93 Apr 25 14:31 cost.csv 14:39:42 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-74/archives 14:39:42 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-74/archives 14:39:42 total 16 14:39:42 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 14:31 . 14:39:42 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 14:31 .. 14:39:42 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 14:31 cost 14:39:42 -rw-r--r-- 1 jenkins jenkins 93 Apr 25 14:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:39:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:39:43 ---> package-listing.sh 14:39:43 ++ facter osfamily 14:39:43 ++ tr '[:upper:]' '[:lower:]' 14:39:43 + OS_FAMILY=debian 14:39:43 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-74 14:39:43 + START_PACKAGES=/tmp/packages_start.txt 14:39:43 + END_PACKAGES=/tmp/packages_end.txt 14:39:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:39:43 + PACKAGES=/tmp/packages_start.txt 14:39:43 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-74 ']' 14:39:43 + PACKAGES=/tmp/packages_end.txt 14:39:43 + case "${OS_FAMILY}" in 14:39:43 + dpkg -l 14:39:43 + grep '^ii' 14:39:43 + '[' -f /tmp/packages_start.txt ']' 14:39:43 + '[' -f /tmp/packages_end.txt ']' 14:39:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:39:43 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-74 ']' 14:39:43 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-74/archives/ 14:39:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-74/archives/ [Pipeline] echo 14:39:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:39:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:39:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:39:44 . [Pipeline] withDockerContainer 14:39:44 prd-ubuntu20.04-docker-8c-8g-22042 does not seem to be running inside a container 14:39:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74/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-74 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74:/w/workspace/ry_app-rfid-llrp-inventory_PR-74:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@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 14:39:45 $ docker top 1b1d43aaff8bae95489446a3a4bc105a5e68e9a7a0687d8ad72f3c0021a6e69d -eo pid,comm [Pipeline] { [Pipeline] sh 14:39:45 + touch /tmp/pre-build-complete [Pipeline] sh 14:39:45 + mkdir -p /var/log/sysstat [Pipeline] sh 14:39:45 + ls /var/log/sa-host 14:39:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:39:46 provisioning config files... 14:39:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-74@tmp/config6389258779182775508tmp [Pipeline] { [Pipeline] echo 14:39:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:39:46 ---> create-netrc.sh [Pipeline] } 14:39:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:39:46 ---> python-tools-install.sh [Pipeline] echo 14:39:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:39:47 ---> sudo-logs.sh 14:39:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:39:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:39:47 ---> job-cost.sh 14:39:47 lf-activate-venv: SKIPPING 14:39:47 DEBUG: total: 0.2199999988079071 14:39:47 INFO: Retrieving Stack Cost... 14:39:47 INFO: Retrieving Pricing Info for: v3-standard-8 14:39:48 INFO: Archiving Costs [Pipeline] echo 14:39:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:39:48 ---> logs-deploy.sh 14:39:48 lf-activate-venv: SKIPPING 14:39:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-74/2 14:39:48 INFO: archiving workspace using pattern(s): 14:39:49 Archives upload complete. 14:39:49 INFO: archiving logs to Nexus