Pull request #84 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4+8be6aa528c0d6358d2fdc3b183a246115bf3a55c (a7db18ee1fe7c1dab75dfd2e3abc7365e56fbd75) 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-ssh14967706687138772957.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9883390596377507668.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-84/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-84/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6936290583909523239.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-84/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2154169175864558558.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh3887372344864513486.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-84/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-84/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17211121206274711494.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-746’ is offline Running on prd-ubuntu20.04-docker-8c-8g-748 in /w/workspace/ry_app-rfid-llrp-inventory_PR-84 [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-84 # 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/jakarta commit 8be6aa528c0d6358d2fdc3b183a246115bf3a55c into PR head commit 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 Merge succeeded, producing 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 Checking out Revision 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 (PR-84) > 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/84/head:refs/remotes/origin/PR-84 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 # 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 8be6aa528c0d6358d2fdc3b183a246115bf3a55c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 # timeout=10 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:14:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:14:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:14:40 ========================================================= 00:14:40 EdgeX Global Pipelines Version Info 00:14:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:14:41 ------------------- 00:14:41 stable info: 00:14:41 ------------------- 00:14:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:14:41 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:14:41 Message: update stable to v1.0.230 00:14:42 ------------------- 00:14:42 experimental info: 00:14:42 ------------------- 00:14:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:14:42 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 00:14:42 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:14:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-84 [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-84 [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-84 [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26fe5cd [Pipeline] echo 00:14:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:43 provisioning config files... 00:14:43 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/config2168790036380375131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:44 ---> docker-login.sh 00:14:44 nexus3.edgexfoundry.org:10001 00:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:44 Configure a credential helper to remove this warning. See 00:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:44 00:14:44 Login Succeeded 00:14:44 nexus3.edgexfoundry.org:10002 00:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:44 Configure a credential helper to remove this warning. See 00:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:44 00:14:44 Login Succeeded 00:14:44 nexus3.edgexfoundry.org:10003 00:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:44 Configure a credential helper to remove this warning. See 00:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:44 00:14:44 Login Succeeded 00:14:44 nexus3.edgexfoundry.org:10004 00:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:45 Configure a credential helper to remove this warning. See 00:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:45 00:14:45 Login Succeeded 00:14:45 docker.io 00:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:45 Configure a credential helper to remove this warning. See 00:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:45 00:14:45 Login Succeeded 00:14:45 ---> docker-login.sh ends [Pipeline] } 00:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:14:45 + git rev-list -1 --merges 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4~1..26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 [Pipeline] echo 00:14:45 -----------> git rev-list -1 --merges 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4~1..26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 [false] [Pipeline] sh 00:14:46 + git log --format=format:%s -1 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 [Pipeline] echo 00:14:46 ========================================================= 00:14:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:14:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:46 + git log --format=format:%s -1 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 [Pipeline] echo 00:14:46 [semverPrep] GIT_COMMIT: 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch [Pipeline] echo 00:14:46 [semverPrep] This is not a build commit. [Pipeline] sh 00:14:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:14:47 + grep -v github /etc/ssh/ssh_known_hosts 00:14:47 + [ -e /tmp/ssh_known_hosts ] 00:14:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:14:47 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:14:47 sudo tee -a /etc/ssh/ssh_known_hosts 00:14:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:14:47 00:14:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:14:48 latest: Pulling from edgex-devops/py-git-semver 00:14:48 42c077c10790: Pulling fs layer 00:14:48 f63e77b7563a: Pulling fs layer 00:14:48 bd5fdadae976: Pulling fs layer 00:14:48 205491f53016: Pulling fs layer 00:14:48 df18705c85c3: Pulling fs layer 00:14:48 bdb3f477010e: Pulling fs layer 00:14:48 c8a8fc8e1c8f: Pulling fs layer 00:14:48 2c6e9b1d212d: Pulling fs layer 00:14:48 bdb8f0575790: Pulling fs layer 00:14:48 df18705c85c3: Waiting 00:14:48 c8a8fc8e1c8f: Waiting 00:14:48 205491f53016: Waiting 00:14:48 2c6e9b1d212d: Waiting 00:14:48 bdb3f477010e: Waiting 00:14:48 386e3cb2ff24: Pulling fs layer 00:14:48 2343380bae48: Pulling fs layer 00:14:48 bdb8f0575790: Waiting 00:14:48 386e3cb2ff24: Waiting 00:14:48 f63e77b7563a: Verifying Checksum 00:14:48 f63e77b7563a: Download complete 00:14:48 205491f53016: Verifying Checksum 00:14:48 df18705c85c3: Verifying Checksum 00:14:48 bd5fdadae976: Verifying Checksum 00:14:48 df18705c85c3: Download complete 00:14:48 bd5fdadae976: Download complete 00:14:48 bdb3f477010e: Verifying Checksum 00:14:48 bdb3f477010e: Download complete 00:14:48 2c6e9b1d212d: Verifying Checksum 00:14:48 2c6e9b1d212d: Download complete 00:14:48 bdb8f0575790: Verifying Checksum 00:14:48 bdb8f0575790: Download complete 00:14:48 386e3cb2ff24: Verifying Checksum 00:14:48 386e3cb2ff24: Download complete 00:14:48 2343380bae48: Download complete 00:14:48 42c077c10790: Verifying Checksum 00:14:48 42c077c10790: Download complete 00:14:48 c8a8fc8e1c8f: Verifying Checksum 00:14:48 c8a8fc8e1c8f: Download complete 00:14:49 42c077c10790: Pull complete 00:14:49 f63e77b7563a: Pull complete 00:14:50 bd5fdadae976: Pull complete 00:14:50 205491f53016: Pull complete 00:14:50 df18705c85c3: Pull complete 00:14:50 bdb3f477010e: Pull complete 00:14:52 c8a8fc8e1c8f: Pull complete 00:14:52 2c6e9b1d212d: Pull complete 00:14:52 bdb8f0575790: Pull complete 00:14:53 386e3cb2ff24: Pull complete 00:14:53 2343380bae48: Pull complete 00:14:53 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:14:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:53 prd-ubuntu20.04-docker-8c-8g-748 does not seem to be running inside a container 00:14:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-84 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84:/w/workspace/ry_app-rfid-llrp-inventory_PR-84:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@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:latest cat 00:14:54 $ docker top ec3a795ca2195a50eaa4192ddb3fd02f121572e0741310a0afd954ddcc041baf -eo pid,comm 00:14:54 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). 00:14:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:54 [ssh-agent] Looking for ssh-agent implementation... 00:14:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:55 $ docker exec ec3a795ca2195a50eaa4192ddb3fd02f121572e0741310a0afd954ddcc041baf ssh-agent 00:14:55 SSH_AUTH_SOCK=/tmp/ssh-1HNDjdc9CBCO/agent.32 00:14:55 SSH_AGENT_PID=39 00:14:55 Running ssh-add (command line suppressed) 00:14:55 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/private_key_8744641758246219649.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/private_key_8744641758246219649.key) 00:14:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:55 + git tag --points-at HEAD [Pipeline] } 00:14:55 $ docker exec --env ******** --env ******** ec3a795ca2195a50eaa4192ddb3fd02f121572e0741310a0afd954ddcc041baf ssh-agent -k 00:14:55 unset SSH_AUTH_SOCK; 00:14:55 unset SSH_AGENT_PID; 00:14:55 echo Agent pid 39 killed; 00:14:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:14:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:55 [ssh-agent] Looking for ssh-agent implementation... 00:14:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:55 $ docker exec ec3a795ca2195a50eaa4192ddb3fd02f121572e0741310a0afd954ddcc041baf ssh-agent 00:14:56 SSH_AUTH_SOCK=/tmp/ssh-d1RKp78vPCnG/agent.72 00:14:56 SSH_AGENT_PID=79 00:14:56 Running ssh-add (command line suppressed) 00:14:56 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/private_key_2101295692318017207.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/private_key_2101295692318017207.key) 00:14:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:56 + git semver init 00:14:56 2022-06-03 00:14:56,784 [run_init] DEBUG init version:0.0.0 force:False 00:14:56 2022-06-03 00:14:56,785 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver 00:14:56 2022-06-03 00:14:56,786 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver 00:14:56 2022-06-03 00:14:56,786 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-84, universal_newlines=False, shell=None, istream=None) 00:14:58 2022-06-03 00:14:57,878 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-84/.git/info/exclude 00:14:58 2022-06-03 00:14:57,879 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver/PR-84 with force:False 00:14:58 2022-06-03 00:14:57,879 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver/PR-84 00:14:58 2022-06-03 00:14:57,883 [execute] INFO git cat-file --batch-check 00:14:58 2022-06-03 00:14:57,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver, universal_newlines=False, shell=None, istream=) 00:14:58 2022-06-03 00:14:57,890 [execute] INFO git cat-file --batch 00:14:58 2022-06-03 00:14:57,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver, universal_newlines=False, shell=None, istream=) 00:14:58 2022-06-03 00:14:57,896 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-84/.semver/PR-84 00:14:58 0.0.0 [Pipeline] } 00:14:58 $ docker exec --env ******** --env ******** ec3a795ca2195a50eaa4192ddb3fd02f121572e0741310a0afd954ddcc041baf ssh-agent -k 00:14:58 unset SSH_AUTH_SOCK; 00:14:58 unset SSH_AGENT_PID; 00:14:58 echo Agent pid 79 killed; 00:14:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:58 + git semver [Pipeline] } 00:14:59 $ docker stop --time=1 ec3a795ca2195a50eaa4192ddb3fd02f121572e0741310a0afd954ddcc041baf 00:15:00 $ docker rm -f ec3a795ca2195a50eaa4192ddb3fd02f121572e0741310a0afd954ddcc041baf [Pipeline] // withDockerContainer [Pipeline] sh 00:15:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:15:01 Stashed 1 file(s) [Pipeline] echo 00:15:01 [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 00:15:02 provisioning config files... 00:15:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/config4773228087185026892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:02 ---> docker-login.sh 00:15:02 nexus3.edgexfoundry.org:10001 00:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:02 Configure a credential helper to remove this warning. See 00:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:02 00:15:02 Login Succeeded 00:15:02 nexus3.edgexfoundry.org:10002 00:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:02 Configure a credential helper to remove this warning. See 00:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:02 00:15:02 Login Succeeded 00:15:02 nexus3.edgexfoundry.org:10003 00:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:02 Configure a credential helper to remove this warning. See 00:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:02 00:15:02 Login Succeeded 00:15:02 nexus3.edgexfoundry.org:10004 00:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:02 Configure a credential helper to remove this warning. See 00:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:02 00:15:02 Login Succeeded 00:15:02 docker.io 00:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:03 Configure a credential helper to remove this warning. See 00:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:03 00:15:03 Login Succeeded 00:15:03 ---> docker-login.sh ends [Pipeline] } 00:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:03 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:03 ========================================================= 00:15:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 00:15:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:15:04 Sending build context to Docker daemon 23.66MB 00:15:04 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:15:04 Step 2/13 : FROM ${BASE} AS builder 00:15:04 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 00:15:04 59bf1c3509f3: Pulling fs layer 00:15:04 666ba61612fd: Pulling fs layer 00:15:04 8ed8ca486205: Pulling fs layer 00:15:04 4fe6c5a15a65: Pulling fs layer 00:15:04 22a0e8bec74d: Pulling fs layer 00:15:04 812f408151ee: Pulling fs layer 00:15:04 bab7bd504b26: Pulling fs layer 00:15:04 070449caade9: Pulling fs layer 00:15:04 8f1a5288e3a6: Pulling fs layer 00:15:04 22a0e8bec74d: Waiting 00:15:04 812f408151ee: Waiting 00:15:04 bab7bd504b26: Waiting 00:15:04 8f1a5288e3a6: Waiting 00:15:04 070449caade9: Waiting 00:15:04 8ed8ca486205: Verifying Checksum 00:15:04 8ed8ca486205: Download complete 00:15:04 666ba61612fd: Verifying Checksum 00:15:04 666ba61612fd: Download complete 00:15:04 22a0e8bec74d: Download complete 00:15:04 812f408151ee: Verifying Checksum 00:15:04 812f408151ee: Download complete 00:15:04 59bf1c3509f3: Verifying Checksum 00:15:04 59bf1c3509f3: Download complete 00:15:04 bab7bd504b26: Download complete 00:15:04 070449caade9: Verifying Checksum 00:15:04 070449caade9: Download complete 00:15:04 59bf1c3509f3: Pull complete 00:15:04 666ba61612fd: Pull complete 00:15:04 8ed8ca486205: Pull complete 00:15:04 8f1a5288e3a6: Verifying Checksum 00:15:04 8f1a5288e3a6: Download complete 00:15:04 4fe6c5a15a65: Verifying Checksum 00:15:04 4fe6c5a15a65: Download complete 00:15:09 4fe6c5a15a65: Pull complete 00:15:09 22a0e8bec74d: Pull complete 00:15:09 812f408151ee: Pull complete 00:15:09 bab7bd504b26: Pull complete 00:15:09 070449caade9: Pull complete 00:15:11 8f1a5288e3a6: Pull complete 00:15:11 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 00:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 00:15:11 ---> c47586b81864 00:15:11 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:15:13 ---> Running in 07180158eca8 00:15:13 Removing intermediate container 07180158eca8 00:15:13 ---> 9547996d2b6d 00:15:13 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:15:13 ---> Running in e2d7b17ed0d7 00:15:13 Removing intermediate container e2d7b17ed0d7 00:15:13 ---> a4a1bc3cda5e 00:15:13 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:15:13 ---> Running in 80c8f8c12588 00:15:13 Removing intermediate container 80c8f8c12588 00:15:13 ---> 6ce42b792660 00:15:13 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:15:13 ---> Running in 518c40bb5b86 00:15:13 Removing intermediate container 518c40bb5b86 00:15:13 ---> 2f4476eb2bd4 00:15:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:14 ---> Running in b609115bda1b 00:15:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:15:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:15:15 OK: 221 MiB in 52 packages 00:15:15 Removing intermediate container b609115bda1b 00:15:15 ---> ea5142b00bea 00:15:15 Step 8/13 : WORKDIR /app 00:15:15 ---> Running in f7178df45074 00:15:15 Removing intermediate container f7178df45074 00:15:15 ---> d1213c16d113 00:15:15 Step 9/13 : COPY go.mod vendor* ./ 00:15:16 ---> db70a59c2712 00:15:16 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:16 ---> Running in 176cfc677422 00:15:16 Still waiting to schedule task 00:15:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:38 Removing intermediate container 176cfc677422 00:15:38 ---> 5cbd8a889e51 00:15:38 Step 11/13 : COPY . . 00:15:39 ---> b534b88ae816 00:15:39 Step 12/13 : ARG MAKE="make build" 00:15:40 ---> Running in 3ea813a7d34e 00:15:40 Removing intermediate container 3ea813a7d34e 00:15:40 ---> 3b83f7f7f02e 00:15:40 Step 13/13 : RUN $MAKE 00:15:40 ---> Running in 3a46ad71aaee 00:15:40 noop 00:15:40 Removing intermediate container 3a46ad71aaee 00:15:40 ---> 5c7b2ba4ef48 00:15:40 Successfully built 5c7b2ba4ef48 00:15:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:41 + docker inspect -f . ci-base-image-x86_64 00:15:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:41 prd-ubuntu20.04-docker-8c-8g-748 does not seem to be running inside a container 00:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-84 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84:/w/workspace/ry_app-rfid-llrp-inventory_PR-84:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@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 00:15:41 $ docker top b11e881c4f6c72ac552f227fb5eafdd41c663d6599f9c33ad1a4405b7f4a970d -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:42 + go version 00:15:42 go version go1.17.6 linux/amd64 [Pipeline] } 00:15:42 $ docker stop --time=1 b11e881c4f6c72ac552f227fb5eafdd41c663d6599f9c33ad1a4405b7f4a970d 00:15:43 $ docker rm -f b11e881c4f6c72ac552f227fb5eafdd41c663d6599f9c33ad1a4405b7f4a970d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:44 + docker inspect -f . ci-base-image-x86_64 00:15:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:44 prd-ubuntu20.04-docker-8c-8g-748 does not seem to be running inside a container 00:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-84 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84:/w/workspace/ry_app-rfid-llrp-inventory_PR-84:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@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 00:15:44 $ docker top 151197797ab80295e04765fbf37e442ea1f83b074be9977cc903470a0ff042e8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:15:45 + make test 00:15:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:15:51 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 00:15:51 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.032s coverage: 86.2% of statements 00:15:51 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 00:15:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.537s coverage: 71.9% of statements 00:15:54 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 00:16:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:16:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:03 ./bin/test-attribution.sh [Pipeline] echo 00:16:04 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:16:04 + go mod tidy [Pipeline] } 00:16:04 $ docker stop --time=1 151197797ab80295e04765fbf37e442ea1f83b074be9977cc903470a0ff042e8 00:16:06 $ docker rm -f 151197797ab80295e04765fbf37e442ea1f83b074be9977cc903470a0ff042e8 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:16:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:07 + ls -al . 00:16:07 total 248 00:16:07 drwxrwxr-x 12 jenkins jenkins 4096 Jun 3 00:16 . 00:16:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:14 .. 00:16:07 -rw-rw-r-- 1 jenkins jenkins 262 Jun 3 00:14 .dockerignore 00:16:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:14 .git 00:16:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:14 .github 00:16:07 -rw-rw-r-- 1 jenkins jenkins 780 Jun 3 00:14 .gitignore 00:16:07 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 00:14 .golangci.yml 00:16:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:14 .semver 00:16:07 -rw-rw-r-- 1 jenkins jenkins 8248 Jun 3 00:14 Attribution.txt 00:16:07 -rw-rw-r-- 1 jenkins jenkins 1809 Jun 3 00:14 CHANGELOG.md 00:16:07 -rw-rw-r-- 1 jenkins jenkins 1923 Jun 3 00:14 Dockerfile 00:16:07 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:14 GOVERNANCE.md 00:16:07 -rw-rw-r-- 1 jenkins jenkins 687 Jun 3 00:14 Jenkinsfile 00:16:07 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 3 00:14 LICENSE 00:16:07 -rw-rw-r-- 1 jenkins jenkins 2095 Jun 3 00:14 Makefile 00:16:07 -rw-rw-r-- 1 jenkins jenkins 617 Jun 3 00:14 OWNERS.md 00:16:07 -rw-rw-r-- 1 jenkins jenkins 30131 Jun 3 00:14 README.md 00:16:07 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 00:15 VERSION 00:16:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:14 bin 00:16:07 -rw-r--r-- 1 jenkins jenkins 41008 Jun 3 00:15 coverage.out 00:16:07 -rw-rw-r-- 1 jenkins jenkins 3027 Jun 3 00:16 go.mod 00:16:07 -rw-rw-r-- 1 jenkins jenkins 49531 Jun 3 00:14 go.sum 00:16:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:14 images 00:16:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:14 internal 00:16:07 -rw-rw-r-- 1 jenkins jenkins 531 Jun 3 00:14 main.go 00:16:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:14 res 00:16:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:14 snap 00:16:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:14 static 00:16:07 drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:14 vendor [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:08 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 --label arch=amd64 --label version=0.0.0 . 00:16:08 Sending build context to Docker daemon 23.66MB 00:16:08 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 00:16:08 Step 2/31 : FROM ${BASE} AS builder 00:16:08 ---> 5c7b2ba4ef48 00:16:08 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:16:08 ---> Running in 055115fdf1f6 00:16:08 Removing intermediate container 055115fdf1f6 00:16:08 ---> 0b98a015869c 00:16:08 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 00:16:08 ---> Running in 42b145ea6462 00:16:08 Removing intermediate container 42b145ea6462 00:16:08 ---> e10d2699f9a1 00:16:08 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:16:08 ---> Running in 184b9d5715b3 00:16:08 Removing intermediate container 184b9d5715b3 00:16:08 ---> da1120a2bc8a 00:16:08 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:08 ---> Running in 52514911b7ca 00:16:09 Removing intermediate container 52514911b7ca 00:16:09 ---> 8fe7688b9ddb 00:16:09 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:09 ---> Running in 21bedc8cc626 00:16:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:16:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:16:11 OK: 221 MiB in 52 packages 00:16:11 Removing intermediate container 21bedc8cc626 00:16:11 ---> d0dd528ce3cd 00:16:11 Step 8/31 : WORKDIR /app 00:16:11 ---> Running in 7d3d36904cac 00:16:11 Removing intermediate container 7d3d36904cac 00:16:11 ---> 5d8327bb15fe 00:16:11 Step 9/31 : COPY go.mod vendor* ./ 00:16:12 ---> 07ff867e19bc 00:16:12 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:12 ---> Running in 93a742cabc14 00:16:12 skipping... 00:16:12 Removing intermediate container 93a742cabc14 00:16:12 ---> 03e40e7f8d9f 00:16:12 Step 11/31 : COPY . . 00:16:14 ---> e5d4f54cd3c1 00:16:14 Step 12/31 : ARG MAKE="make build" 00:16:14 ---> Running in 7db39050de74 00:16:14 Removing intermediate container 7db39050de74 00:16:14 ---> 71030c7d7ae5 00:16:14 Step 13/31 : RUN $MAKE 00:16:14 ---> Running in 49a757edc776 00:16:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -o app-rfid-llrp-inventory 00:16:22 Removing intermediate container 49a757edc776 00:16:22 ---> 89d3d2c4db78 00:16:22 Step 14/31 : FROM alpine:3.14 00:16:22 3.14: Pulling from library/alpine 00:16:22 8663204ce13b: Pulling fs layer 00:16:23 8663204ce13b: Verifying Checksum 00:16:23 8663204ce13b: Download complete 00:16:23 8663204ce13b: Pull complete 00:16:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:16:23 Status: Downloaded newer image for alpine:3.14 00:16:23 ---> e04c818066af 00:16:23 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:16:23 ---> Running in 6371da5a4579 00:16:23 Removing intermediate container 6371da5a4579 00:16:23 ---> 3d8a37e1e5ff 00:16:23 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 00:16:23 ---> Running in a348684dec84 00:16:23 Removing intermediate container a348684dec84 00:16:23 ---> 4ec653680f82 00:16:23 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:23 ---> Running in 14d71a86aa1b 00:16:24 Removing intermediate container 14d71a86aa1b 00:16:24 ---> afc8609d2514 00:16:24 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 00:16:24 ---> Running in 1a8e272dabd1 00:16:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:16:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:16:25 (1/6) Installing ca-certificates (20211220-r0) 00:16:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:16:25 (3/6) Installing libsodium (1.0.18-r0) 00:16:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:16:25 (5/6) Installing libzmq (4.3.4-r0) 00:16:25 (6/6) Installing zeromq (4.3.4-r0) 00:16:26 Executing busybox-1.33.1-r7.trigger 00:16:26 Executing ca-certificates-20211220-r0.trigger 00:16:26 OK: 9 MiB in 20 packages 00:16:26 Removing intermediate container 1a8e272dabd1 00:16:26 ---> 0f52bd48193a 00:16:26 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:16:26 ---> f54cc172db84 00:16:26 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 00:16:27 ---> f065ecc7e228 00:16:27 Step 21/31 : COPY --from=builder /app/res/ /res/ 00:16:27 ---> 1c9251cc71e2 00:16:27 Step 22/31 : COPY --from=builder /app/static/ /static/ 00:16:27 ---> 77c406abf571 00:16:27 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 00:16:27 ---> fa557ab6428c 00:16:27 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 00:16:27 ---> Running in 21f5ce3ef89a 00:16:28 Removing intermediate container 21f5ce3ef89a 00:16:28 ---> f835c2d54ce5 00:16:28 Step 25/31 : VOLUME /cache 00:16:28 ---> Running in 24f37004f744 00:16:28 Removing intermediate container 24f37004f744 00:16:28 ---> bb1365c3804d 00:16:28 Step 26/31 : EXPOSE 59711 00:16:28 ---> Running in f6b9f5888fc8 00:16:28 Removing intermediate container f6b9f5888fc8 00:16:28 ---> c3ed54b383f2 00:16:28 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 00:16:28 ---> Running in 5fe38dad313f 00:16:28 Removing intermediate container 5fe38dad313f 00:16:28 ---> 8783c8e69dcc 00:16:28 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 00:16:28 ---> Running in 73467e46605a 00:16:28 Removing intermediate container 73467e46605a 00:16:28 ---> 342e749f2d1f 00:16:28 Step 29/31 : LABEL arch=amd64 00:16:28 ---> Running in 57bc2720f3f1 00:16:28 Removing intermediate container 57bc2720f3f1 00:16:28 ---> 7561276b4e63 00:16:28 Step 30/31 : LABEL git_sha=26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 00:16:29 ---> Running in 04b76db8f8d9 00:16:29 Removing intermediate container 04b76db8f8d9 00:16:29 ---> aee0c8101e9c 00:16:29 Step 31/31 : LABEL version=0.0.0 00:16:29 ---> Running in 98fa41a609b9 00:16:29 Removing intermediate container 98fa41a609b9 00:16:29 ---> 7700a7aa2ac6 00:16:29 [Warning] One or more build-args [ARCH] were not consumed 00:16:29 Successfully built 7700a7aa2ac6 00:16:29 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 00:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:30 00:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:30 latest: Pulling from edgex-lftools-log-publisher 00:16:30 5eb5b503b376: Pulling fs layer 00:16:30 5c69ac0246d0: Pulling fs layer 00:16:30 ec43610c2a17: Pulling fs layer 00:16:30 3a2ae6a8a46f: Pulling fs layer 00:16:30 33b1e0a273af: Pulling fs layer 00:16:30 5d3b04190fa2: Pulling fs layer 00:16:30 2f39f015ded8: Pulling fs layer 00:16:30 3a2ae6a8a46f: Waiting 00:16:30 33b1e0a273af: Waiting 00:16:30 5d3b04190fa2: Waiting 00:16:30 2f39f015ded8: Waiting 00:16:30 5c69ac0246d0: Verifying Checksum 00:16:30 5c69ac0246d0: Download complete 00:16:30 3a2ae6a8a46f: Download complete 00:16:30 33b1e0a273af: Verifying Checksum 00:16:30 33b1e0a273af: Download complete 00:16:30 ec43610c2a17: Verifying Checksum 00:16:30 ec43610c2a17: Download complete 00:16:30 5d3b04190fa2: Verifying Checksum 00:16:30 5d3b04190fa2: Download complete 00:16:30 5eb5b503b376: Verifying Checksum 00:16:30 5eb5b503b376: Download complete 00:16:31 2f39f015ded8: Download complete 00:16:32 5eb5b503b376: Pull complete 00:16:32 5c69ac0246d0: Pull complete 00:16:33 ec43610c2a17: Pull complete 00:16:33 3a2ae6a8a46f: Pull complete 00:16:33 33b1e0a273af: Pull complete 00:16:33 5d3b04190fa2: Pull complete 00:16:37 2f39f015ded8: Pull complete 00:16:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:37 prd-ubuntu20.04-docker-8c-8g-748 does not seem to be running inside a container 00:16:37 $ 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-84 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84:/w/workspace/ry_app-rfid-llrp-inventory_PR-84:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@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 00:16:39 $ docker top 3e9c7d6fd5613baf625835497ab2c92c382a2f2e7cd3cd62db8fa33b3f5628df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:39 ---> job-cost.sh 00:16:39 lf-activate-venv: SKIPPING 00:16:39 INFO: No Stack... 00:16:40 INFO: Retrieving Pricing Info for: v3-standard-8 00:16:40 INFO: Archiving Costs [Pipeline] sh 00:16:41 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-84/archives/cost.csv 00:16:41 + cut -d, -f6 [Pipeline] lock 00:16:41 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] 00:16:41 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] did not exist. Created. 00:16:41 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:16:41 + echo total: 0.2199999988079071 [Pipeline] stash 00:16:41 Stashed 1 file(s) [Pipeline] } 00:16:41 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:16:41 $ docker stop --time=1 3e9c7d6fd5613baf625835497ab2c92c382a2f2e7cd3cd62db8fa33b3f5628df 00:16:42 $ docker rm -f 3e9c7d6fd5613baf625835497ab2c92c382a2f2e7cd3cd62db8fa33b3f5628df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:17:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-750 in /w/workspace/ry_app-rfid-llrp-inventory_PR-84 [Pipeline] { [Pipeline] ws 00:17:44 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 00:17:44 The recommended git tool is: git 00:17:52 using credential edgex-jenkins-ssh 00:17:52 Cloning the remote Git repository 00:17:52 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 00:17:52 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 00:17:52 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 00:17:52 > git --version # timeout=10 00:17:52 > git --version # 'git version 2.25.1' 00:17:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:55 Merging remotes/origin/jakarta commit 8be6aa528c0d6358d2fdc3b183a246115bf3a55c into PR head commit 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 00:17:55 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 00:17:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:55 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 00:17:55 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 00:17:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/84/head:refs/remotes/origin/PR-84 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 00:17:55 > git config core.sparsecheckout # timeout=10 00:17:55 > git checkout -f 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 # timeout=10 00:17:56 Merge succeeded, producing 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 00:17:56 Checking out Revision 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 (PR-84) 00:17:56 > git remote # timeout=10 00:17:56 > git config --get remote.origin.url # timeout=10 00:17:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:56 > git merge 8be6aa528c0d6358d2fdc3b183a246115bf3a55c # timeout=10 00:17:56 > git rev-parse HEAD^{commit} # timeout=10 00:17:56 > git config core.sparsecheckout # timeout=10 00:17:56 > git checkout -f 26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 # timeout=10 00:18:01 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" 00:18:01 > git --version # timeout=10 00:18:01 > git --version # 'git version 2.25.1' 00:18:01 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:18:02 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:02 Dload Upload Total Spent Left Speed 00:18:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 00:18:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:18:03 + sudo tee /etc/docker/daemon.new 00:18:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:18:03 { 00:18:03 "registry-mirrors": [ 00:18:03 "https://nexus3.edgexfoundry.org:10001" 00:18:03 ], 00:18:03 "bip": "10.250.0.254/24", 00:18:03 "hosts": [ 00:18:03 "tcp://0.0.0.0:5555", 00:18:03 "unix:///var/run/docker.sock" 00:18:03 ], 00:18:03 "mtu": 1458, 00:18:03 "selinux-enabled": true, 00:18:03 "seccomp-profile": "/etc/docker/seccomp.json" 00:18:03 } [Pipeline] sh 00:18:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:18:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:23 provisioning config files... 00:18:23 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config8754115708556577323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:23 ---> docker-login.sh 00:18:23 nexus3.edgexfoundry.org:10001 00:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:24 Configure a credential helper to remove this warning. See 00:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:24 00:18:24 Login Succeeded 00:18:24 nexus3.edgexfoundry.org:10002 00:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:25 Configure a credential helper to remove this warning. See 00:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:25 00:18:25 Login Succeeded 00:18:25 nexus3.edgexfoundry.org:10003 00:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:25 Configure a credential helper to remove this warning. See 00:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:25 00:18:25 Login Succeeded 00:18:25 nexus3.edgexfoundry.org:10004 00:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:26 Configure a credential helper to remove this warning. See 00:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:26 00:18:26 Login Succeeded 00:18:26 docker.io 00:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:27 Configure a credential helper to remove this warning. See 00:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:27 00:18:27 Login Succeeded 00:18:27 ---> docker-login.sh ends [Pipeline] } 00:18:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:18:27 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:27 ========================================================= 00:18:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 00:18:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:18:29 Sending build context to Docker daemon 11.92MB 00:18:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:18:29 Step 2/13 : FROM ${BASE} AS builder 00:18:29 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 00:18:29 9b3977197b4f: Pulling fs layer 00:18:29 1a89e8eeedd5: Pulling fs layer 00:18:29 94645a83ff95: Pulling fs layer 00:18:29 3f3a8bcf1eab: Pulling fs layer 00:18:29 0c92f367c5e7: Pulling fs layer 00:18:29 63b1bc5785f6: Pulling fs layer 00:18:29 626d30ff41c6: Pulling fs layer 00:18:29 de1d54c125be: Pulling fs layer 00:18:29 0c92f367c5e7: Waiting 00:18:29 63b1bc5785f6: Waiting 00:18:29 3f3a8bcf1eab: Waiting 00:18:29 626d30ff41c6: Waiting 00:18:29 de1d54c125be: Waiting 00:18:29 94645a83ff95: Verifying Checksum 00:18:29 94645a83ff95: Download complete 00:18:29 1a89e8eeedd5: Verifying Checksum 00:18:29 1a89e8eeedd5: Download complete 00:18:29 0c92f367c5e7: Verifying Checksum 00:18:29 0c92f367c5e7: Download complete 00:18:29 63b1bc5785f6: Verifying Checksum 00:18:29 63b1bc5785f6: Download complete 00:18:29 9b3977197b4f: Verifying Checksum 00:18:29 9b3977197b4f: Download complete 00:18:29 626d30ff41c6: Verifying Checksum 00:18:29 626d30ff41c6: Download complete 00:18:30 9b3977197b4f: Pull complete 00:18:31 1a89e8eeedd5: Pull complete 00:18:31 94645a83ff95: Pull complete 00:18:32 de1d54c125be: Verifying Checksum 00:18:32 de1d54c125be: Download complete 00:18:32 3f3a8bcf1eab: Verifying Checksum 00:18:32 3f3a8bcf1eab: Download complete 00:18:45 3f3a8bcf1eab: Pull complete 00:18:45 0c92f367c5e7: Pull complete 00:18:45 63b1bc5785f6: Pull complete 00:18:45 626d30ff41c6: Pull complete 00:18:52 de1d54c125be: Pull complete 00:18:52 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 00:18:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 00:18:52 ---> 5f011755c4a2 00:18:52 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:18:53 ---> Running in 158e4e9b072d 00:18:55 Removing intermediate container 158e4e9b072d 00:18:55 ---> 6cb8b8a3d9c8 00:18:55 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:18:55 ---> Running in 36ba6e4182f9 00:18:55 Removing intermediate container 36ba6e4182f9 00:18:55 ---> e7b80c06874d 00:18:55 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:18:55 ---> Running in eb9d524d4176 00:18:55 Removing intermediate container eb9d524d4176 00:18:55 ---> 2e1b990964d6 00:18:55 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:55 ---> Running in 10207c0b17b9 00:18:57 Removing intermediate container 10207c0b17b9 00:18:57 ---> 2ae797118c52 00:18:57 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:57 ---> Running in 134896c27deb 00:18:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:18:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:19:00 OK: 220 MiB in 52 packages 00:19:01 Removing intermediate container 134896c27deb 00:19:01 ---> 21d54367ef0c 00:19:01 Step 8/13 : WORKDIR /app 00:19:01 ---> Running in d5b313075142 00:19:02 Removing intermediate container d5b313075142 00:19:02 ---> f0c59fbe2e3d 00:19:02 Step 9/13 : COPY go.mod vendor* ./ 00:19:06 ---> eddcd8ad637e 00:19:06 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:06 ---> Running in 6ca2ab865cdc 00:20:28 Removing intermediate container 6ca2ab865cdc 00:20:28 ---> bc29da3b9cdf 00:20:28 Step 11/13 : COPY . . 00:20:28 ---> d566f5160b62 00:20:28 Step 12/13 : ARG MAKE="make build" 00:20:28 ---> Running in ce3c13faac30 00:20:28 Removing intermediate container ce3c13faac30 00:20:28 ---> 00f85f7c6e7a 00:20:28 Step 13/13 : RUN $MAKE 00:20:28 ---> Running in 7e29df35a87b 00:20:28 noop 00:20:28 Removing intermediate container 7e29df35a87b 00:20:28 ---> 879aadb3ed41 00:20:28 Successfully built 879aadb3ed41 00:20:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:28 + docker inspect -f . ci-base-image-arm64 00:20:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:29 prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container 00:20:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:20:30 $ docker top 042c5e4cbdb696c79ceb35455a670d329ae6e2bfdfe49d1c06d074c45b68be23 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:31 + go version 00:20:31 go version go1.17.6 linux/arm64 [Pipeline] } 00:20:31 $ docker stop --time=1 042c5e4cbdb696c79ceb35455a670d329ae6e2bfdfe49d1c06d074c45b68be23 00:20:33 $ docker rm -f 042c5e4cbdb696c79ceb35455a670d329ae6e2bfdfe49d1c06d074c45b68be23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:33 + docker inspect -f . ci-base-image-arm64 00:20:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:34 prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container 00:20:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:20:35 $ docker top be35dce6c07dff706b26cca6d994ea0cf3cdf4c79151a26ffe7de14c630d4121 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:20:36 + make test 00:20:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:21:33 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 00:21:33 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.194s coverage: 86.2% of statements 00:21:33 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 00:21:37 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.689s coverage: 71.9% of statements 00:21:37 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 00:21:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:21:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:21:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:59 ./bin/test-attribution.sh [Pipeline] echo 00:22:01 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:22:02 + go mod tidy [Pipeline] } 00:22:03 $ docker stop --time=1 be35dce6c07dff706b26cca6d994ea0cf3cdf4c79151a26ffe7de14c630d4121 00:22:04 $ docker rm -f be35dce6c07dff706b26cca6d994ea0cf3cdf4c79151a26ffe7de14c630d4121 [Pipeline] // withDockerContainer [Pipeline] sh 00:22:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:22:05 Warning: overwriting stash ‘coverage-report’ 00:22:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:22:07 + ls -al . 00:22:07 total 244 00:22:07 drwxrwxr-x 11 jenkins jenkins 4096 Jun 3 00:22 . 00:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:17 .. 00:22:07 -rw-rw-r-- 1 jenkins jenkins 262 Jun 3 00:17 .dockerignore 00:22:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:18 .git 00:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:17 .github 00:22:07 -rw-rw-r-- 1 jenkins jenkins 780 Jun 3 00:17 .gitignore 00:22:07 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 00:17 .golangci.yml 00:22:07 -rw-rw-r-- 1 jenkins jenkins 8248 Jun 3 00:17 Attribution.txt 00:22:07 -rw-rw-r-- 1 jenkins jenkins 1809 Jun 3 00:17 CHANGELOG.md 00:22:07 -rw-rw-r-- 1 jenkins jenkins 1923 Jun 3 00:17 Dockerfile 00:22:07 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:17 GOVERNANCE.md 00:22:07 -rw-rw-r-- 1 jenkins jenkins 687 Jun 3 00:17 Jenkinsfile 00:22:07 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 3 00:17 LICENSE 00:22:07 -rw-rw-r-- 1 jenkins jenkins 2095 Jun 3 00:17 Makefile 00:22:07 -rw-rw-r-- 1 jenkins jenkins 617 Jun 3 00:17 OWNERS.md 00:22:07 -rw-rw-r-- 1 jenkins jenkins 30131 Jun 3 00:17 README.md 00:22:07 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 00:15 VERSION 00:22:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:17 bin 00:22:07 -rw-r--r-- 1 jenkins jenkins 41008 Jun 3 00:21 coverage.out 00:22:07 -rw-rw-r-- 1 jenkins jenkins 3027 Jun 3 00:22 go.mod 00:22:07 -rw-rw-r-- 1 jenkins jenkins 49531 Jun 3 00:17 go.sum 00:22:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:17 images 00:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:17 internal 00:22:07 -rw-rw-r-- 1 jenkins jenkins 531 Jun 3 00:17 main.go 00:22:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:17 res 00:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:17 snap 00:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:17 static 00:22:07 drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:17 vendor [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:08 + 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=26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 --label arch=arm64 --label version=0.0.0 . 00:22:09 Sending build context to Docker daemon 11.92MB 00:22:09 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 00:22:09 Step 2/31 : FROM ${BASE} AS builder 00:22:09 ---> 879aadb3ed41 00:22:09 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:22:09 ---> Running in 66e9c168edeb 00:22:09 Removing intermediate container 66e9c168edeb 00:22:09 ---> 1ef7eac5a67d 00:22:09 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 00:22:10 ---> Running in 139e3e43f4d3 00:22:10 Removing intermediate container 139e3e43f4d3 00:22:10 ---> cc61b90a9612 00:22:10 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:22:10 ---> Running in 224df97a5f8e 00:22:10 Removing intermediate container 224df97a5f8e 00:22:10 ---> b86ac5095d6f 00:22:10 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:22:10 ---> Running in 0ee06834ef95 00:22:12 Removing intermediate container 0ee06834ef95 00:22:12 ---> eba8ac74c9ab 00:22:12 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:22:12 ---> Running in 0034ed84e8bb 00:22:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:22:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:22:15 OK: 220 MiB in 52 packages 00:22:16 Removing intermediate container 0034ed84e8bb 00:22:16 ---> e574b69ab9d2 00:22:16 Step 8/31 : WORKDIR /app 00:22:16 ---> Running in 2f69cc763898 00:22:16 Removing intermediate container 2f69cc763898 00:22:16 ---> e842ec088837 00:22:16 Step 9/31 : COPY go.mod vendor* ./ 00:22:20 ---> ee1293e6a087 00:22:20 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:22:20 ---> Running in f8092dac8bff 00:22:21 skipping... 00:22:22 Removing intermediate container f8092dac8bff 00:22:22 ---> f7a25dd9013c 00:22:22 Step 11/31 : COPY . . 00:22:26 ---> 4e0d7ef2b2af 00:22:26 Step 12/31 : ARG MAKE="make build" 00:22:26 ---> Running in 174d858ff397 00:22:27 Removing intermediate container 174d858ff397 00:22:27 ---> b7039cc1a790 00:22:27 Step 13/31 : RUN $MAKE 00:22:27 ---> Running in cedb2ec01d1f 00:22:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -o app-rfid-llrp-inventory 00:23:15 Removing intermediate container cedb2ec01d1f 00:23:15 ---> 301118c5ae90 00:23:15 Step 14/31 : FROM alpine:3.14 00:23:15 3.14: Pulling from library/alpine 00:23:15 455c02918c45: Pulling fs layer 00:23:15 455c02918c45: Verifying Checksum 00:23:15 455c02918c45: Download complete 00:23:15 455c02918c45: Pull complete 00:23:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:23:15 Status: Downloaded newer image for alpine:3.14 00:23:15 ---> ac73e934f311 00:23:15 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:23:15 ---> Running in 396b6ed803ad 00:23:15 Removing intermediate container 396b6ed803ad 00:23:15 ---> 10692cbbe419 00:23:15 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 00:23:15 ---> Running in 1e5b01f1c9b3 00:23:15 Removing intermediate container 1e5b01f1c9b3 00:23:15 ---> a517fe33b33b 00:23:15 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:23:15 ---> Running in ca19cd43ad5c 00:23:15 Removing intermediate container ca19cd43ad5c 00:23:15 ---> a67e8c44a81c 00:23:15 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 00:23:15 ---> Running in 55d0b48cd2f7 00:23:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:23:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:23:18 (1/6) Installing ca-certificates (20211220-r0) 00:23:18 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:23:18 (3/6) Installing libsodium (1.0.18-r0) 00:23:18 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:23:18 (5/6) Installing libzmq (4.3.4-r0) 00:23:18 (6/6) Installing zeromq (4.3.4-r0) 00:23:18 Executing busybox-1.33.1-r7.trigger 00:23:19 Executing ca-certificates-20211220-r0.trigger 00:23:19 OK: 9 MiB in 20 packages 00:23:20 Removing intermediate container 55d0b48cd2f7 00:23:20 ---> cab7294e57f1 00:23:20 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:23:20 ---> 1f1cba2f5030 00:23:20 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 00:23:21 ---> 7caa450ef8ed 00:23:21 Step 21/31 : COPY --from=builder /app/res/ /res/ 00:23:22 ---> bbcc551c958b 00:23:22 Step 22/31 : COPY --from=builder /app/static/ /static/ 00:23:22 ---> 63e01381b115 00:23:22 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 00:23:24 ---> 4e8e33c69a2d 00:23:24 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 00:23:24 ---> Running in 02437c17af1d 00:23:25 Removing intermediate container 02437c17af1d 00:23:25 ---> 67aeb7aa8cda 00:23:25 Step 25/31 : VOLUME /cache 00:23:25 ---> Running in 5fd937a67e48 00:23:25 Removing intermediate container 5fd937a67e48 00:23:25 ---> f5279ec00aa6 00:23:25 Step 26/31 : EXPOSE 59711 00:23:25 ---> Running in 65d7e1e98889 00:23:26 Removing intermediate container 65d7e1e98889 00:23:26 ---> ee78ea733238 00:23:26 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 00:23:26 ---> Running in db87faa71687 00:23:26 Removing intermediate container db87faa71687 00:23:26 ---> d4ab3903e466 00:23:26 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 00:23:26 ---> Running in 722fe18dbb13 00:23:26 Removing intermediate container 722fe18dbb13 00:23:26 ---> af35b82402aa 00:23:26 Step 29/31 : LABEL arch=arm64 00:23:27 ---> Running in a6f7ed80f2e7 00:23:27 Removing intermediate container a6f7ed80f2e7 00:23:27 ---> 835a0bdbe17c 00:23:27 Step 30/31 : LABEL git_sha=26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 00:23:27 ---> Running in 347c869acc81 00:23:27 Removing intermediate container 347c869acc81 00:23:27 ---> 21a700736620 00:23:27 Step 31/31 : LABEL version=0.0.0 00:23:28 ---> Running in 810d78a3ea35 00:23:28 Removing intermediate container 810d78a3ea35 00:23:28 ---> 36e0aa82a4b6 00:23:28 [Warning] One or more build-args [ARCH] were not consumed 00:23:28 Successfully built 36e0aa82a4b6 00:23:28 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 00:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:29 00:23:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:29 arm64: Pulling from edgex-lftools-log-publisher 00:23:29 8998bd30e6a1: Pulling fs layer 00:23:29 04944245beec: Pulling fs layer 00:23:29 699f458cf7ca: Pulling fs layer 00:23:29 765212b225bb: Pulling fs layer 00:23:29 f23df028b6ca: Pulling fs layer 00:23:29 d65c8cfc05b1: Pulling fs layer 00:23:29 2437ff75d9bd: Pulling fs layer 00:23:29 f23df028b6ca: Waiting 00:23:29 d65c8cfc05b1: Waiting 00:23:29 2437ff75d9bd: Waiting 00:23:29 765212b225bb: Waiting 00:23:29 04944245beec: Verifying Checksum 00:23:29 04944245beec: Download complete 00:23:29 765212b225bb: Verifying Checksum 00:23:29 765212b225bb: Download complete 00:23:29 f23df028b6ca: Verifying Checksum 00:23:29 f23df028b6ca: Download complete 00:23:29 d65c8cfc05b1: Download complete 00:23:30 699f458cf7ca: Verifying Checksum 00:23:30 699f458cf7ca: Download complete 00:23:30 8998bd30e6a1: Verifying Checksum 00:23:30 8998bd30e6a1: Download complete 00:23:32 2437ff75d9bd: Verifying Checksum 00:23:32 2437ff75d9bd: Download complete 00:23:34 8998bd30e6a1: Pull complete 00:23:35 04944245beec: Pull complete 00:23:36 699f458cf7ca: Pull complete 00:23:36 765212b225bb: Pull complete 00:23:37 f23df028b6ca: Pull complete 00:23:37 d65c8cfc05b1: Pull complete 00:23:52 2437ff75d9bd: Pull complete 00:23:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:53 prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container 00:23:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:23:55 $ docker top b9f1b6daf3b9dbc26bcd0441b1822525b595adc960797a2dd0aa001690255207 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:56 ---> job-cost.sh 00:23:56 lf-activate-venv: SKIPPING 00:23:56 INFO: No Stack... 00:23:57 INFO: Retrieving Pricing Info for: v3-standard-4 00:23:58 INFO: Archiving Costs [Pipeline] sh 00:23:58 + + cut -d, -f6 00:23:58 cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock 00:23:59 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] 00:23:59 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] did not exist. Created. 00:23:59 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:59 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-f72ddd5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:24:00 + echo total: 0.10999999940395355 [Pipeline] stash 00:24:00 Warning: overwriting stash ‘stack-cost’ 00:24:00 Stashed 1 file(s) [Pipeline] } 00:24:00 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-84-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:24:00 $ docker stop --time=1 b9f1b6daf3b9dbc26bcd0441b1822525b595adc960797a2dd0aa001690255207 00:24:02 $ docker rm -f b9f1b6daf3b9dbc26bcd0441b1822525b595adc960797a2dd0aa001690255207 [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 00:24:03 provisioning config files... 00:24:03 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/config4969791914441050261tmp [Pipeline] { [Pipeline] sh 00:24:03 + set +x 00:24:03 + curl -s https://codecov.io/bash 00:24:03 + bash -s -- 00:24:03 00:24:03 _____ _ 00:24:03 / ____| | | 00:24:03 | | ___ __| | ___ ___ _____ __ 00:24:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:24:03 | |___| (_) | (_| | __/ (_| (_) \ V / 00:24:03 \_____\___/ \__,_|\___|\___\___/ \_/ 00:24:03 Bash-1.0.6 00:24:03 00:24:03 00:24:03 ==> git version 2.25.1 found 00:24:03 ==> 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 00:24:03 Release-Date: 2020-01-08 00:24:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:24:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:24:03 ==> Jenkins CI detected. 00:24:03 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-84 00:24:03 project root: . 00:24:03 --> token set from env 00:24:03 Yaml found at: vendor/github.com/diegoholiveira/jsonlogic/codecov.yml 00:24:03 ==> Running gcov in . (disable via -X gcov) 00:24:03 ==> Python coveragepy not found 00:24:03 ==> Searching for coverage reports in: 00:24:03 + . 00:24:03 -> Found 1 reports 00:24:03 ==> Detecting git/mercurial file structure 00:24:03 ==> Reading reports 00:24:03 + ./coverage.out bytes=41008 00:24:03 ==> Appending adjustments 00:24:03 https://docs.codecov.io/docs/fixing-reports 00:24:04 + Found adjustments 00:24:04 ==> Gzipping contents 00:24:04 20K /tmp/codecov.DxzH9e.gz 00:24:04 ==> Uploading reports 00:24:04 url: https://codecov.io 00:24:04 query: branch=PR-84&commit=26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-84%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=84&job=&cmd_args= 00:24:04 -> Pinging Codecov 00:24:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-84&commit=26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-84%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=84&job=&cmd_args= 00:24:04 -> Uploading to 00:24:04 https://storage.googleapis.com/codecov/v4/raw/2022-06-03/581DD39554BDF9B6E22D074273EAD858/26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4/ab8c189d-5c15-4d39-bb65-d4d446942fc5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T002404Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=207d69bc46fe7b321205e255e56a105bbc284d0fbf405323ec5a9663591cb498 00:24:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:24:04 Dload Upload Total Spent Left Speed 00:24:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18608 0 0 100 18608 0 74432 --:--:-- --:--:-- --:--:-- 74135 100 18608 0 0 100 18608 0 74135 --:--:-- --:--:-- --:--:-- 74135 00:24:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/26fe5cd8ed535f6269065a3f76c1f8c4779ce6c4 [Pipeline] } 00:24:04 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 00:24:06 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-84/archives ] 00:24:06 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-84/archives 00:24:06 total 16 00:24:06 drwxr-xr-x 3 root root 4096 Jun 3 00:16 . 00:24:06 drwxrwxr-x 13 jenkins jenkins 4096 Jun 3 00:16 .. 00:24:06 drwxr-xr-x 2 root root 4096 Jun 3 00:16 cost 00:24:06 -rw-r--r-- 1 root root 93 Jun 3 00:16 cost.csv 00:24:06 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-84/archives 00:24:06 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-84/archives 00:24:06 total 16 00:24:06 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:16 . 00:24:06 drwxrwxr-x 13 jenkins jenkins 4096 Jun 3 00:16 .. 00:24:06 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 00:16 cost 00:24:06 -rw-r--r-- 1 jenkins jenkins 93 Jun 3 00:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:24:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:24:07 ---> package-listing.sh 00:24:07 ++ facter osfamily 00:24:07 ++ tr '[:upper:]' '[:lower:]' 00:24:07 + OS_FAMILY=debian 00:24:07 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-84 00:24:07 + START_PACKAGES=/tmp/packages_start.txt 00:24:07 + END_PACKAGES=/tmp/packages_end.txt 00:24:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:24:07 + PACKAGES=/tmp/packages_start.txt 00:24:07 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-84 ']' 00:24:07 + PACKAGES=/tmp/packages_end.txt 00:24:07 + case "${OS_FAMILY}" in 00:24:07 + dpkg -l 00:24:07 + grep '^ii' 00:24:07 + '[' -f /tmp/packages_start.txt ']' 00:24:07 + '[' -f /tmp/packages_end.txt ']' 00:24:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:24:07 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-84 ']' 00:24:07 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-84/archives/ 00:24:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-84/archives/ [Pipeline] echo 00:24:07 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-84/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:24:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:08 prd-ubuntu20.04-docker-8c-8g-748 does not seem to be running inside a container 00:24:09 $ 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-84/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-84 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84:/w/workspace/ry_app-rfid-llrp-inventory_PR-84:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@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 00:24:09 $ docker top f445eab2d53e0b6e3f63d2c90f71e00192981127b5a69c51e8afd629968193d5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:09 + touch /tmp/pre-build-complete [Pipeline] sh 00:24:09 + mkdir -p /var/log/sysstat [Pipeline] sh 00:24:10 + ls /var/log/sa-host 00:24:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:10 provisioning config files... 00:24:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-84@tmp/config1374123206110367522tmp [Pipeline] { [Pipeline] echo 00:24:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:24:10 ---> create-netrc.sh [Pipeline] } 00:24:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:24:11 ---> python-tools-install.sh [Pipeline] echo 00:24:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:11 ---> sudo-logs.sh 00:24:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:24:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:11 ---> job-cost.sh 00:24:11 lf-activate-venv: SKIPPING 00:24:11 DEBUG: total: 0.2199999988079071 00:24:11 INFO: Retrieving Stack Cost... 00:24:12 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:12 INFO: Archiving Costs [Pipeline] echo 00:24:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:13 ---> logs-deploy.sh 00:24:13 lf-activate-venv: SKIPPING 00:24:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-84/1 00:24:13 INFO: archiving workspace using pattern(s): 00:24:14 Archives upload complete. 00:24:14 INFO: archiving logs to Nexus 00:24:14 ---> uname -a: 00:24:14 Linux prd-ubuntu20-04-docker-8c-8g-748 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:24:14 00:24:14