Pull request #95 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95be71569b9e06f85175aab574804b2477afe1bc+eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 (2f376787e1399bc4136b91d0c0c973b3ed39dff4) 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-ssh3843579697437606113.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-ssh3312441938394970226.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6024965990627903984.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2229255073734951743.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13634419803987624425.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-95/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-95/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2329228949537473820.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-17037’ Running on prd-ubuntu20.04-docker-8c-8g-17039 in /w/workspace/ry_app-rfid-llrp-inventory_PR-95 [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-95 # 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 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 into PR head commit 95be71569b9e06f85175aab574804b2477afe1bc Merge succeeded, producing 95be71569b9e06f85175aab574804b2477afe1bc Checking out Revision 95be71569b9e06f85175aab574804b2477afe1bc (PR-95) > 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/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95be71569b9e06f85175aab574804b2477afe1bc # 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 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95be71569b9e06f85175aab574804b2477afe1bc # timeout=10 Commit message: "build: Lastest SDK, update attribtion script and file" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:14:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:14:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:14:27 ========================================================= 18:14:27 EdgeX Global Pipelines Version Info 18:14:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:14:28 ------------------- 18:14:28 stable info: 18:14:28 ------------------- 18:14:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:14:28 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 18:14:28 Message: update stable to v1.0.234 18:14:28 ------------------- 18:14:28 experimental info: 18:14:28 ------------------- 18:14:28 Commited By: **** collab-it+edgex@linuxfoundation.org 18:14:28 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 18:14:28 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:14:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:14:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:14:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:14:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo 18:14:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo 18:14:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo 18:14:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95be71569b9e06f85175aab574804b2477afe1bc [Pipeline] echo 18:14:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95be715 [Pipeline] echo 18:14:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:30 provisioning config files... 18:14:30 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/config2412930648322404112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:30 ---> docker-login.sh 18:14:30 nexus3.edgexfoundry.org:10001 18:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:31 Configure a credential helper to remove this warning. See 18:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:31 18:14:31 Login Succeeded 18:14:31 nexus3.edgexfoundry.org:10002 18:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:31 Configure a credential helper to remove this warning. See 18:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:31 18:14:31 Login Succeeded 18:14:31 nexus3.edgexfoundry.org:10003 18:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:31 Configure a credential helper to remove this warning. See 18:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:31 18:14:31 Login Succeeded 18:14:31 nexus3.edgexfoundry.org:10004 18:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:31 Configure a credential helper to remove this warning. See 18:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:31 18:14:31 Login Succeeded 18:14:31 docker.io 18:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:32 Configure a credential helper to remove this warning. See 18:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:32 18:14:32 Login Succeeded 18:14:32 ---> docker-login.sh ends [Pipeline] } 18:14:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:14:32 + git rev-list -1 --merges 95be71569b9e06f85175aab574804b2477afe1bc~1..95be71569b9e06f85175aab574804b2477afe1bc [Pipeline] echo 18:14:32 -----------> git rev-list -1 --merges 95be71569b9e06f85175aab574804b2477afe1bc~1..95be71569b9e06f85175aab574804b2477afe1bc 95be71569b9e06f85175aab574804b2477afe1bc [false] [Pipeline] sh 18:14:33 + git log --format=format:%s -1 95be71569b9e06f85175aab574804b2477afe1bc [Pipeline] echo 18:14:33 ========================================================= 18:14:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:14:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:14:33 + git log --format=format:%s -1 95be71569b9e06f85175aab574804b2477afe1bc [Pipeline] echo 18:14:33 [semverPrep] GIT_COMMIT: 95be71569b9e06f85175aab574804b2477afe1bc, Commit Message: build: Lastest SDK, update attribtion script and file [Pipeline] echo 18:14:33 [semverPrep] This is not a build commit. [Pipeline] sh 18:14:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:14:34 + grep -v github /etc/ssh/ssh_known_hosts 18:14:34 + [ -e /tmp/ssh_known_hosts ] 18:14:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:14:34 + sudo tee -a /etc/ssh/ssh_known_hosts 18:14:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:14:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:14:34 18:14:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:14:34 0.1.4: Pulling from edgex-devops/py-git-semver 18:14:34 42c077c10790: Pulling fs layer 18:14:34 f63e77b7563a: Pulling fs layer 18:14:34 bd5fdadae976: Pulling fs layer 18:14:34 205491f53016: Pulling fs layer 18:14:34 df18705c85c3: Pulling fs layer 18:14:34 bdb3f477010e: Pulling fs layer 18:14:34 c8a8fc8e1c8f: Pulling fs layer 18:14:34 2c6e9b1d212d: Pulling fs layer 18:14:34 bdb8f0575790: Pulling fs layer 18:14:34 386e3cb2ff24: Pulling fs layer 18:14:34 2343380bae48: Pulling fs layer 18:14:34 c8a8fc8e1c8f: Waiting 18:14:34 2c6e9b1d212d: Waiting 18:14:34 bdb8f0575790: Waiting 18:14:34 386e3cb2ff24: Waiting 18:14:34 2343380bae48: Waiting 18:14:34 205491f53016: Waiting 18:14:34 df18705c85c3: Waiting 18:14:34 bdb3f477010e: Waiting 18:14:35 f63e77b7563a: Verifying Checksum 18:14:35 f63e77b7563a: Download complete 18:14:35 205491f53016: Download complete 18:14:35 df18705c85c3: Verifying Checksum 18:14:35 df18705c85c3: Download complete 18:14:35 bdb3f477010e: Verifying Checksum 18:14:35 bdb3f477010e: Download complete 18:14:35 bd5fdadae976: Verifying Checksum 18:14:35 bd5fdadae976: Download complete 18:14:35 2c6e9b1d212d: Verifying Checksum 18:14:35 2c6e9b1d212d: Download complete 18:14:35 bdb8f0575790: Verifying Checksum 18:14:35 bdb8f0575790: Download complete 18:14:35 386e3cb2ff24: Verifying Checksum 18:14:35 386e3cb2ff24: Download complete 18:14:35 2343380bae48: Verifying Checksum 18:14:35 2343380bae48: Download complete 18:14:35 42c077c10790: Download complete 18:14:35 c8a8fc8e1c8f: Download complete 18:14:37 42c077c10790: Pull complete 18:14:37 f63e77b7563a: Pull complete 18:14:38 bd5fdadae976: Pull complete 18:14:38 205491f53016: Pull complete 18:14:38 df18705c85c3: Pull complete 18:14:38 bdb3f477010e: Pull complete 18:14:41 c8a8fc8e1c8f: Pull complete 18:14:41 2c6e9b1d212d: Pull complete 18:14:41 bdb8f0575790: Pull complete 18:14:41 386e3cb2ff24: Pull complete 18:14:41 2343380bae48: Pull complete 18:14:41 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 18:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:14:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:41 prd-ubuntu20.04-docker-8c-8g-17039 does not seem to be running inside a container 18:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-95 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95:/w/workspace/ry_app-rfid-llrp-inventory_PR-95:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:14:43 $ docker top 233836cd8b8ebbb1d480a8953f1404d8a884eac624f40414eea0ebcbd535aff4 -eo pid,comm 18:14:43 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). 18:14:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:14:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:14:43 [ssh-agent] Looking for ssh-agent implementation... 18:14:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:14:43 $ docker exec 233836cd8b8ebbb1d480a8953f1404d8a884eac624f40414eea0ebcbd535aff4 ssh-agent 18:14:43 SSH_AUTH_SOCK=/tmp/ssh-UBJl2j7LFIAF/agent.34 18:14:43 SSH_AGENT_PID=40 18:14:43 Running ssh-add (command line suppressed) 18:14:44 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/private_key_4380092188188543054.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/private_key_4380092188188543054.key) 18:14:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:14:44 + git tag --points-at HEAD [Pipeline] } 18:14:44 $ docker exec --env ******** --env ******** 233836cd8b8ebbb1d480a8953f1404d8a884eac624f40414eea0ebcbd535aff4 ssh-agent -k 18:14:44 unset SSH_AUTH_SOCK; 18:14:44 unset SSH_AGENT_PID; 18:14:44 echo Agent pid 40 killed; 18:14:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:14:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:14:44 [ssh-agent] Looking for ssh-agent implementation... 18:14:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:14:44 $ docker exec 233836cd8b8ebbb1d480a8953f1404d8a884eac624f40414eea0ebcbd535aff4 ssh-agent 18:14:44 SSH_AUTH_SOCK=/tmp/ssh-1OLwQJg4zu6T/agent.73 18:14:44 SSH_AGENT_PID=79 18:14:44 Running ssh-add (command line suppressed) 18:14:45 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/private_key_8636903341293634105.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/private_key_8636903341293634105.key) 18:14:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:14:45 + git semver init 18:14:45 2022-07-06 18:14:45,700 [run_init] DEBUG init version:0.0.0 force:False 18:14:45 2022-07-06 18:14:45,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver 18:14:45 2022-07-06 18:14:45,701 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver 18:14:45 2022-07-06 18:14:45,702 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-95, universal_newlines=False, shell=None, istream=None) 18:14:47 2022-07-06 18:14:46,702 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-95/.git/info/exclude 18:14:47 2022-07-06 18:14:46,703 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver/PR-95 with force:False 18:14:47 2022-07-06 18:14:46,703 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver/PR-95 18:14:47 2022-07-06 18:14:46,707 [execute] INFO git cat-file --batch-check 18:14:47 2022-07-06 18:14:46,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver, universal_newlines=False, shell=None, istream=) 18:14:47 2022-07-06 18:14:46,716 [execute] INFO git cat-file --batch 18:14:47 2022-07-06 18:14:46,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver, universal_newlines=False, shell=None, istream=) 18:14:47 2022-07-06 18:14:46,722 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-95/.semver/PR-95 18:14:47 0.0.0 [Pipeline] } 18:14:47 $ docker exec --env ******** --env ******** 233836cd8b8ebbb1d480a8953f1404d8a884eac624f40414eea0ebcbd535aff4 ssh-agent -k 18:14:47 unset SSH_AUTH_SOCK; 18:14:47 unset SSH_AGENT_PID; 18:14:47 echo Agent pid 79 killed; 18:14:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:14:47 + git semver [Pipeline] } 18:14:47 $ docker stop --time=1 233836cd8b8ebbb1d480a8953f1404d8a884eac624f40414eea0ebcbd535aff4 18:14:49 $ docker rm -f 233836cd8b8ebbb1d480a8953f1404d8a884eac624f40414eea0ebcbd535aff4 [Pipeline] // withDockerContainer [Pipeline] sh 18:14:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:14:50 Stashed 1 file(s) [Pipeline] echo 18:14:50 [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 18:14:50 provisioning config files... 18:14:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/config3628262228346851330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:51 ---> docker-login.sh 18:14:51 nexus3.edgexfoundry.org:10001 18:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:51 Configure a credential helper to remove this warning. See 18:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:51 18:14:51 Login Succeeded 18:14:51 nexus3.edgexfoundry.org:10002 18:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:51 Configure a credential helper to remove this warning. See 18:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:51 18:14:51 Login Succeeded 18:14:51 nexus3.edgexfoundry.org:10003 18:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:51 Configure a credential helper to remove this warning. See 18:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:51 18:14:51 Login Succeeded 18:14:51 nexus3.edgexfoundry.org:10004 18:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:51 Configure a credential helper to remove this warning. See 18:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:51 18:14:51 Login Succeeded 18:14:51 docker.io 18:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:51 Configure a credential helper to remove this warning. See 18:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:51 18:14:51 Login Succeeded 18:14:51 ---> docker-login.sh ends [Pipeline] } 18:14:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:52 ========================================================= 18:14:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:14:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:52 + 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 . 18:14:52 Sending build context to Docker daemon 12.46MB 18:14:52 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:14:52 Step 2/13 : FROM ${BASE} AS builder 18:14:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:14:52 59bf1c3509f3: Pulling fs layer 18:14:52 666ba61612fd: Pulling fs layer 18:14:52 8ed8ca486205: Pulling fs layer 18:14:52 cc1cd167ecdc: Pulling fs layer 18:14:52 c516ae0d96e1: Pulling fs layer 18:14:52 684cea983483: Pulling fs layer 18:14:52 cc1cd167ecdc: Waiting 18:14:52 c516ae0d96e1: Waiting 18:14:52 dd3240ac7de5: Pulling fs layer 18:14:52 684cea983483: Waiting 18:14:52 b1e948a4e11c: Pulling fs layer 18:14:52 dd3240ac7de5: Waiting 18:14:52 a8fd76ee1af6: Pulling fs layer 18:14:52 b1e948a4e11c: Waiting 18:14:52 646ad004c059: Pulling fs layer 18:14:52 a8fd76ee1af6: Waiting 18:14:52 646ad004c059: Waiting 18:14:52 8ed8ca486205: Verifying Checksum 18:14:52 8ed8ca486205: Download complete 18:14:52 666ba61612fd: Verifying Checksum 18:14:52 666ba61612fd: Download complete 18:14:52 c516ae0d96e1: Verifying Checksum 18:14:52 c516ae0d96e1: Download complete 18:14:52 684cea983483: Download complete 18:14:52 dd3240ac7de5: Verifying Checksum 18:14:52 dd3240ac7de5: Download complete 18:14:52 59bf1c3509f3: Verifying Checksum 18:14:52 59bf1c3509f3: Download complete 18:14:52 b1e948a4e11c: Verifying Checksum 18:14:52 b1e948a4e11c: Download complete 18:14:52 59bf1c3509f3: Pull complete 18:14:53 666ba61612fd: Pull complete 18:14:53 8ed8ca486205: Pull complete 18:14:53 646ad004c059: Verifying Checksum 18:14:53 646ad004c059: Download complete 18:14:53 a8fd76ee1af6: Download complete 18:14:53 cc1cd167ecdc: Verifying Checksum 18:14:53 cc1cd167ecdc: Download complete 18:14:57 cc1cd167ecdc: Pull complete 18:14:57 c516ae0d96e1: Pull complete 18:14:57 684cea983483: Pull complete 18:14:58 dd3240ac7de5: Pull complete 18:14:58 b1e948a4e11c: Pull complete 18:15:00 a8fd76ee1af6: Pull complete 18:15:01 646ad004c059: Pull complete 18:15:01 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 18:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:15:01 ---> 8f69c11f6b0c 18:15:01 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:15:03 ---> Running in b56fe67a6719 18:15:03 Removing intermediate container b56fe67a6719 18:15:03 ---> 359e0415b97f 18:15:03 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:15:03 ---> Running in 1c68096565c8 18:15:03 Removing intermediate container 1c68096565c8 18:15:03 ---> 0dd4a9633689 18:15:03 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:15:03 ---> Running in 00ef4c113d89 18:15:03 Removing intermediate container 00ef4c113d89 18:15:03 ---> b49d49868468 18:15:03 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:15:04 ---> Running in 87b34281986b 18:15:04 Removing intermediate container 87b34281986b 18:15:04 ---> 174a1d2e295a 18:15:04 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:04 ---> Running in 1d8dd2ccd516 18:15:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:15:05 Still waiting to schedule task 18:15:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17035’ is offline 18:15:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:15:06 OK: 221 MiB in 52 packages 18:15:06 Removing intermediate container 1d8dd2ccd516 18:15:06 ---> 95d4fddac706 18:15:06 Step 8/13 : WORKDIR /app 18:15:07 ---> Running in bd3d5e066609 18:15:07 Removing intermediate container bd3d5e066609 18:15:07 ---> 6a449c6a0ec7 18:15:07 Step 9/13 : COPY go.mod vendor* ./ 18:15:07 ---> ce4f9add4e9b 18:15:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:07 ---> Running in 62d09c282996 18:15:22 Removing intermediate container 62d09c282996 18:15:22 ---> 7d8f88fc9da9 18:15:22 Step 11/13 : COPY . . 18:15:22 ---> ac282af66ddc 18:15:22 Step 12/13 : ARG MAKE="make build" 18:15:22 ---> Running in 65b300e4c11f 18:15:22 Removing intermediate container 65b300e4c11f 18:15:22 ---> 5c86190a2fcf 18:15:22 Step 13/13 : RUN $MAKE 18:15:23 ---> Running in 2b441a7db5b0 18:15:23 noop 18:15:23 Removing intermediate container 2b441a7db5b0 18:15:23 ---> 73a5080672f8 18:15:23 Successfully built 73a5080672f8 18:15:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:24 + docker inspect -f . ci-base-image-x86_64 18:15:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:24 prd-ubuntu20.04-docker-8c-8g-17039 does not seem to be running inside a container 18:15:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-95 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95:/w/workspace/ry_app-rfid-llrp-inventory_PR-95:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:15:24 $ docker top f3ce655e5097a74d3d5605de2fb7bf478968955b7fbdccc65744af1b2698a217 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:25 + go version 18:15:25 go version go1.17.7 linux/amd64 [Pipeline] } 18:15:25 $ docker stop --time=1 f3ce655e5097a74d3d5605de2fb7bf478968955b7fbdccc65744af1b2698a217 18:15:26 $ docker rm -f f3ce655e5097a74d3d5605de2fb7bf478968955b7fbdccc65744af1b2698a217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:27 + docker inspect -f . ci-base-image-x86_64 18:15:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:27 prd-ubuntu20.04-docker-8c-8g-17039 does not seem to be running inside a container 18:15:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-95 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95:/w/workspace/ry_app-rfid-llrp-inventory_PR-95:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:15:27 $ docker top 0fda99146c8ca015d5501e7593934572b1fa1e915ac72faff3829d328f9a2cd1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:15:28 + make test 18:15:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:15:38 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:15:38 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.032s coverage: 86.2% of statements 18:15:38 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:15:40 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.550s coverage: 71.9% of statements 18:15:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:15:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:15:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:15:52 ./bin/test-attribution.sh [Pipeline] echo 18:15:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:15:52 $ docker stop --time=1 0fda99146c8ca015d5501e7593934572b1fa1e915ac72faff3829d328f9a2cd1 18:15:54 $ docker rm -f 0fda99146c8ca015d5501e7593934572b1fa1e915ac72faff3829d328f9a2cd1 [Pipeline] // withDockerContainer [Pipeline] sh 18:15:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:15:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:15:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:15:55 + ls -al . 18:15:55 total 232 18:15:55 drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 18:15 . 18:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:14 .. 18:15:55 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 18:14 .dockerignore 18:15:55 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 18:14 .git 18:15:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:14 .github 18:15:55 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 18:14 .gitignore 18:15:55 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 18:14 .golangci.yml 18:15:55 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 18:14 .semver 18:15:55 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 6 18:14 Attribution.txt 18:15:55 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 18:14 CHANGELOG.md 18:15:55 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 6 18:14 Dockerfile 18:15:55 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 18:14 GOVERNANCE.md 18:15:55 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 18:14 Jenkinsfile 18:15:55 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 18:14 LICENSE 18:15:55 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 18:14 Makefile 18:15:55 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 18:14 OWNERS.md 18:15:55 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 18:14 README.md 18:15:55 -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 18:14 VERSION 18:15:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:14 bin 18:15:55 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 18:15 coverage.out 18:15:55 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 6 18:14 go.mod 18:15:55 -rw-rw-r-- 1 jenkins jenkins 37046 Jul 6 18:14 go.sum 18:15:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:14 images 18:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:14 internal 18:15:55 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 18:14 main.go 18:15:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:14 res 18:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:14 snap 18:15:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:56 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=95be71569b9e06f85175aab574804b2477afe1bc --label arch=amd64 --label version=0.0.0 . 18:15:56 Sending build context to Docker daemon 12.46MB 18:15:56 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 18:15:56 Step 2/31 : FROM ${BASE} AS builder 18:15:56 ---> 73a5080672f8 18:15:56 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:15:56 ---> Running in 58a31612a3e1 18:15:56 Removing intermediate container 58a31612a3e1 18:15:56 ---> 4ea6a3ae21d5 18:15:56 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 18:15:56 ---> Running in 11f74e3b4ccb 18:15:56 Removing intermediate container 11f74e3b4ccb 18:15:56 ---> 513c2954a9af 18:15:56 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:15:56 ---> Running in e1b6f41214e9 18:15:56 Removing intermediate container e1b6f41214e9 18:15:56 ---> 358734372fd0 18:15:56 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:15:56 ---> Running in 2629a5e5d4eb 18:15:57 Removing intermediate container 2629a5e5d4eb 18:15:57 ---> a2c16874520c 18:15:57 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:57 ---> Running in 2f92025b36b0 18:15:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:15:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:15:58 OK: 221 MiB in 52 packages 18:15:59 Removing intermediate container 2f92025b36b0 18:15:59 ---> 8144e43c09d6 18:15:59 Step 8/31 : WORKDIR /app 18:15:59 ---> Running in 967441b40e48 18:15:59 Removing intermediate container 967441b40e48 18:15:59 ---> f120208f90bd 18:15:59 Step 9/31 : COPY go.mod vendor* ./ 18:15:59 ---> f9dcfafb8450 18:15:59 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:59 ---> Running in 2ce1c183fb1d 18:16:00 Removing intermediate container 2ce1c183fb1d 18:16:00 ---> 763839ff8bc0 18:16:00 Step 11/31 : COPY . . 18:16:00 ---> 0fa0d46ffef0 18:16:00 Step 12/31 : ARG MAKE="make build" 18:16:00 ---> Running in fb160e5da2f0 18:16:01 Removing intermediate container fb160e5da2f0 18:16:01 ---> 43f9b5225aa1 18:16:01 Step 13/31 : RUN $MAKE 18:16:01 ---> Running in 02251fa3980d 18:16:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.16 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 18:16:23 Removing intermediate container 02251fa3980d 18:16:23 ---> 7162b3d17305 18:16:23 Step 14/31 : FROM alpine:3.14 18:16:23 3.14: Pulling from library/alpine 18:16:23 8663204ce13b: Pulling fs layer 18:16:23 8663204ce13b: Download complete 18:16:23 8663204ce13b: Pull complete 18:16:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:16:23 Status: Downloaded newer image for alpine:3.14 18:16:23 ---> e04c818066af 18:16:23 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:16:23 ---> Running in c07fa2c2444f 18:16:23 Removing intermediate container c07fa2c2444f 18:16:23 ---> 5ce2bb20d352 18:16:23 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:16:23 ---> Running in 68af1d41932f 18:16:23 Removing intermediate container 68af1d41932f 18:16:23 ---> 800451196201 18:16:23 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:16:23 ---> Running in 9bb66d072599 18:16:24 Removing intermediate container 9bb66d072599 18:16:24 ---> c15724eae698 18:16:24 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 18:16:24 ---> Running in 9654a083bd3e 18:16:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:16:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:16:26 (1/7) Installing ca-certificates (20211220-r0) 18:16:26 (2/7) Installing dumb-init (1.2.5-r1) 18:16:26 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:16:26 (4/7) Installing libsodium (1.0.18-r0) 18:16:26 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:16:26 (6/7) Installing libzmq (4.3.4-r0) 18:16:26 (7/7) Installing zeromq (4.3.4-r0) 18:16:26 Executing busybox-1.33.1-r7.trigger 18:16:26 Executing ca-certificates-20211220-r0.trigger 18:16:26 OK: 9 MiB in 21 packages 18:16:27 Removing intermediate container 9654a083bd3e 18:16:27 ---> 4130d5f05e67 18:16:27 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:16:27 ---> 3811d5cb2b50 18:16:27 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 18:16:28 ---> cab1db8e7dcd 18:16:28 Step 21/31 : COPY --from=builder /app/res/ /res/ 18:16:28 ---> b8ab4757c75a 18:16:28 Step 22/31 : COPY --from=builder /app/static/ /static/ 18:16:28 ---> 756709be98df 18:16:28 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:16:29 ---> b9e223591682 18:16:29 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:16:29 ---> Running in 7e89f1379fbc 18:16:29 Removing intermediate container 7e89f1379fbc 18:16:29 ---> db571f540223 18:16:29 Step 25/31 : VOLUME /cache 18:16:29 ---> Running in 7970d1a90b69 18:16:30 Removing intermediate container 7970d1a90b69 18:16:30 ---> 5fc6f1c5c9c3 18:16:30 Step 26/31 : EXPOSE 59711 18:16:30 ---> Running in 1dc8b1197e7e 18:16:30 Removing intermediate container 1dc8b1197e7e 18:16:30 ---> 5b5eb6e3d493 18:16:30 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:16:30 ---> Running in 1d59f9e82ede 18:16:30 Removing intermediate container 1d59f9e82ede 18:16:30 ---> 52c140de089a 18:16:30 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 18:16:30 ---> Running in 93725ce4fc80 18:16:30 Removing intermediate container 93725ce4fc80 18:16:30 ---> 6e52617f3af6 18:16:30 Step 29/31 : LABEL arch=amd64 18:16:30 ---> Running in 0cb3e4334daf 18:16:30 Removing intermediate container 0cb3e4334daf 18:16:30 ---> fb3778ea438f 18:16:30 Step 30/31 : LABEL git_sha=95be71569b9e06f85175aab574804b2477afe1bc 18:16:30 ---> Running in 70d4139a0822 18:16:30 Removing intermediate container 70d4139a0822 18:16:30 ---> a9d840030109 18:16:30 Step 31/31 : LABEL version=0.0.0 18:16:31 ---> Running in 5fdde54c955f 18:16:31 Removing intermediate container 5fdde54c955f 18:16:31 ---> a36c0f358c68 18:16:31 [Warning] One or more build-args [ARCH] were not consumed 18:16:31 Successfully built a36c0f358c68 18:16:31 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:31 18:16:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:32 latest: Pulling from edgex-lftools-log-publisher 18:16:32 5eb5b503b376: Pulling fs layer 18:16:32 5c69ac0246d0: Pulling fs layer 18:16:32 ec43610c2a17: Pulling fs layer 18:16:32 3a2ae6a8a46f: Pulling fs layer 18:16:32 33b1e0a273af: Pulling fs layer 18:16:32 5d3b04190fa2: Pulling fs layer 18:16:32 2f39f015ded8: Pulling fs layer 18:16:32 33b1e0a273af: Waiting 18:16:32 5d3b04190fa2: Waiting 18:16:32 2f39f015ded8: Waiting 18:16:32 3a2ae6a8a46f: Waiting 18:16:32 5c69ac0246d0: Verifying Checksum 18:16:32 5c69ac0246d0: Download complete 18:16:32 3a2ae6a8a46f: Verifying Checksum 18:16:32 3a2ae6a8a46f: Download complete 18:16:32 33b1e0a273af: Verifying Checksum 18:16:32 33b1e0a273af: Download complete 18:16:32 5d3b04190fa2: Verifying Checksum 18:16:32 5d3b04190fa2: Download complete 18:16:32 ec43610c2a17: Verifying Checksum 18:16:32 ec43610c2a17: Download complete 18:16:32 5eb5b503b376: Download complete 18:16:33 2f39f015ded8: Verifying Checksum 18:16:33 2f39f015ded8: Download complete 18:16:34 5eb5b503b376: Pull complete 18:16:34 5c69ac0246d0: Pull complete 18:16:34 ec43610c2a17: Pull complete 18:16:34 3a2ae6a8a46f: Pull complete 18:16:34 33b1e0a273af: Pull complete 18:16:35 5d3b04190fa2: Pull complete 18:16:40 2f39f015ded8: Pull complete 18:16:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:40 prd-ubuntu20.04-docker-8c-8g-17039 does not seem to be running inside a container 18:16:40 $ 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-95 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95:/w/workspace/ry_app-rfid-llrp-inventory_PR-95:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:16:42 $ docker top 60ed930b69b05aeaa02ec9e82b97ebb74b7f4b268c59a293e1afda39a8bfeb18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:43 ---> job-cost.sh 18:16:43 lf-activate-venv: SKIPPING 18:16:43 INFO: No Stack... 18:16:43 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:43 INFO: Archiving Costs [Pipeline] sh 18:16:44 + cat+ cut -d, -f6 18:16:44 /w/workspace/ry_app-rfid-llrp-inventory_PR-95/archives/cost.csv [Pipeline] lock 18:16:44 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] 18:16:44 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] did not exist. Created. 18:16:44 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:16:44 + echo total: 0.2199999988079071 [Pipeline] stash 18:16:44 Stashed 1 file(s) [Pipeline] } 18:16:44 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:16:44 $ docker stop --time=1 60ed930b69b05aeaa02ec9e82b97ebb74b7f4b268c59a293e1afda39a8bfeb18 18:16:46 $ docker rm -f 60ed930b69b05aeaa02ec9e82b97ebb74b7f4b268c59a293e1afda39a8bfeb18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:17:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17041 in /w/workspace/ry_app-rfid-llrp-inventory_PR-95 [Pipeline] { [Pipeline] ws 18:17:44 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 18:17:44 The recommended git tool is: git 18:17:49 using credential edgex-jenkins-ssh 18:17:49 Cloning the remote Git repository 18:17:49 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:17:49 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 18:17:49 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:17:49 > git --version # timeout=10 18:17:50 > git --version # 'git version 2.25.1' 18:17:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:52 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 18:17:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:52 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 18:17:52 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:17:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:17:52 Merging remotes/origin/main commit eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 into PR head commit 95be71569b9e06f85175aab574804b2477afe1bc 18:17:52 Merge succeeded, producing 95be71569b9e06f85175aab574804b2477afe1bc 18:17:52 Checking out Revision 95be71569b9e06f85175aab574804b2477afe1bc (PR-95) 18:17:52 > git config core.sparsecheckout # timeout=10 18:17:52 > git checkout -f 95be71569b9e06f85175aab574804b2477afe1bc # timeout=10 18:17:52 > git remote # timeout=10 18:17:52 > git config --get remote.origin.url # timeout=10 18:17:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:52 > git merge eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 # timeout=10 18:17:52 > git rev-parse HEAD^{commit} # timeout=10 18:17:52 > git config core.sparsecheckout # timeout=10 18:17:52 > git checkout -f 95be71569b9e06f85175aab574804b2477afe1bc # timeout=10 18:17:57 Commit message: "build: Lastest SDK, update attribtion script and file" 18:17:57 > git --version # timeout=10 18:17:57 > git --version # 'git version 2.25.1' 18:17:57 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:17:58 % Total % Received % Xferd Average Speed Time Time Time Current 18:17:58 Dload Upload Total Spent Left Speed 18:17:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 225k 0 --:--:-- --:--:-- --:--:-- 225k [Pipeline] sh 18:17:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:17:59 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 18:17:59 /etc/docker/daemon.json 18:17:59 { 18:17:59 "registry-mirrors": [ 18:17:59 "https://nexus3.edgexfoundry.org:10001" 18:17:59 ], 18:17:59 "bip": "10.250.0.254/24", 18:17:59 "hosts": [ 18:17:59 "tcp://0.0.0.0:5555", 18:17:59 "unix:///var/run/docker.sock" 18:17:59 ], 18:17:59 "mtu": 1458, 18:17:59 "selinux-enabled": true, 18:17:59 "seccomp-profile": "/etc/docker/seccomp.json" 18:17:59 } [Pipeline] sh 18:17:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:18:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:18:18 provisioning config files... 18:18:18 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config6591990113716466983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:19 ---> docker-login.sh 18:18:19 nexus3.edgexfoundry.org:10001 18:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:19 Configure a credential helper to remove this warning. See 18:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:19 18:18:19 Login Succeeded 18:18:20 nexus3.edgexfoundry.org:10002 18:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:20 Configure a credential helper to remove this warning. See 18:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:20 18:18:20 Login Succeeded 18:18:20 nexus3.edgexfoundry.org:10003 18:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:21 Configure a credential helper to remove this warning. See 18:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:21 18:18:21 Login Succeeded 18:18:21 nexus3.edgexfoundry.org:10004 18:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:21 Configure a credential helper to remove this warning. See 18:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:21 18:18:21 Login Succeeded 18:18:21 docker.io 18:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:22 Configure a credential helper to remove this warning. See 18:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:22 18:18:22 Login Succeeded 18:18:22 ---> docker-login.sh ends [Pipeline] } 18:18:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:22 ========================================================= 18:18:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:18:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 18:18:23 Sending build context to Docker daemon 687.1kB 18:18:23 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:18:23 Step 2/13 : FROM ${BASE} AS builder 18:18:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:18:23 9b3977197b4f: Pulling fs layer 18:18:23 1a89e8eeedd5: Pulling fs layer 18:18:23 94645a83ff95: Pulling fs layer 18:18:23 e6fb740bc735: Pulling fs layer 18:18:23 3a77bd46dcc9: Pulling fs layer 18:18:23 355e64cbe906: Pulling fs layer 18:18:23 63ab81a10011: Pulling fs layer 18:18:23 555d1d1c4555: Pulling fs layer 18:18:23 7d9057610161: Pulling fs layer 18:18:23 e6fb740bc735: Waiting 18:18:23 3a77bd46dcc9: Waiting 18:18:23 355e64cbe906: Waiting 18:18:23 63ab81a10011: Waiting 18:18:23 7d9057610161: Waiting 18:18:23 555d1d1c4555: Waiting 18:18:23 94645a83ff95: Verifying Checksum 18:18:23 94645a83ff95: Download complete 18:18:23 1a89e8eeedd5: Download complete 18:18:23 3a77bd46dcc9: Download complete 18:18:23 355e64cbe906: Verifying Checksum 18:18:23 355e64cbe906: Download complete 18:18:23 9b3977197b4f: Verifying Checksum 18:18:23 9b3977197b4f: Download complete 18:18:23 63ab81a10011: Verifying Checksum 18:18:23 63ab81a10011: Download complete 18:18:24 9b3977197b4f: Pull complete 18:18:24 7d9057610161: Verifying Checksum 18:18:24 7d9057610161: Download complete 18:18:25 1a89e8eeedd5: Pull complete 18:18:25 94645a83ff95: Pull complete 18:18:26 555d1d1c4555: Verifying Checksum 18:18:26 555d1d1c4555: Download complete 18:18:26 e6fb740bc735: Verifying Checksum 18:18:26 e6fb740bc735: Download complete 18:18:39 e6fb740bc735: Pull complete 18:18:39 3a77bd46dcc9: Pull complete 18:18:39 355e64cbe906: Pull complete 18:18:39 63ab81a10011: Pull complete 18:18:43 555d1d1c4555: Pull complete 18:18:45 7d9057610161: Pull complete 18:18:45 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 18:18:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:18:45 ---> 819e984ddca1 18:18:45 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:18:47 ---> Running in 4d98fef503eb 18:18:47 Removing intermediate container 4d98fef503eb 18:18:47 ---> d5ee02965014 18:18:47 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:18:47 ---> Running in 35540653aa2c 18:18:47 Removing intermediate container 35540653aa2c 18:18:47 ---> a67bd8e0d497 18:18:47 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:18:47 ---> Running in d5fc0dd37b3a 18:18:47 Removing intermediate container d5fc0dd37b3a 18:18:47 ---> 61bcd9fd1f46 18:18:47 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:18:48 ---> Running in 4c265c8065f6 18:18:50 Removing intermediate container 4c265c8065f6 18:18:50 ---> 341c5ab442c9 18:18:50 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:50 ---> Running in 3a3951f0845c 18:18:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:18:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:18:52 OK: 220 MiB in 52 packages 18:18:53 Removing intermediate container 3a3951f0845c 18:18:53 ---> b16fc65b6282 18:18:53 Step 8/13 : WORKDIR /app 18:18:53 ---> Running in 3a51a34e268f 18:18:53 Removing intermediate container 3a51a34e268f 18:18:53 ---> 6ea2f5b3a18f 18:18:53 Step 9/13 : COPY go.mod vendor* ./ 18:18:54 ---> eaf34e8f962f 18:18:54 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:54 ---> Running in ec3449f63501 18:19:41 Removing intermediate container ec3449f63501 18:19:41 ---> 3e26221d2e2f 18:19:41 Step 11/13 : COPY . . 18:19:41 ---> 4d1bdd9a9594 18:19:41 Step 12/13 : ARG MAKE="make build" 18:19:41 ---> Running in 292c0997837b 18:19:41 Removing intermediate container 292c0997837b 18:19:41 ---> 2523a1098ad1 18:19:41 Step 13/13 : RUN $MAKE 18:19:41 ---> Running in 36377305e0d0 18:19:41 noop 18:19:42 Removing intermediate container 36377305e0d0 18:19:42 ---> ef37140d4301 18:19:42 Successfully built ef37140d4301 18:19:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:42 + docker inspect -f . ci-base-image-arm64 18:19:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:43 prd-ubuntu20.04-docker-arm64-4c-16g-17041 does not seem to be running inside a container 18:19:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:19:44 $ docker top 8a247949d9c647d6912fab665a72debce3e42b99a4aea0e2084804922417e9a3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:45 + go version 18:19:45 go version go1.17.7 linux/arm64 [Pipeline] } 18:19:45 $ docker stop --time=1 8a247949d9c647d6912fab665a72debce3e42b99a4aea0e2084804922417e9a3 18:19:47 $ docker rm -f 8a247949d9c647d6912fab665a72debce3e42b99a4aea0e2084804922417e9a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:47 + docker inspect -f . ci-base-image-arm64 18:19:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:48 prd-ubuntu20.04-docker-arm64-4c-16g-17041 does not seem to be running inside a container 18:19:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:19:49 $ docker top 574bb41766f362f0613810bbd29b3ac20c0f88877af1feecca78699105587838 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:19:50 + make test 18:19:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:21:27 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:21:27 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.291s coverage: 86.2% of statements 18:21:27 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:21:27 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.742s coverage: 71.9% of statements 18:21:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:21:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:21:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:54 ./bin/test-attribution.sh [Pipeline] echo 18:21:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:54 $ docker stop --time=1 574bb41766f362f0613810bbd29b3ac20c0f88877af1feecca78699105587838 18:21:56 $ docker rm -f 574bb41766f362f0613810bbd29b3ac20c0f88877af1feecca78699105587838 [Pipeline] // withDockerContainer [Pipeline] sh 18:21:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:57 Warning: overwriting stash ‘coverage-report’ 18:21:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:58 + ls -al . 18:21:58 total 228 18:21:58 drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 18:19 . 18:21:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:17 .. 18:21:58 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 18:17 .dockerignore 18:21:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 18:17 .git 18:21:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:17 .github 18:21:58 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 18:17 .gitignore 18:21:58 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 18:17 .golangci.yml 18:21:58 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 6 18:17 Attribution.txt 18:21:58 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 18:17 CHANGELOG.md 18:21:58 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 6 18:17 Dockerfile 18:21:58 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 18:17 GOVERNANCE.md 18:21:58 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 18:17 Jenkinsfile 18:21:58 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 18:17 LICENSE 18:21:58 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 18:17 Makefile 18:21:58 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 18:17 OWNERS.md 18:21:58 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 18:17 README.md 18:21:58 -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 18:14 VERSION 18:21:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:17 bin 18:21:58 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 18:21 coverage.out 18:21:58 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 6 18:17 go.mod 18:21:58 -rw-rw-r-- 1 jenkins jenkins 37046 Jul 6 18:17 go.sum 18:21:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:17 images 18:21:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:17 internal 18:21:58 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 18:17 main.go 18:21:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:17 res 18:21:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:17 snap 18:21:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:17 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:59 + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=95be71569b9e06f85175aab574804b2477afe1bc --label arch=arm64 --label version=0.0.0 . 18:21:59 Sending build context to Docker daemon 687.1kB 18:21:59 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 18:21:59 Step 2/31 : FROM ${BASE} AS builder 18:21:59 ---> ef37140d4301 18:21:59 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:21:59 ---> Running in 879dbbb73bcd 18:21:59 Removing intermediate container 879dbbb73bcd 18:21:59 ---> 8923395cefd2 18:21:59 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 18:21:59 ---> Running in bddf8f2b3dc6 18:22:00 Removing intermediate container bddf8f2b3dc6 18:22:00 ---> 819847d07770 18:22:00 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:22:00 ---> Running in 61854ef78c8d 18:22:00 Removing intermediate container 61854ef78c8d 18:22:00 ---> fce1e3786dba 18:22:00 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:22:00 ---> Running in 8b22817d892d 18:22:02 Removing intermediate container 8b22817d892d 18:22:02 ---> a22854311e86 18:22:02 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:22:02 ---> Running in 51f703a9cfd3 18:22:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:22:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:22:05 OK: 220 MiB in 52 packages 18:22:06 Removing intermediate container 51f703a9cfd3 18:22:06 ---> ef34c871b7b1 18:22:06 Step 8/31 : WORKDIR /app 18:22:06 ---> Running in d2064b227416 18:22:06 Removing intermediate container d2064b227416 18:22:06 ---> 3cdaed53b633 18:22:06 Step 9/31 : COPY go.mod vendor* ./ 18:22:07 ---> e7e2c5bb7810 18:22:07 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:22:07 ---> Running in 4919788a7536 18:22:09 Removing intermediate container 4919788a7536 18:22:09 ---> 385cadc06cb8 18:22:09 Step 11/31 : COPY . . 18:22:09 ---> 4f8814d3e7bf 18:22:09 Step 12/31 : ARG MAKE="make build" 18:22:09 ---> Running in d2b0f9419c0b 18:22:10 Removing intermediate container d2b0f9419c0b 18:22:10 ---> 86675b0d5c80 18:22:10 Step 13/31 : RUN $MAKE 18:22:10 ---> Running in fe64621681d9 18:22:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.16 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 18:24:18 Removing intermediate container fe64621681d9 18:24:18 ---> 41d8c7fbc5de 18:24:18 Step 14/31 : FROM alpine:3.14 18:24:18 3.14: Pulling from library/alpine 18:24:18 455c02918c45: Pulling fs layer 18:24:18 455c02918c45: Verifying Checksum 18:24:18 455c02918c45: Pull complete 18:24:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:24:18 Status: Downloaded newer image for alpine:3.14 18:24:18 ---> ac73e934f311 18:24:18 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:24:18 ---> Running in f5302e77bfb2 18:24:18 Removing intermediate container f5302e77bfb2 18:24:18 ---> 366073a4e284 18:24:18 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:24:18 ---> Running in 89bb9b2f740b 18:24:18 Removing intermediate container 89bb9b2f740b 18:24:18 ---> 3f4ceba3ceea 18:24:18 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:19 ---> Running in a2ab02ff2bea 18:24:20 Removing intermediate container a2ab02ff2bea 18:24:20 ---> dd8531f4594f 18:24:20 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 18:24:20 ---> Running in 297ec63f4b54 18:24:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:24:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:24:23 (1/7) Installing ca-certificates (20211220-r0) 18:24:23 (2/7) Installing dumb-init (1.2.5-r1) 18:24:23 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:24:23 (4/7) Installing libsodium (1.0.18-r0) 18:24:23 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:24:23 (6/7) Installing libzmq (4.3.4-r0) 18:24:23 (7/7) Installing zeromq (4.3.4-r0) 18:24:23 Executing busybox-1.33.1-r7.trigger 18:24:23 Executing ca-certificates-20211220-r0.trigger 18:24:24 OK: 9 MiB in 21 packages 18:24:25 Removing intermediate container 297ec63f4b54 18:24:25 ---> 6e2056b7fa8e 18:24:25 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:24:25 ---> 55573cf4da5f 18:24:25 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 18:24:26 ---> f308a5b292d0 18:24:26 Step 21/31 : COPY --from=builder /app/res/ /res/ 18:24:27 ---> 5d72bf8baf58 18:24:27 Step 22/31 : COPY --from=builder /app/static/ /static/ 18:24:27 ---> d8956dcb9486 18:24:27 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:24:29 ---> e3f9563d6546 18:24:29 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:24:29 ---> Running in fa1aee79f123 18:24:30 Removing intermediate container fa1aee79f123 18:24:30 ---> 565bd83ef9d0 18:24:30 Step 25/31 : VOLUME /cache 18:24:30 ---> Running in 069f4b0f5bfb 18:24:31 Removing intermediate container 069f4b0f5bfb 18:24:31 ---> cb949e2a20cf 18:24:31 Step 26/31 : EXPOSE 59711 18:24:31 ---> Running in 5f18cec5b8e6 18:24:31 Removing intermediate container 5f18cec5b8e6 18:24:31 ---> 1efdb2097f80 18:24:31 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:24:31 ---> Running in dcd80a004c0d 18:24:32 Removing intermediate container dcd80a004c0d 18:24:32 ---> 3445b691f8aa 18:24:32 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 18:24:32 ---> Running in 03877d9526cf 18:24:32 Removing intermediate container 03877d9526cf 18:24:32 ---> 393a82a42290 18:24:32 Step 29/31 : LABEL arch=arm64 18:24:32 ---> Running in aef3948f7a57 18:24:32 Removing intermediate container aef3948f7a57 18:24:32 ---> 48419fab1434 18:24:32 Step 30/31 : LABEL git_sha=95be71569b9e06f85175aab574804b2477afe1bc 18:24:32 ---> Running in b79459dad701 18:24:33 Removing intermediate container b79459dad701 18:24:33 ---> 57fe374cd877 18:24:33 Step 31/31 : LABEL version=0.0.0 18:24:33 ---> Running in b0a5f5f7569e 18:24:33 Removing intermediate container b0a5f5f7569e 18:24:33 ---> d2749d77593e 18:24:33 [Warning] One or more build-args [ARCH] were not consumed 18:24:33 Successfully built d2749d77593e 18:24:33 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:34 18:24:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:35 arm64: Pulling from edgex-lftools-log-publisher 18:24:35 8998bd30e6a1: Pulling fs layer 18:24:35 04944245beec: Pulling fs layer 18:24:35 699f458cf7ca: Pulling fs layer 18:24:35 765212b225bb: Pulling fs layer 18:24:35 f23df028b6ca: Pulling fs layer 18:24:35 d65c8cfc05b1: Pulling fs layer 18:24:35 2437ff75d9bd: Pulling fs layer 18:24:35 765212b225bb: Waiting 18:24:35 2437ff75d9bd: Waiting 18:24:35 d65c8cfc05b1: Waiting 18:24:35 f23df028b6ca: Waiting 18:24:35 04944245beec: Verifying Checksum 18:24:35 04944245beec: Download complete 18:24:35 765212b225bb: Verifying Checksum 18:24:35 765212b225bb: Download complete 18:24:35 f23df028b6ca: Verifying Checksum 18:24:35 f23df028b6ca: Download complete 18:24:35 d65c8cfc05b1: Verifying Checksum 18:24:35 d65c8cfc05b1: Download complete 18:24:35 699f458cf7ca: Verifying Checksum 18:24:35 699f458cf7ca: Download complete 18:24:35 8998bd30e6a1: Verifying Checksum 18:24:35 8998bd30e6a1: Download complete 18:24:38 2437ff75d9bd: Verifying Checksum 18:24:38 2437ff75d9bd: Download complete 18:24:40 8998bd30e6a1: Pull complete 18:24:40 04944245beec: Pull complete 18:24:41 699f458cf7ca: Pull complete 18:24:42 765212b225bb: Pull complete 18:24:42 f23df028b6ca: Pull complete 18:24:43 d65c8cfc05b1: Pull complete 18:24:58 2437ff75d9bd: Pull complete 18:24:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:24:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:58 prd-ubuntu20.04-docker-arm64-4c-16g-17041 does not seem to be running inside a container 18:24: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/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:25:01 $ docker top 43aa6fae736f2abb3c450d3e26db973103eff8f589b321abe27b1b02bd15e91c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:02 ---> job-cost.sh 18:25:02 lf-activate-venv: SKIPPING 18:25:02 INFO: No Stack... 18:25:02 INFO: Retrieving Pricing Info for: v3-standard-4 18:25:03 INFO: Archiving Costs [Pipeline] sh 18:25:04 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 18:25:04 + cut -d, -f6 [Pipeline] lock 18:25:04 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] 18:25:04 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] did not exist. Created. 18:25:04 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:25:05 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-359b1c7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:25:06 + echo total: 0.10999999940395355 [Pipeline] stash 18:25:06 Warning: overwriting stash ‘stack-cost’ 18:25:06 Stashed 1 file(s) [Pipeline] } 18:25:06 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:25:06 $ docker stop --time=1 43aa6fae736f2abb3c450d3e26db973103eff8f589b321abe27b1b02bd15e91c 18:25:07 $ docker rm -f 43aa6fae736f2abb3c450d3e26db973103eff8f589b321abe27b1b02bd15e91c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:25:08 provisioning config files... 18:25:08 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/config1126478318068723732tmp [Pipeline] { [Pipeline] sh 18:25:08 + set +x 18:25:08 + curl -s https://codecov.io/bash 18:25:08 + bash -s -- 18:25:08 18:25:08 _____ _ 18:25:08 / ____| | | 18:25:08 | | ___ __| | ___ ___ _____ __ 18:25:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:25:08 | |___| (_) | (_| | __/ (_| (_) \ V / 18:25:08 \_____\___/ \__,_|\___|\___\___/ \_/ 18:25:08 Bash-1.0.6 18:25:08 18:25:08 18:25:08 ==> git version 2.25.1 found 18:25:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:25:08 Release-Date: 2020-01-08 18:25:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:25:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:25:08 ==> Jenkins CI detected. 18:25:08 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-95 18:25:08 project root: . 18:25:08 --> token set from env 18:25:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:25:08 ==> Running gcov in . (disable via -X gcov) 18:25:08 ==> Python coveragepy not found 18:25:08 ==> Searching for coverage reports in: 18:25:08 + . 18:25:08 -> Found 1 reports 18:25:08 ==> Detecting git/mercurial file structure 18:25:08 ==> Reading reports 18:25:08 + ./coverage.out bytes=41008 18:25:08 ==> Appending adjustments 18:25:08 https://docs.codecov.io/docs/fixing-reports 18:25:09 + Found adjustments 18:25:09 ==> Gzipping contents 18:25:09 12K /tmp/codecov.hCI2pk.gz 18:25:09 ==> Uploading reports 18:25:09 url: https://codecov.io 18:25:09 query: branch=PR-95&commit=95be71569b9e06f85175aab574804b2477afe1bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=95&job=&cmd_args= 18:25:09 -> Pinging Codecov 18:25:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-95&commit=95be71569b9e06f85175aab574804b2477afe1bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=95&job=&cmd_args= 18:25:09 -> Uploading to 18:25:09 https://storage.googleapis.com/codecov/v4/raw/2022-07-06/581DD39554BDF9B6E22D074273EAD858/95be71569b9e06f85175aab574804b2477afe1bc/8f9a4209-63c6-4834-928c-fb949233aef9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220706T182509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab127208090d2a435d324d1d8d48774ebda9eba02bc9998806616d8546beeee1 18:25:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:25:09 Dload Upload Total Spent Left Speed 18:25:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11499 0 0 100 11499 0 51797 --:--:-- --:--:-- --:--:-- 51565 100 11499 0 0 100 11499 0 49564 --:--:-- --:--:-- --:--:-- 49351 18:25:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/95be71569b9e06f85175aab574804b2477afe1bc [Pipeline] } 18:25:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:25:11 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-95/archives ] 18:25:11 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-95/archives 18:25:11 total 16 18:25:11 drwxr-xr-x 3 root root 4096 Jul 6 18:16 . 18:25:11 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 18:16 .. 18:25:11 drwxr-xr-x 2 root root 4096 Jul 6 18:16 cost 18:25:11 -rw-r--r-- 1 root root 93 Jul 6 18:16 cost.csv 18:25:11 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-95/archives 18:25:11 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-95/archives 18:25:11 total 16 18:25:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 18:16 . 18:25:11 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 18:16 .. 18:25:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 6 18:16 cost 18:25:11 -rw-r--r-- 1 jenkins jenkins 93 Jul 6 18:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:25:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:25:12 ---> package-listing.sh 18:25:12 ++ facter osfamily 18:25:12 ++ tr '[:upper:]' '[:lower:]' 18:25:12 + OS_FAMILY=debian 18:25:12 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-95 18:25:12 + START_PACKAGES=/tmp/packages_start.txt 18:25:12 + END_PACKAGES=/tmp/packages_end.txt 18:25:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:25:12 + PACKAGES=/tmp/packages_start.txt 18:25:12 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-95 ']' 18:25:12 + PACKAGES=/tmp/packages_end.txt 18:25:12 + case "${OS_FAMILY}" in 18:25:12 + dpkg -l 18:25:12 + grep '^ii' 18:25:12 + '[' -f /tmp/packages_start.txt ']' 18:25:12 + '[' -f /tmp/packages_end.txt ']' 18:25:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:25:12 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-95 ']' 18:25:12 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-95/archives/ 18:25:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-95/archives/ [Pipeline] echo 18:25:12 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-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:25:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:14 prd-ubuntu20.04-docker-8c-8g-17039 does not seem to be running inside a container 18:25:14 $ 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-95/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-95 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95:/w/workspace/ry_app-rfid-llrp-inventory_PR-95:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:25:14 $ docker top 1176e0203570222ce4859299dd0a2c686020ddf553af9a990d3fdb9a172cd548 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:14 + touch /tmp/pre-build-complete [Pipeline] sh 18:25:15 + mkdir -p /var/log/sysstat [Pipeline] sh 18:25:15 + ls /var/log/sa-host 18:25:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:25:15 provisioning config files... 18:25:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-95@tmp/config5397378659547848151tmp [Pipeline] { [Pipeline] echo 18:25:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:25:15 ---> create-netrc.sh [Pipeline] } 18:25:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:25:16 ---> python-tools-install.sh [Pipeline] echo 18:25:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:25:16 ---> sudo-logs.sh 18:25:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:25:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:25:17 ---> job-cost.sh 18:25:17 lf-activate-venv: SKIPPING 18:25:17 DEBUG: total: 0.2199999988079071 18:25:17 INFO: Retrieving Stack Cost... 18:25:17 INFO: Retrieving Pricing Info for: v3-standard-8 18:25:17 INFO: Archiving Costs [Pipeline] echo 18:25:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:25:18 ---> logs-deploy.sh 18:25:18 lf-activate-venv: SKIPPING 18:25:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-95/1 18:25:18 INFO: archiving workspace using pattern(s): 18:25:19 Archives upload complete. 18:25:19 INFO: archiving logs to Nexus