Pull request #90 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 marcpfuller for edgexfoundry/app-rfid-llrp-inventory Loading trusted files from base branch main at cd50c67dda48d59214514b13406723cfe5ff62e7 rather than d6ed031d4ceb1d7b842574ddca97868e70a5cff0 Obtained Jenkinsfile from cd50c67dda48d59214514b13406723cfe5ff62e7 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-ssh17923166533492065881.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh1040457212781212128.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6751126297841667668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh7692543954112492167.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5049082063638241977.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15360’ Running on prd-ubuntu20.04-docker-8c-8g-15362 in /w/workspace/ry_app-rfid-llrp-inventory_PR-90 [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-90 # 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 cd50c67dda48d59214514b13406723cfe5ff62e7 into PR head commit d6ed031d4ceb1d7b842574ddca97868e70a5cff0 Merge succeeded, producing 83b6cd400db194d8132435544b4f311639aea1ae Checking out Revision 83b6cd400db194d8132435544b4f311639aea1ae (PR-90) > 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/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6ed031d4ceb1d7b842574ddca97868e70a5cff0 # 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 cd50c67dda48d59214514b13406723cfe5ff62e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83b6cd400db194d8132435544b4f311639aea1ae # timeout=10 Commit message: "Merge commit 'cd50c67dda48d59214514b13406723cfe5ff62e7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-22T21:25:25.683Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk fe1a345baa82580baeb361d546fc96911c06cf03 # timeout=10 [Pipeline] withCredentials [2022-06-22T21:25:25.744Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-22T21:25:25.758Z] ========================================================= [2022-06-22T21:25:25.759Z] EdgeX Global Pipelines Version Info [2022-06-22T21:25:25.759Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:26.578Z] ------------------- [2022-06-22T21:25:26.578Z] stable info: [2022-06-22T21:25:26.578Z] ------------------- [2022-06-22T21:25:26.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-22T21:25:26.578Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T21:25:26.578Z] Message: update stable to v1.0.234 [2022-06-22T21:25:27.151Z] ------------------- [2022-06-22T21:25:27.151Z] experimental info: [2022-06-22T21:25:27.151Z] ------------------- [2022-06-22T21:25:27.151Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-22T21:25:27.151Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T21:25:27.151Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-22T21:25:27.307Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-06-22T21:25:27.322Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-06-22T21:25:27.333Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-22T21:25:27.350Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-22T21:25:27.364Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-22T21:25:27.378Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-22T21:25:27.390Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-22T21:25:27.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-22T21:25:27.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-22T21:25:27.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-22T21:25:27.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-22T21:25:27.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-06-22T21:25:27.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-22T21:25:27.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-22T21:25:27.504Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-22T21:25:27.515Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-22T21:25:27.526Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T21:25:27.538Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T21:25:27.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-22T21:25:27.563Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-22T21:25:27.575Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-22T21:25:27.592Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-22T21:25:27.609Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-22T21:25:27.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-22T21:25:27.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-22T21:25:27.648Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-22T21:25:27.659Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-22T21:25:27.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-22T21:25:27.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-22T21:25:27.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-22T21:25:27.710Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo [2022-06-22T21:25:27.726Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83b6cd4 [Pipeline] echo [2022-06-22T21:25:27.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T21:25:27.781Z] provisioning config files... [2022-06-22T21:25:27.797Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/config1087364533678396101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:28.128Z] ---> docker-login.sh [2022-06-22T21:25:28.128Z] nexus3.edgexfoundry.org:10001 [2022-06-22T21:25:28.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:28.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:28.390Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:28.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:28.390Z] [2022-06-22T21:25:28.390Z] Login Succeeded [2022-06-22T21:25:28.390Z] nexus3.edgexfoundry.org:10002 [2022-06-22T21:25:28.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:28.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:28.653Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:28.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:28.653Z] [2022-06-22T21:25:28.653Z] Login Succeeded [2022-06-22T21:25:28.653Z] nexus3.edgexfoundry.org:10003 [2022-06-22T21:25:28.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:28.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:28.915Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:28.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:28.915Z] [2022-06-22T21:25:28.915Z] Login Succeeded [2022-06-22T21:25:28.915Z] nexus3.edgexfoundry.org:10004 [2022-06-22T21:25:28.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:28.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:28.915Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:28.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:28.915Z] [2022-06-22T21:25:28.915Z] Login Succeeded [2022-06-22T21:25:28.915Z] docker.io [2022-06-22T21:25:29.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:29.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:29.439Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:29.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:29.439Z] [2022-06-22T21:25:29.439Z] Login Succeeded [2022-06-22T21:25:29.439Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T21:25:29.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-22T21:25:29.830Z] + git rev-list -1 --merges 83b6cd400db194d8132435544b4f311639aea1ae~1..83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo [2022-06-22T21:25:29.930Z] -----------> git rev-list -1 --merges 83b6cd400db194d8132435544b4f311639aea1ae~1..83b6cd400db194d8132435544b4f311639aea1ae 83b6cd400db194d8132435544b4f311639aea1ae [2022-06-22T21:25:29.930Z] 83b6cd400db194d8132435544b4f311639aea1ae [false] [Pipeline] sh [2022-06-22T21:25:30.224Z] + git log --format=format:%s -1 83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo [2022-06-22T21:25:30.241Z] ========================================================= [2022-06-22T21:25:30.241Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-22T21:25:30.241Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T21:25:30.588Z] + git log --format=format:%s -1 83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo [2022-06-22T21:25:30.601Z] [semverPrep] GIT_COMMIT: 83b6cd400db194d8132435544b4f311639aea1ae, Commit Message: Merge commit 'cd50c67dda48d59214514b13406723cfe5ff62e7' into HEAD [Pipeline] echo [2022-06-22T21:25:30.612Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-22T21:25:30.961Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-22T21:25:30.961Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-22T21:25:30.961Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-22T21:25:30.961Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-22T21:25:30.961Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-22T21:25:30.961Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-22T21:25:30.961Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:25:31.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T21:25:31.312Z] [2022-06-22T21:25:31.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:25:31.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T21:25:31.621Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-22T21:25:31.621Z] 42c077c10790: Pulling fs layer [2022-06-22T21:25:31.621Z] f63e77b7563a: Pulling fs layer [2022-06-22T21:25:31.621Z] bd5fdadae976: Pulling fs layer [2022-06-22T21:25:31.621Z] 205491f53016: Pulling fs layer [2022-06-22T21:25:31.621Z] df18705c85c3: Pulling fs layer [2022-06-22T21:25:31.621Z] bdb3f477010e: Pulling fs layer [2022-06-22T21:25:31.621Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-22T21:25:31.621Z] 2c6e9b1d212d: Pulling fs layer [2022-06-22T21:25:31.621Z] bdb8f0575790: Pulling fs layer [2022-06-22T21:25:31.621Z] 386e3cb2ff24: Pulling fs layer [2022-06-22T21:25:31.621Z] 2343380bae48: Pulling fs layer [2022-06-22T21:25:31.621Z] c8a8fc8e1c8f: Waiting [2022-06-22T21:25:31.621Z] 2c6e9b1d212d: Waiting [2022-06-22T21:25:31.621Z] bdb8f0575790: Waiting [2022-06-22T21:25:31.621Z] 386e3cb2ff24: Waiting [2022-06-22T21:25:31.621Z] 2343380bae48: Waiting [2022-06-22T21:25:31.621Z] df18705c85c3: Waiting [2022-06-22T21:25:31.621Z] bdb3f477010e: Waiting [2022-06-22T21:25:31.621Z] 205491f53016: Waiting [2022-06-22T21:25:31.621Z] f63e77b7563a: Verifying Checksum [2022-06-22T21:25:31.621Z] f63e77b7563a: Download complete [2022-06-22T21:25:31.621Z] 205491f53016: Verifying Checksum [2022-06-22T21:25:31.621Z] 205491f53016: Download complete [2022-06-22T21:25:31.883Z] df18705c85c3: Verifying Checksum [2022-06-22T21:25:31.883Z] df18705c85c3: Download complete [2022-06-22T21:25:31.883Z] bdb3f477010e: Download complete [2022-06-22T21:25:31.883Z] bd5fdadae976: Verifying Checksum [2022-06-22T21:25:31.883Z] bd5fdadae976: Download complete [2022-06-22T21:25:31.883Z] 2c6e9b1d212d: Download complete [2022-06-22T21:25:31.883Z] bdb8f0575790: Verifying Checksum [2022-06-22T21:25:31.883Z] bdb8f0575790: Download complete [2022-06-22T21:25:31.883Z] 386e3cb2ff24: Verifying Checksum [2022-06-22T21:25:31.883Z] 386e3cb2ff24: Download complete [2022-06-22T21:25:31.883Z] 2343380bae48: Verifying Checksum [2022-06-22T21:25:31.883Z] 2343380bae48: Download complete [2022-06-22T21:25:31.883Z] 42c077c10790: Verifying Checksum [2022-06-22T21:25:31.883Z] 42c077c10790: Download complete [2022-06-22T21:25:32.144Z] c8a8fc8e1c8f: Download complete [2022-06-22T21:25:33.529Z] 42c077c10790: Pull complete [2022-06-22T21:25:33.529Z] f63e77b7563a: Pull complete [2022-06-22T21:25:34.098Z] bd5fdadae976: Pull complete [2022-06-22T21:25:34.098Z] 205491f53016: Pull complete [2022-06-22T21:25:34.359Z] df18705c85c3: Pull complete [2022-06-22T21:25:34.359Z] bdb3f477010e: Pull complete [2022-06-22T21:25:36.904Z] c8a8fc8e1c8f: Pull complete [2022-06-22T21:25:36.904Z] 2c6e9b1d212d: Pull complete [2022-06-22T21:25:36.904Z] bdb8f0575790: Pull complete [2022-06-22T21:25:36.904Z] 386e3cb2ff24: Pull complete [2022-06-22T21:25:36.904Z] 2343380bae48: Pull complete [2022-06-22T21:25:36.904Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-22T21:25:36.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T21:25:36.904Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:25:37.009Z] prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container [2022-06-22T21:25:37.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-90 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90:/w/workspace/ry_app-rfid-llrp-inventory_PR-90:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-22T21:25:38.811Z] $ docker top 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 -eo pid,comm [2022-06-22T21:25:38.881Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-22T21:25:38.881Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-22T21:25:38.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T21:25:38.922Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T21:25:39.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T21:25:39.089Z] $ docker exec 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent [2022-06-22T21:25:39.210Z] SSH_AUTH_SOCK=/tmp/ssh-3dOODaYXp73k/agent.32 [2022-06-22T21:25:39.210Z] SSH_AGENT_PID=39 [2022-06-22T21:25:39.217Z] Running ssh-add (command line suppressed) [2022-06-22T21:25:39.330Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/private_key_4012307737443136013.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/private_key_4012307737443136013.key) [2022-06-22T21:25:39.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T21:25:39.642Z] + git tag --points-at HEAD [Pipeline] } [2022-06-22T21:25:39.666Z] $ docker exec --env ******** --env ******** 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent -k [2022-06-22T21:25:39.793Z] unset SSH_AUTH_SOCK; [2022-06-22T21:25:39.794Z] unset SSH_AGENT_PID; [2022-06-22T21:25:39.794Z] echo Agent pid 39 killed; [2022-06-22T21:25:39.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-22T21:25:39.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T21:25:39.840Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T21:25:39.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T21:25:39.989Z] $ docker exec 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent [2022-06-22T21:25:40.110Z] SSH_AUTH_SOCK=/tmp/ssh-5UXrJTuxbxCi/agent.71 [2022-06-22T21:25:40.110Z] SSH_AGENT_PID=77 [2022-06-22T21:25:40.116Z] Running ssh-add (command line suppressed) [2022-06-22T21:25:40.235Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/private_key_3126523453227967468.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/private_key_3126523453227967468.key) [2022-06-22T21:25:40.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T21:25:40.542Z] + git semver init [2022-06-22T21:25:40.803Z] 2022-06-22 21:25:40,754 [run_init] DEBUG init version:0.0.0 force:False [2022-06-22T21:25:40.803Z] 2022-06-22 21:25:40,756 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver [2022-06-22T21:25:40.803Z] 2022-06-22 21:25:40,757 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver [2022-06-22T21:25:40.803Z] 2022-06-22 21:25:40,757 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-90, universal_newlines=False, shell=None, istream=None) [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,710 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-90/.git/info/exclude [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,711 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver/PR-90 with force:False [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,711 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver/PR-90 [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,716 [execute] INFO git cat-file --batch-check [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,724 [execute] INFO git cat-file --batch [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T21:25:41.745Z] 2022-06-22 21:25:41,731 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-90/.semver/PR-90 [2022-06-22T21:25:41.745Z] 0.0.0 [Pipeline] } [2022-06-22T21:25:42.021Z] $ docker exec --env ******** --env ******** 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent -k [2022-06-22T21:25:42.152Z] unset SSH_AUTH_SOCK; [2022-06-22T21:25:42.152Z] unset SSH_AGENT_PID; [2022-06-22T21:25:42.152Z] echo Agent pid 77 killed; [2022-06-22T21:25:42.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-22T21:25:42.469Z] + git semver [Pipeline] } [2022-06-22T21:25:42.746Z] $ docker stop --time=1 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 [2022-06-22T21:25:44.096Z] $ docker rm -f 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T21:25:44.458Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-22T21:25:44.717Z] Stashed 1 file(s) [Pipeline] echo [2022-06-22T21:25:44.720Z] [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 [2022-06-22T21:25:44.873Z] provisioning config files... [2022-06-22T21:25:44.885Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/config5201260925677750708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:25:45.189Z] ---> docker-login.sh [2022-06-22T21:25:45.190Z] nexus3.edgexfoundry.org:10001 [2022-06-22T21:25:45.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:45.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:45.190Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:45.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:45.190Z] [2022-06-22T21:25:45.190Z] Login Succeeded [2022-06-22T21:25:45.190Z] nexus3.edgexfoundry.org:10002 [2022-06-22T21:25:45.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:45.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:45.450Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:45.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:45.450Z] [2022-06-22T21:25:45.450Z] Login Succeeded [2022-06-22T21:25:45.450Z] nexus3.edgexfoundry.org:10003 [2022-06-22T21:25:45.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:45.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:45.450Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:45.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:45.450Z] [2022-06-22T21:25:45.450Z] Login Succeeded [2022-06-22T21:25:45.450Z] nexus3.edgexfoundry.org:10004 [2022-06-22T21:25:45.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:45.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:45.717Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:45.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:45.717Z] [2022-06-22T21:25:45.717Z] Login Succeeded [2022-06-22T21:25:45.717Z] docker.io [2022-06-22T21:25:45.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:25:45.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:25:45.978Z] Configure a credential helper to remove this warning. See [2022-06-22T21:25:45.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:25:45.978Z] [2022-06-22T21:25:45.978Z] Login Succeeded [2022-06-22T21:25:45.978Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T21:25:45.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-22T21:25:46.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:25:46.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:25:46.138Z] ========================================================= [2022-06-22T21:25:46.138Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-22T21:25:46.138Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:25:46.451Z] + 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 . [2022-06-22T21:25:46.451Z] Sending build context to Docker daemon 12.45MB [2022-06-22T21:25:46.451Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T21:25:46.451Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-22T21:25:46.451Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-22T21:25:46.451Z] 59bf1c3509f3: Pulling fs layer [2022-06-22T21:25:46.451Z] 666ba61612fd: Pulling fs layer [2022-06-22T21:25:46.451Z] 8ed8ca486205: Pulling fs layer [2022-06-22T21:25:46.451Z] cc1cd167ecdc: Pulling fs layer [2022-06-22T21:25:46.451Z] c516ae0d96e1: Pulling fs layer [2022-06-22T21:25:46.451Z] 684cea983483: Pulling fs layer [2022-06-22T21:25:46.451Z] dd3240ac7de5: Pulling fs layer [2022-06-22T21:25:46.451Z] b1e948a4e11c: Pulling fs layer [2022-06-22T21:25:46.451Z] a8fd76ee1af6: Pulling fs layer [2022-06-22T21:25:46.451Z] 646ad004c059: Pulling fs layer [2022-06-22T21:25:46.451Z] dd3240ac7de5: Waiting [2022-06-22T21:25:46.451Z] b1e948a4e11c: Waiting [2022-06-22T21:25:46.451Z] cc1cd167ecdc: Waiting [2022-06-22T21:25:46.451Z] 646ad004c059: Waiting [2022-06-22T21:25:46.451Z] a8fd76ee1af6: Waiting [2022-06-22T21:25:46.451Z] c516ae0d96e1: Waiting [2022-06-22T21:25:46.451Z] 684cea983483: Waiting [2022-06-22T21:25:46.714Z] 8ed8ca486205: Verifying Checksum [2022-06-22T21:25:46.714Z] 8ed8ca486205: Download complete [2022-06-22T21:25:46.714Z] 666ba61612fd: Verifying Checksum [2022-06-22T21:25:46.714Z] 666ba61612fd: Download complete [2022-06-22T21:25:46.714Z] c516ae0d96e1: Verifying Checksum [2022-06-22T21:25:46.714Z] 684cea983483: Verifying Checksum [2022-06-22T21:25:46.714Z] 684cea983483: Download complete [2022-06-22T21:25:46.714Z] 59bf1c3509f3: Verifying Checksum [2022-06-22T21:25:46.714Z] 59bf1c3509f3: Download complete [2022-06-22T21:25:46.714Z] dd3240ac7de5: Download complete [2022-06-22T21:25:46.714Z] b1e948a4e11c: Verifying Checksum [2022-06-22T21:25:46.714Z] b1e948a4e11c: Download complete [2022-06-22T21:25:46.714Z] 59bf1c3509f3: Pull complete [2022-06-22T21:25:46.976Z] 666ba61612fd: Pull complete [2022-06-22T21:25:46.976Z] 8ed8ca486205: Pull complete [2022-06-22T21:25:47.237Z] 646ad004c059: Verifying Checksum [2022-06-22T21:25:47.237Z] 646ad004c059: Download complete [2022-06-22T21:25:47.496Z] cc1cd167ecdc: Verifying Checksum [2022-06-22T21:25:47.496Z] cc1cd167ecdc: Download complete [2022-06-22T21:25:47.496Z] a8fd76ee1af6: Verifying Checksum [2022-06-22T21:25:47.496Z] a8fd76ee1af6: Download complete [2022-06-22T21:25:51.697Z] cc1cd167ecdc: Pull complete [2022-06-22T21:25:51.697Z] c516ae0d96e1: Pull complete [2022-06-22T21:25:51.697Z] 684cea983483: Pull complete [2022-06-22T21:25:51.697Z] dd3240ac7de5: Pull complete [2022-06-22T21:25:51.697Z] b1e948a4e11c: Pull complete [2022-06-22T21:25:54.238Z] a8fd76ee1af6: Pull complete [2022-06-22T21:25:54.809Z] 646ad004c059: Pull complete [2022-06-22T21:25:54.809Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-22T21:25:54.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-22T21:25:54.809Z] ---> 8f69c11f6b0c [2022-06-22T21:25:54.809Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-06-22T21:25:57.358Z] ---> Running in 56fa39153340 [2022-06-22T21:25:57.358Z] Removing intermediate container 56fa39153340 [2022-06-22T21:25:57.359Z] ---> 2888ebe124b5 [2022-06-22T21:25:57.359Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-22T21:25:57.359Z] ---> Running in b22aeeb17406 [2022-06-22T21:25:57.359Z] Removing intermediate container b22aeeb17406 [2022-06-22T21:25:57.359Z] ---> 3f151f7b5698 [2022-06-22T21:25:57.359Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T21:25:57.359Z] ---> Running in e291b17960fb [2022-06-22T21:25:57.359Z] Removing intermediate container e291b17960fb [2022-06-22T21:25:57.359Z] ---> 18ece53bb98b [2022-06-22T21:25:57.359Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T21:25:57.359Z] ---> Running in f063b91a6a5a [2022-06-22T21:25:57.931Z] Removing intermediate container f063b91a6a5a [2022-06-22T21:25:57.931Z] ---> 04003783e8d1 [2022-06-22T21:25:57.931Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-22T21:25:57.931Z] ---> Running in f2e4d2cc816c [2022-06-22T21:25:58.191Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-22T21:25:59.133Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-22T21:25:59.400Z] OK: 221 MiB in 52 packages [2022-06-22T21:25:59.663Z] Removing intermediate container f2e4d2cc816c [2022-06-22T21:25:59.663Z] ---> 4c7a3c43f645 [2022-06-22T21:25:59.663Z] Step 8/13 : WORKDIR /app [2022-06-22T21:25:59.663Z] ---> Running in a120baee2ed8 [2022-06-22T21:25:59.826Z] Still waiting to schedule task [2022-06-22T21:25:59.827Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15361’ is offline [2022-06-22T21:25:59.924Z] Removing intermediate container a120baee2ed8 [2022-06-22T21:25:59.924Z] ---> a6a3c185a084 [2022-06-22T21:25:59.924Z] Step 9/13 : COPY go.mod vendor* ./ [2022-06-22T21:25:59.924Z] ---> 9bc911b9500d [2022-06-22T21:25:59.924Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T21:25:59.924Z] ---> Running in 4801025fdfca [2022-06-22T21:26:18.054Z] Removing intermediate container 4801025fdfca [2022-06-22T21:26:18.054Z] ---> 98c564a2d644 [2022-06-22T21:26:18.054Z] Step 11/13 : COPY . . [2022-06-22T21:26:18.054Z] ---> cfe11e269840 [2022-06-22T21:26:18.054Z] Step 12/13 : ARG MAKE="make build" [2022-06-22T21:26:18.054Z] ---> Running in e67911790100 [2022-06-22T21:26:18.054Z] Removing intermediate container e67911790100 [2022-06-22T21:26:18.054Z] ---> 88961aad5ce8 [2022-06-22T21:26:18.054Z] Step 13/13 : RUN $MAKE [2022-06-22T21:26:18.054Z] ---> Running in c1959b335bfe [2022-06-22T21:26:18.054Z] noop [2022-06-22T21:26:18.054Z] Removing intermediate container c1959b335bfe [2022-06-22T21:26:18.054Z] ---> 00bca4a698cc [2022-06-22T21:26:18.054Z] Successfully built 00bca4a698cc [2022-06-22T21:26:18.054Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:26:18.378Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T21:26:18.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:26:18.469Z] prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container [2022-06-22T21:26:18.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-90 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90:/w/workspace/ry_app-rfid-llrp-inventory_PR-90:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@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-x86_64 cat [2022-06-22T21:26:18.932Z] $ docker top 64c060d419bc9c4a793aef8066d7cc97280024a21e10d784e610fde23513386b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T21:26:19.300Z] + go version [2022-06-22T21:26:19.300Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-22T21:26:19.314Z] $ docker stop --time=1 64c060d419bc9c4a793aef8066d7cc97280024a21e10d784e610fde23513386b [2022-06-22T21:26:20.635Z] $ docker rm -f 64c060d419bc9c4a793aef8066d7cc97280024a21e10d784e610fde23513386b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:26:21.094Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T21:26:21.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:26:21.176Z] prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container [2022-06-22T21:26:21.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-90 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90:/w/workspace/ry_app-rfid-llrp-inventory_PR-90:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@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-x86_64 cat [2022-06-22T21:26:21.615Z] $ docker top 0583e96b017d9eae64804746984e24b0be0074e4e759efd3dc5d041b59eead8b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T21:26:21.993Z] + make test [2022-06-22T21:26:21.993Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-22T21:26:34.220Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-06-22T21:26:34.220Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.031s coverage: 86.2% of statements [2022-06-22T21:26:34.220Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-06-22T21:26:35.162Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.555s coverage: 71.9% of statements [2022-06-22T21:26:43.287Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-22T21:26:47.488Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T21:26:47.750Z] ./internal/inventory/app/app.go [2022-06-22T21:26:47.750Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T21:26:47.750Z] make: *** [Makefile:54: test] Error 1 [Pipeline] } [2022-06-22T21:26:47.764Z] $ docker stop --time=1 0583e96b017d9eae64804746984e24b0be0074e4e759efd3dc5d041b59eead8b [2022-06-22T21:26:49.751Z] $ docker rm -f 0583e96b017d9eae64804746984e24b0be0074e4e759efd3dc5d041b59eead8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:26:50.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:26:50.362Z] [2022-06-22T21:26:50.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:26:50.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:26:50.668Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-22T21:26:50.668Z] 5eb5b503b376: Pulling fs layer [2022-06-22T21:26:50.668Z] 5c69ac0246d0: Pulling fs layer [2022-06-22T21:26:50.668Z] ec43610c2a17: Pulling fs layer [2022-06-22T21:26:50.668Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-22T21:26:50.668Z] 33b1e0a273af: Pulling fs layer [2022-06-22T21:26:50.668Z] 5d3b04190fa2: Pulling fs layer [2022-06-22T21:26:50.668Z] 2f39f015ded8: Pulling fs layer [2022-06-22T21:26:50.668Z] 33b1e0a273af: Waiting [2022-06-22T21:26:50.668Z] 3a2ae6a8a46f: Waiting [2022-06-22T21:26:50.668Z] 2f39f015ded8: Waiting [2022-06-22T21:26:50.668Z] 5c69ac0246d0: Verifying Checksum [2022-06-22T21:26:50.668Z] 5c69ac0246d0: Download complete [2022-06-22T21:26:50.668Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-22T21:26:50.668Z] 3a2ae6a8a46f: Download complete [2022-06-22T21:26:50.927Z] 33b1e0a273af: Verifying Checksum [2022-06-22T21:26:50.927Z] 33b1e0a273af: Download complete [2022-06-22T21:26:50.927Z] ec43610c2a17: Verifying Checksum [2022-06-22T21:26:50.927Z] ec43610c2a17: Download complete [2022-06-22T21:26:50.927Z] 5d3b04190fa2: Verifying Checksum [2022-06-22T21:26:50.927Z] 5d3b04190fa2: Download complete [2022-06-22T21:26:50.927Z] 5eb5b503b376: Verifying Checksum [2022-06-22T21:26:50.927Z] 5eb5b503b376: Download complete [2022-06-22T21:26:51.496Z] 2f39f015ded8: Download complete [2022-06-22T21:26:52.437Z] 5eb5b503b376: Pull complete [2022-06-22T21:26:52.437Z] 5c69ac0246d0: Pull complete [2022-06-22T21:26:53.007Z] ec43610c2a17: Pull complete [2022-06-22T21:26:53.007Z] 3a2ae6a8a46f: Pull complete [2022-06-22T21:26:53.268Z] 33b1e0a273af: Pull complete [2022-06-22T21:26:53.528Z] 5d3b04190fa2: Pull complete [2022-06-22T21:26:58.809Z] 2f39f015ded8: Pull complete [2022-06-22T21:26:58.809Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-22T21:26:58.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:26:58.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:26:58.907Z] prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container [2022-06-22T21:26:58.947Z] $ 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-90 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90:/w/workspace/ry_app-rfid-llrp-inventory_PR-90:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@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:latest cat [2022-06-22T21:27:00.969Z] $ docker top f9db6e3c875e0f8b0089ac6c3cd8b65290cde211f870e873168bddeed4c139f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:27:01.386Z] ---> job-cost.sh [2022-06-22T21:27:01.386Z] lf-activate-venv: SKIPPING [2022-06-22T21:27:01.386Z] INFO: No Stack... [2022-06-22T21:27:01.647Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T21:27:02.217Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T21:27:02.524Z] + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives/cost.csv [2022-06-22T21:27:02.524Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T21:27:02.538Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [2022-06-22T21:27:02.544Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] did not exist. Created. [2022-06-22T21:27:02.544Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-22T21:27:02.849Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-22T21:27:02.892Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T21:27:02.898Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T21:27:02.921Z] $ docker stop --time=1 f9db6e3c875e0f8b0089ac6c3cd8b65290cde211f870e873168bddeed4c139f6 [2022-06-22T21:27:04.102Z] $ docker rm -f f9db6e3c875e0f8b0089ac6c3cd8b65290cde211f870e873168bddeed4c139f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-22T21:27:04.222Z] Failed in branch amd64 [2022-06-22T21:27:41.343Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15363 in /w/workspace/ry_app-rfid-llrp-inventory_PR-90 [Pipeline] { [Pipeline] ws [2022-06-22T21:27:41.356Z] Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout [2022-06-22T21:27:41.428Z] The recommended git tool is: git [2022-06-22T21:27:47.260Z] using credential edgex-jenkins-ssh [2022-06-22T21:27:47.277Z] Cloning the remote Git repository [2022-06-22T21:27:47.335Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-06-22T21:27:47.409Z] > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 [2022-06-22T21:27:47.493Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-06-22T21:27:47.494Z] > git --version # timeout=10 [2022-06-22T21:27:47.515Z] > git --version # 'git version 2.25.1' [2022-06-22T21:27:47.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T21:27:47.597Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T21:27:50.150Z] Merging remotes/origin/main commit cd50c67dda48d59214514b13406723cfe5ff62e7 into PR head commit d6ed031d4ceb1d7b842574ddca97868e70a5cff0 [2022-06-22T21:27:50.436Z] Merge succeeded, producing 0fa2fb608b4515177f408fdfb93851eb01a12b3c [2022-06-22T21:27:50.437Z] Checking out Revision 0fa2fb608b4515177f408fdfb93851eb01a12b3c (PR-90) [2022-06-22T21:27:49.560Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-06-22T21:27:49.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T21:27:49.607Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-06-22T21:27:49.643Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-06-22T21:27:49.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T21:27:49.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-22T21:27:50.167Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T21:27:50.184Z] > git checkout -f d6ed031d4ceb1d7b842574ddca97868e70a5cff0 # timeout=10 [2022-06-22T21:27:50.280Z] > git remote # timeout=10 [2022-06-22T21:27:50.300Z] > git config --get remote.origin.url # timeout=10 [2022-06-22T21:27:50.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T21:27:50.322Z] > git merge cd50c67dda48d59214514b13406723cfe5ff62e7 # timeout=10 [2022-06-22T21:27:50.402Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-22T21:27:50.442Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T21:27:50.455Z] > git checkout -f 0fa2fb608b4515177f408fdfb93851eb01a12b3c # timeout=10 [2022-06-22T21:27:54.597Z] Commit message: "Merge commit 'cd50c67dda48d59214514b13406723cfe5ff62e7' into HEAD" [2022-06-22T21:27:54.621Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T21:27:54.605Z] > git rev-list --no-walk fe1a345baa82580baeb361d546fc96911c06cf03 # timeout=10 [2022-06-22T21:27:55.542Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-22T21:27:55.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-22T21:27:55.543Z] Dload Upload Total Spent Left Speed [2022-06-22T21:27:55.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 73813 0 --:--:-- --:--:-- --:--:-- 74260 [Pipeline] sh [2022-06-22T21:27:56.233Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-22T21:27:56.570Z] + sudo tee /etc/docker/daemon.new [2022-06-22T21:27:56.570Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-22T21:27:56.570Z] { [2022-06-22T21:27:56.570Z] "registry-mirrors": [ [2022-06-22T21:27:56.570Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-22T21:27:56.570Z] ], [2022-06-22T21:27:56.570Z] "bip": "10.250.0.254/24", [2022-06-22T21:27:56.570Z] "hosts": [ [2022-06-22T21:27:56.570Z] "tcp://0.0.0.0:5555", [2022-06-22T21:27:56.570Z] "unix:///var/run/docker.sock" [2022-06-22T21:27:56.570Z] ], [2022-06-22T21:27:56.570Z] "mtu": 1458, [2022-06-22T21:27:56.570Z] "selinux-enabled": true, [2022-06-22T21:27:56.570Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-22T21:27:56.570Z] } [Pipeline] sh [2022-06-22T21:27:56.906Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-22T21:27:57.263Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T21:28:15.604Z] provisioning config files... [2022-06-22T21:28:15.629Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config4373658097874738244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:28:15.990Z] ---> docker-login.sh [2022-06-22T21:28:15.990Z] nexus3.edgexfoundry.org:10001 [2022-06-22T21:28:16.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:28:16.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:28:16.866Z] Configure a credential helper to remove this warning. See [2022-06-22T21:28:16.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:28:16.866Z] [2022-06-22T21:28:16.866Z] Login Succeeded [2022-06-22T21:28:16.866Z] nexus3.edgexfoundry.org:10002 [2022-06-22T21:28:17.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:28:17.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:28:17.416Z] Configure a credential helper to remove this warning. See [2022-06-22T21:28:17.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:28:17.416Z] [2022-06-22T21:28:17.416Z] Login Succeeded [2022-06-22T21:28:17.416Z] nexus3.edgexfoundry.org:10003 [2022-06-22T21:28:17.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:28:17.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:28:17.691Z] Configure a credential helper to remove this warning. See [2022-06-22T21:28:17.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:28:17.691Z] [2022-06-22T21:28:17.691Z] Login Succeeded [2022-06-22T21:28:17.691Z] nexus3.edgexfoundry.org:10004 [2022-06-22T21:28:18.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:28:18.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:28:18.295Z] Configure a credential helper to remove this warning. See [2022-06-22T21:28:18.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:28:18.295Z] [2022-06-22T21:28:18.295Z] Login Succeeded [2022-06-22T21:28:18.295Z] docker.io [2022-06-22T21:28:18.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T21:28:19.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T21:28:19.164Z] Configure a credential helper to remove this warning. See [2022-06-22T21:28:19.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T21:28:19.164Z] [2022-06-22T21:28:19.164Z] Login Succeeded [2022-06-22T21:28:19.164Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T21:28:19.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-22T21:28:19.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:28:19.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T21:28:19.779Z] ========================================================= [2022-06-22T21:28:19.779Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-22T21:28:19.779Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:28:20.160Z] + 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 . [2022-06-22T21:28:20.436Z] Sending build context to Docker daemon 687.6kB [2022-06-22T21:28:20.436Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T21:28:20.436Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-22T21:28:20.712Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-22T21:28:20.712Z] 9b3977197b4f: Pulling fs layer [2022-06-22T21:28:20.712Z] 1a89e8eeedd5: Pulling fs layer [2022-06-22T21:28:20.712Z] 94645a83ff95: Pulling fs layer [2022-06-22T21:28:20.712Z] e6fb740bc735: Pulling fs layer [2022-06-22T21:28:20.712Z] 3a77bd46dcc9: Pulling fs layer [2022-06-22T21:28:20.712Z] 355e64cbe906: Pulling fs layer [2022-06-22T21:28:20.712Z] e6fb740bc735: Waiting [2022-06-22T21:28:20.712Z] 63ab81a10011: Pulling fs layer [2022-06-22T21:28:20.712Z] 555d1d1c4555: Pulling fs layer [2022-06-22T21:28:20.712Z] 7d9057610161: Pulling fs layer [2022-06-22T21:28:20.712Z] 3a77bd46dcc9: Waiting [2022-06-22T21:28:20.712Z] 63ab81a10011: Waiting [2022-06-22T21:28:20.712Z] 555d1d1c4555: Waiting [2022-06-22T21:28:20.712Z] 355e64cbe906: Waiting [2022-06-22T21:28:20.712Z] 7d9057610161: Waiting [2022-06-22T21:28:20.712Z] 94645a83ff95: Verifying Checksum [2022-06-22T21:28:20.712Z] 94645a83ff95: Download complete [2022-06-22T21:28:20.712Z] 1a89e8eeedd5: Verifying Checksum [2022-06-22T21:28:20.712Z] 1a89e8eeedd5: Download complete [2022-06-22T21:28:20.712Z] 3a77bd46dcc9: Verifying Checksum [2022-06-22T21:28:20.712Z] 3a77bd46dcc9: Download complete [2022-06-22T21:28:20.712Z] 355e64cbe906: Verifying Checksum [2022-06-22T21:28:20.712Z] 355e64cbe906: Download complete [2022-06-22T21:28:20.712Z] 9b3977197b4f: Verifying Checksum [2022-06-22T21:28:20.712Z] 9b3977197b4f: Download complete [2022-06-22T21:28:20.712Z] 63ab81a10011: Verifying Checksum [2022-06-22T21:28:20.712Z] 63ab81a10011: Download complete [2022-06-22T21:28:21.707Z] 9b3977197b4f: Pull complete [2022-06-22T21:28:21.707Z] 7d9057610161: Verifying Checksum [2022-06-22T21:28:21.707Z] 7d9057610161: Download complete [2022-06-22T21:28:22.312Z] 1a89e8eeedd5: Pull complete [2022-06-22T21:28:22.592Z] 94645a83ff95: Pull complete [2022-06-22T21:28:22.869Z] 555d1d1c4555: Verifying Checksum [2022-06-22T21:28:22.869Z] 555d1d1c4555: Download complete [2022-06-22T21:28:23.465Z] e6fb740bc735: Verifying Checksum [2022-06-22T21:28:23.465Z] e6fb740bc735: Download complete [2022-06-22T21:28:35.877Z] e6fb740bc735: Pull complete [2022-06-22T21:28:35.877Z] 3a77bd46dcc9: Pull complete [2022-06-22T21:28:35.877Z] 355e64cbe906: Pull complete [2022-06-22T21:28:35.877Z] 63ab81a10011: Pull complete [2022-06-22T21:28:42.602Z] 555d1d1c4555: Pull complete [2022-06-22T21:28:44.588Z] 7d9057610161: Pull complete [2022-06-22T21:28:44.588Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-22T21:28:44.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-22T21:28:44.588Z] ---> 819e984ddca1 [2022-06-22T21:28:44.588Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-06-22T21:28:45.193Z] ---> Running in 3d451e07b0f0 [2022-06-22T21:28:45.473Z] Removing intermediate container 3d451e07b0f0 [2022-06-22T21:28:45.474Z] ---> e1f4b9171f1e [2022-06-22T21:28:45.474Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-22T21:28:45.755Z] ---> Running in d1960d363c40 [2022-06-22T21:28:46.032Z] Removing intermediate container d1960d363c40 [2022-06-22T21:28:46.032Z] ---> 1f5d5cfba9ba [2022-06-22T21:28:46.032Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T21:28:46.032Z] ---> Running in e35c5e7f438f [2022-06-22T21:28:47.468Z] Removing intermediate container e35c5e7f438f [2022-06-22T21:28:47.468Z] ---> da4e0d1dd13f [2022-06-22T21:28:47.468Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T21:28:47.468Z] ---> Running in 3a970c07db04 [2022-06-22T21:28:49.442Z] Removing intermediate container 3a970c07db04 [2022-06-22T21:28:49.442Z] ---> dcd9c5aa8eb4 [2022-06-22T21:28:49.442Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-22T21:28:49.442Z] ---> Running in e4e999a14b30 [2022-06-22T21:28:50.035Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-22T21:28:51.008Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-22T21:28:51.985Z] OK: 220 MiB in 52 packages [2022-06-22T21:28:52.577Z] Removing intermediate container e4e999a14b30 [2022-06-22T21:28:52.577Z] ---> 98c3681d388f [2022-06-22T21:28:52.577Z] Step 8/13 : WORKDIR /app [2022-06-22T21:28:52.577Z] ---> Running in 6781e57c0706 [2022-06-22T21:28:52.851Z] Removing intermediate container 6781e57c0706 [2022-06-22T21:28:52.851Z] ---> a20026526b6e [2022-06-22T21:28:52.851Z] Step 9/13 : COPY go.mod vendor* ./ [2022-06-22T21:28:53.557Z] ---> 30ff7bfe6f67 [2022-06-22T21:28:53.557Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T21:28:53.557Z] ---> Running in 2b26fac8ad4c [2022-06-22T21:29:40.711Z] Removing intermediate container 2b26fac8ad4c [2022-06-22T21:29:40.711Z] ---> 119479bced19 [2022-06-22T21:29:40.711Z] Step 11/13 : COPY . . [2022-06-22T21:29:40.711Z] ---> a49141bff27e [2022-06-22T21:29:40.711Z] Step 12/13 : ARG MAKE="make build" [2022-06-22T21:29:40.711Z] ---> Running in 1b4019744429 [2022-06-22T21:29:40.711Z] Removing intermediate container 1b4019744429 [2022-06-22T21:29:40.711Z] ---> 105f2df285e5 [2022-06-22T21:29:40.711Z] Step 13/13 : RUN $MAKE [2022-06-22T21:29:40.711Z] ---> Running in f8803e264370 [2022-06-22T21:29:40.711Z] noop [2022-06-22T21:29:40.711Z] Removing intermediate container f8803e264370 [2022-06-22T21:29:40.711Z] ---> 6761140aba9f [2022-06-22T21:29:40.711Z] Successfully built 6761140aba9f [2022-06-22T21:29:40.711Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:29:41.074Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T21:29:41.074Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:29:41.327Z] prd-ubuntu20.04-docker-arm64-4c-16g-15363 does not seem to be running inside a container [2022-06-22T21:29:41.405Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-06-22T21:29:42.687Z] $ docker top 0a9169aca3dfcc07455692f3b4ee4df726b23390b62638577cf91a4dfadb22fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T21:29:43.604Z] + go version [2022-06-22T21:29:43.604Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-22T21:29:43.629Z] $ docker stop --time=1 0a9169aca3dfcc07455692f3b4ee4df726b23390b62638577cf91a4dfadb22fd [2022-06-22T21:29:45.294Z] $ docker rm -f 0a9169aca3dfcc07455692f3b4ee4df726b23390b62638577cf91a4dfadb22fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:29:45.914Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T21:29:45.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:29:46.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-15363 does not seem to be running inside a container [2022-06-22T21:29:46.229Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-06-22T21:29:47.466Z] $ docker top 7074d124263761e891e1c94bd231280d4a0b4b14b0dfc9e4e01b15b588f2988c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T21:29:48.381Z] + make test [2022-06-22T21:29:48.381Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-22T21:31:10.211Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-06-22T21:31:10.211Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.275s coverage: 86.2% of statements [2022-06-22T21:31:10.211Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-06-22T21:31:13.595Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.688s coverage: 71.9% of statements [2022-06-22T21:31:13.878Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-22T21:31:13.878Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-22T21:31:46.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T21:31:46.258Z] ./internal/inventory/app/app.go [2022-06-22T21:31:46.258Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T21:31:46.258Z] make: *** [Makefile:54: test] Error 1 [Pipeline] } [2022-06-22T21:31:46.293Z] $ docker stop --time=1 7074d124263761e891e1c94bd231280d4a0b4b14b0dfc9e4e01b15b588f2988c [2022-06-22T21:31:48.055Z] $ docker rm -f 7074d124263761e891e1c94bd231280d4a0b4b14b0dfc9e4e01b15b588f2988c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:31:49.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T21:31:49.127Z] [2022-06-22T21:31:49.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:31:49.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T21:31:49.753Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-22T21:31:49.753Z] 8998bd30e6a1: Pulling fs layer [2022-06-22T21:31:49.753Z] 04944245beec: Pulling fs layer [2022-06-22T21:31:49.753Z] 699f458cf7ca: Pulling fs layer [2022-06-22T21:31:49.753Z] 765212b225bb: Pulling fs layer [2022-06-22T21:31:49.753Z] f23df028b6ca: Pulling fs layer [2022-06-22T21:31:49.753Z] d65c8cfc05b1: Pulling fs layer [2022-06-22T21:31:49.753Z] 2437ff75d9bd: Pulling fs layer [2022-06-22T21:31:49.753Z] 765212b225bb: Waiting [2022-06-22T21:31:49.753Z] f23df028b6ca: Waiting [2022-06-22T21:31:49.753Z] 2437ff75d9bd: Waiting [2022-06-22T21:31:49.753Z] d65c8cfc05b1: Waiting [2022-06-22T21:31:49.753Z] 04944245beec: Verifying Checksum [2022-06-22T21:31:49.753Z] 04944245beec: Download complete [2022-06-22T21:31:49.753Z] 765212b225bb: Verifying Checksum [2022-06-22T21:31:49.753Z] 765212b225bb: Download complete [2022-06-22T21:31:49.753Z] f23df028b6ca: Download complete [2022-06-22T21:31:49.753Z] d65c8cfc05b1: Verifying Checksum [2022-06-22T21:31:49.753Z] d65c8cfc05b1: Download complete [2022-06-22T21:31:50.029Z] 699f458cf7ca: Verifying Checksum [2022-06-22T21:31:50.029Z] 699f458cf7ca: Download complete [2022-06-22T21:31:50.306Z] 8998bd30e6a1: Download complete [2022-06-22T21:31:52.928Z] 2437ff75d9bd: Verifying Checksum [2022-06-22T21:31:52.928Z] 2437ff75d9bd: Download complete [2022-06-22T21:31:54.911Z] 8998bd30e6a1: Pull complete [2022-06-22T21:31:55.186Z] 04944245beec: Pull complete [2022-06-22T21:31:56.624Z] 699f458cf7ca: Pull complete [2022-06-22T21:31:56.897Z] 765212b225bb: Pull complete [2022-06-22T21:31:57.880Z] f23df028b6ca: Pull complete [2022-06-22T21:31:57.880Z] d65c8cfc05b1: Pull complete [2022-06-22T21:32:12.978Z] 2437ff75d9bd: Pull complete [2022-06-22T21:32:12.978Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-22T21:32:12.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T21:32:12.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:32:13.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-15363 does not seem to be running inside a container [2022-06-22T21:32:13.326Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-22T21:32:15.704Z] $ docker top 11ea855d9e3a9969082089a99b0d56c721516d20163aa8176d83cc1719563504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:16.604Z] ---> job-cost.sh [2022-06-22T21:32:16.604Z] lf-activate-venv: SKIPPING [2022-06-22T21:32:16.604Z] INFO: No Stack... [2022-06-22T21:32:17.201Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-22T21:32:17.796Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T21:32:18.470Z] + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv [2022-06-22T21:32:18.470Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T21:32:18.533Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [2022-06-22T21:32:18.539Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] did not exist. Created. [2022-06-22T21:32:18.539Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-22T21:32:19.221Z] /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-e6a5a133/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-22T21:32:19.903Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-22T21:32:19.930Z] Warning: overwriting stash ‘stack-cost’ [2022-06-22T21:32:20.403Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T21:32:20.410Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T21:32:20.435Z] $ docker stop --time=1 11ea855d9e3a9969082089a99b0d56c721516d20163aa8176d83cc1719563504 [2022-06-22T21:32:21.957Z] $ docker rm -f 11ea855d9e3a9969082089a99b0d56c721516d20163aa8176d83cc1719563504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-22T21:32:22.279Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-22T21:32:23.047Z] + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives ] [2022-06-22T21:32:23.047Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives [2022-06-22T21:32:23.047Z] total 16 [2022-06-22T21:32:23.047Z] drwxr-xr-x 3 root root 4096 Jun 22 21:27 . [2022-06-22T21:32:23.047Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 21:27 .. [2022-06-22T21:32:23.047Z] drwxr-xr-x 2 root root 4096 Jun 22 21:27 cost [2022-06-22T21:32:23.047Z] -rw-r--r-- 1 root root 93 Jun 22 21:27 cost.csv [2022-06-22T21:32:23.047Z] + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives [2022-06-22T21:32:23.047Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives [2022-06-22T21:32:23.047Z] total 16 [2022-06-22T21:32:23.047Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 21:27 . [2022-06-22T21:32:23.048Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 21:27 .. [2022-06-22T21:32:23.048Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 21:27 cost [2022-06-22T21:32:23.048Z] -rw-r--r-- 1 jenkins jenkins 93 Jun 22 21:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:23.345Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:24.208Z] ---> package-listing.sh [2022-06-22T21:32:24.208Z] ++ facter osfamily [2022-06-22T21:32:24.208Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-22T21:32:24.469Z] + OS_FAMILY=debian [2022-06-22T21:32:24.469Z] + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-90 [2022-06-22T21:32:24.469Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-22T21:32:24.469Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-22T21:32:24.469Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-22T21:32:24.469Z] + PACKAGES=/tmp/packages_start.txt [2022-06-22T21:32:24.469Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-90 ']' [2022-06-22T21:32:24.469Z] + PACKAGES=/tmp/packages_end.txt [2022-06-22T21:32:24.469Z] + case "${OS_FAMILY}" in [2022-06-22T21:32:24.469Z] + dpkg -l [2022-06-22T21:32:24.469Z] + grep '^ii' [2022-06-22T21:32:24.469Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-22T21:32:24.469Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-22T21:32:24.469Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-22T21:32:24.469Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-90 ']' [2022-06-22T21:32:24.469Z] + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives/ [2022-06-22T21:32:24.469Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives/ [Pipeline] echo [2022-06-22T21:32:24.480Z] 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-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-22T21:32:24.759Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T21:32:25.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T21:32:25.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T21:32:25.411Z] prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container [2022-06-22T21:32:25.445Z] $ 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-90/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-90 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90:/w/workspace/ry_app-rfid-llrp-inventory_PR-90:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@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 [2022-06-22T21:32:25.693Z] $ docker top 7878287e18209cefc4946ed0ed58d8ac1732e5d1fb3791d08a10045a776fe28a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T21:32:26.077Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-22T21:32:26.419Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-22T21:32:26.713Z] + ls /var/log/sa-host [2022-06-22T21:32:26.713Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T21:32:26.782Z] provisioning config files... [2022-06-22T21:32:26.789Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/config651537885523372343tmp [Pipeline] { [Pipeline] echo [2022-06-22T21:32:26.805Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:27.086Z] ---> create-netrc.sh [Pipeline] } [2022-06-22T21:32:27.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:27.426Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-22T21:32:27.434Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:27.715Z] ---> sudo-logs.sh [2022-06-22T21:32:27.715Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-22T21:32:27.747Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:28.034Z] ---> job-cost.sh [2022-06-22T21:32:28.034Z] lf-activate-venv: SKIPPING [2022-06-22T21:32:28.034Z] DEBUG: total: 0.2199999988079071 [2022-06-22T21:32:28.034Z] INFO: Retrieving Stack Cost... [2022-06-22T21:32:28.604Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T21:32:28.864Z] INFO: Archiving Costs [Pipeline] echo [2022-06-22T21:32:28.876Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T21:32:29.164Z] ---> logs-deploy.sh [2022-06-22T21:32:29.164Z] lf-activate-venv: SKIPPING [2022-06-22T21:32:29.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-90/2 [2022-06-22T21:32:29.164Z] INFO: archiving workspace using pattern(s): [2022-06-22T21:32:30.106Z] Archives upload complete. [2022-06-22T21:32:30.106Z] INFO: archiving logs to Nexus