Pull request #103 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57819d1de132e5dcf0fc65ae8abee5d2ec99f973+bdd9de2e6b7fb58cdebc45eb3705f9970870401e (84313d92f9e986e37e1d38f6549068f47801e7ce) 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-ssh17458696548635186879.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh5235184570370608507.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3246334174727506025.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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3094267688397690574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh8713571748864568690.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3855777262889718888.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21678 in /w/workspace/y_app-rfid-llrp-inventory_PR-103 [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-103 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bdd9de2e6b7fb58cdebc45eb3705f9970870401e into PR head commit 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 Merge succeeded, producing 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 Checking out Revision 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 (PR-103) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # 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 bdd9de2e6b7fb58cdebc45eb3705f9970870401e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:13:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:13:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:13:57 ========================================================= 13:13:57 EdgeX Global Pipelines Version Info 13:13:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:13:58 ------------------- 13:13:58 stable info: 13:13:58 ------------------- 13:13:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:58 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:13:58 Message: update stable to v1.0.238 13:13:58 ------------------- 13:13:58 experimental info: 13:13:58 ------------------- 13:13:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:58 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:13:58 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:13:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57819d1 [Pipeline] echo 13:14:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:14:00 provisioning config files... 13:14:00 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config410942368896521233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:14:00 ---> docker-login.sh 13:14:00 nexus3.edgexfoundry.org:10001 13:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:01 Configure a credential helper to remove this warning. See 13:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:01 13:14:01 Login Succeeded 13:14:01 nexus3.edgexfoundry.org:10002 13:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:01 Configure a credential helper to remove this warning. See 13:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:01 13:14:01 Login Succeeded 13:14:01 nexus3.edgexfoundry.org:10003 13:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:01 Configure a credential helper to remove this warning. See 13:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:01 13:14:01 Login Succeeded 13:14:01 nexus3.edgexfoundry.org:10004 13:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:01 Configure a credential helper to remove this warning. See 13:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:01 13:14:01 Login Succeeded 13:14:01 docker.io 13:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:02 Configure a credential helper to remove this warning. See 13:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:02 13:14:02 Login Succeeded 13:14:02 ---> docker-login.sh ends [Pipeline] } 13:14:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:14:02 + git rev-list -1 --merges 57819d1de132e5dcf0fc65ae8abee5d2ec99f973~1..57819d1de132e5dcf0fc65ae8abee5d2ec99f973 [Pipeline] echo 13:14:02 -----------> git rev-list -1 --merges 57819d1de132e5dcf0fc65ae8abee5d2ec99f973~1..57819d1de132e5dcf0fc65ae8abee5d2ec99f973 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 [false] [Pipeline] sh 13:14:03 + git log --format=format:%s -1 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 [Pipeline] echo 13:14:03 ========================================================= 13:14:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:14:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:03 + git log --format=format:%s -1 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 [Pipeline] echo 13:14:03 [semverPrep] GIT_COMMIT: 57819d1de132e5dcf0fc65ae8abee5d2ec99f973, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 13:14:03 [semverPrep] This is not a build commit. [Pipeline] sh 13:14:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:14:04 + grep -v github /etc/ssh/ssh_known_hosts 13:14:04 + [ -e /tmp/ssh_known_hosts ] 13:14:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:14:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:14:04 + sudo tee -a /etc/ssh/ssh_known_hosts 13:14:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:04 13:14:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:05 0.1.4: Pulling from edgex-devops/py-git-semver 13:14:05 b85a868b505f: Pulling fs layer 13:14:05 e2be974225ed: Pulling fs layer 13:14:05 339a4e72a1f5: Pulling fs layer 13:14:05 988bab9f4d93: Pulling fs layer 13:14:05 1469e6f7b9e6: Pulling fs layer 13:14:05 eaf3925da568: Pulling fs layer 13:14:05 bab4dde63d76: Pulling fs layer 13:14:05 bde34c3a00c8: Pulling fs layer 13:14:05 b352a97aabf1: Pulling fs layer 13:14:05 4872d77fe225: Pulling fs layer 13:14:05 5851b861e8e6: Pulling fs layer 13:14:05 988bab9f4d93: Waiting 13:14:05 1469e6f7b9e6: Waiting 13:14:05 eaf3925da568: Waiting 13:14:05 4872d77fe225: Waiting 13:14:05 5851b861e8e6: Waiting 13:14:05 bde34c3a00c8: Waiting 13:14:05 b352a97aabf1: Waiting 13:14:05 bab4dde63d76: Waiting 13:14:05 e2be974225ed: Verifying Checksum 13:14:05 e2be974225ed: Download complete 13:14:05 988bab9f4d93: Verifying Checksum 13:14:05 988bab9f4d93: Download complete 13:14:05 1469e6f7b9e6: Verifying Checksum 13:14:05 1469e6f7b9e6: Download complete 13:14:05 339a4e72a1f5: Verifying Checksum 13:14:05 339a4e72a1f5: Download complete 13:14:05 eaf3925da568: Verifying Checksum 13:14:05 eaf3925da568: Download complete 13:14:05 bde34c3a00c8: Verifying Checksum 13:14:05 bde34c3a00c8: Download complete 13:14:05 b352a97aabf1: Download complete 13:14:05 4872d77fe225: Verifying Checksum 13:14:05 4872d77fe225: Download complete 13:14:05 5851b861e8e6: Download complete 13:14:05 b85a868b505f: Verifying Checksum 13:14:05 b85a868b505f: Download complete 13:14:05 bab4dde63d76: Verifying Checksum 13:14:05 bab4dde63d76: Download complete 13:14:06 b85a868b505f: Pull complete 13:14:06 e2be974225ed: Pull complete 13:14:07 339a4e72a1f5: Pull complete 13:14:07 988bab9f4d93: Pull complete 13:14:08 1469e6f7b9e6: Pull complete 13:14:08 eaf3925da568: Pull complete 13:14:10 bab4dde63d76: Pull complete 13:14:10 bde34c3a00c8: Pull complete 13:14:10 b352a97aabf1: Pull complete 13:14:10 4872d77fe225: Pull complete 13:14:10 5851b861e8e6: Pull complete 13:14:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:14:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:10 prd-ubuntu20.04-docker-8c-8g-21678 does not seem to be running inside a container 13:14: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-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:14:12 $ docker top 6785b0a52d50adf96a5e03f4462bc868d4524b382da9a483811eedebc68af774 -eo pid,comm 13:14:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:14:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:14:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:14:12 [ssh-agent] Looking for ssh-agent implementation... 13:14:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:14:12 $ docker exec 6785b0a52d50adf96a5e03f4462bc868d4524b382da9a483811eedebc68af774 ssh-agent 13:14:12 SSH_AUTH_SOCK=/tmp/ssh-hkV9TAw89cMv/agent.33 13:14:12 SSH_AGENT_PID=40 13:14:12 Running ssh-add (command line suppressed) 13:14:12 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_4829663639499281639.key (/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_4829663639499281639.key) 13:14:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:14:13 + git tag --points-at HEAD [Pipeline] } 13:14:13 $ docker exec --env ******** --env ******** 6785b0a52d50adf96a5e03f4462bc868d4524b382da9a483811eedebc68af774 ssh-agent -k 13:14:13 unset SSH_AUTH_SOCK; 13:14:13 unset SSH_AGENT_PID; 13:14:13 echo Agent pid 40 killed; 13:14:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:14:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:14:13 [ssh-agent] Looking for ssh-agent implementation... 13:14:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:14:13 $ docker exec 6785b0a52d50adf96a5e03f4462bc868d4524b382da9a483811eedebc68af774 ssh-agent 13:14:13 SSH_AUTH_SOCK=/tmp/ssh-ohd97dkIPQxG/agent.72 13:14:13 SSH_AGENT_PID=78 13:14:13 Running ssh-add (command line suppressed) 13:14:13 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_8645688533216660990.key (/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/private_key_8645688533216660990.key) 13:14:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:14:14 + git semver init 13:14:14 2022-08-01 13:14:14,378 [run_init] DEBUG init version:0.0.0 force:False 13:14:14 2022-08-01 13:14:14,379 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver 13:14:14 2022-08-01 13:14:14,379 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver 13:14:14 2022-08-01 13:14:14,379 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-103, universal_newlines=False, shell=None, istream=None) 13:14:15 2022-08-01 13:14:15,371 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.git/info/exclude 13:14:15 2022-08-01 13:14:15,372 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver/PR-103 with force:False 13:14:15 2022-08-01 13:14:15,372 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver/PR-103 13:14:15 2022-08-01 13:14:15,377 [execute] INFO git cat-file --batch-check 13:14:15 2022-08-01 13:14:15,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver, universal_newlines=False, shell=None, istream=) 13:14:15 2022-08-01 13:14:15,384 [execute] INFO git cat-file --batch 13:14:15 2022-08-01 13:14:15,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver, universal_newlines=False, shell=None, istream=) 13:14:15 2022-08-01 13:14:15,390 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-103/.semver/PR-103 13:14:15 0.0.0 [Pipeline] } 13:14:15 $ docker exec --env ******** --env ******** 6785b0a52d50adf96a5e03f4462bc868d4524b382da9a483811eedebc68af774 ssh-agent -k 13:14:15 unset SSH_AUTH_SOCK; 13:14:15 unset SSH_AGENT_PID; 13:14:15 echo Agent pid 78 killed; 13:14:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:14:16 + git semver [Pipeline] } 13:14:16 $ docker stop --time=1 6785b0a52d50adf96a5e03f4462bc868d4524b382da9a483811eedebc68af774 13:14:18 $ docker rm -f 6785b0a52d50adf96a5e03f4462bc868d4524b382da9a483811eedebc68af774 [Pipeline] // withDockerContainer [Pipeline] sh 13:14:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:14:18 Stashed 1 file(s) [Pipeline] echo 13:14: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 13:14:19 provisioning config files... 13:14:19 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config4684677445115702855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:14:19 ---> docker-login.sh 13:14:19 nexus3.edgexfoundry.org:10001 13:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:19 Configure a credential helper to remove this warning. See 13:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:19 13:14:19 Login Succeeded 13:14:19 nexus3.edgexfoundry.org:10002 13:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:19 Configure a credential helper to remove this warning. See 13:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:19 13:14:19 Login Succeeded 13:14:19 nexus3.edgexfoundry.org:10003 13:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:19 Configure a credential helper to remove this warning. See 13:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:19 13:14:19 Login Succeeded 13:14:19 nexus3.edgexfoundry.org:10004 13:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:20 Configure a credential helper to remove this warning. See 13:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:20 13:14:20 Login Succeeded 13:14:20 docker.io 13:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:20 Configure a credential helper to remove this warning. See 13:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:20 13:14:20 Login Succeeded 13:14:20 ---> docker-login.sh ends [Pipeline] } 13:14:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:14:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:14:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:14:20 ========================================================= 13:14:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:14:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:21 + 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 . 13:14:21 Sending build context to Docker daemon 12.47MB 13:14:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:14:21 Step 2/13 : FROM ${BASE} AS builder 13:14:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:14:21 2408cc74d12b: Pulling fs layer 13:14:21 ea60b727a1ce: Pulling fs layer 13:14:21 30c4a7721957: Pulling fs layer 13:14:21 370296b7ddb6: Pulling fs layer 13:14:21 7c6cee850709: Pulling fs layer 13:14:21 39a5fcdaea64: Pulling fs layer 13:14:21 d94ebbe4e438: Pulling fs layer 13:14:21 bcfd1f05c69d: Pulling fs layer 13:14:21 59ccb84bbe0f: Pulling fs layer 13:14:21 7c6cee850709: Waiting 13:14:21 39a5fcdaea64: Waiting 13:14:21 d94ebbe4e438: Waiting 13:14:21 bcfd1f05c69d: Waiting 13:14:21 370296b7ddb6: Waiting 13:14:21 59ccb84bbe0f: Waiting 13:14:21 30c4a7721957: Verifying Checksum 13:14:21 30c4a7721957: Download complete 13:14:21 ea60b727a1ce: Verifying Checksum 13:14:21 ea60b727a1ce: Download complete 13:14:21 7c6cee850709: Verifying Checksum 13:14:21 7c6cee850709: Download complete 13:14:21 39a5fcdaea64: Verifying Checksum 13:14:21 39a5fcdaea64: Download complete 13:14:21 2408cc74d12b: Download complete 13:14:21 d94ebbe4e438: Verifying Checksum 13:14:21 d94ebbe4e438: Download complete 13:14:21 2408cc74d12b: Pull complete 13:14:21 ea60b727a1ce: Pull complete 13:14:21 30c4a7721957: Pull complete 13:14:22 59ccb84bbe0f: Verifying Checksum 13:14:22 59ccb84bbe0f: Download complete 13:14:22 bcfd1f05c69d: Verifying Checksum 13:14:22 bcfd1f05c69d: Download complete 13:14:22 370296b7ddb6: Download complete 13:14:26 370296b7ddb6: Pull complete 13:14:26 7c6cee850709: Pull complete 13:14:26 39a5fcdaea64: Pull complete 13:14:26 d94ebbe4e438: Pull complete 13:14:29 bcfd1f05c69d: Pull complete 13:14:29 59ccb84bbe0f: Pull complete 13:14:29 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 13:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:14:29 ---> a4fb48ad2a94 13:14:29 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:14:31 ---> Running in 88b27497caf9 13:14:31 Removing intermediate container 88b27497caf9 13:14:31 ---> 8cf92193d70a 13:14:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:14:31 ---> Running in a8df073c615a 13:14:31 Removing intermediate container a8df073c615a 13:14:31 ---> c0521a5954e1 13:14:31 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:14:31 ---> Running in 98b96f99174c 13:14:32 Removing intermediate container 98b96f99174c 13:14:32 ---> 194b2c459929 13:14:32 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:32 ---> Running in 672e598d9c40 13:14:32 Removing intermediate container 672e598d9c40 13:14:32 ---> 3481f845589f 13:14:32 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:32 ---> Running in 4eb56e380765 13:14:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:14:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:14:34 OK: 211 MiB in 51 packages 13:14:34 Still waiting to schedule task 13:14:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:14:34 Removing intermediate container 4eb56e380765 13:14:34 ---> 825d4bdc1c79 13:14:34 Step 8/13 : WORKDIR /app 13:14:34 ---> Running in a161145b4f72 13:14:34 Removing intermediate container a161145b4f72 13:14:34 ---> 7c9e8bd1b30c 13:14:34 Step 9/13 : COPY go.mod vendor* ./ 13:14:34 ---> 7420234ccf17 13:14:34 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:34 ---> Running in d7e2ee77dbf6 13:14:56 Removing intermediate container d7e2ee77dbf6 13:14:56 ---> 03cc24a29e99 13:14:56 Step 11/13 : COPY . . 13:14:56 ---> eeed63372eb2 13:14:56 Step 12/13 : ARG MAKE="make build" 13:14:56 ---> Running in 0d817eb3a3c8 13:14:56 Removing intermediate container 0d817eb3a3c8 13:14:56 ---> 22abb0bef101 13:14:56 Step 13/13 : RUN $MAKE 13:14:56 ---> Running in 305acd46c78d 13:14:56 noop 13:14:56 Removing intermediate container 305acd46c78d 13:14:56 ---> ef862275ab53 13:14:56 Successfully built ef862275ab53 13:14:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:57 + docker inspect -f . ci-base-image-x86_64 13:14:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:57 prd-ubuntu20.04-docker-8c-8g-21678 does not seem to be running inside a container 13:14:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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 ******** ci-base-image-x86_64 cat 13:14:58 $ docker top c90f6e6e6e33591f3eb47938864fe3e5624508ffb338ed32c65eb9f0c0c8fcc2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:58 + go version 13:14:58 go version go1.18.3 linux/amd64 [Pipeline] } 13:14:58 $ docker stop --time=1 c90f6e6e6e33591f3eb47938864fe3e5624508ffb338ed32c65eb9f0c0c8fcc2 13:14:59 $ docker rm -f c90f6e6e6e33591f3eb47938864fe3e5624508ffb338ed32c65eb9f0c0c8fcc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:00 + docker inspect -f . ci-base-image-x86_64 13:15:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:00 prd-ubuntu20.04-docker-8c-8g-21678 does not seem to be running inside a container 13:15:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/y_app-rfid-llrp-inventory_PR-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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 ******** ci-base-image-x86_64 cat 13:15:01 $ docker top 9f8e385176406938b7b78b7078984ff7ee3e489bf099de2803c222fb4fac5c51 -eo pid,comm [Pipeline] { [Pipeline] sh 13:15:01 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-103 [Pipeline] fileExists [Pipeline] sh 13:15:02 + make test 13:15:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:15:14 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:15:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.047s coverage: 86.2% of statements 13:15:14 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:15:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.557s coverage: 71.9% of statements 13:15:23 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." 13:15:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:15:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:15:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:15:27 ./bin/test-attribution.sh [Pipeline] echo 13:15:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:15:27 $ docker stop --time=1 9f8e385176406938b7b78b7078984ff7ee3e489bf099de2803c222fb4fac5c51 13:15:29 $ docker rm -f 9f8e385176406938b7b78b7078984ff7ee3e489bf099de2803c222fb4fac5c51 [Pipeline] // withDockerContainer [Pipeline] sh 13:15:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:15:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:15:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:15:31 + ls -al . 13:15:31 total 228 13:15:31 drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 13:15 . 13:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 13:13 .. 13:15:31 -rw-rw-r-- 1 jenkins jenkins 262 Aug 1 13:13 .dockerignore 13:15:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 13:15 .git 13:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 13:13 .github 13:15:31 -rw-rw-r-- 1 jenkins jenkins 788 Aug 1 13:13 .gitignore 13:15:31 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 13:13 .golangci.yml 13:15:31 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 13:14 .semver 13:15:31 -rw-rw-r-- 1 jenkins jenkins 9546 Aug 1 13:13 Attribution.txt 13:15:31 -rw-rw-r-- 1 jenkins jenkins 2487 Aug 1 13:13 CHANGELOG.md 13:15:31 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 1 13:13 Dockerfile 13:15:31 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 13:13 GOVERNANCE.md 13:15:31 -rw-rw-r-- 1 jenkins jenkins 687 Aug 1 13:13 Jenkinsfile 13:15:31 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 1 13:13 LICENSE 13:15:31 -rw-rw-r-- 1 jenkins jenkins 2949 Aug 1 13:13 Makefile 13:15:31 -rw-rw-r-- 1 jenkins jenkins 617 Aug 1 13:13 OWNERS.md 13:15:31 -rw-rw-r-- 1 jenkins jenkins 30359 Aug 1 13:13 README.md 13:15:31 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 13:14 VERSION 13:15:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 13:13 bin 13:15:31 -rw-r--r-- 1 jenkins jenkins 41008 Aug 1 13:15 coverage.out 13:15:31 -rw-rw-r-- 1 jenkins jenkins 3540 Aug 1 13:13 go.mod 13:15:31 -rw-rw-r-- 1 jenkins jenkins 36292 Aug 1 13:13 go.sum 13:15:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 13:13 images 13:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 13:13 internal 13:15:31 -rw-rw-r-- 1 jenkins jenkins 531 Aug 1 13:13 main.go 13:15:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 13:13 res 13:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 13:13 snap 13:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 13:13 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:31 + 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=57819d1de132e5dcf0fc65ae8abee5d2ec99f973 --label arch=amd64 --label version=0.0.0 . 13:15:31 Sending build context to Docker daemon 12.47MB 13:15:31 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 13:15:31 Step 2/31 : FROM ${BASE} AS builder 13:15:31 ---> ef862275ab53 13:15:31 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:15:31 ---> Running in 2a1662081850 13:15:31 Removing intermediate container 2a1662081850 13:15:31 ---> ae94e084c58e 13:15:31 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:15:31 ---> Running in baa7e0df38cd 13:15:31 Removing intermediate container baa7e0df38cd 13:15:31 ---> 484a64770a4f 13:15:31 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:15:31 ---> Running in 2b145994818c 13:15:31 Removing intermediate container 2b145994818c 13:15:31 ---> 9627c82fefca 13:15:31 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:31 ---> Running in f1d0c435f7ae 13:15:32 Removing intermediate container f1d0c435f7ae 13:15:32 ---> a0ba2cddb1cd 13:15:32 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:32 ---> Running in 1e95e8ef38d8 13:15:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:15:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:15:34 OK: 211 MiB in 51 packages 13:15:34 Removing intermediate container 1e95e8ef38d8 13:15:34 ---> 0e0822b12ec3 13:15:34 Step 8/31 : WORKDIR /app 13:15:34 ---> Running in 1d70b722c22a 13:15:34 Removing intermediate container 1d70b722c22a 13:15:34 ---> a560ebdf3b3d 13:15:34 Step 9/31 : COPY go.mod vendor* ./ 13:15:34 ---> 54dd06c4aff4 13:15:34 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:34 ---> Running in f91d499f4afe 13:15:35 Removing intermediate container f91d499f4afe 13:15:35 ---> 206e3b46bd59 13:15:35 Step 11/31 : COPY . . 13:15:36 ---> 134e6a1b4ffa 13:15:36 Step 12/31 : ARG MAKE="make build" 13:15:36 ---> Running in 22a11544d14f 13:15:36 Removing intermediate container 22a11544d14f 13:15:36 ---> 8b019bd220f9 13:15:36 Step 13/31 : RUN $MAKE 13:15:36 ---> Running in 33b40eb4e0d8 13:15:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 13:15:58 Removing intermediate container 33b40eb4e0d8 13:15:58 ---> 675e30cccb67 13:15:58 Step 14/31 : FROM alpine:3.14 13:15:58 3.14: Pulling from library/alpine 13:15:58 decfdc335d9b: Pulling fs layer 13:15:59 decfdc335d9b: Download complete 13:15:59 decfdc335d9b: Pull complete 13:15:59 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 13:15:59 Status: Downloaded newer image for alpine:3.14 13:15:59 ---> 5977be310a9d 13:15:59 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:15:59 ---> Running in 23c64b3375f3 13:15:59 Removing intermediate container 23c64b3375f3 13:15:59 ---> 9f1de9221542 13:15:59 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:15:59 ---> Running in cdb2b4aa2e4b 13:15:59 Removing intermediate container cdb2b4aa2e4b 13:15:59 ---> 4b3165d5d4d6 13:15:59 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:59 ---> Running in f260b6b9fe1b 13:16:00 Removing intermediate container f260b6b9fe1b 13:16:00 ---> 3ad2bfc682fe 13:16:00 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:16:00 ---> Running in d9030955c43f 13:16:00 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:16:01 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:16:01 (1/7) Installing ca-certificates (20220614-r0) 13:16:01 (2/7) Installing dumb-init (1.2.5-r1) 13:16:02 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:16:02 (4/7) Installing libsodium (1.0.18-r0) 13:16:02 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:16:02 (6/7) Installing libzmq (4.3.4-r0) 13:16:02 (7/7) Installing zeromq (4.3.4-r0) 13:16:02 Executing busybox-1.33.1-r8.trigger 13:16:02 Executing ca-certificates-20220614-r0.trigger 13:16:02 OK: 9 MiB in 21 packages 13:16:02 Removing intermediate container d9030955c43f 13:16:02 ---> dc86e2b81cd8 13:16:02 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:16:03 ---> 1c5f30996c9c 13:16:03 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:16:03 ---> 00c2bb6f5836 13:16:03 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:16:03 ---> ac661b97c977 13:16:03 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:16:03 ---> f586511fe155 13:16:03 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:16:04 ---> 392d04c567f7 13:16:04 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:16:04 ---> Running in aff464179af6 13:16:04 Removing intermediate container aff464179af6 13:16:04 ---> aabc0599bc2b 13:16:04 Step 25/31 : VOLUME /cache 13:16:04 ---> Running in 89de15b31c63 13:16:05 Removing intermediate container 89de15b31c63 13:16:05 ---> 74844ecc71d5 13:16:05 Step 26/31 : EXPOSE 59711 13:16:05 ---> Running in 32b5cf68e826 13:16:05 Removing intermediate container 32b5cf68e826 13:16:05 ---> e8f395b90369 13:16:05 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:16:05 ---> Running in 6e27ec753ab0 13:16:05 Removing intermediate container 6e27ec753ab0 13:16:05 ---> fa347a68ac18 13:16:05 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:16:05 ---> Running in d4cf4e9af316 13:16:05 Removing intermediate container d4cf4e9af316 13:16:05 ---> 61ad1fd87799 13:16:05 Step 29/31 : LABEL arch=amd64 13:16:05 ---> Running in d5266dedf02a 13:16:05 Removing intermediate container d5266dedf02a 13:16:05 ---> 5ae537fb10c2 13:16:05 Step 30/31 : LABEL git_sha=57819d1de132e5dcf0fc65ae8abee5d2ec99f973 13:16:05 ---> Running in dec8e2633ab4 13:16:05 Removing intermediate container dec8e2633ab4 13:16:05 ---> a8b8c5dd632d 13:16:05 Step 31/31 : LABEL version=0.0.0 13:16:05 ---> Running in 03a8ba659b79 13:16:05 Removing intermediate container 03a8ba659b79 13:16:05 ---> acf4c592d2c7 13:16:05 [Warning] One or more build-args [ARCH] were not consumed 13:16:05 Successfully built acf4c592d2c7 13:16:05 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:06 13:16:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 13:16:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21680 in /w/workspace/y_app-rfid-llrp-inventory_PR-103 [Pipeline] { [Pipeline] sh [Pipeline] ws 13:16:06 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:16:06 The recommended git tool is: git 13:16:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:07 latest: Pulling from edgex-lftools-log-publisher 13:16:07 5eb5b503b376: Pulling fs layer 13:16:07 5c69ac0246d0: Pulling fs layer 13:16:07 ec43610c2a17: Pulling fs layer 13:16:07 3a2ae6a8a46f: Pulling fs layer 13:16:07 33b1e0a273af: Pulling fs layer 13:16:07 5d3b04190fa2: Pulling fs layer 13:16:07 2f39f015ded8: Pulling fs layer 13:16:07 3a2ae6a8a46f: Waiting 13:16:07 33b1e0a273af: Waiting 13:16:07 5d3b04190fa2: Waiting 13:16:07 2f39f015ded8: Waiting 13:16:07 5c69ac0246d0: Download complete 13:16:07 3a2ae6a8a46f: Verifying Checksum 13:16:07 3a2ae6a8a46f: Download complete 13:16:07 33b1e0a273af: Verifying Checksum 13:16:07 33b1e0a273af: Download complete 13:16:07 5d3b04190fa2: Verifying Checksum 13:16:07 5d3b04190fa2: Download complete 13:16:07 ec43610c2a17: Verifying Checksum 13:16:07 ec43610c2a17: Download complete 13:16:07 5eb5b503b376: Verifying Checksum 13:16:07 5eb5b503b376: Download complete 13:16:07 2f39f015ded8: Download complete 13:16:08 5eb5b503b376: Pull complete 13:16:08 5c69ac0246d0: Pull complete 13:16:09 ec43610c2a17: Pull complete 13:16:09 3a2ae6a8a46f: Pull complete 13:16:09 33b1e0a273af: Pull complete 13:16:09 5d3b04190fa2: Pull complete 13:16:12 using credential edgex-jenkins-ssh 13:16:12 Cloning the remote Git repository 13:16:13 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:13 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:16:13 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:13 > git --version # timeout=10 13:16:13 > git --version # 'git version 2.25.1' 13:16:13 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:14 2f39f015ded8: Pull complete 13:16:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:16:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:15 prd-ubuntu20.04-docker-8c-8g-21678 does not seem to be running inside a container 13:16:15 $ 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-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:16:15 Merging remotes/origin/main commit bdd9de2e6b7fb58cdebc45eb3705f9970870401e into PR head commit 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 13:16:15 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:16:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:15 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:16:15 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:15 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:16:15 > git config core.sparsecheckout # timeout=10 13:16:15 > git checkout -f 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # timeout=10 13:16:16 Merge succeeded, producing 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 13:16:16 Checking out Revision 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 (PR-103) 13:16:17 $ docker top 57033bb7db3cecc24640c5fd6639b661b22fe66729d6c25ee567277487b71f8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:16 > git remote # timeout=10 13:16:16 > git config --get remote.origin.url # timeout=10 13:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:16 > git merge bdd9de2e6b7fb58cdebc45eb3705f9970870401e # timeout=10 13:16:16 > git rev-parse HEAD^{commit} # timeout=10 13:16:16 > git config core.sparsecheckout # timeout=10 13:16:16 > git checkout -f 57819d1de132e5dcf0fc65ae8abee5d2ec99f973 # timeout=10 13:16:17 ---> job-cost.sh 13:16:17 lf-activate-venv: SKIPPING 13:16:17 INFO: No Stack... 13:16:17 INFO: Retrieving Pricing Info for: v3-standard-8 13:16:18 INFO: Archiving Costs [Pipeline] sh 13:16:18 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives/cost.csv 13:16:18 + cut -d, -f6 [Pipeline] lock 13:16:18 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] 13:16:18 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] did not exist. Created. 13:16:18 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:16:19 + echo total: 0.2199999988079071 [Pipeline] stash 13:16:19 Stashed 1 file(s) [Pipeline] } 13:16:19 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:16:19 $ docker stop --time=1 57033bb7db3cecc24640c5fd6639b661b22fe66729d6c25ee567277487b71f8f 13:16:20 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 13:16:20 > git --version # timeout=10 13:16:20 > git --version # 'git version 2.25.1' 13:16:20 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 13:16:20 $ docker rm -f 57033bb7db3cecc24640c5fd6639b661b22fe66729d6c25ee567277487b71f8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 13:16:20 13:16:20 GitHub has been notified of this commit’s build result 13:16:20 [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:16:21 % Total % Received % Xferd Average Speed Time Time Time Current 13:16:21 Dload Upload Total Spent Left Speed 13:16:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 98656 0 --:--:-- --:--:-- --:--:-- 98656 [Pipeline] sh 13:16:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:16:23 + sudo tee /etc/docker/daemon.new+ 13:16:23 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:16:23 { 13:16:23 "registry-mirrors": [ 13:16:23 "https://nexus3.edgexfoundry.org:10001" 13:16:23 ], 13:16:23 "bip": "10.250.0.254/24", 13:16:23 "hosts": [ 13:16:23 "tcp://0.0.0.0:5555", 13:16:23 "unix:///var/run/docker.sock" 13:16:23 ], 13:16:23 "mtu": 1458, 13:16:23 "selinux-enabled": true, 13:16:23 "seccomp-profile": "/etc/docker/seccomp.json" 13:16:23 } [Pipeline] sh 13:16:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:16:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:42 provisioning config files... 13:16:42 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config3551806600943908474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:42 ---> docker-login.sh 13:16:42 nexus3.edgexfoundry.org:10001 13:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:43 Configure a credential helper to remove this warning. See 13:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:43 13:16:43 Login Succeeded 13:16:43 nexus3.edgexfoundry.org:10002 13:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:44 Configure a credential helper to remove this warning. See 13:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:44 13:16:44 Login Succeeded 13:16:44 nexus3.edgexfoundry.org:10003 13:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:44 Configure a credential helper to remove this warning. See 13:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:44 13:16:44 Login Succeeded 13:16:44 nexus3.edgexfoundry.org:10004 13:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:45 Configure a credential helper to remove this warning. See 13:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:45 13:16:45 Login Succeeded 13:16:45 docker.io 13:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:45 Configure a credential helper to remove this warning. See 13:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:45 13:16:45 Login Succeeded 13:16:45 ---> docker-login.sh ends [Pipeline] } 13:16:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:16:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:46 ========================================================= 13:16:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:16:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:46 + 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 . 13:16:47 Sending build context to Docker daemon 687.1kB 13:16:47 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:16:47 Step 2/13 : FROM ${BASE} AS builder 13:16:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:16:47 b3c136eddcbf: Pulling fs layer 13:16:47 c0a3192eca97: Pulling fs layer 13:16:47 a050256f5b6f: Pulling fs layer 13:16:47 656be50a0ddc: Pulling fs layer 13:16:47 2bbca73fdf42: Pulling fs layer 13:16:47 46d945488cbd: Pulling fs layer 13:16:47 8a5474983e97: Pulling fs layer 13:16:47 329c88fbcd65: Pulling fs layer 13:16:47 656be50a0ddc: Waiting 13:16:47 2bbca73fdf42: Waiting 13:16:47 46d945488cbd: Waiting 13:16:47 8a5474983e97: Waiting 13:16:47 329c88fbcd65: Waiting 13:16:47 a050256f5b6f: Verifying Checksum 13:16:47 a050256f5b6f: Download complete 13:16:47 c0a3192eca97: Verifying Checksum 13:16:47 c0a3192eca97: Download complete 13:16:47 2bbca73fdf42: Verifying Checksum 13:16:47 2bbca73fdf42: Download complete 13:16:47 46d945488cbd: Verifying Checksum 13:16:47 46d945488cbd: Download complete 13:16:47 b3c136eddcbf: Verifying Checksum 13:16:48 b3c136eddcbf: Pull complete 13:16:48 329c88fbcd65: Verifying Checksum 13:16:48 329c88fbcd65: Download complete 13:16:48 c0a3192eca97: Pull complete 13:16:49 a050256f5b6f: Pull complete 13:16:49 8a5474983e97: Verifying Checksum 13:16:49 8a5474983e97: Download complete 13:16:50 656be50a0ddc: Verifying Checksum 13:16:50 656be50a0ddc: Download complete 13:17:02 656be50a0ddc: Pull complete 13:17:02 2bbca73fdf42: Pull complete 13:17:03 46d945488cbd: Pull complete 13:17:09 8a5474983e97: Pull complete 13:17:11 329c88fbcd65: Pull complete 13:17:11 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 13:17:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:17:11 ---> ff4287adb874 13:17:11 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:17:13 ---> Running in f2cbe5a1ed5f 13:17:14 Removing intermediate container f2cbe5a1ed5f 13:17:14 ---> 85f5ed7b8b7b 13:17:14 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:17:14 ---> Running in c70e3000b8f7 13:17:14 Removing intermediate container c70e3000b8f7 13:17:14 ---> 0aeca19e99df 13:17:14 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:17:14 ---> Running in 414bb9b9afbd 13:17:15 Removing intermediate container 414bb9b9afbd 13:17:15 ---> 58b65c3b920c 13:17:15 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:17:15 ---> Running in 16754a80890d 13:17:17 Removing intermediate container 16754a80890d 13:17:17 ---> 2d0c49af406e 13:17:17 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:17 ---> Running in eb4f0759e38b 13:17:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:17:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:17:19 OK: 221 MiB in 51 packages 13:17:20 Removing intermediate container eb4f0759e38b 13:17:20 ---> c435ae1ad1e3 13:17:20 Step 8/13 : WORKDIR /app 13:17:20 ---> Running in 233a689f9714 13:17:21 Removing intermediate container 233a689f9714 13:17:21 ---> c0d04268b37a 13:17:21 Step 9/13 : COPY go.mod vendor* ./ 13:17:21 ---> acdf20e24691 13:17:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:21 ---> Running in 8eef9d1f9570 13:18:08 Removing intermediate container 8eef9d1f9570 13:18:08 ---> 0b4c6c5f04aa 13:18:08 Step 11/13 : COPY . . 13:18:08 ---> f521bbf1ac4d 13:18:08 Step 12/13 : ARG MAKE="make build" 13:18:08 ---> Running in 0c7c891c04cf 13:18:08 Removing intermediate container 0c7c891c04cf 13:18:08 ---> 3707eb0528b3 13:18:08 Step 13/13 : RUN $MAKE 13:18:08 ---> Running in a6f4c813bd15 13:18:08 noop 13:18:08 Removing intermediate container a6f4c813bd15 13:18:08 ---> 7fdb54535d7a 13:18:08 Successfully built 7fdb54535d7a 13:18:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:09 + docker inspect -f . ci-base-image-arm64 13:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:09 prd-ubuntu20.04-docker-arm64-4c-16g-21680 does not seem to be running inside a container 13:18:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:10 $ docker top 351aba84bf436834bf058fc8da8993cd394d9d3cb20edd39e1efc9caeab4d552 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:11 + go version 13:18:11 go version go1.18.3 linux/arm64 [Pipeline] } 13:18:11 $ docker stop --time=1 351aba84bf436834bf058fc8da8993cd394d9d3cb20edd39e1efc9caeab4d552 13:18:13 $ docker rm -f 351aba84bf436834bf058fc8da8993cd394d9d3cb20edd39e1efc9caeab4d552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:14 + docker inspect -f . ci-base-image-arm64 13:18:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:14 prd-ubuntu20.04-docker-arm64-4c-16g-21680 does not seem to be running inside a container 13:18:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:18:16 $ docker top 95b0d1e847cc3b587f8ecc6651d99b4c504cadf9ea059538647b47aa795d50e3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:17 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:18:17 + make test 13:18:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:19:39 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:19:39 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.133s coverage: 86.2% of statements 13:19:39 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:19:45 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.703s coverage: 71.9% of statements 13:19:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:19:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:20:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:20:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:20:07 ./bin/test-attribution.sh [Pipeline] echo 13:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:20:07 $ docker stop --time=1 95b0d1e847cc3b587f8ecc6651d99b4c504cadf9ea059538647b47aa795d50e3 13:20:09 $ docker rm -f 95b0d1e847cc3b587f8ecc6651d99b4c504cadf9ea059538647b47aa795d50e3 [Pipeline] // withDockerContainer [Pipeline] sh 13:20:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:20:10 Warning: overwriting stash ‘coverage-report’ 13:20:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:20:11 + ls -al . 13:20:11 total 224 13:20:11 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 13:18 . 13:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 13:16 .. 13:20:11 -rw-rw-r-- 1 jenkins jenkins 262 Aug 1 13:16 .dockerignore 13:20:11 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 13:16 .git 13:20:11 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 13:16 .github 13:20:11 -rw-rw-r-- 1 jenkins jenkins 788 Aug 1 13:16 .gitignore 13:20:11 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 13:16 .golangci.yml 13:20:11 -rw-rw-r-- 1 jenkins jenkins 9546 Aug 1 13:16 Attribution.txt 13:20:11 -rw-rw-r-- 1 jenkins jenkins 2487 Aug 1 13:16 CHANGELOG.md 13:20:11 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 1 13:16 Dockerfile 13:20:11 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 13:16 GOVERNANCE.md 13:20:11 -rw-rw-r-- 1 jenkins jenkins 687 Aug 1 13:16 Jenkinsfile 13:20:11 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 1 13:16 LICENSE 13:20:11 -rw-rw-r-- 1 jenkins jenkins 2949 Aug 1 13:16 Makefile 13:20:11 -rw-rw-r-- 1 jenkins jenkins 617 Aug 1 13:16 OWNERS.md 13:20:11 -rw-rw-r-- 1 jenkins jenkins 30359 Aug 1 13:16 README.md 13:20:11 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 13:14 VERSION 13:20:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 13:16 bin 13:20:11 -rw-r--r-- 1 jenkins jenkins 41008 Aug 1 13:19 coverage.out 13:20:11 -rw-rw-r-- 1 jenkins jenkins 3540 Aug 1 13:16 go.mod 13:20:11 -rw-rw-r-- 1 jenkins jenkins 36292 Aug 1 13:16 go.sum 13:20:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 13:16 images 13:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 13:16 internal 13:20:11 -rw-rw-r-- 1 jenkins jenkins 531 Aug 1 13:16 main.go 13:20:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 13:16 res 13:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 13:16 snap 13:20:11 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 13:16 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:12 + 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=57819d1de132e5dcf0fc65ae8abee5d2ec99f973 --label arch=arm64 --label version=0.0.0 . 13:20:12 Sending build context to Docker daemon 687.1kB 13:20:12 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 13:20:12 Step 2/31 : FROM ${BASE} AS builder 13:20:12 ---> 7fdb54535d7a 13:20:12 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:20:12 ---> Running in fbff54ffa94c 13:20:13 Removing intermediate container fbff54ffa94c 13:20:13 ---> 3e88ec70ed3a 13:20:13 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:20:13 ---> Running in 4de67037a76a 13:20:13 Removing intermediate container 4de67037a76a 13:20:13 ---> 7f6dcc48dbdf 13:20:13 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:20:13 ---> Running in 8145910a2a8d 13:20:13 Removing intermediate container 8145910a2a8d 13:20:13 ---> ba88079c40cb 13:20:13 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:20:14 ---> Running in a5e3d67a1739 13:20:15 Removing intermediate container a5e3d67a1739 13:20:15 ---> 9236a7bbe7d5 13:20:15 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:20:15 ---> Running in 90d9ddc45a9a 13:20:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:20:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:20:18 OK: 221 MiB in 51 packages 13:20:19 Removing intermediate container 90d9ddc45a9a 13:20:19 ---> f99d4089a0ee 13:20:19 Step 8/31 : WORKDIR /app 13:20:19 ---> Running in 1e35bae93178 13:20:19 Removing intermediate container 1e35bae93178 13:20:19 ---> dace4fd10ad8 13:20:19 Step 9/31 : COPY go.mod vendor* ./ 13:20:20 ---> 917d392d80b5 13:20:20 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:20:20 ---> Running in 46930bc04e3c 13:20:22 Removing intermediate container 46930bc04e3c 13:20:22 ---> ab7b43ffd059 13:20:22 Step 11/31 : COPY . . 13:20:22 ---> 03f4cbb108d0 13:20:22 Step 12/31 : ARG MAKE="make build" 13:20:22 ---> Running in a8e98a18d8a6 13:20:23 Removing intermediate container a8e98a18d8a6 13:20:23 ---> 7b49bd790fc8 13:20:23 Step 13/31 : RUN $MAKE 13:20:23 ---> Running in 9f49df3dff87 13:20:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 13:22:31 Removing intermediate container 9f49df3dff87 13:22:31 ---> 94788081f92d 13:22:31 Step 14/31 : FROM alpine:3.14 13:22:31 3.14: Pulling from library/alpine 13:22:31 f4bf3852c6cc: Pulling fs layer 13:22:31 f4bf3852c6cc: Verifying Checksum 13:22:31 f4bf3852c6cc: Download complete 13:22:31 f4bf3852c6cc: Pull complete 13:22:31 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 13:22:31 Status: Downloaded newer image for alpine:3.14 13:22:31 ---> f19c924ebacc 13:22:31 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:22:31 ---> Running in 0fd08ba794f0 13:22:31 Removing intermediate container 0fd08ba794f0 13:22:31 ---> 7f8126dc4b5e 13:22:31 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:22:31 ---> Running in 8eff9b466164 13:22:31 Removing intermediate container 8eff9b466164 13:22:31 ---> 84bdfb0f6244 13:22:31 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:22:31 ---> Running in 8169784270b5 13:22:31 Removing intermediate container 8169784270b5 13:22:31 ---> 4a5908e2b4fb 13:22:31 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:22:31 ---> Running in f9e7437fbc55 13:22:31 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:22:32 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:22:32 (1/7) Installing ca-certificates (20220614-r0) 13:22:32 (2/7) Installing dumb-init (1.2.5-r1) 13:22:32 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:22:32 (4/7) Installing libsodium (1.0.18-r0) 13:22:33 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:22:33 (6/7) Installing libzmq (4.3.4-r0) 13:22:33 (7/7) Installing zeromq (4.3.4-r0) 13:22:33 Executing busybox-1.33.1-r8.trigger 13:22:33 Executing ca-certificates-20220614-r0.trigger 13:22:33 OK: 9 MiB in 21 packages 13:22:34 Removing intermediate container f9e7437fbc55 13:22:34 ---> 901fe6ca3af1 13:22:34 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:22:35 ---> 481cf03f1f36 13:22:35 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:22:35 ---> d251652e139f 13:22:35 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:22:36 ---> 08096af43f80 13:22:36 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:22:37 ---> 5b4e474b6fc8 13:22:37 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:22:38 ---> 74a0388fe46f 13:22:38 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:22:38 ---> Running in c373f276c925 13:22:40 Removing intermediate container c373f276c925 13:22:40 ---> f709c1880d78 13:22:40 Step 25/31 : VOLUME /cache 13:22:40 ---> Running in db27d1c40598 13:22:40 Removing intermediate container db27d1c40598 13:22:40 ---> 0f437a9e8bc7 13:22:40 Step 26/31 : EXPOSE 59711 13:22:40 ---> Running in 394e74ba1cc9 13:22:40 Removing intermediate container 394e74ba1cc9 13:22:40 ---> 8d08cb23a7d0 13:22:40 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:22:40 ---> Running in 4c269ad6fa0c 13:22:41 Removing intermediate container 4c269ad6fa0c 13:22:41 ---> 902a484b6f36 13:22:41 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:22:41 ---> Running in 16d6b875b16f 13:22:41 Removing intermediate container 16d6b875b16f 13:22:41 ---> 68f45c9b02a4 13:22:41 Step 29/31 : LABEL arch=arm64 13:22:41 ---> Running in ce3e270c0473 13:22:42 Removing intermediate container ce3e270c0473 13:22:42 ---> a28a07196707 13:22:42 Step 30/31 : LABEL git_sha=57819d1de132e5dcf0fc65ae8abee5d2ec99f973 13:22:42 ---> Running in 314f18904bf8 13:22:42 Removing intermediate container 314f18904bf8 13:22:42 ---> 06abb262a383 13:22:42 Step 31/31 : LABEL version=0.0.0 13:22:42 ---> Running in 79894332f61a 13:22:42 Removing intermediate container 79894332f61a 13:22:42 ---> 2ad94d5e30af 13:22:42 [Warning] One or more build-args [ARCH] were not consumed 13:22:42 Successfully built 2ad94d5e30af 13:22:42 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:22:43 13:22:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:22:44 arm64: Pulling from edgex-lftools-log-publisher 13:22:44 8998bd30e6a1: Pulling fs layer 13:22:44 04944245beec: Pulling fs layer 13:22:44 699f458cf7ca: Pulling fs layer 13:22:44 765212b225bb: Pulling fs layer 13:22:44 f23df028b6ca: Pulling fs layer 13:22:44 d65c8cfc05b1: Pulling fs layer 13:22:44 2437ff75d9bd: Pulling fs layer 13:22:44 f23df028b6ca: Waiting 13:22:44 765212b225bb: Waiting 13:22:44 d65c8cfc05b1: Waiting 13:22:44 04944245beec: Verifying Checksum 13:22:44 04944245beec: Download complete 13:22:44 765212b225bb: Download complete 13:22:44 f23df028b6ca: Download complete 13:22:44 d65c8cfc05b1: Verifying Checksum 13:22:44 d65c8cfc05b1: Download complete 13:22:44 699f458cf7ca: Verifying Checksum 13:22:44 699f458cf7ca: Download complete 13:22:45 8998bd30e6a1: Verifying Checksum 13:22:45 8998bd30e6a1: Download complete 13:22:47 2437ff75d9bd: Verifying Checksum 13:22:47 2437ff75d9bd: Download complete 13:22:49 8998bd30e6a1: Pull complete 13:22:49 04944245beec: Pull complete 13:22:51 699f458cf7ca: Pull complete 13:22:51 765212b225bb: Pull complete 13:22:52 f23df028b6ca: Pull complete 13:22:52 d65c8cfc05b1: Pull complete 13:23:07 2437ff75d9bd: Pull complete 13:23:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:07 prd-ubuntu20.04-docker-arm64-4c-16g-21680 does not seem to be running inside a container 13:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:23:10 $ docker top 5561d9f8a2156e1b4a0a8c1a65b0eab0d3b243961f066cd42cdb9304023b5deb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:11 ---> job-cost.sh 13:23:11 lf-activate-venv: SKIPPING 13:23:11 INFO: No Stack... 13:23:12 INFO: Retrieving Pricing Info for: v3-standard-4 13:23:13 INFO: Archiving Costs [Pipeline] sh 13:23:13 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:23:13 + cut -d, -f6 [Pipeline] lock 13:23:13 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] 13:23:13 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] did not exist. Created. 13:23:13 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:14 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-409129f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:23:15 + echo total: 0.10999999940395355 [Pipeline] stash 13:23:15 Warning: overwriting stash ‘stack-cost’ 13:23:15 Stashed 1 file(s) [Pipeline] } 13:23:15 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-103-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:15 $ docker stop --time=1 5561d9f8a2156e1b4a0a8c1a65b0eab0d3b243961f066cd42cdb9304023b5deb 13:23:16 $ docker rm -f 5561d9f8a2156e1b4a0a8c1a65b0eab0d3b243961f066cd42cdb9304023b5deb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:23:18 provisioning config files... 13:23:18 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config6016077345389299832tmp [Pipeline] { [Pipeline] sh 13:23:18 + set +x 13:23:18 + curl -s https://codecov.io/bash 13:23:18 + bash -s -- 13:23:18 13:23:18 _____ _ 13:23:18 / ____| | | 13:23:18 | | ___ __| | ___ ___ _____ __ 13:23:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:23:18 | |___| (_) | (_| | __/ (_| (_) \ V / 13:23:18 \_____\___/ \__,_|\___|\___\___/ \_/ 13:23:18 Bash-1.0.6 13:23:18 13:23:18 13:23:18 ==> git version 2.25.1 found 13:23:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:23:18 Release-Date: 2020-01-08 13:23:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:23:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:23:18 ==> Jenkins CI detected. 13:23:18 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-103 13:23:18 project root: . 13:23:18 --> token set from env 13:23:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:23:18 ==> Running gcov in . (disable via -X gcov) 13:23:18 ==> Python coveragepy not found 13:23:18 ==> Searching for coverage reports in: 13:23:18 + . 13:23:18 -> Found 1 reports 13:23:18 ==> Detecting git/mercurial file structure 13:23:18 ==> Reading reports 13:23:18 + ./coverage.out bytes=41008 13:23:18 ==> Appending adjustments 13:23:18 https://docs.codecov.io/docs/fixing-reports 13:23:18 + Found adjustments 13:23:18 ==> Gzipping contents 13:23:18 12K /tmp/codecov.a7vZxz.gz 13:23:18 ==> Uploading reports 13:23:18 url: https://codecov.io 13:23:18 query: branch=PR-103&commit=57819d1de132e5dcf0fc65ae8abee5d2ec99f973&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=103&job=&cmd_args= 13:23:18 -> Pinging Codecov 13:23:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-103&commit=57819d1de132e5dcf0fc65ae8abee5d2ec99f973&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=103&job=&cmd_args= 13:23:18 -> Uploading to 13:23:18 https://storage.googleapis.com/codecov/v4/raw/2022-08-01/581DD39554BDF9B6E22D074273EAD858/57819d1de132e5dcf0fc65ae8abee5d2ec99f973/7289929c-7ca0-4d66-92c4-f036304f25ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T132318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb7f4d237e67cb95f470175821a2f9638c0b28ebac14fc349c1021f57887e885 13:23:18 % Total % Received % Xferd Average Speed Time Time Time Current 13:23:18 Dload Upload Total Spent Left Speed 13:23:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11504 0 0 100 11504 0 51819 --:--:-- --:--:-- --:--:-- 51587 100 11504 0 0 100 11504 0 47734 --:--:-- --:--:-- --:--:-- 47537 13:23:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/57819d1de132e5dcf0fc65ae8abee5d2ec99f973 [Pipeline] } 13:23:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:23:20 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives ] 13:23:20 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives 13:23:20 total 16 13:23:20 drwxr-xr-x 3 root root 4096 Aug 1 13:16 . 13:23:20 drwxrwxr-x 12 jenkins jenkins 4096 Aug 1 13:16 .. 13:23:20 drwxr-xr-x 2 root root 4096 Aug 1 13:16 cost 13:23:20 -rw-r--r-- 1 root root 95 Aug 1 13:16 cost.csv 13:23:20 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives 13:23:20 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives 13:23:20 total 16 13:23:20 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 13:16 . 13:23:20 drwxrwxr-x 12 jenkins jenkins 4096 Aug 1 13:16 .. 13:23:20 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 13:16 cost 13:23:20 -rw-r--r-- 1 jenkins jenkins 95 Aug 1 13:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:23:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:23:22 ---> package-listing.sh 13:23:22 ++ facter osfamily 13:23:22 ++ tr '[:upper:]' '[:lower:]' 13:23:22 + OS_FAMILY=debian 13:23:22 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-103 13:23:22 + START_PACKAGES=/tmp/packages_start.txt 13:23:22 + END_PACKAGES=/tmp/packages_end.txt 13:23:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:23:22 + PACKAGES=/tmp/packages_start.txt 13:23:22 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-103 ']' 13:23:22 + PACKAGES=/tmp/packages_end.txt 13:23:22 + case "${OS_FAMILY}" in 13:23:22 + dpkg -l 13:23:22 + grep '^ii' 13:23:22 + '[' -f /tmp/packages_start.txt ']' 13:23:22 + '[' -f /tmp/packages_end.txt ']' 13:23:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:23:22 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-103 ']' 13:23:22 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives/ 13:23:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-103/archives/ [Pipeline] echo 13:23:22 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:23:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:23 prd-ubuntu20.04-docker-8c-8g-21678 does not seem to be running inside a container 13:23:23 $ 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-103/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-103 -v /w/workspace/y_app-rfid-llrp-inventory_PR-103:/w/workspace/y_app-rfid-llrp-inventory_PR-103:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-103@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:23:23 $ docker top 56fc9314de7d0fba90f919ec4620268eb93d919bfe8f7e96f9eebb848f0f33a9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:24 + touch /tmp/pre-build-complete [Pipeline] sh 13:23:24 + mkdir -p /var/log/sysstat [Pipeline] sh 13:23:24 + ls /var/log/sa-host 13:23:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:23:24 provisioning config files... 13:23:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-103@tmp/config3561222758001778557tmp [Pipeline] { [Pipeline] echo 13:23:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:23:25 ---> create-netrc.sh [Pipeline] } 13:23:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:23:25 ---> python-tools-install.sh [Pipeline] echo 13:23:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:23:26 ---> sudo-logs.sh 13:23:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:23:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:23:26 ---> job-cost.sh 13:23:26 lf-activate-venv: SKIPPING 13:23:26 DEBUG: total: 0.2199999988079071 13:23:26 INFO: Retrieving Stack Cost... 13:23:27 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:27 INFO: Archiving Costs [Pipeline] echo 13:23:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:23:27 ---> logs-deploy.sh 13:23:27 lf-activate-venv: SKIPPING 13:23:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-103/1 13:23:27 INFO: archiving workspace using pattern(s): 13:23:28 Archives upload complete. 13:23:28 INFO: archiving logs to Nexus 13:23:29 ---> uname -a: 13:23:29 Linux prd-ubuntu20-04-docker-8c-8g-21678 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 13:23:29 13:23:29 13:23:29 ---> lscpu: 13:23:29 Architecture: x86_64 13:23:29 CPU op-mode(s): 32-bit, 64-bit 13:23:29 Byte Order: Little Endian 13:23:29 Address sizes: 40 bits physical, 48 bits virtual 13:23:29 CPU(s): 8 13:23:29 On-line CPU(s) list: 0-7 13:23:29 Thread(s) per core: 1 13:23:29 Core(s) per socket: 1 13:23:29 Socket(s): 8 13:23:29 NUMA node(s): 1 13:23:29 Vendor ID: AuthenticAMD 13:23:29 CPU family: 23 13:23:29 Model: 49 13:23:29 Model name: AMD EPYC-Rome Processor 13:23:29 Stepping: 0 13:23:29 CPU MHz: 2799.998 13:23:29 BogoMIPS: 5599.99 13:23:29 Virtualization: AMD-V 13:23:29 Hypervisor vendor: KVM 13:23:29 Virtualization type: full 13:23:29 L1d cache: 256 KiB 13:23:29 L1i cache: 256 KiB 13:23:29 L2 cache: 4 MiB 13:23:29 L3 cache: 128 MiB 13:23:29 NUMA node0 CPU(s): 0-7 13:23:29 Vulnerability Itlb multihit: Not affected 13:23:29 Vulnerability L1tf: Not affected 13:23:29 Vulnerability Mds: Not affected 13:23:29 Vulnerability Meltdown: Not affected 13:23:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:23:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:23:29 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:23:29 Vulnerability Srbds: Not affected 13:23:29 Vulnerability Tsx async abort: Not affected 13:23:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 13:23:29 13:23:29 13:23:29 ---> nproc: 13:23:29 8 13:23:29 13:23:29