Pull request #89 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a2de35ea1c1a27c584554d26e13ab7d74b55a5e7+993cf3e57aaceca8bb36ff677d4f27516283947c (0ba67a19956c4ce80f49c428511e46603dd07920) 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-ssh12148436291575497325.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-ssh9233921370653840973.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-89/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-89/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13421094318173097277.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-89/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6180340292941951214.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-ssh725980144744095614.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-89/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-89/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6540249075036088765.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15283 in /w/workspace/ry_app-rfid-llrp-inventory_PR-89 [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-89 # 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 993cf3e57aaceca8bb36ff677d4f27516283947c into PR head commit a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 Merge succeeded, producing a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 Checking out Revision a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 (PR-89) > 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/89/head:refs/remotes/origin/PR-89 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 # 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 993cf3e57aaceca8bb36ff677d4f27516283947c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 # timeout=10 Commit message: "doc: Update attribution.txt to reference paho license as v2.0 and missing dependecy" 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 22:43:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:43:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:43:47 ========================================================= 22:43:47 EdgeX Global Pipelines Version Info 22:43:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:43:48 ------------------- 22:43:48 stable info: 22:43:48 ------------------- 22:43:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:43:48 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:43:48 Message: update stable to v1.0.234 22:43:48 ------------------- 22:43:48 experimental info: 22:43:48 ------------------- 22:43:48 Commited By: **** collab-it+edgex@linuxfoundation.org 22:43:48 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:43:48 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:43:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-89 [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-89 [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-89 [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2de35e [Pipeline] echo 22:43:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:50 provisioning config files... 22:43:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/config5836699371510205225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:50 ---> docker-login.sh 22:43:50 nexus3.edgexfoundry.org:10001 22:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:51 Configure a credential helper to remove this warning. See 22:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:51 22:43:51 Login Succeeded 22:43:51 nexus3.edgexfoundry.org:10002 22:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:51 Configure a credential helper to remove this warning. See 22:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:51 22:43:51 Login Succeeded 22:43:51 nexus3.edgexfoundry.org:10003 22:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:51 Configure a credential helper to remove this warning. See 22:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:51 22:43:51 Login Succeeded 22:43:51 nexus3.edgexfoundry.org:10004 22:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:51 Configure a credential helper to remove this warning. See 22:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:51 22:43:51 Login Succeeded 22:43:51 docker.io 22:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:51 Configure a credential helper to remove this warning. See 22:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:51 22:43:51 Login Succeeded 22:43:51 ---> docker-login.sh ends [Pipeline] } 22:43:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:43:52 + git rev-list -1 --merges a2de35ea1c1a27c584554d26e13ab7d74b55a5e7~1..a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 [Pipeline] echo 22:43:52 -----------> git rev-list -1 --merges a2de35ea1c1a27c584554d26e13ab7d74b55a5e7~1..a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 [false] [Pipeline] sh 22:43:52 + git log --format=format:%s -1 a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 [Pipeline] echo 22:43:52 ========================================================= 22:43:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:43:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:53 + git log --format=format:%s -1 a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 [Pipeline] echo 22:43:53 [semverPrep] GIT_COMMIT: a2de35ea1c1a27c584554d26e13ab7d74b55a5e7, Commit Message: doc: Update attribution.txt to reference paho license as v2.0 and missing dependecy [Pipeline] echo 22:43:53 [semverPrep] This is not a build commit. [Pipeline] sh 22:43:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:43:53 + grep -v github /etc/ssh/ssh_known_hosts 22:43:53 + [ -e /tmp/ssh_known_hosts ] 22:43:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:43:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:43:53 + sudo tee -a /etc/ssh/ssh_known_hosts 22:43:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:54 22:43:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:54 0.1.4: Pulling from edgex-devops/py-git-semver 22:43:54 42c077c10790: Pulling fs layer 22:43:54 f63e77b7563a: Pulling fs layer 22:43:54 bd5fdadae976: Pulling fs layer 22:43:54 205491f53016: Pulling fs layer 22:43:54 df18705c85c3: Pulling fs layer 22:43:54 bdb3f477010e: Pulling fs layer 22:43:54 c8a8fc8e1c8f: Pulling fs layer 22:43:54 2c6e9b1d212d: Pulling fs layer 22:43:54 bdb8f0575790: Pulling fs layer 22:43:54 386e3cb2ff24: Pulling fs layer 22:43:54 2343380bae48: Pulling fs layer 22:43:54 c8a8fc8e1c8f: Waiting 22:43:54 2c6e9b1d212d: Waiting 22:43:54 205491f53016: Waiting 22:43:54 df18705c85c3: Waiting 22:43:54 bdb8f0575790: Waiting 22:43:54 bdb3f477010e: Waiting 22:43:54 2343380bae48: Waiting 22:43:54 386e3cb2ff24: Waiting 22:43:54 f63e77b7563a: Verifying Checksum 22:43:54 f63e77b7563a: Download complete 22:43:54 205491f53016: Download complete 22:43:54 df18705c85c3: Verifying Checksum 22:43:54 df18705c85c3: Download complete 22:43:54 bd5fdadae976: Verifying Checksum 22:43:54 bd5fdadae976: Download complete 22:43:54 bdb3f477010e: Download complete 22:43:54 2c6e9b1d212d: Verifying Checksum 22:43:54 2c6e9b1d212d: Download complete 22:43:54 bdb8f0575790: Verifying Checksum 22:43:54 bdb8f0575790: Download complete 22:43:54 386e3cb2ff24: Verifying Checksum 22:43:54 386e3cb2ff24: Download complete 22:43:54 2343380bae48: Download complete 22:43:54 42c077c10790: Download complete 22:43:55 c8a8fc8e1c8f: Download complete 22:43:56 42c077c10790: Pull complete 22:43:56 f63e77b7563a: Pull complete 22:43:56 bd5fdadae976: Pull complete 22:43:56 205491f53016: Pull complete 22:43:57 df18705c85c3: Pull complete 22:43:57 bdb3f477010e: Pull complete 22:43:59 c8a8fc8e1c8f: Pull complete 22:43:59 2c6e9b1d212d: Pull complete 22:43:59 bdb8f0575790: Pull complete 22:43:59 386e3cb2ff24: Pull complete 22:43:59 2343380bae48: Pull complete 22:43:59 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 22:43:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:59 prd-ubuntu20.04-docker-8c-8g-15283 does not seem to be running inside a container 22:43:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-89 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89:/w/workspace/ry_app-rfid-llrp-inventory_PR-89:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@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 22:44:01 $ docker top 3e0e3b277790338a110430ab641daac49e0dc0ffd712bb4e1e75aab6977d19a3 -eo pid,comm 22:44:01 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). 22:44:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:01 [ssh-agent] Looking for ssh-agent implementation... 22:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:01 $ docker exec 3e0e3b277790338a110430ab641daac49e0dc0ffd712bb4e1e75aab6977d19a3 ssh-agent 22:44:01 SSH_AUTH_SOCK=/tmp/ssh-YySeOfZ0IUbO/agent.33 22:44:01 SSH_AGENT_PID=40 22:44:01 Running ssh-add (command line suppressed) 22:44:01 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/private_key_1275644581011680180.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/private_key_1275644581011680180.key) 22:44:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:02 + git tag --points-at HEAD [Pipeline] } 22:44:02 $ docker exec --env ******** --env ******** 3e0e3b277790338a110430ab641daac49e0dc0ffd712bb4e1e75aab6977d19a3 ssh-agent -k 22:44:02 unset SSH_AUTH_SOCK; 22:44:02 unset SSH_AGENT_PID; 22:44:02 echo Agent pid 40 killed; 22:44:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:44:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:02 [ssh-agent] Looking for ssh-agent implementation... 22:44:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:02 $ docker exec 3e0e3b277790338a110430ab641daac49e0dc0ffd712bb4e1e75aab6977d19a3 ssh-agent 22:44:02 SSH_AUTH_SOCK=/tmp/ssh-0G7wC2k15wJp/agent.72 22:44:02 SSH_AGENT_PID=78 22:44:02 Running ssh-add (command line suppressed) 22:44:02 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/private_key_6769934909769698543.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/private_key_6769934909769698543.key) 22:44:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:03 + git semver init 22:44:03 2022-06-21 22:44:03,250 [run_init] DEBUG init version:0.0.0 force:False 22:44:03 2022-06-21 22:44:03,251 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver 22:44:03 2022-06-21 22:44:03,251 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver 22:44:03 2022-06-21 22:44:03,252 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-89, universal_newlines=False, shell=None, istream=None) 22:44:04 2022-06-21 22:44:04,192 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-89/.git/info/exclude 22:44:04 2022-06-21 22:44:04,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver/PR-89 with force:False 22:44:04 2022-06-21 22:44:04,193 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver/PR-89 22:44:04 2022-06-21 22:44:04,196 [execute] INFO git cat-file --batch-check 22:44:04 2022-06-21 22:44:04,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver, universal_newlines=False, shell=None, istream=) 22:44:04 2022-06-21 22:44:04,204 [execute] INFO git cat-file --batch 22:44:04 2022-06-21 22:44:04,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver, universal_newlines=False, shell=None, istream=) 22:44:04 2022-06-21 22:44:04,210 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-89/.semver/PR-89 22:44:04 0.0.0 [Pipeline] } 22:44:04 $ docker exec --env ******** --env ******** 3e0e3b277790338a110430ab641daac49e0dc0ffd712bb4e1e75aab6977d19a3 ssh-agent -k 22:44:04 unset SSH_AUTH_SOCK; 22:44:04 unset SSH_AGENT_PID; 22:44:04 echo Agent pid 78 killed; 22:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:04 + git semver [Pipeline] } 22:44:05 $ docker stop --time=1 3e0e3b277790338a110430ab641daac49e0dc0ffd712bb4e1e75aab6977d19a3 22:44:06 $ docker rm -f 3e0e3b277790338a110430ab641daac49e0dc0ffd712bb4e1e75aab6977d19a3 [Pipeline] // withDockerContainer [Pipeline] sh 22:44:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:44:07 Stashed 1 file(s) [Pipeline] echo 22:44:07 [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 22:44:07 provisioning config files... 22:44:07 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/config9188589614700455032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:08 ---> docker-login.sh 22:44:08 nexus3.edgexfoundry.org:10001 22:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 nexus3.edgexfoundry.org:10002 22:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 nexus3.edgexfoundry.org:10003 22:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 nexus3.edgexfoundry.org:10004 22:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 docker.io 22:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 ---> docker-login.sh ends [Pipeline] } 22:44:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:09 ========================================================= 22:44:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:44:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:09 + 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 . 22:44:09 Sending build context to Docker daemon 12.45MB 22:44:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:44:09 Step 2/13 : FROM ${BASE} AS builder 22:44:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:09 59bf1c3509f3: Pulling fs layer 22:44:09 666ba61612fd: Pulling fs layer 22:44:09 8ed8ca486205: Pulling fs layer 22:44:09 cc1cd167ecdc: Pulling fs layer 22:44:09 c516ae0d96e1: Pulling fs layer 22:44:09 684cea983483: Pulling fs layer 22:44:09 dd3240ac7de5: Pulling fs layer 22:44:09 b1e948a4e11c: Pulling fs layer 22:44:09 a8fd76ee1af6: Pulling fs layer 22:44:09 646ad004c059: Pulling fs layer 22:44:09 c516ae0d96e1: Waiting 22:44:09 a8fd76ee1af6: Waiting 22:44:09 646ad004c059: Waiting 22:44:09 684cea983483: Waiting 22:44:09 dd3240ac7de5: Waiting 22:44:09 cc1cd167ecdc: Waiting 22:44:09 8ed8ca486205: Download complete 22:44:09 666ba61612fd: Verifying Checksum 22:44:09 666ba61612fd: Download complete 22:44:09 c516ae0d96e1: Verifying Checksum 22:44:09 c516ae0d96e1: Download complete 22:44:09 684cea983483: Verifying Checksum 22:44:09 684cea983483: Download complete 22:44:09 59bf1c3509f3: Verifying Checksum 22:44:09 59bf1c3509f3: Download complete 22:44:09 dd3240ac7de5: Verifying Checksum 22:44:09 dd3240ac7de5: Download complete 22:44:09 b1e948a4e11c: Verifying Checksum 22:44:09 b1e948a4e11c: Download complete 22:44:09 59bf1c3509f3: Pull complete 22:44:10 666ba61612fd: Pull complete 22:44:10 8ed8ca486205: Pull complete 22:44:10 646ad004c059: Verifying Checksum 22:44:10 646ad004c059: Download complete 22:44:10 a8fd76ee1af6: Verifying Checksum 22:44:10 a8fd76ee1af6: Download complete 22:44:10 cc1cd167ecdc: Verifying Checksum 22:44:10 cc1cd167ecdc: Download complete 22:44:14 cc1cd167ecdc: Pull complete 22:44:14 c516ae0d96e1: Pull complete 22:44:14 684cea983483: Pull complete 22:44:14 dd3240ac7de5: Pull complete 22:44:14 b1e948a4e11c: Pull complete 22:44:16 a8fd76ee1af6: Pull complete 22:44:17 646ad004c059: Pull complete 22:44:17 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 22:44:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:44:17 ---> 8f69c11f6b0c 22:44:17 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:44:18 ---> Running in 4951b6b942e3 22:44:18 Removing intermediate container 4951b6b942e3 22:44:18 ---> d7b2ace1e7ab 22:44:18 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:44:18 ---> Running in 78f75c80a5da 22:44:18 Removing intermediate container 78f75c80a5da 22:44:18 ---> 39b5b3b7d691 22:44:18 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:18 ---> Running in e0b2d209e534 22:44:18 Removing intermediate container e0b2d209e534 22:44:18 ---> 99d0bb5b64ca 22:44:18 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:18 ---> Running in 40e79b1df1f1 22:44:19 Removing intermediate container 40e79b1df1f1 22:44:19 ---> fd2c849bfede 22:44:19 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:19 ---> Running in 3d3545a6a05f 22:44:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:44:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:44:20 OK: 221 MiB in 52 packages 22:44:21 Removing intermediate container 3d3545a6a05f 22:44:21 ---> 9a4d2126400d 22:44:21 Step 8/13 : WORKDIR /app 22:44:21 ---> Running in d3ffb191bada 22:44:21 Removing intermediate container d3ffb191bada 22:44:21 ---> d84f53ab5651 22:44:21 Step 9/13 : COPY go.mod vendor* ./ 22:44:21 ---> 5bf04c60c9a9 22:44:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:21 ---> Running in 65ff399b5825 22:44:22 Still waiting to schedule task 22:44:22 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15284’ is offline 22:44:36 Removing intermediate container 65ff399b5825 22:44:36 ---> 785671dbc174 22:44:36 Step 11/13 : COPY . . 22:44:36 ---> eb3fc01e4300 22:44:36 Step 12/13 : ARG MAKE="make build" 22:44:36 ---> Running in 953e0322efea 22:44:36 Removing intermediate container 953e0322efea 22:44:36 ---> cecb5ced0866 22:44:36 Step 13/13 : RUN $MAKE 22:44:36 ---> Running in 8a9313492857 22:44:36 noop 22:44:36 Removing intermediate container 8a9313492857 22:44:36 ---> 021c3b7c7ae4 22:44:36 Successfully built 021c3b7c7ae4 22:44:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:37 + docker inspect -f . ci-base-image-x86_64 22:44:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:37 prd-ubuntu20.04-docker-8c-8g-15283 does not seem to be running inside a container 22:44:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-89 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89:/w/workspace/ry_app-rfid-llrp-inventory_PR-89:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@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 22:44:37 $ docker top 921ec9e37fe00e5b52aaf2ec113495131bbeeb71f63b351ffcfff8189e6e5b2f -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:38 + go version 22:44:38 go version go1.17.7 linux/amd64 [Pipeline] } 22:44:38 $ docker stop --time=1 921ec9e37fe00e5b52aaf2ec113495131bbeeb71f63b351ffcfff8189e6e5b2f 22:44:39 $ docker rm -f 921ec9e37fe00e5b52aaf2ec113495131bbeeb71f63b351ffcfff8189e6e5b2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:40 + docker inspect -f . ci-base-image-x86_64 22:44:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:40 prd-ubuntu20.04-docker-8c-8g-15283 does not seem to be running inside a container 22:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-89 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89:/w/workspace/ry_app-rfid-llrp-inventory_PR-89:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@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 22:44:40 $ docker top e4844c5b545da6eb7ea160ec606f5f6cf5c56be21f5feb2e437678eda3c21a49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:44:41 + make test 22:44:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:44:51 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:44:51 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.035s coverage: 86.2% of statements 22:44:51 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:44:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.545s coverage: 71.9% of statements 22:45:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:45:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:45:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:45:04 ./bin/test-attribution.sh [Pipeline] echo 22:45:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:45:04 $ docker stop --time=1 e4844c5b545da6eb7ea160ec606f5f6cf5c56be21f5feb2e437678eda3c21a49 22:45:06 $ docker rm -f e4844c5b545da6eb7ea160ec606f5f6cf5c56be21f5feb2e437678eda3c21a49 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:45:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:45:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:45:08 + ls -al . 22:45:08 total 228 22:45:08 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 22:45 . 22:45:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 22:43 .. 22:45:08 -rw-rw-r-- 1 jenkins jenkins 262 Jun 21 22:43 .dockerignore 22:45:08 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 22:44 .git 22:45:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 22:43 .github 22:45:08 -rw-rw-r-- 1 jenkins jenkins 788 Jun 21 22:43 .gitignore 22:45:08 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 22:43 .golangci.yml 22:45:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 22:44 .semver 22:45:08 -rw-rw-r-- 1 jenkins jenkins 9413 Jun 21 22:43 Attribution.txt 22:45:08 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 21 22:43 CHANGELOG.md 22:45:08 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 21 22:43 Dockerfile 22:45:08 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 22:43 GOVERNANCE.md 22:45:08 -rw-rw-r-- 1 jenkins jenkins 687 Jun 21 22:43 Jenkinsfile 22:45:08 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 21 22:43 LICENSE 22:45:08 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 21 22:43 Makefile 22:45:08 -rw-rw-r-- 1 jenkins jenkins 617 Jun 21 22:43 OWNERS.md 22:45:08 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 21 22:43 README.md 22:45:08 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 22:44 VERSION 22:45:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 22:43 bin 22:45:08 -rw-r--r-- 1 jenkins jenkins 41008 Jun 21 22:44 coverage.out 22:45:08 -rw-rw-r-- 1 jenkins jenkins 3475 Jun 21 22:43 go.mod 22:45:08 -rw-rw-r-- 1 jenkins jenkins 36141 Jun 21 22:43 go.sum 22:45:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 22:43 images 22:45:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 22:43 internal 22:45:08 -rw-rw-r-- 1 jenkins jenkins 531 Jun 21 22:43 main.go 22:45:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 22:43 res 22:45:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 22:43 snap 22:45:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 22:43 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:08 + 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=a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 --label arch=amd64 --label version=0.0.0 . 22:45:08 Sending build context to Docker daemon 12.45MB 22:45:08 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 22:45:08 Step 2/31 : FROM ${BASE} AS builder 22:45:08 ---> 021c3b7c7ae4 22:45:08 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:45:08 ---> Running in ad7589631a22 22:45:09 Removing intermediate container ad7589631a22 22:45:09 ---> 9716acfd36b3 22:45:09 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:45:09 ---> Running in 84cbb399ded1 22:45:09 Removing intermediate container 84cbb399ded1 22:45:09 ---> 0e1764c753cd 22:45:09 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:09 ---> Running in e53f34eb491b 22:45:09 Removing intermediate container e53f34eb491b 22:45:09 ---> 08de80214d76 22:45:09 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:09 ---> Running in 8d169acb03a7 22:45:09 Removing intermediate container 8d169acb03a7 22:45:09 ---> 4c9262494c8a 22:45:09 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:09 ---> Running in ce7034483589 22:45:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:45:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:45:11 OK: 221 MiB in 52 packages 22:45:11 Removing intermediate container ce7034483589 22:45:11 ---> 0fe491c959e4 22:45:11 Step 8/31 : WORKDIR /app 22:45:11 ---> Running in 43f2793b0b69 22:45:11 Removing intermediate container 43f2793b0b69 22:45:11 ---> 7b86b5196bba 22:45:11 Step 9/31 : COPY go.mod vendor* ./ 22:45:11 ---> af2322a24bf3 22:45:11 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:11 ---> Running in 7a9492db8556 22:45:12 Removing intermediate container 7a9492db8556 22:45:12 ---> feec77b0f748 22:45:12 Step 11/31 : COPY . . 22:45:12 ---> 9e66daa9c953 22:45:12 Step 12/31 : ARG MAKE="make build" 22:45:12 ---> Running in 2a7a5699ce98 22:45:12 Removing intermediate container 2a7a5699ce98 22:45:12 ---> a502b42d9c00 22:45:12 Step 13/31 : RUN $MAKE 22:45:12 ---> Running in 1e600a812e53 22:45:13 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.7 -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 22:45:35 Removing intermediate container 1e600a812e53 22:45:35 ---> 2c3e0810bb3e 22:45:35 Step 14/31 : FROM alpine:3.14 22:45:35 3.14: Pulling from library/alpine 22:45:35 8663204ce13b: Pulling fs layer 22:45:35 8663204ce13b: Verifying Checksum 22:45:35 8663204ce13b: Download complete 22:45:35 8663204ce13b: Pull complete 22:45:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:45:35 Status: Downloaded newer image for alpine:3.14 22:45:35 ---> e04c818066af 22:45:35 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:35 ---> Running in 82868f48ee01 22:45:35 Removing intermediate container 82868f48ee01 22:45:35 ---> 82185c46274d 22:45:35 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:45:35 ---> Running in f30849521a79 22:45:35 Removing intermediate container f30849521a79 22:45:35 ---> 8e7600341584 22:45:35 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:35 ---> Running in 940e128c3bb4 22:45:35 Removing intermediate container 940e128c3bb4 22:45:35 ---> 7fb18695d99f 22:45:35 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:45:35 ---> Running in 009ec5ffc2c1 22:45:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:45:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:45:35 (1/7) Installing ca-certificates (20211220-r0) 22:45:35 (2/7) Installing dumb-init (1.2.5-r1) 22:45:35 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:45:35 (4/7) Installing libsodium (1.0.18-r0) 22:45:35 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:45:35 (6/7) Installing libzmq (4.3.4-r0) 22:45:35 (7/7) Installing zeromq (4.3.4-r0) 22:45:35 Executing busybox-1.33.1-r7.trigger 22:45:35 Executing ca-certificates-20211220-r0.trigger 22:45:35 OK: 9 MiB in 21 packages 22:45:36 Removing intermediate container 009ec5ffc2c1 22:45:36 ---> ad41f566dba2 22:45:36 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:45:36 ---> b2ff4613680e 22:45:36 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:45:36 ---> 2ea4ba672d62 22:45:36 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:45:36 ---> 704e76840d05 22:45:36 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:45:36 ---> 38806cf79923 22:45:36 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:45:37 ---> dbe087fb437f 22:45:37 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:45:37 ---> Running in 8afd8f59227d 22:45:38 Removing intermediate container 8afd8f59227d 22:45:38 ---> 990adffe9c88 22:45:38 Step 25/31 : VOLUME /cache 22:45:38 ---> Running in cbd9436ca275 22:45:38 Removing intermediate container cbd9436ca275 22:45:38 ---> cb18f253abb7 22:45:38 Step 26/31 : EXPOSE 59711 22:45:38 ---> Running in b81cbec40b96 22:45:38 Removing intermediate container b81cbec40b96 22:45:38 ---> cfa889d9056c 22:45:38 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:45:38 ---> Running in 74e3e7c91997 22:45:38 Removing intermediate container 74e3e7c91997 22:45:38 ---> 54e4a9e260ae 22:45:38 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:45:38 ---> Running in cdcdf15bd162 22:45:38 Removing intermediate container cdcdf15bd162 22:45:38 ---> eec5dbbc8cc7 22:45:38 Step 29/31 : LABEL arch=amd64 22:45:38 ---> Running in 5b1d2e48c723 22:45:38 Removing intermediate container 5b1d2e48c723 22:45:38 ---> c989f6ddd670 22:45:38 Step 30/31 : LABEL git_sha=a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 22:45:38 ---> Running in e37f29e29714 22:45:38 Removing intermediate container e37f29e29714 22:45:38 ---> 9e07170859f2 22:45:38 Step 31/31 : LABEL version=0.0.0 22:45:38 ---> Running in 1dc66d41f117 22:45:38 Removing intermediate container 1dc66d41f117 22:45:38 ---> 2b9a33a9038c 22:45:38 [Warning] One or more build-args [ARCH] were not consumed 22:45:38 Successfully built 2b9a33a9038c 22:45:38 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 22:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:39 22:45:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:40 latest: Pulling from edgex-lftools-log-publisher 22:45:40 5eb5b503b376: Pulling fs layer 22:45:40 5c69ac0246d0: Pulling fs layer 22:45:40 ec43610c2a17: Pulling fs layer 22:45:40 3a2ae6a8a46f: Pulling fs layer 22:45:40 33b1e0a273af: Pulling fs layer 22:45:40 5d3b04190fa2: Pulling fs layer 22:45:40 2f39f015ded8: Pulling fs layer 22:45:40 33b1e0a273af: Waiting 22:45:40 5d3b04190fa2: Waiting 22:45:40 2f39f015ded8: Waiting 22:45:40 3a2ae6a8a46f: Waiting 22:45:40 5c69ac0246d0: Verifying Checksum 22:45:40 5c69ac0246d0: Download complete 22:45:40 3a2ae6a8a46f: Verifying Checksum 22:45:40 3a2ae6a8a46f: Download complete 22:45:40 33b1e0a273af: Verifying Checksum 22:45:40 33b1e0a273af: Download complete 22:45:40 5d3b04190fa2: Download complete 22:45:40 ec43610c2a17: Verifying Checksum 22:45:40 ec43610c2a17: Download complete 22:45:40 5eb5b503b376: Verifying Checksum 22:45:40 5eb5b503b376: Download complete 22:45:40 2f39f015ded8: Download complete 22:45:41 5eb5b503b376: Pull complete 22:45:41 5c69ac0246d0: Pull complete 22:45:42 ec43610c2a17: Pull complete 22:45:42 3a2ae6a8a46f: Pull complete 22:45:42 33b1e0a273af: Pull complete 22:45:42 5d3b04190fa2: Pull complete 22:45:46 2f39f015ded8: Pull complete 22:45:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:46 prd-ubuntu20.04-docker-8c-8g-15283 does not seem to be running inside a container 22:45:46 $ 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-89 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89:/w/workspace/ry_app-rfid-llrp-inventory_PR-89:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@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 22:45:48 $ docker top 2261bdc5dfc4cef8c0b096fd8a6c40875e6a0164f75a1548efffe6f50ebbc55f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:48 ---> job-cost.sh 22:45:48 lf-activate-venv: SKIPPING 22:45:48 INFO: No Stack... 22:45:49 INFO: Retrieving Pricing Info for: v3-standard-8 22:45:49 INFO: Archiving Costs [Pipeline] sh 22:45:50 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-89/archives/cost.csv 22:45:50 + cut -d, -f6 [Pipeline] lock 22:45:50 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] 22:45:50 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] did not exist. Created. 22:45:50 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:45:50 + echo total: 0.2199999988079071 [Pipeline] stash 22:45:50 Stashed 1 file(s) [Pipeline] } 22:45:50 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:45:50 $ docker stop --time=1 2261bdc5dfc4cef8c0b096fd8a6c40875e6a0164f75a1548efffe6f50ebbc55f 22:45:51 $ docker rm -f 2261bdc5dfc4cef8c0b096fd8a6c40875e6a0164f75a1548efffe6f50ebbc55f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:46:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15285 in /w/workspace/ry_app-rfid-llrp-inventory_PR-89 [Pipeline] { [Pipeline] ws 22:46:35 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 22:46:35 The recommended git tool is: git 22:46:41 using credential edgex-jenkins-ssh 22:46:41 Cloning the remote Git repository 22:46:41 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:46:41 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 22:46:42 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:46:42 > git --version # timeout=10 22:46:42 > git --version # 'git version 2.25.1' 22:46:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:44 Merging remotes/origin/main commit 993cf3e57aaceca8bb36ff677d4f27516283947c into PR head commit a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 22:46:45 Merge succeeded, producing a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 22:46:45 Checking out Revision a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 (PR-89) 22:46:44 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:46:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:44 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:46:44 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:46:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/89/head:refs/remotes/origin/PR-89 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:46:44 > git config core.sparsecheckout # timeout=10 22:46:44 > git checkout -f a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 # timeout=10 22:46:44 > git remote # timeout=10 22:46:44 > git config --get remote.origin.url # timeout=10 22:46:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:44 > git merge 993cf3e57aaceca8bb36ff677d4f27516283947c # timeout=10 22:46:45 > git rev-parse HEAD^{commit} # timeout=10 22:46:45 > git config core.sparsecheckout # timeout=10 22:46:45 > git checkout -f a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 # timeout=10 22:46:49 Commit message: "doc: Update attribution.txt to reference paho license as v2.0 and missing dependecy" 22:46:49 > git --version # timeout=10 22:46:49 > git --version # 'git version 2.25.1' 22:46:49 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:46:50 % Total % Received % Xferd Average Speed Time Time Time Current 22:46:50 Dload Upload Total Spent Left Speed 22:46:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh 22:46:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:46:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:46:51 + sudo tee /etc/docker/daemon.new 22:46:51 { 22:46:51 "registry-mirrors": [ 22:46:51 "https://nexus3.edgexfoundry.org:10001" 22:46:51 ], 22:46:51 "bip": "10.250.0.254/24", 22:46:51 "hosts": [ 22:46:51 "tcp://0.0.0.0:5555", 22:46:51 "unix:///var/run/docker.sock" 22:46:51 ], 22:46:51 "mtu": 1458, 22:46:51 "selinux-enabled": true, 22:46:51 "seccomp-profile": "/etc/docker/seccomp.json" 22:46:51 } [Pipeline] sh 22:46:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:46:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:10 provisioning config files... 22:47:10 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config7875157776594589081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:11 ---> docker-login.sh 22:47:11 nexus3.edgexfoundry.org:10001 22:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:12 Configure a credential helper to remove this warning. See 22:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:12 22:47:12 Login Succeeded 22:47:12 nexus3.edgexfoundry.org:10002 22:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:12 Configure a credential helper to remove this warning. See 22:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:12 22:47:12 Login Succeeded 22:47:12 nexus3.edgexfoundry.org:10003 22:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:13 Configure a credential helper to remove this warning. See 22:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:13 22:47:13 Login Succeeded 22:47:13 nexus3.edgexfoundry.org:10004 22:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:13 Configure a credential helper to remove this warning. See 22:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:13 22:47:13 Login Succeeded 22:47:13 docker.io 22:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:14 Configure a credential helper to remove this warning. See 22:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:14 22:47:14 Login Succeeded 22:47:14 ---> docker-login.sh ends [Pipeline] } 22:47:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:47:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:15 ========================================================= 22:47:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:47:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:15 + 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 . 22:47:15 Sending build context to Docker daemon 687.6kB 22:47:15 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:47:15 Step 2/13 : FROM ${BASE} AS builder 22:47:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:47:16 9b3977197b4f: Pulling fs layer 22:47:16 1a89e8eeedd5: Pulling fs layer 22:47:16 94645a83ff95: Pulling fs layer 22:47:16 e6fb740bc735: Pulling fs layer 22:47:16 3a77bd46dcc9: Pulling fs layer 22:47:16 355e64cbe906: Pulling fs layer 22:47:16 63ab81a10011: Pulling fs layer 22:47:16 555d1d1c4555: Pulling fs layer 22:47:16 7d9057610161: Pulling fs layer 22:47:16 63ab81a10011: Waiting 22:47:16 355e64cbe906: Waiting 22:47:16 555d1d1c4555: Waiting 22:47:16 e6fb740bc735: Waiting 22:47:16 3a77bd46dcc9: Waiting 22:47:16 7d9057610161: Waiting 22:47:16 94645a83ff95: Verifying Checksum 22:47:16 94645a83ff95: Download complete 22:47:16 1a89e8eeedd5: Verifying Checksum 22:47:16 1a89e8eeedd5: Download complete 22:47:16 3a77bd46dcc9: Download complete 22:47:16 355e64cbe906: Download complete 22:47:16 9b3977197b4f: Download complete 22:47:16 63ab81a10011: Verifying Checksum 22:47:16 63ab81a10011: Download complete 22:47:17 9b3977197b4f: Pull complete 22:47:17 7d9057610161: Verifying Checksum 22:47:17 7d9057610161: Download complete 22:47:17 1a89e8eeedd5: Pull complete 22:47:18 94645a83ff95: Pull complete 22:47:18 555d1d1c4555: Verifying Checksum 22:47:18 555d1d1c4555: Download complete 22:47:18 e6fb740bc735: Verifying Checksum 22:47:18 e6fb740bc735: Download complete 22:47:31 e6fb740bc735: Pull complete 22:47:31 3a77bd46dcc9: Pull complete 22:47:31 355e64cbe906: Pull complete 22:47:31 63ab81a10011: Pull complete 22:47:38 555d1d1c4555: Pull complete 22:47:40 7d9057610161: Pull complete 22:47:40 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 22:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:47:40 ---> 819e984ddca1 22:47:40 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:47:41 ---> Running in f3f4acb666cd 22:47:41 Removing intermediate container f3f4acb666cd 22:47:41 ---> b15cf289d856 22:47:41 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:47:42 ---> Running in 51f1ffbdea66 22:47:42 Removing intermediate container 51f1ffbdea66 22:47:42 ---> 9eb3d96d0c37 22:47:42 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:42 ---> Running in 7ad4e9b95d28 22:47:42 Removing intermediate container 7ad4e9b95d28 22:47:42 ---> 34b79f9065c8 22:47:42 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:42 ---> Running in 5187b5521a29 22:47:44 Removing intermediate container 5187b5521a29 22:47:44 ---> 2a0de5f25085 22:47:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:44 ---> Running in d1e7d9d7b6a4 22:47:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:47:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:47:47 OK: 220 MiB in 52 packages 22:47:48 Removing intermediate container d1e7d9d7b6a4 22:47:48 ---> cd78c774b163 22:47:48 Step 8/13 : WORKDIR /app 22:47:48 ---> Running in f35d8dac7b78 22:47:48 Removing intermediate container f35d8dac7b78 22:47:48 ---> ac51df32a3a0 22:47:48 Step 9/13 : COPY go.mod vendor* ./ 22:47:49 ---> 474f8d0f1d50 22:47:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:49 ---> Running in 59e8f980f8cb 22:48:36 Removing intermediate container 59e8f980f8cb 22:48:36 ---> c7cc890ef4c0 22:48:36 Step 11/13 : COPY . . 22:48:36 ---> 4ca7fe621d76 22:48:36 Step 12/13 : ARG MAKE="make build" 22:48:36 ---> Running in d632a028160f 22:48:36 Removing intermediate container d632a028160f 22:48:36 ---> d529eb9a25aa 22:48:36 Step 13/13 : RUN $MAKE 22:48:36 ---> Running in 809de516a804 22:48:36 noop 22:48:37 Removing intermediate container 809de516a804 22:48:37 ---> d52d658614d6 22:48:37 Successfully built d52d658614d6 22:48:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:38 + docker inspect -f . ci-base-image-arm64 22:48:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:38 prd-ubuntu20.04-docker-arm64-4c-16g-15285 does not seem to be running inside a container 22:48:38 $ 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 22:48:39 $ docker top f70da1860794e949aa3f8f04da51ce1aa740b8d24651fd41c6eb42156716e7b5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:40 + go version 22:48:40 go version go1.17.7 linux/arm64 [Pipeline] } 22:48:40 $ docker stop --time=1 f70da1860794e949aa3f8f04da51ce1aa740b8d24651fd41c6eb42156716e7b5 22:48:42 $ docker rm -f f70da1860794e949aa3f8f04da51ce1aa740b8d24651fd41c6eb42156716e7b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:43 + docker inspect -f . ci-base-image-arm64 22:48:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:43 prd-ubuntu20.04-docker-arm64-4c-16g-15285 does not seem to be running inside a container 22:48: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 22:48:45 $ docker top 7ec6429c362727427be44c00d8cb6fb073f64b08d428781c515018377663222b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:48:46 + make test 22:48:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:50:23 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:50:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.174s coverage: 86.2% of statements 22:50:23 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:50:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.702s coverage: 71.9% of statements 22:50:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:50:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:50:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:50:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:50:45 ./bin/test-attribution.sh [Pipeline] echo 22:50:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:50:48 $ docker stop --time=1 7ec6429c362727427be44c00d8cb6fb073f64b08d428781c515018377663222b 22:50:50 $ docker rm -f 7ec6429c362727427be44c00d8cb6fb073f64b08d428781c515018377663222b [Pipeline] // withDockerContainer [Pipeline] sh 22:50:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:50:51 Warning: overwriting stash ‘coverage-report’ 22:50:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:50:53 + ls -al . 22:50:53 total 224 22:50:53 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 22:50 . 22:50:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 22:46 .. 22:50:53 -rw-rw-r-- 1 jenkins jenkins 262 Jun 21 22:46 .dockerignore 22:50:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 22:46 .git 22:50:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 22:46 .github 22:50:53 -rw-rw-r-- 1 jenkins jenkins 788 Jun 21 22:46 .gitignore 22:50:53 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 22:46 .golangci.yml 22:50:53 -rw-rw-r-- 1 jenkins jenkins 9413 Jun 21 22:46 Attribution.txt 22:50:53 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 21 22:46 CHANGELOG.md 22:50:53 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 21 22:46 Dockerfile 22:50:53 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 22:46 GOVERNANCE.md 22:50:53 -rw-rw-r-- 1 jenkins jenkins 687 Jun 21 22:46 Jenkinsfile 22:50:53 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 21 22:46 LICENSE 22:50:53 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 21 22:46 Makefile 22:50:53 -rw-rw-r-- 1 jenkins jenkins 617 Jun 21 22:46 OWNERS.md 22:50:53 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 21 22:46 README.md 22:50:53 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 22:44 VERSION 22:50:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 22:46 bin 22:50:53 -rw-r--r-- 1 jenkins jenkins 41008 Jun 21 22:50 coverage.out 22:50:53 -rw-rw-r-- 1 jenkins jenkins 3475 Jun 21 22:46 go.mod 22:50:53 -rw-rw-r-- 1 jenkins jenkins 36141 Jun 21 22:46 go.sum 22:50:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 22:46 images 22:50:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 22:46 internal 22:50:53 -rw-rw-r-- 1 jenkins jenkins 531 Jun 21 22:46 main.go 22:50:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 22:46 res 22:50:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 22:46 snap 22:50:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 22:46 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:53 + 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=a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 --label arch=arm64 --label version=0.0.0 . 22:50:53 Sending build context to Docker daemon 687.6kB 22:50:53 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 22:50:53 Step 2/31 : FROM ${BASE} AS builder 22:50:53 ---> d52d658614d6 22:50:53 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:50:54 ---> Running in 9c2d37ad134e 22:50:54 Removing intermediate container 9c2d37ad134e 22:50:54 ---> 7ed4848f2c60 22:50:54 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:50:54 ---> Running in 7e407d976832 22:50:54 Removing intermediate container 7e407d976832 22:50:54 ---> d22323698276 22:50:54 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:54 ---> Running in bf84291a3baa 22:50:54 Removing intermediate container bf84291a3baa 22:50:54 ---> e83e36301de8 22:50:54 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:55 ---> Running in e4763f284200 22:50:56 Removing intermediate container e4763f284200 22:50:56 ---> 9f0058475894 22:50:56 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:50:57 ---> Running in 2d1ae0f3b21a 22:50:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:50:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:50:59 OK: 220 MiB in 52 packages 22:51:00 Removing intermediate container 2d1ae0f3b21a 22:51:00 ---> fa476b7ac906 22:51:00 Step 8/31 : WORKDIR /app 22:51:00 ---> Running in 3ac7c3b872ae 22:51:00 Removing intermediate container 3ac7c3b872ae 22:51:00 ---> a25d166de996 22:51:00 Step 9/31 : COPY go.mod vendor* ./ 22:51:01 ---> b2b4f3aafb0a 22:51:01 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:01 ---> Running in f57c0a9552fb 22:51:03 Removing intermediate container f57c0a9552fb 22:51:03 ---> 76cdc6eb960a 22:51:03 Step 11/31 : COPY . . 22:51:04 ---> 9bc0d5fdeb99 22:51:04 Step 12/31 : ARG MAKE="make build" 22:51:04 ---> Running in 922ec52a7f74 22:51:04 Removing intermediate container 922ec52a7f74 22:51:04 ---> 44bfe90ac685 22:51:04 Step 13/31 : RUN $MAKE 22:51:04 ---> Running in a102fcfba080 22:51:05 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.7 -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 22:53:12 Removing intermediate container a102fcfba080 22:53:12 ---> 28e74ff99bad 22:53:12 Step 14/31 : FROM alpine:3.14 22:53:12 3.14: Pulling from library/alpine 22:53:12 455c02918c45: Pulling fs layer 22:53:12 455c02918c45: Verifying Checksum 22:53:12 455c02918c45: Download complete 22:53:12 455c02918c45: Pull complete 22:53:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:53:12 Status: Downloaded newer image for alpine:3.14 22:53:12 ---> ac73e934f311 22:53:12 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:53:12 ---> Running in 93a976aa1e28 22:53:12 Removing intermediate container 93a976aa1e28 22:53:12 ---> d59687429c2c 22:53:12 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:53:12 ---> Running in 1dccb6d6a631 22:53:12 Removing intermediate container 1dccb6d6a631 22:53:12 ---> 782c171557ca 22:53:12 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:12 ---> Running in 2f0930b37f3c 22:53:12 Removing intermediate container 2f0930b37f3c 22:53:12 ---> e16a51c4db6c 22:53:12 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:53:12 ---> Running in 3639e6553f81 22:53:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:53:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:53:12 (1/7) Installing ca-certificates (20211220-r0) 22:53:12 (2/7) Installing dumb-init (1.2.5-r1) 22:53:12 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:53:12 (4/7) Installing libsodium (1.0.18-r0) 22:53:12 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:53:12 (6/7) Installing libzmq (4.3.4-r0) 22:53:13 (7/7) Installing zeromq (4.3.4-r0) 22:53:13 Executing busybox-1.33.1-r7.trigger 22:53:13 Executing ca-certificates-20211220-r0.trigger 22:53:13 OK: 9 MiB in 21 packages 22:53:14 Removing intermediate container 3639e6553f81 22:53:14 ---> 1ac4356daee8 22:53:14 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:53:15 ---> c0202c33037b 22:53:15 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:53:15 ---> 625184f54c60 22:53:15 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:53:16 ---> 38231f827eb0 22:53:16 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:53:16 ---> c81b20a48741 22:53:16 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:53:18 ---> 99048bf85dc5 22:53:18 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:53:18 ---> Running in 593183c171bb 22:53:20 Removing intermediate container 593183c171bb 22:53:20 ---> 19c79f050973 22:53:20 Step 25/31 : VOLUME /cache 22:53:20 ---> Running in c03a57ba93ec 22:53:20 Removing intermediate container c03a57ba93ec 22:53:20 ---> c8a66d650f1d 22:53:20 Step 26/31 : EXPOSE 59711 22:53:20 ---> Running in 7f09f0f23bef 22:53:20 Removing intermediate container 7f09f0f23bef 22:53:20 ---> c52bd843ceab 22:53:20 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:53:20 ---> Running in a9a78dd23b68 22:53:21 Removing intermediate container a9a78dd23b68 22:53:21 ---> de30ef6020ba 22:53:21 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:53:21 ---> Running in fdae6374d547 22:53:21 Removing intermediate container fdae6374d547 22:53:21 ---> 3f90803d1034 22:53:21 Step 29/31 : LABEL arch=arm64 22:53:21 ---> Running in 22b1d1f3c59c 22:53:22 Removing intermediate container 22b1d1f3c59c 22:53:22 ---> 1cb4f32509bc 22:53:22 Step 30/31 : LABEL git_sha=a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 22:53:22 ---> Running in ef783e20336a 22:53:22 Removing intermediate container ef783e20336a 22:53:22 ---> e7b490696760 22:53:22 Step 31/31 : LABEL version=0.0.0 22:53:22 ---> Running in 29757ed7561b 22:53:22 Removing intermediate container 29757ed7561b 22:53:22 ---> 162aa5ef66aa 22:53:22 [Warning] One or more build-args [ARCH] were not consumed 22:53:22 Successfully built 162aa5ef66aa 22:53:22 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 22:53:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:23 22:53:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:24 arm64: Pulling from edgex-lftools-log-publisher 22:53:24 8998bd30e6a1: Pulling fs layer 22:53:24 04944245beec: Pulling fs layer 22:53:24 699f458cf7ca: Pulling fs layer 22:53:24 765212b225bb: Pulling fs layer 22:53:24 f23df028b6ca: Pulling fs layer 22:53:24 d65c8cfc05b1: Pulling fs layer 22:53:24 2437ff75d9bd: Pulling fs layer 22:53:24 765212b225bb: Waiting 22:53:24 f23df028b6ca: Waiting 22:53:24 d65c8cfc05b1: Waiting 22:53:24 2437ff75d9bd: Waiting 22:53:24 04944245beec: Verifying Checksum 22:53:24 04944245beec: Download complete 22:53:24 765212b225bb: Verifying Checksum 22:53:24 765212b225bb: Download complete 22:53:24 f23df028b6ca: Verifying Checksum 22:53:24 f23df028b6ca: Download complete 22:53:24 d65c8cfc05b1: Verifying Checksum 22:53:24 d65c8cfc05b1: Download complete 22:53:24 699f458cf7ca: Verifying Checksum 22:53:24 699f458cf7ca: Download complete 22:53:24 8998bd30e6a1: Verifying Checksum 22:53:24 8998bd30e6a1: Download complete 22:53:27 2437ff75d9bd: Verifying Checksum 22:53:27 2437ff75d9bd: Download complete 22:53:29 8998bd30e6a1: Pull complete 22:53:29 04944245beec: Pull complete 22:53:31 699f458cf7ca: Pull complete 22:53:31 765212b225bb: Pull complete 22:53:32 f23df028b6ca: Pull complete 22:53:32 d65c8cfc05b1: Pull complete 22:53:47 2437ff75d9bd: Pull complete 22:53:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:53:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:47 prd-ubuntu20.04-docker-arm64-4c-16g-15285 does not seem to be running inside a container 22:53:47 $ 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 22:53:50 $ docker top 406948342e54a8b2e9e0805159a04f09c060c039ddc9d4ee634c5776774a9f75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:51 ---> job-cost.sh 22:53:51 lf-activate-venv: SKIPPING 22:53:51 INFO: No Stack... 22:53:51 INFO: Retrieving Pricing Info for: v3-standard-4 22:53:52 INFO: Archiving Costs [Pipeline] sh 22:53:53 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 22:53:53 + cut -d, -f6 [Pipeline] lock 22:53:53 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] 22:53:53 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] did not exist. Created. 22:53:53 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:53:54 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-ad45b715/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:53:54 + echo total: 0.10999999940395355 [Pipeline] stash 22:53:54 Warning: overwriting stash ‘stack-cost’ 22:53:54 Stashed 1 file(s) [Pipeline] } 22:53:54 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-89-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:53:54 $ docker stop --time=1 406948342e54a8b2e9e0805159a04f09c060c039ddc9d4ee634c5776774a9f75 22:53:56 $ docker rm -f 406948342e54a8b2e9e0805159a04f09c060c039ddc9d4ee634c5776774a9f75 [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 22:53:57 provisioning config files... 22:53:57 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/config5806181200664166727tmp [Pipeline] { [Pipeline] sh 22:53:57 + set +x 22:53:57 + + curlbash -s -s https://codecov.io/bash -- 22:53:57 22:53:57 22:53:57 _____ _ 22:53:57 / ____| | | 22:53:57 | | ___ __| | ___ ___ _____ __ 22:53:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:53:57 | |___| (_) | (_| | __/ (_| (_) \ V / 22:53:57 \_____\___/ \__,_|\___|\___\___/ \_/ 22:53:57 Bash-1.0.6 22:53:57 22:53:57 22:53:57 ==> git version 2.25.1 found 22:53:57 ==> 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 22:53:57 Release-Date: 2020-01-08 22:53:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:53:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:53:57 ==> Jenkins CI detected. 22:53:57 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-89 22:53:57 project root: . 22:53:57 --> token set from env 22:53:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:53:57 ==> Running gcov in . (disable via -X gcov) 22:53:57 ==> Python coveragepy not found 22:53:57 ==> Searching for coverage reports in: 22:53:57 + . 22:53:57 -> Found 1 reports 22:53:57 ==> Detecting git/mercurial file structure 22:53:57 ==> Reading reports 22:53:57 + ./coverage.out bytes=41008 22:53:57 ==> Appending adjustments 22:53:57 https://docs.codecov.io/docs/fixing-reports 22:53:58 + Found adjustments 22:53:58 ==> Gzipping contents 22:53:58 12K /tmp/codecov.zHQHjp.gz 22:53:58 ==> Uploading reports 22:53:58 url: https://codecov.io 22:53:58 query: branch=PR-89&commit=a2de35ea1c1a27c584554d26e13ab7d74b55a5e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-89%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=89&job=&cmd_args= 22:53:58 -> Pinging Codecov 22:53:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-89&commit=a2de35ea1c1a27c584554d26e13ab7d74b55a5e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-89%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=89&job=&cmd_args= 22:53:58 -> Uploading to 22:53:58 https://storage.googleapis.com/codecov/v4/raw/2022-06-21/581DD39554BDF9B6E22D074273EAD858/a2de35ea1c1a27c584554d26e13ab7d74b55a5e7/5c5a973f-ea4d-4fad-b42b-4fa059b61c3e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220621T225358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7752cb35b0c92f81169eaba92c31ab29107719c009b158bafacd1fc241ca221a 22:53:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:53:58 Dload Upload Total Spent Left Speed 22:53:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11472 0 0 100 11472 0 56792 --:--:-- --:--:-- --:--:-- 56512 100 11472 0 0 100 11472 0 52623 --:--:-- --:--:-- --:--:-- 52383 22:53:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/a2de35ea1c1a27c584554d26e13ab7d74b55a5e7 [Pipeline] } 22:53:58 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 22:54:00 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-89/archives ] 22:54:00 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-89/archives 22:54:00 total 16 22:54:00 drwxr-xr-x 3 root root 4096 Jun 21 22:45 . 22:54:00 drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 22:45 .. 22:54:00 drwxr-xr-x 2 root root 4096 Jun 21 22:45 cost 22:54:00 -rw-r--r-- 1 root root 93 Jun 21 22:45 cost.csv 22:54:00 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-89/archives 22:54:00 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-89/archives 22:54:00 total 16 22:54:00 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 22:45 . 22:54:00 drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 22:45 .. 22:54:00 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 22:45 cost 22:54:00 -rw-r--r-- 1 jenkins jenkins 93 Jun 21 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:54:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:01 ---> package-listing.sh 22:54:01 ++ facter osfamily 22:54:01 ++ tr '[:upper:]' '[:lower:]' 22:54:01 + OS_FAMILY=debian 22:54:01 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-89 22:54:01 + START_PACKAGES=/tmp/packages_start.txt 22:54:01 + END_PACKAGES=/tmp/packages_end.txt 22:54:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:01 + PACKAGES=/tmp/packages_start.txt 22:54:01 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-89 ']' 22:54:01 + PACKAGES=/tmp/packages_end.txt 22:54:01 + case "${OS_FAMILY}" in 22:54:01 + dpkg -l 22:54:01 + grep '^ii' 22:54:01 + '[' -f /tmp/packages_start.txt ']' 22:54:01 + '[' -f /tmp/packages_end.txt ']' 22:54:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:01 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-89 ']' 22:54:01 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-89/archives/ 22:54:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-89/archives/ [Pipeline] echo 22:54:01 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-89/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:54:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:02 prd-ubuntu20.04-docker-8c-8g-15283 does not seem to be running inside a container 22:54:02 $ 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-89/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-89 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89:/w/workspace/ry_app-rfid-llrp-inventory_PR-89:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@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 22:54:03 $ docker top 3399aa2fdec16801c4670e31517ae62c6886059b414b36cf678e8648ee65bd1f -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:03 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:03 + mkdir -p /var/log/sysstat [Pipeline] sh 22:54:04 + ls /var/log/sa-host 22:54:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:04 provisioning config files... 22:54:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-89@tmp/config8755212420539330473tmp [Pipeline] { [Pipeline] echo 22:54:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:04 ---> create-netrc.sh [Pipeline] } 22:54:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:54:05 ---> python-tools-install.sh [Pipeline] echo 22:54:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:05 ---> sudo-logs.sh 22:54:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:05 ---> job-cost.sh 22:54:05 lf-activate-venv: SKIPPING 22:54:05 DEBUG: total: 0.2199999988079071 22:54:05 INFO: Retrieving Stack Cost... 22:54:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:54:07 INFO: Archiving Costs [Pipeline] echo 22:54:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:07 ---> logs-deploy.sh 22:54:07 lf-activate-venv: SKIPPING 22:54:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-89/1 22:54:07 INFO: archiving workspace using pattern(s): 22:54:08 Archives upload complete. 22:54:08 INFO: archiving logs to Nexus