Pull request #94 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e271875ee01e2c7d348b9e74171808a19f213d7+3817b545243506d6c11f8926a861473cd0c4170b (cc897137295257bc97abeab33bb6cd6a49fb40c3) 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-ssh370401843174639421.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-ssh4038154683991266265.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-94/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-94/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5214826601063409326.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-94/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5867655143652186200.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-ssh16687849208593770460.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-94/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-94/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11060444645118486870.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-16815 in /w/workspace/ry_app-rfid-llrp-inventory_PR-94 [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-94 # 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 3817b545243506d6c11f8926a861473cd0c4170b into PR head commit 3e271875ee01e2c7d348b9e74171808a19f213d7 Merge succeeded, producing 3e271875ee01e2c7d348b9e74171808a19f213d7 Checking out Revision 3e271875ee01e2c7d348b9e74171808a19f213d7 (PR-94) > 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/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e271875ee01e2c7d348b9e74171808a19f213d7 # 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 3817b545243506d6c11f8926a861473cd0c4170b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e271875ee01e2c7d348b9e74171808a19f213d7 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0" 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 13:14:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:14:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:14:05 ========================================================= 13:14:05 EdgeX Global Pipelines Version Info 13:14:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:14:06 ------------------- 13:14:06 stable info: 13:14:06 ------------------- 13:14:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:14:06 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:14:06 Message: update stable to v1.0.234 13:14:07 ------------------- 13:14:07 experimental info: 13:14:07 ------------------- 13:14:07 Commited By: **** collab-it+edgex@linuxfoundation.org 13:14:07 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 13:14:07 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e271875ee01e2c7d348b9e74171808a19f213d7 [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e27187 [Pipeline] echo 13:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:14:09 provisioning config files... 13:14:09 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/config6551422482850713896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:14:09 ---> docker-login.sh 13:14:09 nexus3.edgexfoundry.org:10001 13:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:09 Configure a credential helper to remove this warning. See 13:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:09 13:14:09 Login Succeeded 13:14:09 nexus3.edgexfoundry.org:10002 13:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:09 Configure a credential helper to remove this warning. See 13:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:09 13:14:09 Login Succeeded 13:14:09 nexus3.edgexfoundry.org:10003 13:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:09 Configure a credential helper to remove this warning. See 13:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:09 13:14:09 Login Succeeded 13:14:09 nexus3.edgexfoundry.org:10004 13:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:10 Configure a credential helper to remove this warning. See 13:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:10 13:14:10 Login Succeeded 13:14:10 docker.io 13:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:10 Configure a credential helper to remove this warning. See 13:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:10 13:14:10 Login Succeeded 13:14:10 ---> docker-login.sh ends [Pipeline] } 13:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:14:11 + git rev-list -1 --merges 3e271875ee01e2c7d348b9e74171808a19f213d7~1..3e271875ee01e2c7d348b9e74171808a19f213d7 [Pipeline] echo 13:14:11 -----------> git rev-list -1 --merges 3e271875ee01e2c7d348b9e74171808a19f213d7~1..3e271875ee01e2c7d348b9e74171808a19f213d7 3e271875ee01e2c7d348b9e74171808a19f213d7 [false] [Pipeline] sh 13:14:11 + git log --format=format:%s -1 3e271875ee01e2c7d348b9e74171808a19f213d7 [Pipeline] echo 13:14:11 ========================================================= 13:14:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:14:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:12 + git log --format=format:%s -1 3e271875ee01e2c7d348b9e74171808a19f213d7 [Pipeline] echo 13:14:12 [semverPrep] GIT_COMMIT: 3e271875ee01e2c7d348b9e74171808a19f213d7, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 [Pipeline] echo 13:14:12 [semverPrep] This is not a build commit. [Pipeline] sh 13:14:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:14:12 + grep -v github /etc/ssh/ssh_known_hosts 13:14:12 + [ -e /tmp/ssh_known_hosts ] 13:14:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:14:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:14:12 + sudo tee -a /etc/ssh/ssh_known_hosts 13:14:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:12 13:14:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:13 0.1.4: Pulling from edgex-devops/py-git-semver 13:14:13 42c077c10790: Pulling fs layer 13:14:13 f63e77b7563a: Pulling fs layer 13:14:13 bd5fdadae976: Pulling fs layer 13:14:13 205491f53016: Pulling fs layer 13:14:13 df18705c85c3: Pulling fs layer 13:14:13 bdb3f477010e: Pulling fs layer 13:14:13 c8a8fc8e1c8f: Pulling fs layer 13:14:13 2c6e9b1d212d: Pulling fs layer 13:14:13 bdb8f0575790: Pulling fs layer 13:14:13 386e3cb2ff24: Pulling fs layer 13:14:13 2343380bae48: Pulling fs layer 13:14:13 205491f53016: Waiting 13:14:13 df18705c85c3: Waiting 13:14:13 2c6e9b1d212d: Waiting 13:14:13 c8a8fc8e1c8f: Waiting 13:14:13 386e3cb2ff24: Waiting 13:14:13 2343380bae48: Waiting 13:14:13 bdb3f477010e: Waiting 13:14:13 bdb8f0575790: Waiting 13:14:13 f63e77b7563a: Download complete 13:14:13 205491f53016: Verifying Checksum 13:14:13 205491f53016: Download complete 13:14:13 df18705c85c3: Verifying Checksum 13:14:13 df18705c85c3: Download complete 13:14:13 bdb3f477010e: Download complete 13:14:13 bd5fdadae976: Verifying Checksum 13:14:13 bd5fdadae976: Download complete 13:14:13 2c6e9b1d212d: Verifying Checksum 13:14:13 2c6e9b1d212d: Download complete 13:14:13 bdb8f0575790: Download complete 13:14:13 386e3cb2ff24: Verifying Checksum 13:14:13 386e3cb2ff24: Download complete 13:14:13 2343380bae48: Verifying Checksum 13:14:13 2343380bae48: Download complete 13:14:13 42c077c10790: Verifying Checksum 13:14:13 42c077c10790: Download complete 13:14:13 c8a8fc8e1c8f: Verifying Checksum 13:14:13 c8a8fc8e1c8f: Download complete 13:14:15 42c077c10790: Pull complete 13:14:15 f63e77b7563a: Pull complete 13:14:15 bd5fdadae976: Pull complete 13:14:15 205491f53016: Pull complete 13:14:16 df18705c85c3: Pull complete 13:14:16 bdb3f477010e: Pull complete 13:14:18 c8a8fc8e1c8f: Pull complete 13:14:18 2c6e9b1d212d: Pull complete 13:14:18 bdb8f0575790: Pull complete 13:14:18 386e3cb2ff24: Pull complete 13:14:18 2343380bae48: Pull complete 13:14:18 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 13:14:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:18 prd-ubuntu20.04-docker-8c-8g-16815 does not seem to be running inside a container 13:14:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-94 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94:/w/workspace/ry_app-rfid-llrp-inventory_PR-94:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:14:20 $ docker top 11878017ad1f1cd53e10c33bd77aae3eb89e080c8d44711cc69c332d05d6fa9b -eo pid,comm 13:14:20 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). 13:14:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:14:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:14:20 [ssh-agent] Looking for ssh-agent implementation... 13:14:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:14:20 $ docker exec 11878017ad1f1cd53e10c33bd77aae3eb89e080c8d44711cc69c332d05d6fa9b ssh-agent 13:14:20 SSH_AUTH_SOCK=/tmp/ssh-s3TJ5lE59EUu/agent.33 13:14:20 SSH_AGENT_PID=40 13:14:20 Running ssh-add (command line suppressed) 13:14:20 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/private_key_7066089426515068537.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/private_key_7066089426515068537.key) 13:14:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:14:21 + git tag --points-at HEAD [Pipeline] } 13:14:21 $ docker exec --env ******** --env ******** 11878017ad1f1cd53e10c33bd77aae3eb89e080c8d44711cc69c332d05d6fa9b ssh-agent -k 13:14:21 unset SSH_AUTH_SOCK; 13:14:21 unset SSH_AGENT_PID; 13:14:21 echo Agent pid 40 killed; 13:14:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:14:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:14:21 [ssh-agent] Looking for ssh-agent implementation... 13:14:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:14:21 $ docker exec 11878017ad1f1cd53e10c33bd77aae3eb89e080c8d44711cc69c332d05d6fa9b ssh-agent 13:14:21 SSH_AUTH_SOCK=/tmp/ssh-V0g2kbdJ5jFZ/agent.72 13:14:21 SSH_AGENT_PID=79 13:14:21 Running ssh-add (command line suppressed) 13:14:22 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/private_key_8110203778031512356.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/private_key_8110203778031512356.key) 13:14:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:14:22 + git semver init 13:14:22 2022-07-04 13:14:22,629 [run_init] DEBUG init version:0.0.0 force:False 13:14:22 2022-07-04 13:14:22,630 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver 13:14:22 2022-07-04 13:14:22,631 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver 13:14:22 2022-07-04 13:14:22,631 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-94, universal_newlines=False, shell=None, istream=None) 13:14:23 2022-07-04 13:14:23,613 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-94/.git/info/exclude 13:14:23 2022-07-04 13:14:23,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver/PR-94 with force:False 13:14:23 2022-07-04 13:14:23,614 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver/PR-94 13:14:23 2022-07-04 13:14:23,618 [execute] INFO git cat-file --batch-check 13:14:23 2022-07-04 13:14:23,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver, universal_newlines=False, shell=None, istream=) 13:14:23 2022-07-04 13:14:23,625 [execute] INFO git cat-file --batch 13:14:23 2022-07-04 13:14:23,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver, universal_newlines=False, shell=None, istream=) 13:14:23 2022-07-04 13:14:23,630 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-94/.semver/PR-94 13:14:23 0.0.0 [Pipeline] } 13:14:23 $ docker exec --env ******** --env ******** 11878017ad1f1cd53e10c33bd77aae3eb89e080c8d44711cc69c332d05d6fa9b ssh-agent -k 13:14:24 unset SSH_AUTH_SOCK; 13:14:24 unset SSH_AGENT_PID; 13:14:24 echo Agent pid 79 killed; 13:14:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:14:24 + git semver [Pipeline] } 13:14:24 $ docker stop --time=1 11878017ad1f1cd53e10c33bd77aae3eb89e080c8d44711cc69c332d05d6fa9b 13:14:26 $ docker rm -f 11878017ad1f1cd53e10c33bd77aae3eb89e080c8d44711cc69c332d05d6fa9b [Pipeline] // withDockerContainer [Pipeline] sh 13:14:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:14:26 Stashed 1 file(s) [Pipeline] echo 13:14:26 [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 13:14:27 provisioning config files... 13:14:27 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/config6466921521376608090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:14:27 ---> docker-login.sh 13:14:27 nexus3.edgexfoundry.org:10001 13:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:27 Configure a credential helper to remove this warning. See 13:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:27 13:14:27 Login Succeeded 13:14:27 nexus3.edgexfoundry.org:10002 13:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:27 Configure a credential helper to remove this warning. See 13:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:27 13:14:27 Login Succeeded 13:14:27 nexus3.edgexfoundry.org:10003 13:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:27 Configure a credential helper to remove this warning. See 13:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:27 13:14:27 Login Succeeded 13:14:27 nexus3.edgexfoundry.org:10004 13:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:28 Configure a credential helper to remove this warning. See 13:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:28 13:14:28 Login Succeeded 13:14:28 docker.io 13:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:28 Configure a credential helper to remove this warning. See 13:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:28 13:14:28 Login Succeeded 13:14:28 ---> docker-login.sh ends [Pipeline] } 13:14:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:14:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:14:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:14:28 ========================================================= 13:14:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:14:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:29 + 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 . 13:14:29 Sending build context to Docker daemon 12.44MB 13:14:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:14:29 Step 2/13 : FROM ${BASE} AS builder 13:14:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:14:29 59bf1c3509f3: Pulling fs layer 13:14:29 666ba61612fd: Pulling fs layer 13:14:29 8ed8ca486205: Pulling fs layer 13:14:29 cc1cd167ecdc: Pulling fs layer 13:14:29 c516ae0d96e1: Pulling fs layer 13:14:29 684cea983483: Pulling fs layer 13:14:29 dd3240ac7de5: Pulling fs layer 13:14:29 b1e948a4e11c: Pulling fs layer 13:14:29 a8fd76ee1af6: Pulling fs layer 13:14:29 646ad004c059: Pulling fs layer 13:14:29 dd3240ac7de5: Waiting 13:14:29 b1e948a4e11c: Waiting 13:14:29 a8fd76ee1af6: Waiting 13:14:29 646ad004c059: Waiting 13:14:29 c516ae0d96e1: Waiting 13:14:29 684cea983483: Waiting 13:14:29 cc1cd167ecdc: Waiting 13:14:29 8ed8ca486205: Verifying Checksum 13:14:29 8ed8ca486205: Download complete 13:14:29 666ba61612fd: Verifying Checksum 13:14:29 666ba61612fd: Download complete 13:14:29 c516ae0d96e1: Verifying Checksum 13:14:29 c516ae0d96e1: Download complete 13:14:29 684cea983483: Verifying Checksum 13:14:29 684cea983483: Download complete 13:14:29 dd3240ac7de5: Verifying Checksum 13:14:29 dd3240ac7de5: Download complete 13:14:29 59bf1c3509f3: Verifying Checksum 13:14:29 b1e948a4e11c: Verifying Checksum 13:14:29 b1e948a4e11c: Download complete 13:14:29 59bf1c3509f3: Pull complete 13:14:29 666ba61612fd: Pull complete 13:14:29 8ed8ca486205: Pull complete 13:14:30 cc1cd167ecdc: Verifying Checksum 13:14:30 cc1cd167ecdc: Download complete 13:14:30 646ad004c059: Verifying Checksum 13:14:30 646ad004c059: Download complete 13:14:30 a8fd76ee1af6: Verifying Checksum 13:14:30 a8fd76ee1af6: Download complete 13:14:34 cc1cd167ecdc: Pull complete 13:14:34 c516ae0d96e1: Pull complete 13:14:34 684cea983483: Pull complete 13:14:34 dd3240ac7de5: Pull complete 13:14:34 b1e948a4e11c: Pull complete 13:14:37 a8fd76ee1af6: Pull complete 13:14:37 646ad004c059: Pull complete 13:14:37 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 13:14:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:14:37 ---> 8f69c11f6b0c 13:14:37 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:14:39 ---> Running in db2bdf503116 13:14:39 Removing intermediate container db2bdf503116 13:14:39 ---> a9dd3e7aa836 13:14:39 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:14:39 ---> Running in 271fd27d1762 13:14:39 Removing intermediate container 271fd27d1762 13:14:39 ---> 8f2190288fe3 13:14:39 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:14:39 ---> Running in 92b9e2916658 13:14:39 Removing intermediate container 92b9e2916658 13:14:39 ---> 901975fa14ac 13:14:39 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:39 ---> Running in 7f785ee08a6e 13:14:40 Removing intermediate container 7f785ee08a6e 13:14:40 ---> e67ab3970476 13:14:40 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:40 ---> Running in 871f8fbbb22d 13:14:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:14:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:14:41 OK: 221 MiB in 52 packages 13:14:42 Removing intermediate container 871f8fbbb22d 13:14:42 ---> ee10d1e97a05 13:14:42 Step 8/13 : WORKDIR /app 13:14:42 ---> Running in 8f555e7631e9 13:14:42 Still waiting to schedule task 13:14:42 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16816’ is offline 13:14:42 Removing intermediate container 8f555e7631e9 13:14:42 ---> 665d2ae52f44 13:14:42 Step 9/13 : COPY go.mod vendor* ./ 13:14:42 ---> d614418db78b 13:14:42 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:42 ---> Running in 922b109cf91c 13:14:57 Removing intermediate container 922b109cf91c 13:14:57 ---> e0c9ac0e8ec7 13:14:57 Step 11/13 : COPY . . 13:14:57 ---> 5e61560b27cf 13:14:57 Step 12/13 : ARG MAKE="make build" 13:14:57 ---> Running in aa3f26b1a64f 13:14:57 Removing intermediate container aa3f26b1a64f 13:14:57 ---> b22283627b75 13:14:57 Step 13/13 : RUN $MAKE 13:14:57 ---> Running in b7384d7d0b46 13:14:57 noop 13:14:57 Removing intermediate container b7384d7d0b46 13:14:57 ---> daf34ae3f10d 13:14:57 Successfully built daf34ae3f10d 13:14:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:58 + docker inspect -f . ci-base-image-x86_64 13:14:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:58 prd-ubuntu20.04-docker-8c-8g-16815 does not seem to be running inside a container 13:14:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-94 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94:/w/workspace/ry_app-rfid-llrp-inventory_PR-94:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@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 ******** ci-base-image-x86_64 cat 13:14:58 $ docker top 45f7c4e3c399b4604d947d8b2261390e053cc0c1d1750515506ae99d4dc1f5e3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:59 + go version 13:14:59 go version go1.17.7 linux/amd64 [Pipeline] } 13:14:59 $ docker stop --time=1 45f7c4e3c399b4604d947d8b2261390e053cc0c1d1750515506ae99d4dc1f5e3 13:15:00 $ docker rm -f 45f7c4e3c399b4604d947d8b2261390e053cc0c1d1750515506ae99d4dc1f5e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:01 + docker inspect -f . ci-base-image-x86_64 13:15:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:01 prd-ubuntu20.04-docker-8c-8g-16815 does not seem to be running inside a container 13:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-94 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94:/w/workspace/ry_app-rfid-llrp-inventory_PR-94:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@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 ******** ci-base-image-x86_64 cat 13:15:01 $ docker top 1c8984a90ed22b3d1c002cde1a4fbd4bb466258eaebb732322c8823cd14c51b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:15:02 + make test 13:15:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:15:14 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:15:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.073s coverage: 86.2% of statements 13:15:14 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:15:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.548s coverage: 71.9% of statements 13:15:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:15:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:15:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:15:28 ./bin/test-attribution.sh [Pipeline] echo 13:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:15:28 $ docker stop --time=1 1c8984a90ed22b3d1c002cde1a4fbd4bb466258eaebb732322c8823cd14c51b1 13:15:30 $ docker rm -f 1c8984a90ed22b3d1c002cde1a4fbd4bb466258eaebb732322c8823cd14c51b1 [Pipeline] // withDockerContainer [Pipeline] sh 13:15:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:15:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:15:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:15:32 + ls -al . 13:15:32 total 228 13:15:32 drwxrwxr-x 11 jenkins jenkins 4096 Jul 4 13:15 . 13:15:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 13:14 .. 13:15:32 -rw-rw-r-- 1 jenkins jenkins 262 Jul 4 13:14 .dockerignore 13:15:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 13:14 .git 13:15:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 13:14 .github 13:15:32 -rw-rw-r-- 1 jenkins jenkins 788 Jul 4 13:14 .gitignore 13:15:32 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 13:14 .golangci.yml 13:15:32 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 13:14 .semver 13:15:32 -rw-rw-r-- 1 jenkins jenkins 9413 Jul 4 13:14 Attribution.txt 13:15:32 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 4 13:14 CHANGELOG.md 13:15:32 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 4 13:14 Dockerfile 13:15:32 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 13:14 GOVERNANCE.md 13:15:32 -rw-rw-r-- 1 jenkins jenkins 687 Jul 4 13:14 Jenkinsfile 13:15:32 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 4 13:14 LICENSE 13:15:32 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 4 13:14 Makefile 13:15:32 -rw-rw-r-- 1 jenkins jenkins 617 Jul 4 13:14 OWNERS.md 13:15:32 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 4 13:14 README.md 13:15:32 -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 13:14 VERSION 13:15:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 13:14 bin 13:15:32 -rw-r--r-- 1 jenkins jenkins 41008 Jul 4 13:15 coverage.out 13:15:32 -rw-rw-r-- 1 jenkins jenkins 3475 Jul 4 13:14 go.mod 13:15:32 -rw-rw-r-- 1 jenkins jenkins 36231 Jul 4 13:14 go.sum 13:15:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 13:14 images 13:15:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 13:14 internal 13:15:32 -rw-rw-r-- 1 jenkins jenkins 531 Jul 4 13:14 main.go 13:15:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 13:14 res 13:15:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 13:14 snap 13:15:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 13:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:32 + 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=3e271875ee01e2c7d348b9e74171808a19f213d7 --label arch=amd64 --label version=0.0.0 . 13:15:32 Sending build context to Docker daemon 12.44MB 13:15:32 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 13:15:32 Step 2/31 : FROM ${BASE} AS builder 13:15:32 ---> daf34ae3f10d 13:15:32 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:15:32 ---> Running in 993dd764d10d 13:15:32 Removing intermediate container 993dd764d10d 13:15:32 ---> 3f3922c559f2 13:15:32 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:15:32 ---> Running in 35f932cdb05b 13:15:32 Removing intermediate container 35f932cdb05b 13:15:32 ---> b25c4fb6a23b 13:15:32 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:15:33 ---> Running in 04648118af23 13:15:33 Removing intermediate container 04648118af23 13:15:33 ---> 502ce03809fd 13:15:33 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:33 ---> Running in b215570ee49d 13:15:33 Removing intermediate container b215570ee49d 13:15:33 ---> 5acb3f665e8d 13:15:33 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:33 ---> Running in 719d0000624b 13:15:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:15:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:15:35 OK: 221 MiB in 52 packages 13:15:35 Removing intermediate container 719d0000624b 13:15:35 ---> d27268981a5a 13:15:35 Step 8/31 : WORKDIR /app 13:15:35 ---> Running in 65cec22db403 13:15:35 Removing intermediate container 65cec22db403 13:15:35 ---> 5dcd009fe9de 13:15:35 Step 9/31 : COPY go.mod vendor* ./ 13:15:35 ---> 78d177500187 13:15:35 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:35 ---> Running in 966c10d2c5e2 13:15:36 Removing intermediate container 966c10d2c5e2 13:15:36 ---> 5c127c493b32 13:15:36 Step 11/31 : COPY . . 13:15:36 ---> 9ffd0e680bfb 13:15:36 Step 12/31 : ARG MAKE="make build" 13:15:36 ---> Running in 4eecb2bc2755 13:15:36 Removing intermediate container 4eecb2bc2755 13:15:36 ---> 839d962ded84 13:15:36 Step 13/31 : RUN $MAKE 13:15:36 ---> Running in ea56d5554b46 13:15:37 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 13:15:59 Removing intermediate container ea56d5554b46 13:15:59 ---> dd994f587a09 13:15:59 Step 14/31 : FROM alpine:3.14 13:15:59 3.14: Pulling from library/alpine 13:15:59 8663204ce13b: Pulling fs layer 13:15:59 8663204ce13b: Verifying Checksum 13:15:59 8663204ce13b: Download complete 13:15:59 8663204ce13b: Pull complete 13:15:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:15:59 Status: Downloaded newer image for alpine:3.14 13:15:59 ---> e04c818066af 13:15:59 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:15:59 ---> Running in 3cbc313ddcbd 13:15:59 Removing intermediate container 3cbc313ddcbd 13:15:59 ---> be8a1356499f 13:15:59 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:15:59 ---> Running in f972458f077f 13:15:59 Removing intermediate container f972458f077f 13:15:59 ---> 932de1e86288 13:15:59 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:59 ---> Running in f646f308c79d 13:15:59 Removing intermediate container f646f308c79d 13:15:59 ---> e8a22b989a5a 13:15:59 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:15:59 ---> Running in 94eaf75571f4 13:15:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:15:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:15:59 (1/7) Installing ca-certificates (20211220-r0) 13:15:59 (2/7) Installing dumb-init (1.2.5-r1) 13:15:59 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:15:59 (4/7) Installing libsodium (1.0.18-r0) 13:16:00 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:16:00 (6/7) Installing libzmq (4.3.4-r0) 13:16:00 (7/7) Installing zeromq (4.3.4-r0) 13:16:00 Executing busybox-1.33.1-r7.trigger 13:16:00 Executing ca-certificates-20211220-r0.trigger 13:16:00 OK: 9 MiB in 21 packages 13:16:01 Removing intermediate container 94eaf75571f4 13:16:01 ---> 8105948b7d6f 13:16:01 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:16:01 ---> 7948f91b1f3c 13:16:01 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:16:01 ---> 14e4b3e23f29 13:16:01 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:16:01 ---> f1642bf5a0e2 13:16:01 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:16:01 ---> 409a8fc02193 13:16:01 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:16:02 ---> c3f56b15c3ee 13:16:02 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:16:02 ---> Running in 827f5c07ed9b 13:16:02 Removing intermediate container 827f5c07ed9b 13:16:02 ---> 3abd95cad6c3 13:16:02 Step 25/31 : VOLUME /cache 13:16:02 ---> Running in 59f38391b15d 13:16:02 Removing intermediate container 59f38391b15d 13:16:02 ---> d0ece1d08155 13:16:02 Step 26/31 : EXPOSE 59711 13:16:02 ---> Running in 7916d6021500 13:16:02 Removing intermediate container 7916d6021500 13:16:02 ---> 6dfd81f7a34d 13:16:02 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:16:02 ---> Running in 0864985b3560 13:16:02 Removing intermediate container 0864985b3560 13:16:02 ---> 5bfdd2b71e2f 13:16:02 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:16:02 ---> Running in 12cd80dcb653 13:16:03 Removing intermediate container 12cd80dcb653 13:16:03 ---> 9aa90c32710b 13:16:03 Step 29/31 : LABEL arch=amd64 13:16:03 ---> Running in a43edb30a61a 13:16:03 Removing intermediate container a43edb30a61a 13:16:03 ---> b704cd8e1ebf 13:16:03 Step 30/31 : LABEL git_sha=3e271875ee01e2c7d348b9e74171808a19f213d7 13:16:03 ---> Running in 4cf069313baf 13:16:03 Removing intermediate container 4cf069313baf 13:16:03 ---> 1681aea13e13 13:16:03 Step 31/31 : LABEL version=0.0.0 13:16:03 ---> Running in b0e7a964840d 13:16:03 Removing intermediate container b0e7a964840d 13:16:03 ---> 71236cf75f2a 13:16:03 [Warning] One or more build-args [ARCH] were not consumed 13:16:03 Successfully built 71236cf75f2a 13:16:03 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 13:16:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:04 13:16:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:04 latest: Pulling from edgex-lftools-log-publisher 13:16:04 5eb5b503b376: Pulling fs layer 13:16:04 5c69ac0246d0: Pulling fs layer 13:16:04 ec43610c2a17: Pulling fs layer 13:16:04 3a2ae6a8a46f: Pulling fs layer 13:16:04 33b1e0a273af: Pulling fs layer 13:16:04 3a2ae6a8a46f: Waiting 13:16:04 5d3b04190fa2: Pulling fs layer 13:16:04 2f39f015ded8: Pulling fs layer 13:16:04 33b1e0a273af: Waiting 13:16:04 5d3b04190fa2: Waiting 13:16:04 5c69ac0246d0: Download complete 13:16:04 3a2ae6a8a46f: Verifying Checksum 13:16:04 3a2ae6a8a46f: Download complete 13:16:04 33b1e0a273af: Verifying Checksum 13:16:04 33b1e0a273af: Download complete 13:16:04 5d3b04190fa2: Verifying Checksum 13:16:04 5d3b04190fa2: Download complete 13:16:04 ec43610c2a17: Verifying Checksum 13:16:04 ec43610c2a17: Download complete 13:16:04 5eb5b503b376: Verifying Checksum 13:16:04 5eb5b503b376: Download complete 13:16:05 2f39f015ded8: Verifying Checksum 13:16:05 2f39f015ded8: Download complete 13:16:06 5eb5b503b376: Pull complete 13:16:06 5c69ac0246d0: Pull complete 13:16:07 ec43610c2a17: Pull complete 13:16:07 3a2ae6a8a46f: Pull complete 13:16:07 33b1e0a273af: Pull complete 13:16:07 5d3b04190fa2: Pull complete 13:16:12 2f39f015ded8: Pull complete 13:16:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:12 prd-ubuntu20.04-docker-8c-8g-16815 does not seem to be running inside a container 13:16:12 $ 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-94 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94:/w/workspace/ry_app-rfid-llrp-inventory_PR-94:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:16:14 $ docker top c2739b1496ef1f86fb256a198bf87b8f3b8dcc0808ffb93f65357816d98d654e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:15 ---> job-cost.sh 13:16:15 lf-activate-venv: SKIPPING 13:16:15 INFO: No Stack... 13:16:15 INFO: Retrieving Pricing Info for: v3-standard-8 13:16:15 INFO: Archiving Costs [Pipeline] sh 13:16:16 + cut -d, -f6 13:16:16 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-94/archives/cost.csv [Pipeline] lock 13:16:16 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] 13:16:16 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] did not exist. Created. 13:16:16 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:16:16 + echo total: 0.2199999988079071 [Pipeline] stash 13:16:16 Stashed 1 file(s) [Pipeline] } 13:16:16 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:16:16 $ docker stop --time=1 c2739b1496ef1f86fb256a198bf87b8f3b8dcc0808ffb93f65357816d98d654e 13:16:18 $ docker rm -f c2739b1496ef1f86fb256a198bf87b8f3b8dcc0808ffb93f65357816d98d654e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:17:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16817 in /w/workspace/ry_app-rfid-llrp-inventory_PR-94 [Pipeline] { [Pipeline] ws 13:17:14 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:17:14 The recommended git tool is: git 13:17:22 using credential edgex-jenkins-ssh 13:17:22 Cloning the remote Git repository 13:17:22 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:17:22 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:17:22 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:17:22 > git --version # timeout=10 13:17:22 > git --version # 'git version 2.25.1' 13:17:22 using GIT_SSH to set credentials SSH Credentials for GitHub 13:17:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:17:25 Merging remotes/origin/main commit 3817b545243506d6c11f8926a861473cd0c4170b into PR head commit 3e271875ee01e2c7d348b9e74171808a19f213d7 13:17:25 Merge succeeded, producing 3e271875ee01e2c7d348b9e74171808a19f213d7 13:17:25 Checking out Revision 3e271875ee01e2c7d348b9e74171808a19f213d7 (PR-94) 13:17:24 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:17:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:17:24 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:17:24 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:17:24 using GIT_SSH to set credentials SSH Credentials for GitHub 13:17:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:17:25 > git config core.sparsecheckout # timeout=10 13:17:25 > git checkout -f 3e271875ee01e2c7d348b9e74171808a19f213d7 # timeout=10 13:17:25 > git remote # timeout=10 13:17:25 > git config --get remote.origin.url # timeout=10 13:17:25 using GIT_SSH to set credentials SSH Credentials for GitHub 13:17:25 > git merge 3817b545243506d6c11f8926a861473cd0c4170b # timeout=10 13:17:25 > git rev-parse HEAD^{commit} # timeout=10 13:17:25 > git config core.sparsecheckout # timeout=10 13:17:25 > git checkout -f 3e271875ee01e2c7d348b9e74171808a19f213d7 # timeout=10 13:17:29 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0" 13:17:29 > git --version # timeout=10 13:17:29 > git --version # 'git version 2.25.1' 13:17:29 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:17:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:17:30 % Total % Received % Xferd Average Speed Time Time Time Current 13:17:30 Dload Upload Total Spent Left Speed 13:17:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 13:17:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:17:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:17:32 + sudo tee /etc/docker/daemon.new 13:17:32 { 13:17:32 "registry-mirrors": [ 13:17:32 "https://nexus3.edgexfoundry.org:10001" 13:17:32 ], 13:17:32 "bip": "10.250.0.254/24", 13:17:32 "hosts": [ 13:17:32 "tcp://0.0.0.0:5555", 13:17:32 "unix:///var/run/docker.sock" 13:17:32 ], 13:17:32 "mtu": 1458, 13:17:32 "selinux-enabled": true, 13:17:32 "seccomp-profile": "/etc/docker/seccomp.json" 13:17:32 } [Pipeline] sh 13:17:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:17:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:51 provisioning config files... 13:17:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config2438470215087232798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:51 ---> docker-login.sh 13:17:51 nexus3.edgexfoundry.org:10001 13:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:52 Configure a credential helper to remove this warning. See 13:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:52 13:17:52 Login Succeeded 13:17:52 nexus3.edgexfoundry.org:10002 13:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:53 Configure a credential helper to remove this warning. See 13:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:53 13:17:53 Login Succeeded 13:17:53 nexus3.edgexfoundry.org:10003 13:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:53 Configure a credential helper to remove this warning. See 13:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:53 13:17:53 Login Succeeded 13:17:53 nexus3.edgexfoundry.org:10004 13:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:53 Configure a credential helper to remove this warning. See 13:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:53 13:17:53 Login Succeeded 13:17:53 docker.io 13:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:54 Configure a credential helper to remove this warning. See 13:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:54 13:17:54 Login Succeeded 13:17:54 ---> docker-login.sh ends [Pipeline] } 13:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:17:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:17:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:17:55 ========================================================= 13:17:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:17:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:55 + 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 . 13:17:55 Sending build context to Docker daemon 687.6kB 13:17:55 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:17:55 Step 2/13 : FROM ${BASE} AS builder 13:17:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:17:56 9b3977197b4f: Pulling fs layer 13:17:56 1a89e8eeedd5: Pulling fs layer 13:17:56 94645a83ff95: Pulling fs layer 13:17:56 e6fb740bc735: Pulling fs layer 13:17:56 3a77bd46dcc9: Pulling fs layer 13:17:56 355e64cbe906: Pulling fs layer 13:17:56 63ab81a10011: Pulling fs layer 13:17:56 555d1d1c4555: Pulling fs layer 13:17:56 7d9057610161: Pulling fs layer 13:17:56 355e64cbe906: Waiting 13:17:56 63ab81a10011: Waiting 13:17:56 555d1d1c4555: Waiting 13:17:56 7d9057610161: Waiting 13:17:56 e6fb740bc735: Waiting 13:17:56 3a77bd46dcc9: Waiting 13:17:56 94645a83ff95: Verifying Checksum 13:17:56 94645a83ff95: Download complete 13:17:56 1a89e8eeedd5: Verifying Checksum 13:17:56 1a89e8eeedd5: Download complete 13:17:56 3a77bd46dcc9: Verifying Checksum 13:17:56 3a77bd46dcc9: Download complete 13:17:56 355e64cbe906: Verifying Checksum 13:17:56 355e64cbe906: Download complete 13:17:56 9b3977197b4f: Verifying Checksum 13:17:56 9b3977197b4f: Download complete 13:17:56 63ab81a10011: Download complete 13:17:57 9b3977197b4f: Pull complete 13:17:57 7d9057610161: Verifying Checksum 13:17:57 7d9057610161: Download complete 13:17:57 1a89e8eeedd5: Pull complete 13:17:58 94645a83ff95: Pull complete 13:17:58 555d1d1c4555: Verifying Checksum 13:17:58 555d1d1c4555: Download complete 13:17:59 e6fb740bc735: Verifying Checksum 13:17:59 e6fb740bc735: Download complete 13:18:11 e6fb740bc735: Pull complete 13:18:11 3a77bd46dcc9: Pull complete 13:18:11 355e64cbe906: Pull complete 13:18:11 63ab81a10011: Pull complete 13:18:17 555d1d1c4555: Pull complete 13:18:19 7d9057610161: Pull complete 13:18:19 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 13:18:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:18:19 ---> 819e984ddca1 13:18:19 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:18:21 ---> Running in 810a4b235ca3 13:18:21 Removing intermediate container 810a4b235ca3 13:18:21 ---> fb0d6bcc1a1c 13:18:21 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:18:21 ---> Running in 3c80524baef6 13:18:21 Removing intermediate container 3c80524baef6 13:18:21 ---> d5345ff3fdac 13:18:21 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:18:21 ---> Running in d0afcbe46463 13:18:22 Removing intermediate container d0afcbe46463 13:18:22 ---> 5285f6c2f09e 13:18:22 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:18:22 ---> Running in e0567668df15 13:18:24 Removing intermediate container e0567668df15 13:18:24 ---> 3774d2b47266 13:18:24 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:18:25 ---> Running in 1c1503aaa067 13:18:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:18:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:18:28 OK: 220 MiB in 52 packages 13:18:28 Removing intermediate container 1c1503aaa067 13:18:28 ---> 977f29a65620 13:18:28 Step 8/13 : WORKDIR /app 13:18:29 ---> Running in 5a28e96d18aa 13:18:29 Removing intermediate container 5a28e96d18aa 13:18:29 ---> e08ac6cdb1b7 13:18:29 Step 9/13 : COPY go.mod vendor* ./ 13:18:29 ---> 8da1519830bf 13:18:29 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:18:29 ---> Running in f123070d05dc 13:19:16 Removing intermediate container f123070d05dc 13:19:16 ---> aebd729dbc0d 13:19:16 Step 11/13 : COPY . . 13:19:16 ---> b2b2d791125e 13:19:16 Step 12/13 : ARG MAKE="make build" 13:19:16 ---> Running in 611cafc7ab95 13:19:16 Removing intermediate container 611cafc7ab95 13:19:16 ---> 3ea91b6d871f 13:19:16 Step 13/13 : RUN $MAKE 13:19:16 ---> Running in d7918803a80c 13:19:17 noop 13:19:18 Removing intermediate container d7918803a80c 13:19:18 ---> 463fa106cd49 13:19:18 Successfully built 463fa106cd49 13:19:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:19 + docker inspect -f . ci-base-image-arm64 13:19:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:19 prd-ubuntu20.04-docker-arm64-4c-16g-16817 does not seem to be running inside a container 13:19:19 $ 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 ******** ci-base-image-arm64 cat 13:19:20 $ docker top d5d8fcbe02045d32fb6a10da6f2dac39dc9a560b1ee8882efe45e9d7380178a4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:21 + go version 13:19:21 go version go1.17.7 linux/arm64 [Pipeline] } 13:19:21 $ docker stop --time=1 d5d8fcbe02045d32fb6a10da6f2dac39dc9a560b1ee8882efe45e9d7380178a4 13:19:23 $ docker rm -f d5d8fcbe02045d32fb6a10da6f2dac39dc9a560b1ee8882efe45e9d7380178a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:24 + docker inspect -f . ci-base-image-arm64 13:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:24 prd-ubuntu20.04-docker-arm64-4c-16g-16817 does not seem to be running inside a container 13:19:24 $ 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 ******** ci-base-image-arm64 cat 13:19:26 $ docker top 8bf2ea334d3d62a987ffafe3fae6d20bc0ddbee28fc79ab2174236589525cb62 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:19:27 + make test 13:19:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:21:03 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:21:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.221s coverage: 86.2% of statements 13:21:03 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:21:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.714s coverage: 71.9% of statements 13:21:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:21:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:21:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:21:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:21:26 ./bin/test-attribution.sh [Pipeline] echo 13:21:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:21:28 $ docker stop --time=1 8bf2ea334d3d62a987ffafe3fae6d20bc0ddbee28fc79ab2174236589525cb62 13:21:30 $ docker rm -f 8bf2ea334d3d62a987ffafe3fae6d20bc0ddbee28fc79ab2174236589525cb62 [Pipeline] // withDockerContainer [Pipeline] sh 13:21:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:21:31 Warning: overwriting stash ‘coverage-report’ 13:21:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:21:33 + ls -al . 13:21:33 total 224 13:21:33 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 13:21 . 13:21:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 13:17 .. 13:21:33 -rw-rw-r-- 1 jenkins jenkins 262 Jul 4 13:17 .dockerignore 13:21:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 13:17 .git 13:21:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 13:17 .github 13:21:33 -rw-rw-r-- 1 jenkins jenkins 788 Jul 4 13:17 .gitignore 13:21:33 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 13:17 .golangci.yml 13:21:33 -rw-rw-r-- 1 jenkins jenkins 9413 Jul 4 13:17 Attribution.txt 13:21:33 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 4 13:17 CHANGELOG.md 13:21:33 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 4 13:17 Dockerfile 13:21:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 13:17 GOVERNANCE.md 13:21:33 -rw-rw-r-- 1 jenkins jenkins 687 Jul 4 13:17 Jenkinsfile 13:21:33 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 4 13:17 LICENSE 13:21:33 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 4 13:17 Makefile 13:21:33 -rw-rw-r-- 1 jenkins jenkins 617 Jul 4 13:17 OWNERS.md 13:21:33 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 4 13:17 README.md 13:21:33 -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 13:14 VERSION 13:21:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 13:17 bin 13:21:33 -rw-r--r-- 1 jenkins jenkins 41008 Jul 4 13:20 coverage.out 13:21:33 -rw-rw-r-- 1 jenkins jenkins 3475 Jul 4 13:17 go.mod 13:21:33 -rw-rw-r-- 1 jenkins jenkins 36231 Jul 4 13:17 go.sum 13:21:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 13:17 images 13:21:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 13:17 internal 13:21:33 -rw-rw-r-- 1 jenkins jenkins 531 Jul 4 13:17 main.go 13:21:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 13:17 res 13:21:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 13:17 snap 13:21:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 13:17 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:33 + 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=3e271875ee01e2c7d348b9e74171808a19f213d7 --label arch=arm64 --label version=0.0.0 . 13:21:33 Sending build context to Docker daemon 687.6kB 13:21:33 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 13:21:33 Step 2/31 : FROM ${BASE} AS builder 13:21:33 ---> 463fa106cd49 13:21:33 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:21:34 ---> Running in 4611f6355cd0 13:21:34 Removing intermediate container 4611f6355cd0 13:21:34 ---> ba9514c69d66 13:21:34 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:21:34 ---> Running in a80afb657faf 13:21:34 Removing intermediate container a80afb657faf 13:21:34 ---> 159eae985aa5 13:21:34 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:21:34 ---> Running in d05d2af0e8a4 13:21:35 Removing intermediate container d05d2af0e8a4 13:21:35 ---> 4a239773ac3e 13:21:35 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:21:35 ---> Running in 126efd699aba 13:21:36 Removing intermediate container 126efd699aba 13:21:36 ---> 58ec2ce6be5b 13:21:36 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:36 ---> Running in 53d127ea7ef1 13:21:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:21:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:21:39 OK: 220 MiB in 52 packages 13:21:40 Removing intermediate container 53d127ea7ef1 13:21:40 ---> 51b2d1f7368d 13:21:40 Step 8/31 : WORKDIR /app 13:21:40 ---> Running in 3f7e338827ed 13:21:40 Removing intermediate container 3f7e338827ed 13:21:40 ---> d1592ec2eb70 13:21:40 Step 9/31 : COPY go.mod vendor* ./ 13:21:41 ---> 2e3db060cb39 13:21:41 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:41 ---> Running in 23a6752536ac 13:21:43 Removing intermediate container 23a6752536ac 13:21:43 ---> 014d99879ebd 13:21:43 Step 11/31 : COPY . . 13:21:43 ---> a5a5a9498f15 13:21:43 Step 12/31 : ARG MAKE="make build" 13:21:43 ---> Running in 7492196aed7c 13:21:44 Removing intermediate container 7492196aed7c 13:21:44 ---> 8cea3b3b68cd 13:21:44 Step 13/31 : RUN $MAKE 13:21:44 ---> Running in a749e7652e96 13:21:45 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 13:23:51 Removing intermediate container a749e7652e96 13:23:51 ---> b68d34332291 13:23:51 Step 14/31 : FROM alpine:3.14 13:23:51 3.14: Pulling from library/alpine 13:23:51 455c02918c45: Pulling fs layer 13:23:51 455c02918c45: Verifying Checksum 13:23:51 455c02918c45: Download complete 13:23:51 455c02918c45: Pull complete 13:23:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:23:51 Status: Downloaded newer image for alpine:3.14 13:23:51 ---> ac73e934f311 13:23:51 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:23:51 ---> Running in 3dbae4070e6c 13:23:51 Removing intermediate container 3dbae4070e6c 13:23:51 ---> 5daffa8cc311 13:23:51 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:23:51 ---> Running in 10a95fcc9f23 13:23:51 Removing intermediate container 10a95fcc9f23 13:23:51 ---> 6c05eb3191e0 13:23:51 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:23:51 ---> Running in 6c0ec1b6ec3f 13:23:51 Removing intermediate container 6c0ec1b6ec3f 13:23:51 ---> 5ff9eb517d91 13:23:51 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:23:51 ---> Running in 022f5a46a01f 13:23:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:23:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:23:51 (1/7) Installing ca-certificates (20211220-r0) 13:23:51 (2/7) Installing dumb-init (1.2.5-r1) 13:23:51 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:23:51 (4/7) Installing libsodium (1.0.18-r0) 13:23:51 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:23:51 (6/7) Installing libzmq (4.3.4-r0) 13:23:51 (7/7) Installing zeromq (4.3.4-r0) 13:23:51 Executing busybox-1.33.1-r7.trigger 13:23:51 Executing ca-certificates-20211220-r0.trigger 13:23:51 OK: 9 MiB in 21 packages 13:23:51 Removing intermediate container 022f5a46a01f 13:23:51 ---> e59f73ed33f5 13:23:51 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:23:51 ---> f09984d96567 13:23:51 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:23:52 ---> d5aba1926ecf 13:23:52 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:23:52 ---> b17c30e0d33b 13:23:52 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:23:53 ---> ec37272ebd57 13:23:53 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:23:54 ---> 2fc7c80e1eb8 13:23:54 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:23:54 ---> Running in d15c4cf17188 13:23:56 Removing intermediate container d15c4cf17188 13:23:56 ---> 69a65f245954 13:23:56 Step 25/31 : VOLUME /cache 13:23:56 ---> Running in 1a6a3b8e0399 13:23:56 Removing intermediate container 1a6a3b8e0399 13:23:56 ---> 68666f2db423 13:23:56 Step 26/31 : EXPOSE 59711 13:23:57 ---> Running in ad6b334d0d4c 13:23:57 Removing intermediate container ad6b334d0d4c 13:23:57 ---> 4baec6d06df1 13:23:57 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:23:57 ---> Running in 43507d72b12a 13:23:57 Removing intermediate container 43507d72b12a 13:23:57 ---> 1658a26a2c38 13:23:57 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:23:57 ---> Running in 9005fd734dfc 13:23:58 Removing intermediate container 9005fd734dfc 13:23:58 ---> 91a094db8094 13:23:58 Step 29/31 : LABEL arch=arm64 13:23:58 ---> Running in d210acc6ebad 13:23:58 Removing intermediate container d210acc6ebad 13:23:58 ---> 6e1a4ab6a594 13:23:58 Step 30/31 : LABEL git_sha=3e271875ee01e2c7d348b9e74171808a19f213d7 13:23:58 ---> Running in 1999e60ddd58 13:23:58 Removing intermediate container 1999e60ddd58 13:23:58 ---> 74474d7bded7 13:23:58 Step 31/31 : LABEL version=0.0.0 13:23:59 ---> Running in 0d60e54c41b2 13:23:59 Removing intermediate container 0d60e54c41b2 13:23:59 ---> 73deadc553d3 13:23:59 [Warning] One or more build-args [ARCH] were not consumed 13:23:59 Successfully built 73deadc553d3 13:23:59 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 13:24:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:00 13:24:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:00 arm64: Pulling from edgex-lftools-log-publisher 13:24:00 8998bd30e6a1: Pulling fs layer 13:24:00 04944245beec: Pulling fs layer 13:24:00 699f458cf7ca: Pulling fs layer 13:24:00 765212b225bb: Pulling fs layer 13:24:00 f23df028b6ca: Pulling fs layer 13:24:00 d65c8cfc05b1: Pulling fs layer 13:24:00 2437ff75d9bd: Pulling fs layer 13:24:00 f23df028b6ca: Waiting 13:24:00 d65c8cfc05b1: Waiting 13:24:00 2437ff75d9bd: Waiting 13:24:00 04944245beec: Verifying Checksum 13:24:00 04944245beec: Download complete 13:24:00 765212b225bb: Verifying Checksum 13:24:00 765212b225bb: Download complete 13:24:00 f23df028b6ca: Verifying Checksum 13:24:00 f23df028b6ca: Download complete 13:24:00 d65c8cfc05b1: Verifying Checksum 13:24:00 d65c8cfc05b1: Download complete 13:24:01 699f458cf7ca: Verifying Checksum 13:24:01 699f458cf7ca: Download complete 13:24:01 8998bd30e6a1: Verifying Checksum 13:24:01 8998bd30e6a1: Download complete 13:24:04 2437ff75d9bd: Verifying Checksum 13:24:04 2437ff75d9bd: Download complete 13:24:06 8998bd30e6a1: Pull complete 13:24:06 04944245beec: Pull complete 13:24:07 699f458cf7ca: Pull complete 13:24:08 765212b225bb: Pull complete 13:24:09 f23df028b6ca: Pull complete 13:24:09 d65c8cfc05b1: Pull complete 13:24:24 2437ff75d9bd: Pull complete 13:24:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:24:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:24 prd-ubuntu20.04-docker-arm64-4c-16g-16817 does not seem to be running inside a container 13:24:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:24:27 $ docker top e59d1401c901dbc3fa4dd40bef19ffef862a051a04442cf6f0e2a0280d9d6e2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:28 ---> job-cost.sh 13:24:28 lf-activate-venv: SKIPPING 13:24:28 INFO: No Stack... 13:24:28 INFO: Retrieving Pricing Info for: v3-standard-4 13:24:29 INFO: Archiving Costs [Pipeline] sh 13:24:30 + + cutcat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv -d, 13:24:30 -f6 [Pipeline] lock 13:24:30 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] 13:24:30 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] did not exist. Created. 13:24:30 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:31 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-85eca90a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:24:32 + echo total: 0.10999999940395355 [Pipeline] stash 13:24:32 Warning: overwriting stash ‘stack-cost’ 13:24:32 Stashed 1 file(s) [Pipeline] } 13:24:32 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:32 $ docker stop --time=1 e59d1401c901dbc3fa4dd40bef19ffef862a051a04442cf6f0e2a0280d9d6e2c 13:24:33 $ docker rm -f e59d1401c901dbc3fa4dd40bef19ffef862a051a04442cf6f0e2a0280d9d6e2c [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 13:24:34 provisioning config files... 13:24:34 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/config8821215408532032944tmp [Pipeline] { [Pipeline] sh 13:24:35 + set +x 13:24:35 + curl -s https://codecov.io/bash 13:24:35 + bash -s -- 13:24:35 13:24:35 _____ _ 13:24:35 / ____| | | 13:24:35 | | ___ __| | ___ ___ _____ __ 13:24:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:24:35 | |___| (_) | (_| | __/ (_| (_) \ V / 13:24:35 \_____\___/ \__,_|\___|\___\___/ \_/ 13:24:35 Bash-1.0.6 13:24:35 13:24:35 13:24:35 ==> git version 2.25.1 found 13:24:35 ==> 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 13:24:35 Release-Date: 2020-01-08 13:24:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:24:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:24:35 ==> Jenkins CI detected. 13:24:35 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-94 13:24:35 project root: . 13:24:35 --> token set from env 13:24:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:24:35 ==> Running gcov in . (disable via -X gcov) 13:24:35 ==> Python coveragepy not found 13:24:35 ==> Searching for coverage reports in: 13:24:35 + . 13:24:35 -> Found 1 reports 13:24:35 ==> Detecting git/mercurial file structure 13:24:35 ==> Reading reports 13:24:35 + ./coverage.out bytes=41008 13:24:35 ==> Appending adjustments 13:24:35 https://docs.codecov.io/docs/fixing-reports 13:24:35 + Found adjustments 13:24:35 ==> Gzipping contents 13:24:35 12K /tmp/codecov.f68Ufq.gz 13:24:35 ==> Uploading reports 13:24:35 url: https://codecov.io 13:24:35 query: branch=PR-94&commit=3e271875ee01e2c7d348b9e74171808a19f213d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=94&job=&cmd_args= 13:24:35 -> Pinging Codecov 13:24:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-94&commit=3e271875ee01e2c7d348b9e74171808a19f213d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=94&job=&cmd_args= 13:24:35 -> Uploading to 13:24:35 https://storage.googleapis.com/codecov/v4/raw/2022-07-04/581DD39554BDF9B6E22D074273EAD858/3e271875ee01e2c7d348b9e74171808a19f213d7/d19ade5d-10f6-40b2-9170-459c0d0389f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220704%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220704T132435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87666939225acc0601496bd0341ed7cc754a7203ea05bd1ba8739f8dd216af75 13:24:35 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:35 Dload Upload Total Spent Left Speed 13:24:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11488 0 0 100 11488 0 51285 --:--:-- --:--:-- --:--:-- 51285 13:24:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/3e271875ee01e2c7d348b9e74171808a19f213d7 [Pipeline] } 13:24:35 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 13:24:37 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-94/archives ] 13:24:37 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-94/archives 13:24:37 total 16 13:24:37 drwxr-xr-x 3 root root 4096 Jul 4 13:16 . 13:24:37 drwxrwxr-x 12 jenkins jenkins 4096 Jul 4 13:16 .. 13:24:37 drwxr-xr-x 2 root root 4096 Jul 4 13:16 cost 13:24:37 -rw-r--r-- 1 root root 93 Jul 4 13:16 cost.csv 13:24:37 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-94/archives 13:24:37 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-94/archives 13:24:37 total 16 13:24:37 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 13:16 . 13:24:37 drwxrwxr-x 12 jenkins jenkins 4096 Jul 4 13:16 .. 13:24:37 drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 13:16 cost 13:24:37 -rw-r--r-- 1 jenkins jenkins 93 Jul 4 13:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:24:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:38 ---> package-listing.sh 13:24:38 ++ facter osfamily 13:24:38 ++ tr '[:upper:]' '[:lower:]' 13:24:39 + OS_FAMILY=debian 13:24:39 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-94 13:24:39 + START_PACKAGES=/tmp/packages_start.txt 13:24:39 + END_PACKAGES=/tmp/packages_end.txt 13:24:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:39 + PACKAGES=/tmp/packages_start.txt 13:24:39 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-94 ']' 13:24:39 + PACKAGES=/tmp/packages_end.txt 13:24:39 + case "${OS_FAMILY}" in 13:24:39 + dpkg -l 13:24:39 + grep '^ii' 13:24:39 + '[' -f /tmp/packages_start.txt ']' 13:24:39 + '[' -f /tmp/packages_end.txt ']' 13:24:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:39 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-94 ']' 13:24:39 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-94/archives/ 13:24:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-94/archives/ [Pipeline] echo 13:24:39 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-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:24:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:39 prd-ubuntu20.04-docker-8c-8g-16815 does not seem to be running inside a container 13:24:40 $ 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-94/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-94 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94:/w/workspace/ry_app-rfid-llrp-inventory_PR-94:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@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-lftools-log-publisher:latest cat 13:24:40 $ docker top 6f0edf215ab5bc6391b7768f1f113e12510ab7914d60f214d403499e8ea9cd1a -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:40 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:40 + mkdir -p /var/log/sysstat [Pipeline] sh 13:24:41 + ls /var/log/sa-host 13:24:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:41 provisioning config files... 13:24:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-94@tmp/config8279824264788115718tmp [Pipeline] { [Pipeline] echo 13:24:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:41 ---> create-netrc.sh [Pipeline] } 13:24:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:24:42 ---> python-tools-install.sh [Pipeline] echo 13:24:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:42 ---> sudo-logs.sh 13:24:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:24:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:42 ---> job-cost.sh 13:24:42 lf-activate-venv: SKIPPING 13:24:42 DEBUG: total: 0.2199999988079071 13:24:42 INFO: Retrieving Stack Cost... 13:24:43 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:43 INFO: Archiving Costs [Pipeline] echo 13:24:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:44 ---> logs-deploy.sh 13:24:44 lf-activate-venv: SKIPPING 13:24:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-94/1 13:24:44 INFO: archiving workspace using pattern(s): 13:24:45 Archives upload complete. 13:24:45 INFO: archiving logs to Nexus