Pull request #128 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from e8be8665377a8f574ee83d75fc69ae576ffb683b+808edfc9f6c328417489871725311f9c0d7bbc15 (28ee27993291484da961855f4d09f055ad5cccc6) 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-ssh1491914073237569042.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16391066077580459178.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-128/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-128/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17942553937991515816.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-128/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15712238153042282458.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8927591433483592725.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-128/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-128/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11372700354623159353.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-978 in /w/workspace/y_app-rfid-llrp-inventory_PR-128 [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/y_app-rfid-llrp-inventory_PR-128 # 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 > 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 Merging remotes/origin/main commit 808edfc9f6c328417489871725311f9c0d7bbc15 into PR head commit e8be8665377a8f574ee83d75fc69ae576ffb683b Merge succeeded, producing e8be8665377a8f574ee83d75fc69ae576ffb683b Checking out Revision e8be8665377a8f574ee83d75fc69ae576ffb683b (PR-128) > 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/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8be8665377a8f574ee83d75fc69ae576ffb683b # 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 808edfc9f6c328417489871725311f9c0d7bbc15 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8be8665377a8f574ee83d75fc69ae576ffb683b # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:58 ========================================================= 22:41:58 EdgeX Global Pipelines Version Info 22:41:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:59 ------------------- 22:41:59 stable info: 22:41:59 ------------------- 22:41:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:41:59 Message: update stable to v1.0.244 22:41:59 ------------------- 22:41:59 experimental info: 22:41:59 ------------------- 22:41:59 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:41:59 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-128 [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-128 [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-128 [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8be8665377a8f574ee83d75fc69ae576ffb683b [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8be866 [Pipeline] echo 22:42:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:01 provisioning config files... 22:42:01 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/config3607249444944156739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:01 ---> docker-login.sh 22:42:01 nexus3.edgexfoundry.org:10001 22:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:02 Configure a credential helper to remove this warning. See 22:42:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:02 22:42:02 Login Succeeded 22:42:02 nexus3.edgexfoundry.org:10002 22:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:02 Configure a credential helper to remove this warning. See 22:42:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:02 22:42:02 Login Succeeded 22:42:02 nexus3.edgexfoundry.org:10003 22:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:02 Configure a credential helper to remove this warning. See 22:42:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:02 22:42:02 Login Succeeded 22:42:02 nexus3.edgexfoundry.org:10004 22:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:02 Configure a credential helper to remove this warning. See 22:42:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:02 22:42:02 Login Succeeded 22:42:02 docker.io 22:42:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:02 Configure a credential helper to remove this warning. See 22:42:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:02 22:42:02 Login Succeeded 22:42:02 ---> docker-login.sh ends [Pipeline] } 22:42:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:42:03 + git rev-list -1 --merges e8be8665377a8f574ee83d75fc69ae576ffb683b~1..e8be8665377a8f574ee83d75fc69ae576ffb683b [Pipeline] echo 22:42:03 -----------> git rev-list -1 --merges e8be8665377a8f574ee83d75fc69ae576ffb683b~1..e8be8665377a8f574ee83d75fc69ae576ffb683b e8be8665377a8f574ee83d75fc69ae576ffb683b [false] [Pipeline] sh 22:42:03 + git log --format=format:%s -1 e8be8665377a8f574ee83d75fc69ae576ffb683b [Pipeline] echo 22:42:03 ========================================================= 22:42:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:42:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:04 + git log --format=format:%s -1 e8be8665377a8f574ee83d75fc69ae576ffb683b [Pipeline] echo 22:42:04 [semverPrep] GIT_COMMIT: e8be8665377a8f574ee83d75fc69ae576ffb683b, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo 22:42:04 [semverPrep] This is not a build commit. [Pipeline] sh 22:42:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:42:04 + grep -v github /etc/ssh/ssh_known_hosts 22:42:04 + [ -e /tmp/ssh_known_hosts ] 22:42:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:42:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:42:04 + sudo tee -a /etc/ssh/ssh_known_hosts 22:42:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:05 22:42:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:05 0.1.4: Pulling from edgex-devops/py-git-semver 22:42:05 b85a868b505f: Pulling fs layer 22:42:05 e2be974225ed: Pulling fs layer 22:42:05 339a4e72a1f5: Pulling fs layer 22:42:05 988bab9f4d93: Pulling fs layer 22:42:05 1469e6f7b9e6: Pulling fs layer 22:42:05 eaf3925da568: Pulling fs layer 22:42:05 bab4dde63d76: Pulling fs layer 22:42:05 bde34c3a00c8: Pulling fs layer 22:42:05 b352a97aabf1: Pulling fs layer 22:42:05 4872d77fe225: Pulling fs layer 22:42:05 5851b861e8e6: Pulling fs layer 22:42:05 bab4dde63d76: Waiting 22:42:05 4872d77fe225: Waiting 22:42:05 eaf3925da568: Waiting 22:42:05 5851b861e8e6: Waiting 22:42:05 988bab9f4d93: Waiting 22:42:05 b352a97aabf1: Waiting 22:42:05 1469e6f7b9e6: Waiting 22:42:05 bde34c3a00c8: Waiting 22:42:05 e2be974225ed: Download complete 22:42:05 988bab9f4d93: Download complete 22:42:05 1469e6f7b9e6: Verifying Checksum 22:42:05 1469e6f7b9e6: Download complete 22:42:05 339a4e72a1f5: Verifying Checksum 22:42:05 339a4e72a1f5: Download complete 22:42:05 eaf3925da568: Verifying Checksum 22:42:05 eaf3925da568: Download complete 22:42:05 bde34c3a00c8: Verifying Checksum 22:42:05 bde34c3a00c8: Download complete 22:42:05 b352a97aabf1: Download complete 22:42:05 4872d77fe225: Verifying Checksum 22:42:05 4872d77fe225: Download complete 22:42:05 5851b861e8e6: Download complete 22:42:05 b85a868b505f: Download complete 22:42:06 bab4dde63d76: Verifying Checksum 22:42:06 bab4dde63d76: Download complete 22:42:07 b85a868b505f: Pull complete 22:42:07 e2be974225ed: Pull complete 22:42:07 339a4e72a1f5: Pull complete 22:42:07 988bab9f4d93: Pull complete 22:42:08 1469e6f7b9e6: Pull complete 22:42:08 eaf3925da568: Pull complete 22:42:10 bab4dde63d76: Pull complete 22:42:10 bde34c3a00c8: Pull complete 22:42:10 b352a97aabf1: Pull complete 22:42:10 4872d77fe225: Pull complete 22:42:10 5851b861e8e6: Pull complete 22:42:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:42:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:10 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 22:42:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-128 -v /w/workspace/y_app-rfid-llrp-inventory_PR-128:/w/workspace/y_app-rfid-llrp-inventory_PR-128:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-128@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-devops/py-git-semver:0.1.4 cat 22:42:11 $ docker top 8e30d34009113112dc6ab54d2876b57a2af034f983535b40ffc335955253ea23 -eo pid,comm 22:42:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:42:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:11 [ssh-agent] Looking for ssh-agent implementation... 22:42:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:12 $ docker exec 8e30d34009113112dc6ab54d2876b57a2af034f983535b40ffc335955253ea23 ssh-agent 22:42:12 SSH_AUTH_SOCK=/tmp/ssh-cw5ig9lgkrYp/agent.32 22:42:12 SSH_AGENT_PID=38 22:42:12 Running ssh-add (command line suppressed) 22:42:12 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/private_key_6325444858077177555.key (/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/private_key_6325444858077177555.key) 22:42:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:12 + git tag --points-at HEAD [Pipeline] } 22:42:12 $ docker exec --env ******** --env ******** 8e30d34009113112dc6ab54d2876b57a2af034f983535b40ffc335955253ea23 ssh-agent -k 22:42:12 unset SSH_AUTH_SOCK; 22:42:12 unset SSH_AGENT_PID; 22:42:12 echo Agent pid 38 killed; 22:42:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:12 [ssh-agent] Looking for ssh-agent implementation... 22:42:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:12 $ docker exec 8e30d34009113112dc6ab54d2876b57a2af034f983535b40ffc335955253ea23 ssh-agent 22:42:13 SSH_AUTH_SOCK=/tmp/ssh-G9GusyBiUPCV/agent.70 22:42:13 SSH_AGENT_PID=76 22:42:13 Running ssh-add (command line suppressed) 22:42:13 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/private_key_4886846240164811051.key (/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/private_key_4886846240164811051.key) 22:42:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:13 + git semver init 22:42:13 2023-01-03 22:42:13,691 [run_init] DEBUG init version:0.0.0 force:False 22:42:13 2023-01-03 22:42:13,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver 22:42:13 2023-01-03 22:42:13,692 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver 22:42:13 2023-01-03 22:42:13,692 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-128, universal_newlines=False, shell=None, istream=None) 22:42:15 2023-01-03 22:42:14,770 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-128/.git/info/exclude 22:42:15 2023-01-03 22:42:14,771 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver/PR-128 with force:False 22:42:15 2023-01-03 22:42:14,771 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver/PR-128 22:42:15 2023-01-03 22:42:14,775 [execute] INFO git cat-file --batch-check 22:42:15 2023-01-03 22:42:14,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver, universal_newlines=False, shell=None, istream=) 22:42:15 2023-01-03 22:42:14,782 [execute] INFO git cat-file --batch 22:42:15 2023-01-03 22:42:14,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver, universal_newlines=False, shell=None, istream=) 22:42:15 2023-01-03 22:42:14,788 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-128/.semver/PR-128 22:42:15 0.0.0 [Pipeline] } 22:42:15 $ docker exec --env ******** --env ******** 8e30d34009113112dc6ab54d2876b57a2af034f983535b40ffc335955253ea23 ssh-agent -k 22:42:15 unset SSH_AUTH_SOCK; 22:42:15 unset SSH_AGENT_PID; 22:42:15 echo Agent pid 76 killed; 22:42:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:15 + git semver [Pipeline] } 22:42:16 $ docker stop --time=1 8e30d34009113112dc6ab54d2876b57a2af034f983535b40ffc335955253ea23 22:42:17 $ docker rm -f --volumes 8e30d34009113112dc6ab54d2876b57a2af034f983535b40ffc335955253ea23 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:18 Stashed 1 file(s) [Pipeline] echo 22:42:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:18 provisioning config files... 22:42:18 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/config6494741032798010898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:19 ---> docker-login.sh 22:42:19 nexus3.edgexfoundry.org:10001 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10002 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10003 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10004 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 docker.io 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 ---> docker-login.sh ends [Pipeline] } 22:42:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:20 ========================================================= 22:42:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:42:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:42:20 Sending build context to Docker daemon 12.54MB 22:42:20 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:42:20 Step 2/13 : FROM ${BASE} AS builder 22:42:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:42:20 213ec9aee27d: Pulling fs layer 22:42:20 4583459ba037: Pulling fs layer 22:42:20 93c1e223e6f2: Pulling fs layer 22:42:20 53926ce57604: Pulling fs layer 22:42:20 21b2b0c7a3f4: Pulling fs layer 22:42:20 22ff95d597cd: Pulling fs layer 22:42:20 12d6caf4c0d1: Pulling fs layer 22:42:20 96b7cbca73a9: Pulling fs layer 22:42:20 a7acece74701: Pulling fs layer 22:42:20 22ff95d597cd: Waiting 22:42:20 12d6caf4c0d1: Waiting 22:42:20 53926ce57604: Waiting 22:42:20 96b7cbca73a9: Waiting 22:42:20 21b2b0c7a3f4: Waiting 22:42:20 93c1e223e6f2: Download complete 22:42:20 4583459ba037: Download complete 22:42:20 21b2b0c7a3f4: Verifying Checksum 22:42:20 21b2b0c7a3f4: Download complete 22:42:20 22ff95d597cd: Verifying Checksum 22:42:20 22ff95d597cd: Download complete 22:42:20 213ec9aee27d: Verifying Checksum 22:42:20 213ec9aee27d: Download complete 22:42:20 12d6caf4c0d1: Download complete 22:42:20 213ec9aee27d: Pull complete 22:42:21 4583459ba037: Pull complete 22:42:21 93c1e223e6f2: Pull complete 22:42:21 a7acece74701: Verifying Checksum 22:42:21 a7acece74701: Download complete 22:42:21 96b7cbca73a9: Verifying Checksum 22:42:21 96b7cbca73a9: Download complete 22:42:21 53926ce57604: Verifying Checksum 22:42:21 53926ce57604: Download complete 22:42:24 53926ce57604: Pull complete 22:42:25 21b2b0c7a3f4: Pull complete 22:42:25 22ff95d597cd: Pull complete 22:42:25 12d6caf4c0d1: Pull complete 22:42:27 96b7cbca73a9: Pull complete 22:42:28 a7acece74701: Pull complete 22:42:28 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:42:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:42:28 ---> db6d94c90886 22:42:28 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:42:29 ---> Running in 8a5856b8a040 22:42:29 Removing intermediate container 8a5856b8a040 22:42:29 ---> a4e5b54bae22 22:42:29 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:42:29 ---> Running in f114b2b1e533 22:42:29 Removing intermediate container f114b2b1e533 22:42:29 ---> 15256a6db65f 22:42:29 Step 5/13 : ARG ADD_BUILD_TAGS="" 22:42:29 ---> Running in 1d20d1fa5831 22:42:29 Removing intermediate container 1d20d1fa5831 22:42:29 ---> 77d062342a2f 22:42:29 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:42:29 ---> Running in 70ae43008d27 22:42:30 Removing intermediate container 70ae43008d27 22:42:30 ---> 0ba7f7f3fde0 22:42:30 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:30 ---> Running in cab1a10ef7e1 22:42:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:42:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:42:30 OK: 211 MiB in 51 packages 22:42:31 Removing intermediate container cab1a10ef7e1 22:42:31 ---> 3f0a8a822c58 22:42:31 Step 8/13 : WORKDIR /app 22:42:31 ---> Running in 8c416099aede 22:42:31 Removing intermediate container 8c416099aede 22:42:31 ---> 4b4b541dff11 22:42:31 Step 9/13 : COPY go.mod vendor* ./ 22:42:31 ---> 95df186cbaea 22:42:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:31 ---> Running in 40d9adbb81ae 22:42:33 Still waiting to schedule task 22:42:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-977’ is offline 22:42:49 Removing intermediate container 40d9adbb81ae 22:42:49 ---> de40a63d69a6 22:42:49 Step 11/13 : COPY . . 22:42:49 ---> 842458489000 22:42:49 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:42:49 ---> Running in aff9273bd257 22:42:49 Removing intermediate container aff9273bd257 22:42:49 ---> 6a7023064536 22:42:49 Step 13/13 : RUN $MAKE 22:42:49 ---> Running in d18a4ce9ceaf 22:42:49 noop 22:42:50 Removing intermediate container d18a4ce9ceaf 22:42:50 ---> 72779b86cf2a 22:42:50 Successfully built 72779b86cf2a 22:42:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:50 + docker inspect -f . ci-base-image-x86_64 22:42:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:50 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 22:42:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-128 -v /w/workspace/y_app-rfid-llrp-inventory_PR-128:/w/workspace/y_app-rfid-llrp-inventory_PR-128:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:42:51 $ docker top 38985e244e5e603e12e04cde00b9ab4cefa7235cb0feec965427cf9b72627bc2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:51 + go version 22:42:51 go version go1.18.7 linux/amd64 [Pipeline] } 22:42:51 $ docker stop --time=1 38985e244e5e603e12e04cde00b9ab4cefa7235cb0feec965427cf9b72627bc2 22:42:52 $ docker rm -f --volumes 38985e244e5e603e12e04cde00b9ab4cefa7235cb0feec965427cf9b72627bc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:53 + docker inspect -f . ci-base-image-x86_64 22:42:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:53 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 22:42:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-128 -v /w/workspace/y_app-rfid-llrp-inventory_PR-128:/w/workspace/y_app-rfid-llrp-inventory_PR-128:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:42:54 $ docker top 563ff5b3baa516044ec8f195c375fb880b1417e6822a2e3ff9b2e962f9001b2a -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:54 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-128 [Pipeline] fileExists [Pipeline] sh 22:42:54 + make test 22:42:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:43:07 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:43:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.027s coverage: 86.2% of statements 22:43:07 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:43:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.558s coverage: 71.9% of statements 22:43:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:43:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:43:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:19 ./bin/test-attribution.sh [Pipeline] echo 22:43:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:43:19 $ docker stop --time=1 563ff5b3baa516044ec8f195c375fb880b1417e6822a2e3ff9b2e962f9001b2a 22:43:21 $ docker rm -f --volumes 563ff5b3baa516044ec8f195c375fb880b1417e6822a2e3ff9b2e962f9001b2a [Pipeline] // withDockerContainer [Pipeline] sh 22:43:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:43:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:22 + ls -al . 22:43:22 total 240 22:43:22 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 22:42 . 22:43:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:41 .. 22:43:22 -rw-rw-r-- 1 jenkins jenkins 262 Jan 3 22:41 .dockerignore 22:43:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:43 .git 22:43:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:41 .github 22:43:22 -rw-rw-r-- 1 jenkins jenkins 788 Jan 3 22:41 .gitignore 22:43:22 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 22:41 .golangci.yml 22:43:22 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:42 .semver 22:43:22 -rw-rw-r-- 1 jenkins jenkins 9922 Jan 3 22:41 Attribution.txt 22:43:22 -rw-rw-r-- 1 jenkins jenkins 4331 Jan 3 22:41 CHANGELOG.md 22:43:22 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 3 22:41 Dockerfile 22:43:22 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:41 GOVERNANCE.md 22:43:22 -rw-rw-r-- 1 jenkins jenkins 687 Jan 3 22:41 Jenkinsfile 22:43:22 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 3 22:41 LICENSE 22:43:22 -rw-rw-r-- 1 jenkins jenkins 3163 Jan 3 22:41 Makefile 22:43:22 -rw-rw-r-- 1 jenkins jenkins 617 Jan 3 22:41 OWNERS.md 22:43:22 -rw-rw-r-- 1 jenkins jenkins 31023 Jan 3 22:41 README.md 22:43:22 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:42 VERSION 22:43:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:41 bin 22:43:22 -rw-r--r-- 1 jenkins jenkins 41008 Jan 3 22:43 coverage.out 22:43:22 -rw-rw-r-- 1 jenkins jenkins 3598 Jan 3 22:41 go.mod 22:43:22 -rw-rw-r-- 1 jenkins jenkins 45001 Jan 3 22:41 go.sum 22:43:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:41 images 22:43:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:41 internal 22:43:22 -rw-rw-r-- 1 jenkins jenkins 531 Jan 3 22:41 main.go 22:43:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:41 res 22:43:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:41 snap 22:43:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:41 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:23 + 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=e8be8665377a8f574ee83d75fc69ae576ffb683b --label arch=amd64 --label version=0.0.0 . 22:43:23 Sending build context to Docker daemon 12.54MB 22:43:23 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 22:43:23 Step 2/30 : FROM ${BASE} AS builder 22:43:23 ---> 72779b86cf2a 22:43:23 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:43:23 ---> Running in ae89e306d1ef 22:43:23 Removing intermediate container ae89e306d1ef 22:43:23 ---> d390d8f4b1cc 22:43:23 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 22:43:23 ---> Running in 184bde934972 22:43:23 Removing intermediate container 184bde934972 22:43:23 ---> ec0a7d27de79 22:43:23 Step 5/30 : ARG ADD_BUILD_TAGS="" 22:43:23 ---> Running in 42ed3625f325 22:43:23 Removing intermediate container 42ed3625f325 22:43:23 ---> 6d7b71fbb4a4 22:43:23 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:23 ---> Running in bb6a7079c22a 22:43:23 Removing intermediate container bb6a7079c22a 22:43:23 ---> a5c963f9f0bd 22:43:23 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:43:23 ---> Running in 58ff81fc4ff8 22:43:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:43:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:43:24 OK: 211 MiB in 51 packages 22:43:24 Removing intermediate container 58ff81fc4ff8 22:43:24 ---> 69747eb8dddc 22:43:24 Step 8/30 : WORKDIR /app 22:43:24 ---> Running in cf83cc02183b 22:43:24 Removing intermediate container cf83cc02183b 22:43:24 ---> 957130dca2f6 22:43:24 Step 9/30 : COPY go.mod vendor* ./ 22:43:24 ---> 44d272d7e9de 22:43:24 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:24 ---> Running in b1f4e12d090f 22:43:25 Removing intermediate container b1f4e12d090f 22:43:25 ---> 45e0b5f208cb 22:43:25 Step 11/30 : COPY . . 22:43:25 ---> d64655af8ec8 22:43:25 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:43:25 ---> Running in d9da049851c7 22:43:26 Removing intermediate container d9da049851c7 22:43:26 ---> 1f55af08fb43 22:43:26 Step 13/30 : RUN $MAKE 22:43:26 ---> Running in 0bc0d6d58cd2 22:43:26 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:43:48 Removing intermediate container 0bc0d6d58cd2 22:43:48 ---> 5605ce433ad9 22:43:48 Step 14/30 : FROM alpine:3.14 22:43:48 3.14: Pulling from library/alpine 22:43:48 c7ed990a2339: Pulling fs layer 22:43:48 c7ed990a2339: Verifying Checksum 22:43:48 c7ed990a2339: Download complete 22:43:48 c7ed990a2339: Pull complete 22:43:48 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 22:43:48 Status: Downloaded newer image for alpine:3.14 22:43:48 ---> dd53f409bf0b 22:43:48 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:48 ---> Running in dd861dd38d08 22:43:48 Removing intermediate container dd861dd38d08 22:43:48 ---> 3661f90b5bd6 22:43:48 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:43:48 ---> Running in 60037d73ed08 22:43:48 Removing intermediate container 60037d73ed08 22:43:48 ---> 78a2a6e1755c 22:43:48 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:43:48 ---> Running in bb9412c9a090 22:43:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:43:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:43:48 (1/7) Installing ca-certificates (20220614-r0) 22:43:48 (2/7) Installing dumb-init (1.2.5-r1) 22:43:48 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:43:48 (4/7) Installing libsodium (1.0.18-r0) 22:43:48 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:43:48 (6/7) Installing libzmq (4.3.4-r0) 22:43:48 (7/7) Installing zeromq (4.3.4-r0) 22:43:48 Executing busybox-1.33.1-r8.trigger 22:43:48 Executing ca-certificates-20220614-r0.trigger 22:43:48 OK: 9 MiB in 21 packages 22:43:48 Removing intermediate container bb9412c9a090 22:43:48 ---> fa7434e38a00 22:43:48 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:43:48 ---> 2f2145c98134 22:43:48 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 22:43:48 ---> c6f51fb400b3 22:43:48 Step 20/30 : COPY --from=builder /app/res/ /res/ 22:43:48 ---> a9880e48dfb8 22:43:48 Step 21/30 : COPY --from=builder /app/static/ /static/ 22:43:48 ---> 42376bc2da74 22:43:48 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:43:49 ---> fb541c27c3d8 22:43:49 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:43:49 ---> Running in b488d249f78c 22:43:49 Removing intermediate container b488d249f78c 22:43:49 ---> 757e69bc44f7 22:43:49 Step 24/30 : VOLUME /cache 22:43:49 ---> Running in 28616e79fb61 22:43:49 Removing intermediate container 28616e79fb61 22:43:49 ---> ccc7afb6d8d9 22:43:49 Step 25/30 : EXPOSE 59711 22:43:49 ---> Running in 9cb5ad5c076d 22:43:49 Removing intermediate container 9cb5ad5c076d 22:43:49 ---> 80c6cbcbca36 22:43:49 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:43:49 ---> Running in 87120325c38f 22:43:50 Removing intermediate container 87120325c38f 22:43:50 ---> d23c8a594ba4 22:43:50 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 22:43:50 ---> Running in 997edaa6e488 22:43:50 Removing intermediate container 997edaa6e488 22:43:50 ---> 65aecb095f18 22:43:50 Step 28/30 : LABEL arch=amd64 22:43:50 ---> Running in 40ea0c4da4eb 22:43:50 Removing intermediate container 40ea0c4da4eb 22:43:50 ---> a45ce048a681 22:43:50 Step 29/30 : LABEL git_sha=e8be8665377a8f574ee83d75fc69ae576ffb683b 22:43:50 ---> Running in 795df78d4a8e 22:43:50 Removing intermediate container 795df78d4a8e 22:43:50 ---> df9b24fa4581 22:43:50 Step 30/30 : LABEL version=0.0.0 22:43:50 ---> Running in b3a2938b5fe6 22:43:50 Removing intermediate container b3a2938b5fe6 22:43:50 ---> b6499135e02b 22:43:50 [Warning] One or more build-args [ARCH] were not consumed 22:43:50 Successfully built b6499135e02b 22:43:50 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:51 22:43:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:51 latest: Pulling from edgex-lftools-log-publisher 22:43:51 5eb5b503b376: Pulling fs layer 22:43:51 5c69ac0246d0: Pulling fs layer 22:43:51 ec43610c2a17: Pulling fs layer 22:43:51 3a2ae6a8a46f: Pulling fs layer 22:43:51 33b1e0a273af: Pulling fs layer 22:43:51 5d3b04190fa2: Pulling fs layer 22:43:51 2f39f015ded8: Pulling fs layer 22:43:51 33b1e0a273af: Waiting 22:43:51 5d3b04190fa2: Waiting 22:43:51 2f39f015ded8: Waiting 22:43:51 3a2ae6a8a46f: Waiting 22:43:51 5c69ac0246d0: Verifying Checksum 22:43:51 5c69ac0246d0: Download complete 22:43:51 3a2ae6a8a46f: Download complete 22:43:51 33b1e0a273af: Verifying Checksum 22:43:51 33b1e0a273af: Download complete 22:43:51 5d3b04190fa2: Verifying Checksum 22:43:51 ec43610c2a17: Verifying Checksum 22:43:51 ec43610c2a17: Download complete 22:43:51 5eb5b503b376: Verifying Checksum 22:43:51 5eb5b503b376: Download complete 22:43:52 2f39f015ded8: Verifying Checksum 22:43:52 2f39f015ded8: Download complete 22:43:52 5eb5b503b376: Pull complete 22:43:52 5c69ac0246d0: Pull complete 22:43:53 ec43610c2a17: Pull complete 22:43:53 3a2ae6a8a46f: Pull complete 22:43:53 33b1e0a273af: Pull complete 22:43:53 5d3b04190fa2: Pull complete 22:43:57 2f39f015ded8: Pull complete 22:43:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:58 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 22:43:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-128 -v /w/workspace/y_app-rfid-llrp-inventory_PR-128:/w/workspace/y_app-rfid-llrp-inventory_PR-128:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:43:59 $ docker top 91e55f497d09eb6807fce11f9e61638730d65c4c7ea3b06b31e4c9b8d4f3a5dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:59 ---> job-cost.sh 22:43:59 lf-activate-venv: SKIPPING 22:43:59 INFO: No Stack... 22:44:00 INFO: Retrieving Pricing Info for: v3-standard-8 22:44:00 INFO: Archiving Costs [Pipeline] sh 22:44:00 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-128/archives/cost.csv 22:44:00 + cut -d, -f6 [Pipeline] lock 22:44:00 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] 22:44:00 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] did not exist. Created. 22:44:00 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:01 + echo total: 0.2199999988079071 [Pipeline] stash 22:44:01 Stashed 1 file(s) [Pipeline] } 22:44:01 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:44:01 $ docker stop --time=1 91e55f497d09eb6807fce11f9e61638730d65c4c7ea3b06b31e4c9b8d4f3a5dc 22:44:02 $ docker rm -f --volumes 91e55f497d09eb6807fce11f9e61638730d65c4c7ea3b06b31e4c9b8d4f3a5dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:44:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-979 in /w/workspace/y_app-rfid-llrp-inventory_PR-128 [Pipeline] { [Pipeline] ws 22:44:16 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 22:44:16 The recommended git tool is: git 22:44:21 using credential edgex-jenkins-ssh 22:44:21 Cloning the remote Git repository 22:44:21 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:44:21 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 22:44:21 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:44:21 > git --version # timeout=10 22:44:21 > git --version # 'git version 2.25.1' 22:44:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:23 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:44:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:24 Merging remotes/origin/main commit 808edfc9f6c328417489871725311f9c0d7bbc15 into PR head commit e8be8665377a8f574ee83d75fc69ae576ffb683b 22:44:24 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:44:24 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:44:24 > git config core.sparsecheckout # timeout=10 22:44:24 > git checkout -f e8be8665377a8f574ee83d75fc69ae576ffb683b # timeout=10 22:44:25 Merge succeeded, producing e8be8665377a8f574ee83d75fc69ae576ffb683b 22:44:25 Checking out Revision e8be8665377a8f574ee83d75fc69ae576ffb683b (PR-128) 22:44:25 > git remote # timeout=10 22:44:25 > git config --get remote.origin.url # timeout=10 22:44:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:25 > git merge 808edfc9f6c328417489871725311f9c0d7bbc15 # timeout=10 22:44:25 > git rev-parse HEAD^{commit} # timeout=10 22:44:25 > git config core.sparsecheckout # timeout=10 22:44:25 > git checkout -f e8be8665377a8f574ee83d75fc69ae576ffb683b # timeout=10 22:44:28 Commit message: "refactor!: Rename command line flags for the sake of consistency" 22:44:28 > git --version # timeout=10 22:44:28 > git --version # 'git version 2.25.1' 22:44:28 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:44:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:44:29 Dload Upload Total Spent Left Speed 22:44:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 22:44:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:44:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:44:30 + sudo tee /etc/docker/daemon.new 22:44:30 { 22:44:30 "registry-mirrors": [ 22:44:30 "https://nexus3.edgexfoundry.org:10001" 22:44:30 ], 22:44:30 "bip": "10.250.0.254/24", 22:44:30 "hosts": [ 22:44:30 "tcp://0.0.0.0:5555", 22:44:30 "unix:///var/run/docker.sock" 22:44:30 ], 22:44:30 "mtu": 1458, 22:44:30 "selinux-enabled": true, 22:44:30 "seccomp-profile": "/etc/docker/seccomp.json" 22:44:30 } [Pipeline] sh 22:44:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:44:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:49 provisioning config files... 22:44:49 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config2712845665323779811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:50 ---> docker-login.sh 22:44:50 nexus3.edgexfoundry.org:10001 22:44:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:50 Configure a credential helper to remove this warning. See 22:44:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:50 22:44:50 Login Succeeded 22:44:50 nexus3.edgexfoundry.org:10002 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 nexus3.edgexfoundry.org:10003 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 nexus3.edgexfoundry.org:10004 22:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:51 Configure a credential helper to remove this warning. See 22:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:51 22:44:51 Login Succeeded 22:44:51 docker.io 22:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:52 Configure a credential helper to remove this warning. See 22:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:52 22:44:52 Login Succeeded 22:44:52 ---> docker-login.sh ends [Pipeline] } 22:44:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:52 ========================================================= 22:44:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:44:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:44:53 Sending build context to Docker daemon 686.6kB 22:44:53 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:44:53 Step 2/13 : FROM ${BASE} AS builder 22:44:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:53 9b18e9b68314: Pulling fs layer 22:44:53 35d82f9e3411: Pulling fs layer 22:44:53 e16973657156: Pulling fs layer 22:44:53 fc693d55d65f: Pulling fs layer 22:44:53 7e9fc2657dce: Pulling fs layer 22:44:53 dda99020689f: Pulling fs layer 22:44:53 db1c61fa0a46: Pulling fs layer 22:44:53 891c053d2c06: Pulling fs layer 22:44:53 7e9fc2657dce: Waiting 22:44:53 dda99020689f: Waiting 22:44:53 db1c61fa0a46: Waiting 22:44:53 891c053d2c06: Waiting 22:44:53 fc693d55d65f: Waiting 22:44:53 e16973657156: Verifying Checksum 22:44:53 e16973657156: Download complete 22:44:53 35d82f9e3411: Verifying Checksum 22:44:53 35d82f9e3411: Download complete 22:44:53 7e9fc2657dce: Verifying Checksum 22:44:53 7e9fc2657dce: Download complete 22:44:53 dda99020689f: Verifying Checksum 22:44:53 dda99020689f: Download complete 22:44:53 9b18e9b68314: Verifying Checksum 22:44:53 9b18e9b68314: Download complete 22:44:54 9b18e9b68314: Pull complete 22:44:54 891c053d2c06: Verifying Checksum 22:44:54 891c053d2c06: Download complete 22:44:55 35d82f9e3411: Pull complete 22:44:55 e16973657156: Pull complete 22:44:55 db1c61fa0a46: Verifying Checksum 22:44:55 db1c61fa0a46: Download complete 22:44:56 fc693d55d65f: Verifying Checksum 22:44:56 fc693d55d65f: Download complete 22:45:08 fc693d55d65f: Pull complete 22:45:08 7e9fc2657dce: Pull complete 22:45:08 dda99020689f: Pull complete 22:45:11 db1c61fa0a46: Pull complete 22:45:13 891c053d2c06: Pull complete 22:45:13 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:45:13 ---> f96f9c87975a 22:45:13 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:45:15 ---> Running in 92d90b0fa817 22:45:16 Removing intermediate container 92d90b0fa817 22:45:16 ---> 7dcdeaa3c9a5 22:45:16 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:45:16 ---> Running in de37b155e694 22:45:16 Removing intermediate container de37b155e694 22:45:16 ---> 81a425f46b99 22:45:16 Step 5/13 : ARG ADD_BUILD_TAGS="" 22:45:16 ---> Running in 49481b32758a 22:45:16 Removing intermediate container 49481b32758a 22:45:16 ---> 367b1d87d6d4 22:45:16 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:45:16 ---> Running in 513be614db52 22:45:16 Removing intermediate container 513be614db52 22:45:16 ---> f7cf8e9a0ef2 22:45:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:17 ---> Running in 020c6b91f8ba 22:45:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:45:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:45:19 OK: 221 MiB in 51 packages 22:45:19 Removing intermediate container 020c6b91f8ba 22:45:19 ---> 5435d94c6a57 22:45:19 Step 8/13 : WORKDIR /app 22:45:20 ---> Running in dbb133a0df71 22:45:20 Removing intermediate container dbb133a0df71 22:45:20 ---> 6e47e8b694b6 22:45:20 Step 9/13 : COPY go.mod vendor* ./ 22:45:20 ---> f934089cda14 22:45:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:20 ---> Running in 17f27dedb237 22:46:07 Removing intermediate container 17f27dedb237 22:46:07 ---> 65e53d615ed9 22:46:07 Step 11/13 : COPY . . 22:46:08 ---> b8d48e0c7350 22:46:08 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:46:08 ---> Running in 13978b5248bd 22:46:08 Removing intermediate container 13978b5248bd 22:46:08 ---> 3828b47b6d45 22:46:08 Step 13/13 : RUN $MAKE 22:46:08 ---> Running in 47135b8952aa 22:46:09 noop 22:46:10 Removing intermediate container 47135b8952aa 22:46:10 ---> 3e7515e78dc4 22:46:10 Successfully built 3e7515e78dc4 22:46:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:10 + docker inspect -f . ci-base-image-arm64 22:46:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:10 prd-ubuntu20.04-docker-arm64-4c-16g-979 does not seem to be running inside a container 22:46:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:46:12 $ docker top 29266b3df9eaac3807d48ca39e826e0efdd16aea9c6b0c41e0ed81a0fdb1b56b -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:12 + go version 22:46:12 go version go1.18.7 linux/arm64 [Pipeline] } 22:46:12 $ docker stop --time=1 29266b3df9eaac3807d48ca39e826e0efdd16aea9c6b0c41e0ed81a0fdb1b56b 22:46:14 $ docker rm -f --volumes 29266b3df9eaac3807d48ca39e826e0efdd16aea9c6b0c41e0ed81a0fdb1b56b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:15 + docker inspect -f . ci-base-image-arm64 22:46:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:15 prd-ubuntu20.04-docker-arm64-4c-16g-979 does not seem to be running inside a container 22:46:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:46:16 $ docker top 11ca1bb4fd3115f391d153c05770636bf5640d5a3130cd71afd4780bc9118678 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:17 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 22:46:17 + make test 22:46:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:47:39 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:47:39 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.179s coverage: 86.2% of statements 22:47:39 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:47:42 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.709s coverage: 71.9% of statements 22:47:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:47:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:48:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:48:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:48:05 ./bin/test-attribution.sh [Pipeline] echo 22:48:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:48:05 $ docker stop --time=1 11ca1bb4fd3115f391d153c05770636bf5640d5a3130cd71afd4780bc9118678 22:48:06 $ docker rm -f --volumes 11ca1bb4fd3115f391d153c05770636bf5640d5a3130cd71afd4780bc9118678 [Pipeline] // withDockerContainer [Pipeline] sh 22:48:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:48:07 Warning: overwriting stash ‘coverage-report’ 22:48:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:48:09 + ls -al . 22:48:09 total 236 22:48:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 22:46 . 22:48:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:44 .. 22:48:09 -rw-rw-r-- 1 jenkins jenkins 262 Jan 3 22:44 .dockerignore 22:48:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:44 .git 22:48:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:44 .github 22:48:09 -rw-rw-r-- 1 jenkins jenkins 788 Jan 3 22:44 .gitignore 22:48:09 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 22:44 .golangci.yml 22:48:09 -rw-rw-r-- 1 jenkins jenkins 9922 Jan 3 22:44 Attribution.txt 22:48:09 -rw-rw-r-- 1 jenkins jenkins 4331 Jan 3 22:44 CHANGELOG.md 22:48:09 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 3 22:44 Dockerfile 22:48:09 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:44 GOVERNANCE.md 22:48:09 -rw-rw-r-- 1 jenkins jenkins 687 Jan 3 22:44 Jenkinsfile 22:48:09 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 3 22:44 LICENSE 22:48:09 -rw-rw-r-- 1 jenkins jenkins 3163 Jan 3 22:44 Makefile 22:48:09 -rw-rw-r-- 1 jenkins jenkins 617 Jan 3 22:44 OWNERS.md 22:48:09 -rw-rw-r-- 1 jenkins jenkins 31023 Jan 3 22:44 README.md 22:48:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:42 VERSION 22:48:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:44 bin 22:48:09 -rw-r--r-- 1 jenkins jenkins 41008 Jan 3 22:47 coverage.out 22:48:09 -rw-rw-r-- 1 jenkins jenkins 3598 Jan 3 22:44 go.mod 22:48:09 -rw-rw-r-- 1 jenkins jenkins 45001 Jan 3 22:44 go.sum 22:48:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:44 images 22:48:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:44 internal 22:48:09 -rw-rw-r-- 1 jenkins jenkins 531 Jan 3 22:44 main.go 22:48:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:44 res 22:48:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:44 snap 22:48:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:44 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:09 + 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=e8be8665377a8f574ee83d75fc69ae576ffb683b --label arch=arm64 --label version=0.0.0 . 22:48:09 Sending build context to Docker daemon 686.6kB 22:48:09 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 22:48:09 Step 2/30 : FROM ${BASE} AS builder 22:48:09 ---> 3e7515e78dc4 22:48:09 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:48:09 ---> Running in f887bcfc1dd4 22:48:10 Removing intermediate container f887bcfc1dd4 22:48:10 ---> 288acdbd61f5 22:48:10 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 22:48:10 ---> Running in b7c215823f36 22:48:10 Removing intermediate container b7c215823f36 22:48:10 ---> 6be9df1a3731 22:48:10 Step 5/30 : ARG ADD_BUILD_TAGS="" 22:48:10 ---> Running in bbef9f540a3e 22:48:11 Removing intermediate container bbef9f540a3e 22:48:11 ---> 8a10e0f054bc 22:48:11 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:48:11 ---> Running in 84d1905df5b4 22:48:11 Removing intermediate container 84d1905df5b4 22:48:11 ---> 6d8a89cf3183 22:48:11 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:48:11 ---> Running in f7fb7ee398d7 22:48:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:48:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:48:13 OK: 221 MiB in 51 packages 22:48:14 Removing intermediate container f7fb7ee398d7 22:48:14 ---> ea4dca890d0d 22:48:14 Step 8/30 : WORKDIR /app 22:48:14 ---> Running in 01f88193f97b 22:48:14 Removing intermediate container 01f88193f97b 22:48:14 ---> 7221dcaa28d9 22:48:14 Step 9/30 : COPY go.mod vendor* ./ 22:48:15 ---> 0f58b8726340 22:48:15 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:48:15 ---> Running in f4aed0834e14 22:48:17 Removing intermediate container f4aed0834e14 22:48:17 ---> eea25ddacdcc 22:48:17 Step 11/30 : COPY . . 22:48:17 ---> c54de5a3a6bd 22:48:17 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:48:17 ---> Running in a29233d27287 22:48:18 Removing intermediate container a29233d27287 22:48:18 ---> d6654f490f9d 22:48:18 Step 13/30 : RUN $MAKE 22:48:18 ---> Running in ded7cee7082a 22:48:19 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:50:56 Removing intermediate container ded7cee7082a 22:50:56 ---> db7e121000ad 22:50:56 Step 14/30 : FROM alpine:3.14 22:50:56 3.14: Pulling from library/alpine 22:50:56 90cda3b7c325: Pulling fs layer 22:50:56 90cda3b7c325: Verifying Checksum 22:50:56 90cda3b7c325: Download complete 22:50:56 90cda3b7c325: Pull complete 22:50:56 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 22:50:56 Status: Downloaded newer image for alpine:3.14 22:50:56 ---> 275902a1839d 22:50:56 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:50:56 ---> Running in fb89f1c09bbc 22:50:56 Removing intermediate container fb89f1c09bbc 22:50:56 ---> 38a53f5bdb38 22:50:56 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:50:56 ---> Running in 2d4e440f6e6e 22:50:56 Removing intermediate container 2d4e440f6e6e 22:50:56 ---> b1bd6e9765eb 22:50:56 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:50:56 ---> Running in 63e170bd0136 22:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:50:56 (1/7) Installing ca-certificates (20220614-r0) 22:50:56 (2/7) Installing dumb-init (1.2.5-r1) 22:50:56 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:50:56 (4/7) Installing libsodium (1.0.18-r0) 22:50:56 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:50:56 (6/7) Installing libzmq (4.3.4-r0) 22:50:56 (7/7) Installing zeromq (4.3.4-r0) 22:50:56 Executing busybox-1.33.1-r8.trigger 22:50:56 Executing ca-certificates-20220614-r0.trigger 22:50:56 OK: 9 MiB in 21 packages 22:50:56 Removing intermediate container 63e170bd0136 22:50:56 ---> 44752a001f8b 22:50:56 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:50:56 ---> e1b6cf3f75fc 22:50:56 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 22:50:56 ---> 5ba3ccd95602 22:50:56 Step 20/30 : COPY --from=builder /app/res/ /res/ 22:50:57 ---> b4f3d976e189 22:50:57 Step 21/30 : COPY --from=builder /app/static/ /static/ 22:50:57 ---> a52d8a9a9d29 22:50:57 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:50:58 ---> 5078cf8a97f8 22:50:58 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:50:58 ---> Running in 6237a6d98afe 22:51:00 Removing intermediate container 6237a6d98afe 22:51:00 ---> 44851711e851 22:51:00 Step 24/30 : VOLUME /cache 22:51:00 ---> Running in 295b9b664cd3 22:51:00 Removing intermediate container 295b9b664cd3 22:51:00 ---> d7d7db1e034f 22:51:00 Step 25/30 : EXPOSE 59711 22:51:00 ---> Running in 8373ae8bdd00 22:51:00 Removing intermediate container 8373ae8bdd00 22:51:00 ---> b8ee155b59b0 22:51:00 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:51:00 ---> Running in 8b4b3ad3d1e3 22:51:01 Removing intermediate container 8b4b3ad3d1e3 22:51:01 ---> f918c87ed8c3 22:51:01 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 22:51:01 ---> Running in 3ae6ed314f14 22:51:01 Removing intermediate container 3ae6ed314f14 22:51:01 ---> 4c7e752ac8f8 22:51:01 Step 28/30 : LABEL arch=arm64 22:51:01 ---> Running in 7fa197625019 22:51:01 Removing intermediate container 7fa197625019 22:51:01 ---> 46fa0e7a7ff8 22:51:01 Step 29/30 : LABEL git_sha=e8be8665377a8f574ee83d75fc69ae576ffb683b 22:51:01 ---> Running in 30fa4e43fa1f 22:51:02 Removing intermediate container 30fa4e43fa1f 22:51:02 ---> 1f5e8df01016 22:51:02 Step 30/30 : LABEL version=0.0.0 22:51:02 ---> Running in 00da67944851 22:51:02 Removing intermediate container 00da67944851 22:51:02 ---> 409c94b0690f 22:51:02 [Warning] One or more build-args [ARCH] were not consumed 22:51:02 Successfully built 409c94b0690f 22:51:02 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:03 22:51:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:03 arm64: Pulling from edgex-lftools-log-publisher 22:51:03 8998bd30e6a1: Pulling fs layer 22:51:03 04944245beec: Pulling fs layer 22:51:03 699f458cf7ca: Pulling fs layer 22:51:03 765212b225bb: Pulling fs layer 22:51:03 f23df028b6ca: Pulling fs layer 22:51:03 d65c8cfc05b1: Pulling fs layer 22:51:03 2437ff75d9bd: Pulling fs layer 22:51:03 f23df028b6ca: Waiting 22:51:03 d65c8cfc05b1: Waiting 22:51:03 2437ff75d9bd: Waiting 22:51:03 765212b225bb: Waiting 22:51:03 04944245beec: Verifying Checksum 22:51:03 04944245beec: Download complete 22:51:03 765212b225bb: Verifying Checksum 22:51:03 765212b225bb: Download complete 22:51:04 f23df028b6ca: Verifying Checksum 22:51:04 f23df028b6ca: Download complete 22:51:04 d65c8cfc05b1: Verifying Checksum 22:51:04 d65c8cfc05b1: Download complete 22:51:04 699f458cf7ca: Verifying Checksum 22:51:04 699f458cf7ca: Download complete 22:51:04 8998bd30e6a1: Verifying Checksum 22:51:04 8998bd30e6a1: Download complete 22:51:07 2437ff75d9bd: Verifying Checksum 22:51:07 2437ff75d9bd: Download complete 22:51:08 8998bd30e6a1: Pull complete 22:51:08 04944245beec: Pull complete 22:51:10 699f458cf7ca: Pull complete 22:51:10 765212b225bb: Pull complete 22:51:11 f23df028b6ca: Pull complete 22:51:11 d65c8cfc05b1: Pull complete 22:51:26 2437ff75d9bd: Pull complete 22:51:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:51:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:26 prd-ubuntu20.04-docker-arm64-4c-16g-979 does not seem to be running inside a container 22:51:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:51:29 $ docker top f1a6b02877585c25dbd044f08c3ee739b43a1044cf41c7ea5a3444dc7c931090 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:29 ---> job-cost.sh 22:51:30 lf-activate-venv: SKIPPING 22:51:30 INFO: No Stack... 22:51:30 INFO: Retrieving Pricing Info for: v3-standard-4 22:51:31 INFO: Archiving Costs [Pipeline] sh 22:51:31 + + cutcat -d, /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv -f6 22:51:31 [Pipeline] lock 22:51:31 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] 22:51:31 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] did not exist. Created. 22:51:31 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:51:32 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-b0bfa6b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:51:32 + echo total: 0.10999999940395355 [Pipeline] stash 22:51:32 Warning: overwriting stash ‘stack-cost’ 22:51:32 Stashed 1 file(s) [Pipeline] } 22:51:32 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-128-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:51:32 $ docker stop --time=1 f1a6b02877585c25dbd044f08c3ee739b43a1044cf41c7ea5a3444dc7c931090 22:51:33 $ docker rm -f --volumes f1a6b02877585c25dbd044f08c3ee739b43a1044cf41c7ea5a3444dc7c931090 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:51:34 provisioning config files... 22:51:34 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/config3576939983776608781tmp [Pipeline] { [Pipeline] sh 22:51:35 + set +x 22:51:35 + bash -s -- 22:51:35 + curl -s https://codecov.io/bash 22:51:35 22:51:35 _____ _ 22:51:35 / ____| | | 22:51:35 | | ___ __| | ___ ___ _____ __ 22:51:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:51:35 | |___| (_) | (_| | __/ (_| (_) \ V / 22:51:35 \_____\___/ \__,_|\___|\___\___/ \_/ 22:51:35 Bash-1.0.6 22:51:35 22:51:35 22:51:35 ==> git version 2.25.1 found 22:51:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:51:35 Release-Date: 2020-01-08 22:51:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:51:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:51:35 ==> Jenkins CI detected. 22:51:35 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-128 22:51:35 project root: . 22:51:35 --> token set from env 22:51:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:51:35 ==> Running gcov in . (disable via -X gcov) 22:51:35 ==> Python coveragepy not found 22:51:35 ==> Searching for coverage reports in: 22:51:35 + . 22:51:35 -> Found 1 reports 22:51:35 ==> Detecting git/mercurial file structure 22:51:35 ==> Reading reports 22:51:35 + ./coverage.out bytes=41008 22:51:35 ==> Appending adjustments 22:51:35 https://docs.codecov.io/docs/fixing-reports 22:51:35 + Found adjustments 22:51:35 ==> Gzipping contents 22:51:35 12K /tmp/codecov.gFKGpt.gz 22:51:35 ==> Uploading reports 22:51:35 url: https://codecov.io 22:51:35 query: branch=PR-128&commit=e8be8665377a8f574ee83d75fc69ae576ffb683b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-128%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=128&job=&cmd_args= 22:51:35 -> Pinging Codecov 22:51:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-128&commit=e8be8665377a8f574ee83d75fc69ae576ffb683b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-128%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=128&job=&cmd_args= 22:51:35 -> Uploading to 22:51:35 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/581DD39554BDF9B6E22D074273EAD858/e8be8665377a8f574ee83d75fc69ae576ffb683b/6033ae02-cecd-4cc7-862f-c6e022b07c16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T225135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9bdeac38d0599cfebea345cc7976d0222c8aa6469412bae025641f87fb57a9ac 22:51:35 % Total % Received % Xferd Average Speed Time Time Time Current 22:51:35 Dload Upload Total Spent Left Speed 22:51:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11451 0 0 100 11451 0 49571 --:--:-- --:--:-- --:--:-- 49571 22:51:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/e8be8665377a8f574ee83d75fc69ae576ffb683b [Pipeline] } 22:51:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:51:37 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-128/archives ] 22:51:37 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-128/archives 22:51:37 total 16 22:51:37 drwxr-xr-x 3 root root 4096 Jan 3 22:44 . 22:51:37 drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 22:44 .. 22:51:37 drwxr-xr-x 2 root root 4096 Jan 3 22:44 cost 22:51:37 -rw-r--r-- 1 root root 95 Jan 3 22:44 cost.csv 22:51:37 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-128/archives 22:51:37 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-128/archives 22:51:37 total 16 22:51:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:44 . 22:51:37 drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 22:44 .. 22:51:37 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 22:44 cost 22:51:37 -rw-r--r-- 1 jenkins jenkins 95 Jan 3 22:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:51:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:51:39 ---> package-listing.sh 22:51:39 ++ facter osfamily 22:51:39 ++ tr '[:upper:]' '[:lower:]' 22:51:39 + OS_FAMILY=debian 22:51:39 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-128 22:51:39 + START_PACKAGES=/tmp/packages_start.txt 22:51:39 + END_PACKAGES=/tmp/packages_end.txt 22:51:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:51:39 + PACKAGES=/tmp/packages_start.txt 22:51:39 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-128 ']' 22:51:39 + PACKAGES=/tmp/packages_end.txt 22:51:39 + case "${OS_FAMILY}" in 22:51:39 + dpkg -l 22:51:39 + grep '^ii' 22:51:39 + '[' -f /tmp/packages_start.txt ']' 22:51:39 + '[' -f /tmp/packages_end.txt ']' 22:51:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:51:39 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-128 ']' 22:51:39 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-128/archives/ 22:51:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-128/archives/ [Pipeline] echo 22:51:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-128/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:51:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:40 prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container 22:51:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-128/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-128 -v /w/workspace/y_app-rfid-llrp-inventory_PR-128:/w/workspace/y_app-rfid-llrp-inventory_PR-128:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:51:40 $ docker top 275eb464e4ac213b6b4433a0f1c92effad0f4877a2138e4f218482e04d83b9ae -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:41 + touch /tmp/pre-build-complete [Pipeline] sh 22:51:41 + mkdir -p /var/log/sysstat [Pipeline] sh 22:51:41 + ls /var/log/sa-host 22:51:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:51:41 provisioning config files... 22:51:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-128@tmp/config2506821793126407880tmp [Pipeline] { [Pipeline] echo 22:51:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:51:42 ---> create-netrc.sh [Pipeline] } 22:51:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:51:42 ---> python-tools-install.sh [Pipeline] echo 22:51:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:51:42 ---> sudo-logs.sh 22:51:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:51:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:51:43 ---> job-cost.sh 22:51:43 lf-activate-venv: SKIPPING 22:51:43 DEBUG: total: 0.2199999988079071 22:51:43 INFO: Retrieving Stack Cost... 22:51:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:51:44 INFO: Archiving Costs [Pipeline] echo 22:51:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:51:44 ---> logs-deploy.sh 22:51:44 lf-activate-venv: SKIPPING 22:51:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-128/1 22:51:44 INFO: archiving workspace using pattern(s): 22:51:45 Archives upload complete. 22:51:45 INFO: archiving logs to Nexus