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 21:25:25 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 21:25:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:25:25 ========================================================= 21:25:25 EdgeX Global Pipelines Version Info 21:25:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:25:26 ------------------- 21:25:26 stable info: 21:25:26 ------------------- 21:25:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:25:26 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:25:26 Message: update stable to v1.0.234 21:25:27 ------------------- 21:25:27 experimental info: 21:25:27 ------------------- 21:25:27 Commited By: **** collab-it+edgex@linuxfoundation.org 21:25:27 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:25:27 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83b6cd4 [Pipeline] echo 21:25:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:27 provisioning config files... 21:25:27 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 21:25:28 ---> docker-login.sh 21:25:28 nexus3.edgexfoundry.org:10001 21:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:28 Configure a credential helper to remove this warning. See 21:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:28 21:25:28 Login Succeeded 21:25:28 nexus3.edgexfoundry.org:10002 21:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:28 Configure a credential helper to remove this warning. See 21:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:28 21:25:28 Login Succeeded 21:25:28 nexus3.edgexfoundry.org:10003 21:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:28 Configure a credential helper to remove this warning. See 21:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:28 21:25:28 Login Succeeded 21:25:28 nexus3.edgexfoundry.org:10004 21:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:28 Configure a credential helper to remove this warning. See 21:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:28 21:25:28 Login Succeeded 21:25:28 docker.io 21:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:29 Configure a credential helper to remove this warning. See 21:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:29 21:25:29 Login Succeeded 21:25:29 ---> docker-login.sh ends [Pipeline] } 21:25:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:25:29 + git rev-list -1 --merges 83b6cd400db194d8132435544b4f311639aea1ae~1..83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo 21:25:29 -----------> git rev-list -1 --merges 83b6cd400db194d8132435544b4f311639aea1ae~1..83b6cd400db194d8132435544b4f311639aea1ae 83b6cd400db194d8132435544b4f311639aea1ae 21:25:29 83b6cd400db194d8132435544b4f311639aea1ae [false] [Pipeline] sh 21:25:30 + git log --format=format:%s -1 83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo 21:25:30 ========================================================= 21:25:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:25:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:30 + git log --format=format:%s -1 83b6cd400db194d8132435544b4f311639aea1ae [Pipeline] echo 21:25:30 [semverPrep] GIT_COMMIT: 83b6cd400db194d8132435544b4f311639aea1ae, Commit Message: Merge commit 'cd50c67dda48d59214514b13406723cfe5ff62e7' into HEAD [Pipeline] echo 21:25:30 [semverPrep] This is not a build commit. [Pipeline] sh 21:25:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:25:30 + grep -v github /etc/ssh/ssh_known_hosts 21:25:30 + [ -e /tmp/ssh_known_hosts ] 21:25:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:25:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:25:30 + sudo tee -a /etc/ssh/ssh_known_hosts 21:25:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:31 21:25:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:31 0.1.4: Pulling from edgex-devops/py-git-semver 21:25:31 42c077c10790: Pulling fs layer 21:25:31 f63e77b7563a: Pulling fs layer 21:25:31 bd5fdadae976: Pulling fs layer 21:25:31 205491f53016: Pulling fs layer 21:25:31 df18705c85c3: Pulling fs layer 21:25:31 bdb3f477010e: Pulling fs layer 21:25:31 c8a8fc8e1c8f: Pulling fs layer 21:25:31 2c6e9b1d212d: Pulling fs layer 21:25:31 bdb8f0575790: Pulling fs layer 21:25:31 386e3cb2ff24: Pulling fs layer 21:25:31 2343380bae48: Pulling fs layer 21:25:31 c8a8fc8e1c8f: Waiting 21:25:31 2c6e9b1d212d: Waiting 21:25:31 bdb8f0575790: Waiting 21:25:31 386e3cb2ff24: Waiting 21:25:31 2343380bae48: Waiting 21:25:31 df18705c85c3: Waiting 21:25:31 bdb3f477010e: Waiting 21:25:31 205491f53016: Waiting 21:25:31 f63e77b7563a: Verifying Checksum 21:25:31 f63e77b7563a: Download complete 21:25:31 205491f53016: Verifying Checksum 21:25:31 205491f53016: Download complete 21:25:31 df18705c85c3: Verifying Checksum 21:25:31 df18705c85c3: Download complete 21:25:31 bdb3f477010e: Download complete 21:25:31 bd5fdadae976: Verifying Checksum 21:25:31 bd5fdadae976: Download complete 21:25:31 2c6e9b1d212d: Download complete 21:25:31 bdb8f0575790: Verifying Checksum 21:25:31 bdb8f0575790: Download complete 21:25:31 386e3cb2ff24: Verifying Checksum 21:25:31 386e3cb2ff24: Download complete 21:25:31 2343380bae48: Verifying Checksum 21:25:31 2343380bae48: Download complete 21:25:31 42c077c10790: Verifying Checksum 21:25:31 42c077c10790: Download complete 21:25:32 c8a8fc8e1c8f: Download complete 21:25:33 42c077c10790: Pull complete 21:25:33 f63e77b7563a: Pull complete 21:25:34 bd5fdadae976: Pull complete 21:25:34 205491f53016: Pull complete 21:25:34 df18705c85c3: Pull complete 21:25:34 bdb3f477010e: Pull complete 21:25:36 c8a8fc8e1c8f: Pull complete 21:25:36 2c6e9b1d212d: Pull complete 21:25:36 bdb8f0575790: Pull complete 21:25:36 386e3cb2ff24: Pull complete 21:25:36 2343380bae48: Pull complete 21:25:36 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 21:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:37 prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container 21:25:37 $ 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 21:25:38 $ docker top 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 -eo pid,comm 21:25:38 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). 21:25:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:25:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:38 [ssh-agent] Looking for ssh-agent implementation... 21:25:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:39 $ docker exec 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent 21:25:39 SSH_AUTH_SOCK=/tmp/ssh-3dOODaYXp73k/agent.32 21:25:39 SSH_AGENT_PID=39 21:25:39 Running ssh-add (command line suppressed) 21:25:39 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) 21:25:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:39 + git tag --points-at HEAD [Pipeline] } 21:25:39 $ docker exec --env ******** --env ******** 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent -k 21:25:39 unset SSH_AUTH_SOCK; 21:25:39 unset SSH_AGENT_PID; 21:25:39 echo Agent pid 39 killed; 21:25:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:25:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:39 [ssh-agent] Looking for ssh-agent implementation... 21:25:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:39 $ docker exec 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent 21:25:40 SSH_AUTH_SOCK=/tmp/ssh-5UXrJTuxbxCi/agent.71 21:25:40 SSH_AGENT_PID=77 21:25:40 Running ssh-add (command line suppressed) 21:25:40 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) 21:25:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:40 + git semver init 21:25:40 2022-06-22 21:25:40,754 [run_init] DEBUG init version:0.0.0 force:False 21:25:40 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 21:25:40 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 21:25:40 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) 21:25:41 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 21:25:41 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 21:25:41 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 21:25:41 2022-06-22 21:25:41,716 [execute] INFO git cat-file --batch-check 21:25:41 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=) 21:25:41 2022-06-22 21:25:41,724 [execute] INFO git cat-file --batch 21:25:41 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=) 21:25:41 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 21:25:41 0.0.0 [Pipeline] } 21:25:42 $ docker exec --env ******** --env ******** 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 ssh-agent -k 21:25:42 unset SSH_AUTH_SOCK; 21:25:42 unset SSH_AGENT_PID; 21:25:42 echo Agent pid 77 killed; 21:25:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:25:42 + git semver [Pipeline] } 21:25:42 $ docker stop --time=1 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 21:25:44 $ docker rm -f 7fb551255fe4250fd8c32833a12f88f80a6d57da13e6689f6a00c9288ac83d68 [Pipeline] // withDockerContainer [Pipeline] sh 21:25:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:25:44 Stashed 1 file(s) [Pipeline] echo 21:25:44 [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 21:25:44 provisioning config files... 21:25:44 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 21:25:45 ---> docker-login.sh 21:25:45 nexus3.edgexfoundry.org:10001 21:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:45 Configure a credential helper to remove this warning. See 21:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:45 21:25:45 Login Succeeded 21:25:45 nexus3.edgexfoundry.org:10002 21:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:45 Configure a credential helper to remove this warning. See 21:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:45 21:25:45 Login Succeeded 21:25:45 nexus3.edgexfoundry.org:10003 21:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:45 Configure a credential helper to remove this warning. See 21:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:45 21:25:45 Login Succeeded 21:25:45 nexus3.edgexfoundry.org:10004 21:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:45 Configure a credential helper to remove this warning. See 21:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:45 21:25:45 Login Succeeded 21:25:45 docker.io 21:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:45 Configure a credential helper to remove this warning. See 21:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:45 21:25:45 Login Succeeded 21:25:45 ---> docker-login.sh ends [Pipeline] } 21:25:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:25:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:46 ========================================================= 21:25:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:25:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:46 + 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 . 21:25:46 Sending build context to Docker daemon 12.45MB 21:25:46 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 21:25:46 Step 2/13 : FROM ${BASE} AS builder 21:25:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:25:46 59bf1c3509f3: Pulling fs layer 21:25:46 666ba61612fd: Pulling fs layer 21:25:46 8ed8ca486205: Pulling fs layer 21:25:46 cc1cd167ecdc: Pulling fs layer 21:25:46 c516ae0d96e1: Pulling fs layer 21:25:46 684cea983483: Pulling fs layer 21:25:46 dd3240ac7de5: Pulling fs layer 21:25:46 b1e948a4e11c: Pulling fs layer 21:25:46 a8fd76ee1af6: Pulling fs layer 21:25:46 646ad004c059: Pulling fs layer 21:25:46 dd3240ac7de5: Waiting 21:25:46 b1e948a4e11c: Waiting 21:25:46 cc1cd167ecdc: Waiting 21:25:46 646ad004c059: Waiting 21:25:46 a8fd76ee1af6: Waiting 21:25:46 c516ae0d96e1: Waiting 21:25:46 684cea983483: Waiting 21:25:46 8ed8ca486205: Verifying Checksum 21:25:46 8ed8ca486205: Download complete 21:25:46 666ba61612fd: Verifying Checksum 21:25:46 666ba61612fd: Download complete 21:25:46 c516ae0d96e1: Verifying Checksum 21:25:46 684cea983483: Verifying Checksum 21:25:46 684cea983483: Download complete 21:25:46 59bf1c3509f3: Verifying Checksum 21:25:46 59bf1c3509f3: Download complete 21:25:46 dd3240ac7de5: Download complete 21:25:46 b1e948a4e11c: Verifying Checksum 21:25:46 b1e948a4e11c: Download complete 21:25:46 59bf1c3509f3: Pull complete 21:25:46 666ba61612fd: Pull complete 21:25:46 8ed8ca486205: Pull complete 21:25:47 646ad004c059: Verifying Checksum 21:25:47 646ad004c059: Download complete 21:25:47 cc1cd167ecdc: Verifying Checksum 21:25:47 cc1cd167ecdc: Download complete 21:25:47 a8fd76ee1af6: Verifying Checksum 21:25:47 a8fd76ee1af6: Download complete 21:25:51 cc1cd167ecdc: Pull complete 21:25:51 c516ae0d96e1: Pull complete 21:25:51 684cea983483: Pull complete 21:25:51 dd3240ac7de5: Pull complete 21:25:51 b1e948a4e11c: Pull complete 21:25:54 a8fd76ee1af6: Pull complete 21:25:54 646ad004c059: Pull complete 21:25:54 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 21:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:25:54 ---> 8f69c11f6b0c 21:25:54 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:25:57 ---> Running in 56fa39153340 21:25:57 Removing intermediate container 56fa39153340 21:25:57 ---> 2888ebe124b5 21:25:57 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:25:57 ---> Running in b22aeeb17406 21:25:57 Removing intermediate container b22aeeb17406 21:25:57 ---> 3f151f7b5698 21:25:57 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:25:57 ---> Running in e291b17960fb 21:25:57 Removing intermediate container e291b17960fb 21:25:57 ---> 18ece53bb98b 21:25:57 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:25:57 ---> Running in f063b91a6a5a 21:25:57 Removing intermediate container f063b91a6a5a 21:25:57 ---> 04003783e8d1 21:25:57 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:25:57 ---> Running in f2e4d2cc816c 21:25:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:25:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:25:59 OK: 221 MiB in 52 packages 21:25:59 Removing intermediate container f2e4d2cc816c 21:25:59 ---> 4c7a3c43f645 21:25:59 Step 8/13 : WORKDIR /app 21:25:59 ---> Running in a120baee2ed8 21:25:59 Still waiting to schedule task 21:25:59 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15361’ is offline 21:25:59 Removing intermediate container a120baee2ed8 21:25:59 ---> a6a3c185a084 21:25:59 Step 9/13 : COPY go.mod vendor* ./ 21:25:59 ---> 9bc911b9500d 21:25:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:25:59 ---> Running in 4801025fdfca 21:26:18 Removing intermediate container 4801025fdfca 21:26:18 ---> 98c564a2d644 21:26:18 Step 11/13 : COPY . . 21:26:18 ---> cfe11e269840 21:26:18 Step 12/13 : ARG MAKE="make build" 21:26:18 ---> Running in e67911790100 21:26:18 Removing intermediate container e67911790100 21:26:18 ---> 88961aad5ce8 21:26:18 Step 13/13 : RUN $MAKE 21:26:18 ---> Running in c1959b335bfe 21:26:18 noop 21:26:18 Removing intermediate container c1959b335bfe 21:26:18 ---> 00bca4a698cc 21:26:18 Successfully built 00bca4a698cc 21:26:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:18 + docker inspect -f . ci-base-image-x86_64 21:26:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:18 prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container 21:26:18 $ 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 21:26:18 $ docker top 64c060d419bc9c4a793aef8066d7cc97280024a21e10d784e610fde23513386b -eo pid,comm [Pipeline] { [Pipeline] sh 21:26:19 + go version 21:26:19 go version go1.17.7 linux/amd64 [Pipeline] } 21:26:19 $ docker stop --time=1 64c060d419bc9c4a793aef8066d7cc97280024a21e10d784e610fde23513386b 21:26:20 $ 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 21:26:21 + docker inspect -f . ci-base-image-x86_64 21:26:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:21 prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container 21:26:21 $ 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 21:26:21 $ docker top 0583e96b017d9eae64804746984e24b0be0074e4e759efd3dc5d041b59eead8b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:26:21 + make test 21:26:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:26:34 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:26:34 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.031s coverage: 86.2% of statements 21:26:34 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:26:35 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.555s coverage: 71.9% of statements 21:26:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:26:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:26:47 ./internal/inventory/app/app.go 21:26:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:26:47 make: *** [Makefile:54: test] Error 1 [Pipeline] } 21:26:47 $ docker stop --time=1 0583e96b017d9eae64804746984e24b0be0074e4e759efd3dc5d041b59eead8b 21:26:49 $ 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 21:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:50 21:26:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:50 latest: Pulling from edgex-lftools-log-publisher 21:26:50 5eb5b503b376: Pulling fs layer 21:26:50 5c69ac0246d0: Pulling fs layer 21:26:50 ec43610c2a17: Pulling fs layer 21:26:50 3a2ae6a8a46f: Pulling fs layer 21:26:50 33b1e0a273af: Pulling fs layer 21:26:50 5d3b04190fa2: Pulling fs layer 21:26:50 2f39f015ded8: Pulling fs layer 21:26:50 33b1e0a273af: Waiting 21:26:50 3a2ae6a8a46f: Waiting 21:26:50 2f39f015ded8: Waiting 21:26:50 5c69ac0246d0: Verifying Checksum 21:26:50 5c69ac0246d0: Download complete 21:26:50 3a2ae6a8a46f: Verifying Checksum 21:26:50 3a2ae6a8a46f: Download complete 21:26:50 33b1e0a273af: Verifying Checksum 21:26:50 33b1e0a273af: Download complete 21:26:50 ec43610c2a17: Verifying Checksum 21:26:50 ec43610c2a17: Download complete 21:26:50 5d3b04190fa2: Verifying Checksum 21:26:50 5d3b04190fa2: Download complete 21:26:50 5eb5b503b376: Verifying Checksum 21:26:50 5eb5b503b376: Download complete 21:26:51 2f39f015ded8: Download complete 21:26:52 5eb5b503b376: Pull complete 21:26:52 5c69ac0246d0: Pull complete 21:26:53 ec43610c2a17: Pull complete 21:26:53 3a2ae6a8a46f: Pull complete 21:26:53 33b1e0a273af: Pull complete 21:26:53 5d3b04190fa2: Pull complete 21:26:58 2f39f015ded8: Pull complete 21:26:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:26:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:58 prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container 21:26:58 $ 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 21:27:00 $ docker top f9db6e3c875e0f8b0089ac6c3cd8b65290cde211f870e873168bddeed4c139f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:01 ---> job-cost.sh 21:27:01 lf-activate-venv: SKIPPING 21:27:01 INFO: No Stack... 21:27:01 INFO: Retrieving Pricing Info for: v3-standard-8 21:27:02 INFO: Archiving Costs [Pipeline] sh 21:27:02 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives/cost.csv 21:27:02 + cut -d, -f6 [Pipeline] lock 21:27:02 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] 21:27:02 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] did not exist. Created. 21:27:02 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:02 + echo total: 0.2199999988079071 [Pipeline] stash 21:27:02 Stashed 1 file(s) [Pipeline] } 21:27:02 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:27:02 $ docker stop --time=1 f9db6e3c875e0f8b0089ac6c3cd8b65290cde211f870e873168bddeed4c139f6 21:27:04 $ docker rm -f f9db6e3c875e0f8b0089ac6c3cd8b65290cde211f870e873168bddeed4c139f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:27:04 Failed in branch amd64 21:27:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15363 in /w/workspace/ry_app-rfid-llrp-inventory_PR-90 [Pipeline] { [Pipeline] ws 21:27:41 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 21:27:41 The recommended git tool is: git 21:27:47 using credential edgex-jenkins-ssh 21:27:47 Cloning the remote Git repository 21:27:47 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:27:47 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 21:27:47 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:27:47 > git --version # timeout=10 21:27:47 > git --version # 'git version 2.25.1' 21:27:47 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:27:50 Merging remotes/origin/main commit cd50c67dda48d59214514b13406723cfe5ff62e7 into PR head commit d6ed031d4ceb1d7b842574ddca97868e70a5cff0 21:27:50 Merge succeeded, producing 0fa2fb608b4515177f408fdfb93851eb01a12b3c 21:27:50 Checking out Revision 0fa2fb608b4515177f408fdfb93851eb01a12b3c (PR-90) 21:27:49 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:27:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:27:49 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:27:49 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:27:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:49 > 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 21:27:50 > git config core.sparsecheckout # timeout=10 21:27:50 > git checkout -f d6ed031d4ceb1d7b842574ddca97868e70a5cff0 # timeout=10 21:27:50 > git remote # timeout=10 21:27:50 > git config --get remote.origin.url # timeout=10 21:27:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:50 > git merge cd50c67dda48d59214514b13406723cfe5ff62e7 # timeout=10 21:27:50 > git rev-parse HEAD^{commit} # timeout=10 21:27:50 > git config core.sparsecheckout # timeout=10 21:27:50 > git checkout -f 0fa2fb608b4515177f408fdfb93851eb01a12b3c # timeout=10 21:27:54 Commit message: "Merge commit 'cd50c67dda48d59214514b13406723cfe5ff62e7' into HEAD" 21:27:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:54 > git rev-list --no-walk fe1a345baa82580baeb361d546fc96911c06cf03 # timeout=10 21:27:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:27:55 % Total % Received % Xferd Average Speed Time Time Time Current 21:27:55 Dload Upload Total Spent Left Speed 21:27:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 73813 0 --:--:-- --:--:-- --:--:-- 74260 [Pipeline] sh 21:27:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:27:56 + sudo tee /etc/docker/daemon.new 21:27:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:27:56 { 21:27:56 "registry-mirrors": [ 21:27:56 "https://nexus3.edgexfoundry.org:10001" 21:27:56 ], 21:27:56 "bip": "10.250.0.254/24", 21:27:56 "hosts": [ 21:27:56 "tcp://0.0.0.0:5555", 21:27:56 "unix:///var/run/docker.sock" 21:27:56 ], 21:27:56 "mtu": 1458, 21:27:56 "selinux-enabled": true, 21:27:56 "seccomp-profile": "/etc/docker/seccomp.json" 21:27:56 } [Pipeline] sh 21:27:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:27:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:15 provisioning config files... 21:28:15 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config4373658097874738244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:15 ---> docker-login.sh 21:28:15 nexus3.edgexfoundry.org:10001 21:28:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:16 Configure a credential helper to remove this warning. See 21:28:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:16 21:28:16 Login Succeeded 21:28:16 nexus3.edgexfoundry.org:10002 21:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:17 Configure a credential helper to remove this warning. See 21:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:17 21:28:17 Login Succeeded 21:28:17 nexus3.edgexfoundry.org:10003 21:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:17 Configure a credential helper to remove this warning. See 21:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:17 21:28:17 Login Succeeded 21:28:17 nexus3.edgexfoundry.org:10004 21:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:18 Configure a credential helper to remove this warning. See 21:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:18 21:28:18 Login Succeeded 21:28:18 docker.io 21:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:19 Configure a credential helper to remove this warning. See 21:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:19 21:28:19 Login Succeeded 21:28:19 ---> docker-login.sh ends [Pipeline] } 21:28:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:19 ========================================================= 21:28:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:28:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:20 + 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 . 21:28:20 Sending build context to Docker daemon 687.6kB 21:28:20 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 21:28:20 Step 2/13 : FROM ${BASE} AS builder 21:28:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:28:20 9b3977197b4f: Pulling fs layer 21:28:20 1a89e8eeedd5: Pulling fs layer 21:28:20 94645a83ff95: Pulling fs layer 21:28:20 e6fb740bc735: Pulling fs layer 21:28:20 3a77bd46dcc9: Pulling fs layer 21:28:20 355e64cbe906: Pulling fs layer 21:28:20 e6fb740bc735: Waiting 21:28:20 63ab81a10011: Pulling fs layer 21:28:20 555d1d1c4555: Pulling fs layer 21:28:20 7d9057610161: Pulling fs layer 21:28:20 3a77bd46dcc9: Waiting 21:28:20 63ab81a10011: Waiting 21:28:20 555d1d1c4555: Waiting 21:28:20 355e64cbe906: Waiting 21:28:20 7d9057610161: Waiting 21:28:20 94645a83ff95: Verifying Checksum 21:28:20 94645a83ff95: Download complete 21:28:20 1a89e8eeedd5: Verifying Checksum 21:28:20 1a89e8eeedd5: Download complete 21:28:20 3a77bd46dcc9: Verifying Checksum 21:28:20 3a77bd46dcc9: Download complete 21:28:20 355e64cbe906: Verifying Checksum 21:28:20 355e64cbe906: Download complete 21:28:20 9b3977197b4f: Verifying Checksum 21:28:20 9b3977197b4f: Download complete 21:28:20 63ab81a10011: Verifying Checksum 21:28:20 63ab81a10011: Download complete 21:28:21 9b3977197b4f: Pull complete 21:28:21 7d9057610161: Verifying Checksum 21:28:21 7d9057610161: Download complete 21:28:22 1a89e8eeedd5: Pull complete 21:28:22 94645a83ff95: Pull complete 21:28:22 555d1d1c4555: Verifying Checksum 21:28:22 555d1d1c4555: Download complete 21:28:23 e6fb740bc735: Verifying Checksum 21:28:23 e6fb740bc735: Download complete 21:28:35 e6fb740bc735: Pull complete 21:28:35 3a77bd46dcc9: Pull complete 21:28:35 355e64cbe906: Pull complete 21:28:35 63ab81a10011: Pull complete 21:28:42 555d1d1c4555: Pull complete 21:28:44 7d9057610161: Pull complete 21:28:44 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 21:28:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:28:44 ---> 819e984ddca1 21:28:44 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:28:45 ---> Running in 3d451e07b0f0 21:28:45 Removing intermediate container 3d451e07b0f0 21:28:45 ---> e1f4b9171f1e 21:28:45 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:28:45 ---> Running in d1960d363c40 21:28:46 Removing intermediate container d1960d363c40 21:28:46 ---> 1f5d5cfba9ba 21:28:46 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:28:46 ---> Running in e35c5e7f438f 21:28:47 Removing intermediate container e35c5e7f438f 21:28:47 ---> da4e0d1dd13f 21:28:47 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:28:47 ---> Running in 3a970c07db04 21:28:49 Removing intermediate container 3a970c07db04 21:28:49 ---> dcd9c5aa8eb4 21:28:49 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:28:49 ---> Running in e4e999a14b30 21:28:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:28:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:28:51 OK: 220 MiB in 52 packages 21:28:52 Removing intermediate container e4e999a14b30 21:28:52 ---> 98c3681d388f 21:28:52 Step 8/13 : WORKDIR /app 21:28:52 ---> Running in 6781e57c0706 21:28:52 Removing intermediate container 6781e57c0706 21:28:52 ---> a20026526b6e 21:28:52 Step 9/13 : COPY go.mod vendor* ./ 21:28:53 ---> 30ff7bfe6f67 21:28:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:53 ---> Running in 2b26fac8ad4c 21:29:40 Removing intermediate container 2b26fac8ad4c 21:29:40 ---> 119479bced19 21:29:40 Step 11/13 : COPY . . 21:29:40 ---> a49141bff27e 21:29:40 Step 12/13 : ARG MAKE="make build" 21:29:40 ---> Running in 1b4019744429 21:29:40 Removing intermediate container 1b4019744429 21:29:40 ---> 105f2df285e5 21:29:40 Step 13/13 : RUN $MAKE 21:29:40 ---> Running in f8803e264370 21:29:40 noop 21:29:40 Removing intermediate container f8803e264370 21:29:40 ---> 6761140aba9f 21:29:40 Successfully built 6761140aba9f 21:29:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:41 + docker inspect -f . ci-base-image-arm64 21:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-15363 does not seem to be running inside a container 21:29:41 $ 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 21:29:42 $ docker top 0a9169aca3dfcc07455692f3b4ee4df726b23390b62638577cf91a4dfadb22fd -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:43 + go version 21:29:43 go version go1.17.7 linux/arm64 [Pipeline] } 21:29:43 $ docker stop --time=1 0a9169aca3dfcc07455692f3b4ee4df726b23390b62638577cf91a4dfadb22fd 21:29:45 $ 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 21:29:45 + docker inspect -f . ci-base-image-arm64 21:29:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:46 prd-ubuntu20.04-docker-arm64-4c-16g-15363 does not seem to be running inside a container 21:29:46 $ 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 21:29:47 $ docker top 7074d124263761e891e1c94bd231280d4a0b4b14b0dfc9e4e01b15b588f2988c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:29:48 + make test 21:29:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:31:10 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:31:10 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.275s coverage: 86.2% of statements 21:31:10 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:31:13 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.688s coverage: 71.9% of statements 21:31:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:31:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:31:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:31:46 ./internal/inventory/app/app.go 21:31:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:31:46 make: *** [Makefile:54: test] Error 1 [Pipeline] } 21:31:46 $ docker stop --time=1 7074d124263761e891e1c94bd231280d4a0b4b14b0dfc9e4e01b15b588f2988c 21:31:48 $ 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 21:31:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:49 21:31:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:49 arm64: Pulling from edgex-lftools-log-publisher 21:31:49 8998bd30e6a1: Pulling fs layer 21:31:49 04944245beec: Pulling fs layer 21:31:49 699f458cf7ca: Pulling fs layer 21:31:49 765212b225bb: Pulling fs layer 21:31:49 f23df028b6ca: Pulling fs layer 21:31:49 d65c8cfc05b1: Pulling fs layer 21:31:49 2437ff75d9bd: Pulling fs layer 21:31:49 765212b225bb: Waiting 21:31:49 f23df028b6ca: Waiting 21:31:49 2437ff75d9bd: Waiting 21:31:49 d65c8cfc05b1: Waiting 21:31:49 04944245beec: Verifying Checksum 21:31:49 04944245beec: Download complete 21:31:49 765212b225bb: Verifying Checksum 21:31:49 765212b225bb: Download complete 21:31:49 f23df028b6ca: Download complete 21:31:49 d65c8cfc05b1: Verifying Checksum 21:31:49 d65c8cfc05b1: Download complete 21:31:50 699f458cf7ca: Verifying Checksum 21:31:50 699f458cf7ca: Download complete 21:31:50 8998bd30e6a1: Download complete 21:31:52 2437ff75d9bd: Verifying Checksum 21:31:52 2437ff75d9bd: Download complete 21:31:54 8998bd30e6a1: Pull complete 21:31:55 04944245beec: Pull complete 21:31:56 699f458cf7ca: Pull complete 21:31:56 765212b225bb: Pull complete 21:31:57 f23df028b6ca: Pull complete 21:31:57 d65c8cfc05b1: Pull complete 21:32:12 2437ff75d9bd: Pull complete 21:32:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:32:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:32:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:13 prd-ubuntu20.04-docker-arm64-4c-16g-15363 does not seem to be running inside a container 21:32:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/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 21:32:15 $ docker top 11ea855d9e3a9969082089a99b0d56c721516d20163aa8176d83cc1719563504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:16 ---> job-cost.sh 21:32:16 lf-activate-venv: SKIPPING 21:32:16 INFO: No Stack... 21:32:17 INFO: Retrieving Pricing Info for: v3-standard-4 21:32:17 INFO: Archiving Costs [Pipeline] sh 21:32:18 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 21:32:18 + cut -d, -f6 [Pipeline] lock 21:32:18 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] 21:32:18 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] did not exist. Created. 21:32:18 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:32:19 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-e6a5a133/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:32:19 + echo total: 0.10999999940395355 [Pipeline] stash 21:32:19 Warning: overwriting stash ‘stack-cost’ 21:32:20 Stashed 1 file(s) [Pipeline] } 21:32:20 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-90-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:32:20 $ docker stop --time=1 11ea855d9e3a9969082089a99b0d56c721516d20163aa8176d83cc1719563504 21:32:21 $ 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] } 21:32:22 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 21:32:23 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives ] 21:32:23 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives 21:32:23 total 16 21:32:23 drwxr-xr-x 3 root root 4096 Jun 22 21:27 . 21:32:23 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 21:27 .. 21:32:23 drwxr-xr-x 2 root root 4096 Jun 22 21:27 cost 21:32:23 -rw-r--r-- 1 root root 93 Jun 22 21:27 cost.csv 21:32:23 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives 21:32:23 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives 21:32:23 total 16 21:32:23 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 21:27 . 21:32:23 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 21:27 .. 21:32:23 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 21:27 cost 21:32:23 -rw-r--r-- 1 jenkins jenkins 93 Jun 22 21:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:32:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:32:24 ---> package-listing.sh 21:32:24 ++ facter osfamily 21:32:24 ++ tr '[:upper:]' '[:lower:]' 21:32:24 + OS_FAMILY=debian 21:32:24 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-90 21:32:24 + START_PACKAGES=/tmp/packages_start.txt 21:32:24 + END_PACKAGES=/tmp/packages_end.txt 21:32:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:32:24 + PACKAGES=/tmp/packages_start.txt 21:32:24 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-90 ']' 21:32:24 + PACKAGES=/tmp/packages_end.txt 21:32:24 + case "${OS_FAMILY}" in 21:32:24 + dpkg -l 21:32:24 + grep '^ii' 21:32:24 + '[' -f /tmp/packages_start.txt ']' 21:32:24 + '[' -f /tmp/packages_end.txt ']' 21:32:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:32:24 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-90 ']' 21:32:24 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-90/archives/ 21:32:24 + 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 21:32:24 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 21:32:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:25 prd-ubuntu20.04-docker-8c-8g-15362 does not seem to be running inside a container 21:32:25 $ 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 21:32:25 $ docker top 7878287e18209cefc4946ed0ed58d8ac1732e5d1fb3791d08a10045a776fe28a -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:26 + touch /tmp/pre-build-complete [Pipeline] sh 21:32:26 + mkdir -p /var/log/sysstat [Pipeline] sh 21:32:26 + ls /var/log/sa-host 21:32:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:26 provisioning config files... 21:32:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-90@tmp/config651537885523372343tmp [Pipeline] { [Pipeline] echo 21:32:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:32:27 ---> create-netrc.sh [Pipeline] } 21:32:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:32:27 ---> python-tools-install.sh [Pipeline] echo 21:32:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:32:27 ---> sudo-logs.sh 21:32:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:32:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:32:28 ---> job-cost.sh 21:32:28 lf-activate-venv: SKIPPING 21:32:28 DEBUG: total: 0.2199999988079071 21:32:28 INFO: Retrieving Stack Cost... 21:32:28 INFO: Retrieving Pricing Info for: v3-standard-8 21:32:28 INFO: Archiving Costs [Pipeline] echo 21:32:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:32:29 ---> logs-deploy.sh 21:32:29 lf-activate-venv: SKIPPING 21:32:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-90/2 21:32:29 INFO: archiving workspace using pattern(s): 21:32:30 Archives upload complete. 21:32:30 INFO: archiving logs to Nexus