Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bb00f16ed931700ab6d3a5b126a6212681ec199+0e7488376ad1dd00b75d4cfa794ced1dedb225ae (9ddafeb1a7e3c43a16189b2982c24feeeeb44f3f) 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-ssh9712080490210695481.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh5452397564471936459.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2509045253001089720.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh1843204237776724761.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11760334731413677996.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-117850 in /w/workspace/y_app-rfid-llrp-inventory_PR-117 [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-117 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 0e7488376ad1dd00b75d4cfa794ced1dedb225ae into PR head commit 3bb00f16ed931700ab6d3a5b126a6212681ec199 Merge succeeded, producing a9ac0051d3660d06cb105f0541461d992ff4f700 Checking out Revision a9ac0051d3660d06cb105f0541461d992ff4f700 (PR-117) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bb00f16ed931700ab6d3a5b126a6212681ec199 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0e7488376ad1dd00b75d4cfa794ced1dedb225ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9ac0051d3660d06cb105f0541461d992ff4f700 # timeout=10 Commit message: "Merge commit '0e7488376ad1dd00b75d4cfa794ced1dedb225ae' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:58:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:58:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:58:26 ========================================================= 07:58:26 EdgeX Global Pipelines Version Info 07:58:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 84531b6f744f152e31a2f811e11241ac5782831a # timeout=10 07:58:27 ------------------- 07:58:27 stable info: 07:58:27 ------------------- 07:58:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:58:27 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:58:27 Message: update stable to v1.0.243 07:58:27 ------------------- 07:58:27 experimental info: 07:58:27 ------------------- 07:58:27 Commited By: **** collab-it+edgex@linuxfoundation.org 07:58:27 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:58:27 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9ac0051d3660d06cb105f0541461d992ff4f700 [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9ac005 [Pipeline] echo 07:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:28 provisioning config files... 07:58:28 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config13319105247186337270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:28 ---> docker-login.sh 07:58:28 nexus3.edgexfoundry.org:10001 07:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:29 Configure a credential helper to remove this warning. See 07:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:29 07:58:29 Login Succeeded 07:58:29 nexus3.edgexfoundry.org:10002 07:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:29 Configure a credential helper to remove this warning. See 07:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:29 07:58:29 Login Succeeded 07:58:29 nexus3.edgexfoundry.org:10003 07:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:29 Configure a credential helper to remove this warning. See 07:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:29 07:58:29 Login Succeeded 07:58:29 nexus3.edgexfoundry.org:10004 07:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:29 Configure a credential helper to remove this warning. See 07:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:29 07:58:29 Login Succeeded 07:58:29 docker.io 07:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:30 Configure a credential helper to remove this warning. See 07:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:30 07:58:30 Login Succeeded 07:58:30 ---> docker-login.sh ends [Pipeline] } 07:58:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:58:30 + git rev-list -1 --merges a9ac0051d3660d06cb105f0541461d992ff4f700~1..a9ac0051d3660d06cb105f0541461d992ff4f700 [Pipeline] echo 07:58:30 -----------> git rev-list -1 --merges a9ac0051d3660d06cb105f0541461d992ff4f700~1..a9ac0051d3660d06cb105f0541461d992ff4f700 a9ac0051d3660d06cb105f0541461d992ff4f700 07:58:30 a9ac0051d3660d06cb105f0541461d992ff4f700 [false] [Pipeline] sh 07:58:30 + git log --format=format:%s -1 a9ac0051d3660d06cb105f0541461d992ff4f700 [Pipeline] echo 07:58:30 ========================================================= 07:58:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:58:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:58:31 + git log --format=format:%s -1 a9ac0051d3660d06cb105f0541461d992ff4f700 [Pipeline] echo 07:58:31 [semverPrep] GIT_COMMIT: a9ac0051d3660d06cb105f0541461d992ff4f700, Commit Message: Merge commit '0e7488376ad1dd00b75d4cfa794ced1dedb225ae' into HEAD [Pipeline] echo 07:58:31 [semverPrep] This is not a build commit. [Pipeline] sh 07:58:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:58:31 + grep -v github /etc/ssh/ssh_known_hosts 07:58:31 + [ -e /tmp/ssh_known_hosts ] 07:58:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:58:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:58:31 + sudo tee -a /etc/ssh/ssh_known_hosts 07:58:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:58:31 07:58:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:58:32 0.1.4: Pulling from edgex-devops/py-git-semver 07:58:32 b85a868b505f: Pulling fs layer 07:58:32 e2be974225ed: Pulling fs layer 07:58:32 339a4e72a1f5: Pulling fs layer 07:58:32 988bab9f4d93: Pulling fs layer 07:58:32 1469e6f7b9e6: Pulling fs layer 07:58:32 eaf3925da568: Pulling fs layer 07:58:32 bab4dde63d76: Pulling fs layer 07:58:32 bde34c3a00c8: Pulling fs layer 07:58:32 b352a97aabf1: Pulling fs layer 07:58:32 4872d77fe225: Pulling fs layer 07:58:32 5851b861e8e6: Pulling fs layer 07:58:32 eaf3925da568: Waiting 07:58:32 988bab9f4d93: Waiting 07:58:32 1469e6f7b9e6: Waiting 07:58:32 4872d77fe225: Waiting 07:58:32 5851b861e8e6: Waiting 07:58:32 bde34c3a00c8: Waiting 07:58:32 b352a97aabf1: Waiting 07:58:32 bab4dde63d76: Waiting 07:58:32 e2be974225ed: Verifying Checksum 07:58:32 e2be974225ed: Download complete 07:58:32 988bab9f4d93: Download complete 07:58:32 339a4e72a1f5: Verifying Checksum 07:58:32 339a4e72a1f5: Download complete 07:58:32 1469e6f7b9e6: Verifying Checksum 07:58:32 1469e6f7b9e6: Download complete 07:58:32 eaf3925da568: Verifying Checksum 07:58:32 eaf3925da568: Download complete 07:58:32 bde34c3a00c8: Verifying Checksum 07:58:32 bde34c3a00c8: Download complete 07:58:32 b352a97aabf1: Verifying Checksum 07:58:32 b352a97aabf1: Download complete 07:58:32 4872d77fe225: Download complete 07:58:32 5851b861e8e6: Verifying Checksum 07:58:32 5851b861e8e6: Download complete 07:58:32 b85a868b505f: Verifying Checksum 07:58:32 b85a868b505f: Download complete 07:58:32 bab4dde63d76: Download complete 07:58:33 b85a868b505f: Pull complete 07:58:33 e2be974225ed: Pull complete 07:58:34 339a4e72a1f5: Pull complete 07:58:34 988bab9f4d93: Pull complete 07:58:34 1469e6f7b9e6: Pull complete 07:58:34 eaf3925da568: Pull complete 07:58:36 bab4dde63d76: Pull complete 07:58:36 bde34c3a00c8: Pull complete 07:58:36 b352a97aabf1: Pull complete 07:58:36 4872d77fe225: Pull complete 07:58:36 5851b861e8e6: Pull complete 07:58:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:58:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:36 prd-ubuntu20.04-docker-8c-8g-117850 does not seem to be running inside a container 07:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:58:39 $ docker top 1375111f0096a519f31f366cd17adcc602614097ebd5072fad8fdb3652aefbc6 -eo pid,comm 07:58:39 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). 07:58:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:58:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:58:39 [ssh-agent] Looking for ssh-agent implementation... 07:58:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:58:39 $ docker exec 1375111f0096a519f31f366cd17adcc602614097ebd5072fad8fdb3652aefbc6 ssh-agent 07:58:39 SSH_AUTH_SOCK=/tmp/ssh-fvkN8oZPJJ54/agent.32 07:58:39 SSH_AGENT_PID=38 07:58:39 Running ssh-add (command line suppressed) 07:58:39 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_1369141144919126792.key (/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_1369141144919126792.key) 07:58:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:58:39 + git tag --points-at HEAD [Pipeline] } 07:58:39 $ docker exec --env ******** --env ******** 1375111f0096a519f31f366cd17adcc602614097ebd5072fad8fdb3652aefbc6 ssh-agent -k 07:58:40 unset SSH_AUTH_SOCK; 07:58:40 unset SSH_AGENT_PID; 07:58:40 echo Agent pid 38 killed; 07:58:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:58:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:58:40 [ssh-agent] Looking for ssh-agent implementation... 07:58:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:58:40 $ docker exec 1375111f0096a519f31f366cd17adcc602614097ebd5072fad8fdb3652aefbc6 ssh-agent 07:58:40 SSH_AUTH_SOCK=/tmp/ssh-49AUZNwHTmNB/agent.70 07:58:40 SSH_AGENT_PID=76 07:58:40 Running ssh-add (command line suppressed) 07:58:40 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_8742491017248774140.key (/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_8742491017248774140.key) 07:58:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:58:40 + git semver init 07:58:40 2022-11-02 07:58:40,889 [run_init] DEBUG init version:0.0.0 force:False 07:58:40 2022-11-02 07:58:40,890 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver 07:58:40 2022-11-02 07:58:40,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver 07:58:40 2022-11-02 07:58:40,891 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117, universal_newlines=False, shell=None, istream=None) 07:58:42 2022-11-02 07:58:42,206 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.git/info/exclude 07:58:42 2022-11-02 07:58:42,207 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 with force:False 07:58:42 2022-11-02 07:58:42,207 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 07:58:42 2022-11-02 07:58:42,211 [execute] INFO git cat-file --batch-check 07:58:42 2022-11-02 07:58:42,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver, universal_newlines=False, shell=None, istream=) 07:58:42 2022-11-02 07:58:42,218 [execute] INFO git cat-file --batch 07:58:42 2022-11-02 07:58:42,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver, universal_newlines=False, shell=None, istream=) 07:58:42 2022-11-02 07:58:42,223 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 07:58:42 0.0.0 [Pipeline] } 07:58:42 $ docker exec --env ******** --env ******** 1375111f0096a519f31f366cd17adcc602614097ebd5072fad8fdb3652aefbc6 ssh-agent -k 07:58:42 unset SSH_AUTH_SOCK; 07:58:42 unset SSH_AGENT_PID; 07:58:42 echo Agent pid 76 killed; 07:58:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:58:42 + git semver [Pipeline] } 07:58:43 $ docker stop --time=1 1375111f0096a519f31f366cd17adcc602614097ebd5072fad8fdb3652aefbc6 07:58:44 $ docker rm -f 1375111f0096a519f31f366cd17adcc602614097ebd5072fad8fdb3652aefbc6 [Pipeline] // withDockerContainer [Pipeline] sh 07:58:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:58:44 Stashed 1 file(s) [Pipeline] echo 07:58:44 [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 07:58:44 provisioning config files... 07:58:44 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config7865310351754750159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:45 ---> docker-login.sh 07:58:45 nexus3.edgexfoundry.org:10001 07:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:45 Configure a credential helper to remove this warning. See 07:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:45 07:58:45 Login Succeeded 07:58:45 nexus3.edgexfoundry.org:10002 07:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:45 Configure a credential helper to remove this warning. See 07:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:45 07:58:45 Login Succeeded 07:58:45 nexus3.edgexfoundry.org:10003 07:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:45 Configure a credential helper to remove this warning. See 07:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:45 07:58:45 Login Succeeded 07:58:45 nexus3.edgexfoundry.org:10004 07:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:45 Configure a credential helper to remove this warning. See 07:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:45 07:58:45 Login Succeeded 07:58:45 docker.io 07:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:46 Configure a credential helper to remove this warning. See 07:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:46 07:58:46 Login Succeeded 07:58:46 ---> docker-login.sh ends [Pipeline] } 07:58:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:58:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:46 ========================================================= 07:58:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:58:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:46 + 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 . 07:58:46 Sending build context to Docker daemon 12.52MB 07:58:46 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 07:58:46 Step 2/13 : FROM ${BASE} AS builder 07:58:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:58:46 213ec9aee27d: Pulling fs layer 07:58:46 4583459ba037: Pulling fs layer 07:58:46 93c1e223e6f2: Pulling fs layer 07:58:46 53926ce57604: Pulling fs layer 07:58:46 21b2b0c7a3f4: Pulling fs layer 07:58:46 30f14e443154: Pulling fs layer 07:58:46 801331c1e519: Pulling fs layer 07:58:46 99cc6dd402b0: Pulling fs layer 07:58:46 7d9ed39f4882: Pulling fs layer 07:58:46 53926ce57604: Waiting 07:58:46 801331c1e519: Waiting 07:58:46 7d9ed39f4882: Waiting 07:58:46 99cc6dd402b0: Waiting 07:58:46 30f14e443154: Waiting 07:58:46 93c1e223e6f2: Download complete 07:58:46 4583459ba037: Download complete 07:58:46 21b2b0c7a3f4: Verifying Checksum 07:58:46 30f14e443154: Verifying Checksum 07:58:46 30f14e443154: Download complete 07:58:46 213ec9aee27d: Download complete 07:58:46 801331c1e519: Verifying Checksum 07:58:46 801331c1e519: Download complete 07:58:46 213ec9aee27d: Pull complete 07:58:47 4583459ba037: Pull complete 07:58:47 93c1e223e6f2: Pull complete 07:58:47 7d9ed39f4882: Verifying Checksum 07:58:47 7d9ed39f4882: Download complete 07:58:47 53926ce57604: Download complete 07:58:47 99cc6dd402b0: Verifying Checksum 07:58:47 99cc6dd402b0: Download complete 07:58:51 53926ce57604: Pull complete 07:58:51 21b2b0c7a3f4: Pull complete 07:58:51 30f14e443154: Pull complete 07:58:51 801331c1e519: Pull complete 07:58:53 99cc6dd402b0: Pull complete 07:58:54 7d9ed39f4882: Pull complete 07:58:54 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:58:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:58:54 ---> 1dedd983c030 07:58:54 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 07:58:58 ---> Running in b1125740db73 07:58:58 Removing intermediate container b1125740db73 07:58:58 ---> 016ea1c25f36 07:58:58 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 07:58:58 ---> Running in 23ba89d09e5b 07:58:58 Removing intermediate container 23ba89d09e5b 07:58:58 ---> 57b6554e9d3e 07:58:58 Step 5/13 : ARG ADD_BUILD_TAGS="" 07:58:58 ---> Running in 7a744671d693 07:58:58 Removing intermediate container 7a744671d693 07:58:58 ---> 63cbc26ad5c6 07:58:58 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:58:58 ---> Running in e24a94dc0312 07:58:58 Removing intermediate container e24a94dc0312 07:58:58 ---> 2929c6f731b6 07:58:58 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:58 ---> Running in 1e652377f387 07:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:58:58 OK: 211 MiB in 51 packages 07:58:59 Removing intermediate container 1e652377f387 07:58:59 ---> 7f2b1743208d 07:58:59 Step 8/13 : WORKDIR /app 07:58:59 ---> Running in 1e6885ea8e79 07:58:59 Removing intermediate container 1e6885ea8e79 07:58:59 ---> fbbfec6d9c04 07:58:59 Step 9/13 : COPY go.mod vendor* ./ 07:58:59 ---> f126c95ff898 07:58:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:59 ---> Running in e893d02954e9 07:58:59 Still waiting to schedule task 07:58:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:59:25 Removing intermediate container e893d02954e9 07:59:25 ---> 978966000bce 07:59:25 Step 11/13 : COPY . . 07:59:26 ---> 2cf55700b690 07:59:26 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:59:26 ---> Running in 9667a6668ff1 07:59:26 Removing intermediate container 9667a6668ff1 07:59:26 ---> d4d67d2d8f29 07:59:26 Step 13/13 : RUN $MAKE 07:59:26 ---> Running in 09755029e02d 07:59:27 noop 07:59:27 Removing intermediate container 09755029e02d 07:59:27 ---> 169f02b78785 07:59:27 Successfully built 169f02b78785 07:59:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:27 + docker inspect -f . ci-base-image-x86_64 07:59:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:27 prd-ubuntu20.04-docker-8c-8g-117850 does not seem to be running inside a container 07:59:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:59:28 $ docker top 5e99089a22af1a6f7408e3d077f26b08946ae9eddee12c8d86a4213309ee1dac -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:28 + go version 07:59:28 go version go1.18.7 linux/amd64 [Pipeline] } 07:59:28 $ docker stop --time=1 5e99089a22af1a6f7408e3d077f26b08946ae9eddee12c8d86a4213309ee1dac 07:59:29 $ docker rm -f 5e99089a22af1a6f7408e3d077f26b08946ae9eddee12c8d86a4213309ee1dac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:30 + docker inspect -f . ci-base-image-x86_64 07:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:30 prd-ubuntu20.04-docker-8c-8g-117850 does not seem to be running inside a container 07:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:59:30 $ docker top fc45fb0e48999ff092d93b44cc1b953833a23888831c1c7c5c4db004aa2033a8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:31 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-117 [Pipeline] fileExists [Pipeline] sh 07:59:31 + make test 07:59:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:59:41 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 07:59:41 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.042s coverage: 86.2% of statements 07:59:41 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 07:59:44 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.552s coverage: 71.9% of statements 07:59:52 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." 07:59:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:59:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:59:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:59:56 ./bin/test-attribution.sh [Pipeline] echo 07:59:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:59:56 $ docker stop --time=1 fc45fb0e48999ff092d93b44cc1b953833a23888831c1c7c5c4db004aa2033a8 07:59:59 $ docker rm -f fc45fb0e48999ff092d93b44cc1b953833a23888831c1c7c5c4db004aa2033a8 [Pipeline] // withDockerContainer [Pipeline] sh 07:59:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:59:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:00:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:00 + ls -al . 08:00:00 total 244 08:00:00 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 07:59 . 08:00:00 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 07:58 .. 08:00:00 -rw-rw-r-- 1 jenkins jenkins 262 Nov 2 07:58 .dockerignore 08:00:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 07:59 .git 08:00:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 07:58 .github 08:00:00 -rw-rw-r-- 1 jenkins jenkins 788 Nov 2 07:58 .gitignore 08:00:00 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 07:58 .golangci.yml 08:00:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 07:58 .semver 08:00:00 -rw-rw-r-- 1 jenkins jenkins 9922 Nov 2 07:58 Attribution.txt 08:00:00 -rw-rw-r-- 1 jenkins jenkins 4331 Nov 2 07:58 CHANGELOG.md 08:00:00 -rw-rw-r-- 1 jenkins jenkins 1815 Nov 2 07:58 Dockerfile 08:00:00 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 07:58 GOVERNANCE.md 08:00:00 -rw-rw-r-- 1 jenkins jenkins 687 Nov 2 07:58 Jenkinsfile 08:00:00 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 2 07:58 LICENSE 08:00:00 -rw-rw-r-- 1 jenkins jenkins 3163 Nov 2 07:58 Makefile 08:00:00 -rw-rw-r-- 1 jenkins jenkins 617 Nov 2 07:58 OWNERS.md 08:00:00 -rw-rw-r-- 1 jenkins jenkins 31023 Nov 2 07:58 README.md 08:00:00 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 07:58 VERSION 08:00:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 07:58 bin 08:00:00 -rw-r--r-- 1 jenkins jenkins 41008 Nov 2 07:59 coverage.out 08:00:00 -rw-rw-r-- 1 jenkins jenkins 3646 Nov 2 07:58 go.mod 08:00:00 -rw-rw-r-- 1 jenkins jenkins 45132 Nov 2 07:58 go.sum 08:00:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 07:58 images 08:00:00 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 07:58 internal 08:00:00 -rw-rw-r-- 1 jenkins jenkins 531 Nov 2 07:58 main.go 08:00:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 07:58 res 08:00:00 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 07:58 snap 08:00:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 07:58 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:00 + 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=a9ac0051d3660d06cb105f0541461d992ff4f700 --label arch=amd64 --label version=0.0.0 . 08:00:00 Sending build context to Docker daemon 12.52MB 08:00:00 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 08:00:00 Step 2/30 : FROM ${BASE} AS builder 08:00:00 ---> 169f02b78785 08:00:00 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:00:01 ---> Running in 0cbccd5edaac 08:00:01 Removing intermediate container 0cbccd5edaac 08:00:01 ---> 761b049b942a 08:00:01 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 08:00:01 ---> Running in a0dbf0ed486f 08:00:01 Removing intermediate container a0dbf0ed486f 08:00:01 ---> c4554bfe648a 08:00:01 Step 5/30 : ARG ADD_BUILD_TAGS="" 08:00:01 ---> Running in c7189674607e 08:00:01 Removing intermediate container c7189674607e 08:00:01 ---> b339b2498b64 08:00:01 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:00:01 ---> Running in c5f933a2b619 08:00:01 Removing intermediate container c5f933a2b619 08:00:01 ---> cb6ef86795e1 08:00:01 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:00:01 ---> Running in 21a5a185c260 08:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:00:01 OK: 211 MiB in 51 packages 08:00:02 Removing intermediate container 21a5a185c260 08:00:02 ---> 4843222b95dd 08:00:02 Step 8/30 : WORKDIR /app 08:00:02 ---> Running in 731666c724d4 08:00:02 Removing intermediate container 731666c724d4 08:00:02 ---> 6dc5601f4784 08:00:02 Step 9/30 : COPY go.mod vendor* ./ 08:00:02 ---> 4a34a059e7b8 08:00:02 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:02 ---> Running in b5ab501f8c2e 08:00:03 Removing intermediate container b5ab501f8c2e 08:00:03 ---> 67afc127051d 08:00:03 Step 11/30 : COPY . . 08:00:03 ---> b419e86ae7ca 08:00:03 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:00:03 ---> Running in 7ce3b1cfd8f1 08:00:03 Removing intermediate container 7ce3b1cfd8f1 08:00:03 ---> 3cbcf6b75a3b 08:00:03 Step 13/30 : RUN $MAKE 08:00:03 ---> Running in 970d8d3de365 08:00:03 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.58 -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 08:00:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117851 in /w/workspace/y_app-rfid-llrp-inventory_PR-117 [Pipeline] { [Pipeline] ws 08:00:24 Running in /w/workspace/app-rfid-llrp-inventory/6 [Pipeline] { [Pipeline] checkout 08:00:24 The recommended git tool is: git 08:00:29 using credential edgex-jenkins-ssh 08:00:29 Cloning the remote Git repository 08:00:29 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:29 > git init /w/workspace/app-rfid-llrp-inventory/6 # timeout=10 08:00:29 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:29 > git --version # timeout=10 08:00:29 > git --version # 'git version 2.25.1' 08:00:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:29 Verifying host key using known hosts file 08:00:29 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:00:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:30 Removing intermediate container 970d8d3de365 08:00:30 ---> c84d7eaca2c2 08:00:30 Step 14/30 : FROM alpine:3.14 08:00:30 3.14: Pulling from library/alpine 08:00:30 c7ed990a2339: Pulling fs layer 08:00:30 c7ed990a2339: Verifying Checksum 08:00:30 c7ed990a2339: Download complete 08:00:30 c7ed990a2339: Pull complete 08:00:30 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 08:00:30 Status: Downloaded newer image for alpine:3.14 08:00:30 ---> dd53f409bf0b 08:00:30 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:00:30 ---> Running in 1db393918b88 08:00:30 Removing intermediate container 1db393918b88 08:00:30 ---> 09b5ef5203a1 08:00:30 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:00:30 ---> Running in 4de5bdbe1e25 08:00:30 Removing intermediate container 4de5bdbe1e25 08:00:30 ---> a1dbd4a6ca3e 08:00:30 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 08:00:30 ---> Running in 546ef914c994 08:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:00:30 (1/7) Installing ca-certificates (20220614-r0) 08:00:30 (2/7) Installing dumb-init (1.2.5-r1) 08:00:30 (3/7) Installing libgcc (10.3.1_git20210424-r2) 08:00:30 (4/7) Installing libsodium (1.0.18-r0) 08:00:30 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 08:00:30 (6/7) Installing libzmq (4.3.4-r0) 08:00:30 (7/7) Installing zeromq (4.3.4-r0) 08:00:30 Executing busybox-1.33.1-r8.trigger 08:00:30 Executing ca-certificates-20220614-r0.trigger 08:00:30 OK: 9 MiB in 21 packages 08:00:30 Removing intermediate container 546ef914c994 08:00:30 ---> 67c7985707a3 08:00:30 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:00:30 ---> db338c5f810a 08:00:30 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 08:00:30 ---> d6a5229feca5 08:00:30 Step 20/30 : COPY --from=builder /app/res/ /res/ 08:00:30 ---> 85bb0da5ebdc 08:00:30 Step 21/30 : COPY --from=builder /app/static/ /static/ 08:00:30 ---> 3e283970047f 08:00:30 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:00:30 ---> ab88707e27a8 08:00:30 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:00:30 ---> Running in 197c2310dc64 08:00:31 Removing intermediate container 197c2310dc64 08:00:31 ---> 35ed1e5a09b1 08:00:31 Step 24/30 : VOLUME /cache 08:00:31 ---> Running in 904cc7dc30bf 08:00:31 Removing intermediate container 904cc7dc30bf 08:00:31 ---> 7fe3b95ad2bf 08:00:31 Step 25/30 : EXPOSE 59711 08:00:31 ---> Running in 1818b4f370bd 08:00:31 Removing intermediate container 1818b4f370bd 08:00:31 ---> 437855f6ba6e 08:00:31 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:00:31 ---> Running in f4a1248c3a3f 08:00:31 Removing intermediate container f4a1248c3a3f 08:00:31 ---> 07e98eec28b8 08:00:31 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:00:31 ---> Running in 3b1dbad5943d 08:00:31 Removing intermediate container 3b1dbad5943d 08:00:31 ---> 78a06975bd2c 08:00:31 Step 28/30 : LABEL arch=amd64 08:00:31 ---> Running in bf98486193a8 08:00:31 Removing intermediate container bf98486193a8 08:00:31 ---> 3ec71f6462e0 08:00:31 Step 29/30 : LABEL git_sha=a9ac0051d3660d06cb105f0541461d992ff4f700 08:00:31 ---> Running in 71ce47c54c7a 08:00:32 Removing intermediate container 71ce47c54c7a 08:00:32 ---> 233c98c73940 08:00:32 Step 30/30 : LABEL version=0.0.0 08:00:32 ---> Running in 0d2b0484848f 08:00:32 Removing intermediate container 0d2b0484848f 08:00:32 ---> 28adcadd575a 08:00:32 [Warning] One or more build-args [ARCH] were not consumed 08:00:32 Successfully built 28adcadd575a 08:00:32 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 08:00:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:32 08:00:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:32 latest: Pulling from edgex-lftools-log-publisher 08:00:32 5eb5b503b376: Pulling fs layer 08:00:32 5c69ac0246d0: Pulling fs layer 08:00:32 ec43610c2a17: Pulling fs layer 08:00:32 3a2ae6a8a46f: Pulling fs layer 08:00:32 33b1e0a273af: Pulling fs layer 08:00:32 5d3b04190fa2: Pulling fs layer 08:00:32 2f39f015ded8: Pulling fs layer 08:00:32 33b1e0a273af: Waiting 08:00:32 2f39f015ded8: Waiting 08:00:32 3a2ae6a8a46f: Waiting 08:00:32 5d3b04190fa2: Waiting 08:00:32 5c69ac0246d0: Verifying Checksum 08:00:32 5c69ac0246d0: Download complete 08:00:32 3a2ae6a8a46f: Verifying Checksum 08:00:32 3a2ae6a8a46f: Download complete 08:00:33 ec43610c2a17: Verifying Checksum 08:00:33 ec43610c2a17: Download complete 08:00:33 33b1e0a273af: Verifying Checksum 08:00:33 33b1e0a273af: Download complete 08:00:33 5d3b04190fa2: Verifying Checksum 08:00:33 5d3b04190fa2: Download complete 08:00:33 5eb5b503b376: Download complete 08:00:32 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:00:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:32 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:00:33 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:33 Verifying host key using known hosts file 08:00:33 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:00:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:00:33 Merging remotes/origin/main commit 0e7488376ad1dd00b75d4cfa794ced1dedb225ae into PR head commit 3bb00f16ed931700ab6d3a5b126a6212681ec199 08:00:33 2f39f015ded8: Download complete 08:00:33 Merge succeeded, producing ad702c8c57e5e3eab5fe27a92e244b914bb64b2e 08:00:33 Checking out Revision ad702c8c57e5e3eab5fe27a92e244b914bb64b2e (PR-117) 08:00:34 5eb5b503b376: Pull complete 08:00:34 5c69ac0246d0: Pull complete 08:00:33 > git config core.sparsecheckout # timeout=10 08:00:33 > git checkout -f 3bb00f16ed931700ab6d3a5b126a6212681ec199 # timeout=10 08:00:33 > git remote # timeout=10 08:00:33 > git config --get remote.origin.url # timeout=10 08:00:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:33 Verifying host key using known hosts file 08:00:33 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:00:33 > git merge 0e7488376ad1dd00b75d4cfa794ced1dedb225ae # timeout=10 08:00:33 > git rev-parse HEAD^{commit} # timeout=10 08:00:33 > git config core.sparsecheckout # timeout=10 08:00:33 > git checkout -f ad702c8c57e5e3eab5fe27a92e244b914bb64b2e # timeout=10 08:00:34 ec43610c2a17: Pull complete 08:00:34 3a2ae6a8a46f: Pull complete 08:00:35 33b1e0a273af: Pull complete 08:00:35 5d3b04190fa2: Pull complete 08:00:37 Commit message: "Merge commit '0e7488376ad1dd00b75d4cfa794ced1dedb225ae' into HEAD" 08:00:37 First time build. Skipping changelog. 08:00:37 > git rev-list --no-walk 84531b6f744f152e31a2f811e11241ac5782831a # timeout=10 08:00:37 08:00:37 GitHub has been notified of this commit’s build result 08:00:37 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:00:38 % Total % Received % Xferd Average Speed Time Time Time Current 08:00:38 Dload Upload Total Spent Left Speed 08:00:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 64295 0 --:--:-- --:--:-- --:--:-- 64295 [Pipeline] sh 08:00:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:00:39 2f39f015ded8: Pull complete 08:00:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:00:39 + sudo tee /etc/docker/daemon.new 08:00:39 { 08:00:39 "registry-mirrors": [ 08:00:39 "https://nexus3.edgexfoundry.org:10001" 08:00:39 ], 08:00:39 "bip": "10.250.0.254/24", 08:00:39 "hosts": [ 08:00:39 "tcp://0.0.0.0:5555", 08:00:39 "unix:///var/run/docker.sock" 08:00:39 ], 08:00:39 "mtu": 1458, 08:00:39 "selinux-enabled": true, 08:00:39 "seccomp-profile": "/etc/docker/seccomp.json" 08:00:39 } 08:00:39 prd-ubuntu20.04-docker-8c-8g-117850 does not seem to be running inside a container 08:00:39 $ 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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:00:43 $ docker top f8b95a3a6a61b80108393e59dd101e1dd3f9dd4c17a31f19602583a560f89f22 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 08:00:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:00:43 ---> job-cost.sh 08:00:43 lf-activate-venv: SKIPPING 08:00:43 INFO: No Stack... 08:00:43 + sudo service docker restart 08:00:43 INFO: Retrieving Pricing Info for: v3-standard-8 08:00:44 INFO: Archiving Costs [Pipeline] sh 08:00:44 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/cost.csv 08:00:44 + cut -d, -f6 [Pipeline] lock 08:00:44 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] 08:00:44 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] did not exist. Created. 08:00:44 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:00:44 + echo total: 0.2199999988079071 [Pipeline] stash 08:00:44 Stashed 1 file(s) [Pipeline] } 08:00:44 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] [Pipeline] // lock [Pipeline] } 08:00:44 $ docker stop --time=1 f8b95a3a6a61b80108393e59dd101e1dd3f9dd4c17a31f19602583a560f89f22 08:00:45 $ docker rm -f f8b95a3a6a61b80108393e59dd101e1dd3f9dd4c17a31f19602583a560f89f22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:02 provisioning config files... 08:01:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/6@tmp/config13821687601711254523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:02 ---> docker-login.sh 08:01:02 nexus3.edgexfoundry.org:10001 08:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:02 Configure a credential helper to remove this warning. See 08:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:02 08:01:02 Login Succeeded 08:01:02 nexus3.edgexfoundry.org:10002 08:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:03 Configure a credential helper to remove this warning. See 08:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:03 08:01:03 Login Succeeded 08:01:03 nexus3.edgexfoundry.org:10003 08:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:03 Configure a credential helper to remove this warning. See 08:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:03 08:01:03 Login Succeeded 08:01:03 nexus3.edgexfoundry.org:10004 08:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:04 Configure a credential helper to remove this warning. See 08:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:04 08:01:04 Login Succeeded 08:01:04 docker.io 08:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:04 Configure a credential helper to remove this warning. See 08:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:04 08:01:04 Login Succeeded 08:01:04 ---> docker-login.sh ends [Pipeline] } 08:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:04 ========================================================= 08:01:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:01:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:05 + 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 . 08:01:05 Sending build context to Docker daemon 686.6kB 08:01:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 08:01:05 Step 2/13 : FROM ${BASE} AS builder 08:01:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:01:05 9b18e9b68314: Pulling fs layer 08:01:05 d32db5db7311: Pulling fs layer 08:01:05 d0c4b47475fc: Pulling fs layer 08:01:05 5831b945b038: Pulling fs layer 08:01:05 86bbec2aaacd: Pulling fs layer 08:01:05 e10730c5d714: Pulling fs layer 08:01:05 5dd5c2283517: Pulling fs layer 08:01:05 d5ac0230b979: Pulling fs layer 08:01:05 5831b945b038: Waiting 08:01:05 e10730c5d714: Waiting 08:01:05 86bbec2aaacd: Waiting 08:01:05 5dd5c2283517: Waiting 08:01:05 d5ac0230b979: Waiting 08:01:05 d0c4b47475fc: Verifying Checksum 08:01:05 d0c4b47475fc: Download complete 08:01:05 d32db5db7311: Verifying Checksum 08:01:05 d32db5db7311: Download complete 08:01:05 86bbec2aaacd: Verifying Checksum 08:01:05 86bbec2aaacd: Download complete 08:01:05 e10730c5d714: Verifying Checksum 08:01:05 e10730c5d714: Download complete 08:01:05 9b18e9b68314: Verifying Checksum 08:01:06 9b18e9b68314: Pull complete 08:01:06 d5ac0230b979: Verifying Checksum 08:01:06 d5ac0230b979: Download complete 08:01:07 d32db5db7311: Pull complete 08:01:07 d0c4b47475fc: Pull complete 08:01:07 5dd5c2283517: Verifying Checksum 08:01:07 5dd5c2283517: Download complete 08:01:08 5831b945b038: Verifying Checksum 08:01:08 5831b945b038: Download complete 08:01:20 5831b945b038: Pull complete 08:01:20 86bbec2aaacd: Pull complete 08:01:20 e10730c5d714: Pull complete 08:01:27 5dd5c2283517: Pull complete 08:01:28 d5ac0230b979: Pull complete 08:01:28 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 08:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:01:28 ---> 59b3b1a385d4 08:01:28 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:01:30 ---> Running in 50627893901c 08:01:30 Removing intermediate container 50627893901c 08:01:30 ---> 3655e7ac5c3f 08:01:30 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:01:30 ---> Running in 8e08ab73c5b5 08:01:30 Removing intermediate container 8e08ab73c5b5 08:01:30 ---> e48c776966de 08:01:30 Step 5/13 : ARG ADD_BUILD_TAGS="" 08:01:30 ---> Running in 65d903fec44f 08:01:31 Removing intermediate container 65d903fec44f 08:01:31 ---> 5902b7ddd678 08:01:31 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:01:31 ---> Running in dc4ab044fa30 08:01:31 Removing intermediate container dc4ab044fa30 08:01:31 ---> 279d274996e1 08:01:31 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:01:31 ---> Running in c547cd5b1139 08:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:01:33 OK: 221 MiB in 51 packages 08:01:34 Removing intermediate container c547cd5b1139 08:01:34 ---> b6aeb69d6556 08:01:34 Step 8/13 : WORKDIR /app 08:01:34 ---> Running in 24a1c67cc3af 08:01:34 Removing intermediate container 24a1c67cc3af 08:01:34 ---> ce2491fc5df7 08:01:34 Step 9/13 : COPY go.mod vendor* ./ 08:01:35 ---> 82bafe200d93 08:01:35 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:35 ---> Running in 8a8f77e85194 08:02:31 Removing intermediate container 8a8f77e85194 08:02:31 ---> 459c6edd1372 08:02:31 Step 11/13 : COPY . . 08:02:31 ---> 5f0d30f4274e 08:02:31 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:02:31 ---> Running in 0261c1f429a0 08:02:31 Removing intermediate container 0261c1f429a0 08:02:31 ---> 0ab59064152c 08:02:31 Step 13/13 : RUN $MAKE 08:02:31 ---> Running in c3d19a39b25d 08:02:31 noop 08:02:31 Removing intermediate container c3d19a39b25d 08:02:31 ---> 001068bc2c56 08:02:31 Successfully built 001068bc2c56 08:02:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:32 + docker inspect -f . ci-base-image-arm64 08:02:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:32 prd-ubuntu20.04-docker-arm64-4c-16g-117851 does not seem to be running inside a container 08:02:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/6 -v /w/workspace/app-rfid-llrp-inventory/6:/w/workspace/app-rfid-llrp-inventory/6:rw,z -v /w/workspace/app-rfid-llrp-inventory/6@tmp:/w/workspace/app-rfid-llrp-inventory/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:02:33 $ docker top 95428bcdc3d8ab2551d2d88323a38772ed27165d15db24dbfaf4c730f1820cfe -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:34 + go version 08:02:34 go version go1.18.7 linux/arm64 [Pipeline] } 08:02:34 $ docker stop --time=1 95428bcdc3d8ab2551d2d88323a38772ed27165d15db24dbfaf4c730f1820cfe 08:02:36 $ docker rm -f 95428bcdc3d8ab2551d2d88323a38772ed27165d15db24dbfaf4c730f1820cfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:37 + docker inspect -f . ci-base-image-arm64 08:02:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:37 prd-ubuntu20.04-docker-arm64-4c-16g-117851 does not seem to be running inside a container 08:02:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/6 -v /w/workspace/app-rfid-llrp-inventory/6:/w/workspace/app-rfid-llrp-inventory/6:rw,z -v /w/workspace/app-rfid-llrp-inventory/6@tmp:/w/workspace/app-rfid-llrp-inventory/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:02:38 $ docker top 67e141e0f71df507b947f38a498aee96ca786ae8c356aafa4a6de04fa7e8b336 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:39 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/6 [Pipeline] fileExists [Pipeline] sh 08:02:39 + make test 08:02:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:04:00 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:04:05 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.139s coverage: 86.2% of statements 08:04:05 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:04:10 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.702s coverage: 71.9% of statements 08:04:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:04:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:04:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:04:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:04:32 ./bin/test-attribution.sh [Pipeline] echo 08:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:04:32 $ docker stop --time=1 67e141e0f71df507b947f38a498aee96ca786ae8c356aafa4a6de04fa7e8b336 08:04:34 $ docker rm -f 67e141e0f71df507b947f38a498aee96ca786ae8c356aafa4a6de04fa7e8b336 [Pipeline] // withDockerContainer [Pipeline] sh 08:04:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:04:35 Warning: overwriting stash ‘coverage-report’ 08:04:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:36 + ls -al . 08:04:36 total 240 08:04:36 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 08:02 . 08:04:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 08:00 .. 08:04:36 -rw-rw-r-- 1 jenkins jenkins 262 Nov 2 08:00 .dockerignore 08:04:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 08:00 .git 08:04:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 08:00 .github 08:04:36 -rw-rw-r-- 1 jenkins jenkins 788 Nov 2 08:00 .gitignore 08:04:36 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 08:00 .golangci.yml 08:04:36 -rw-rw-r-- 1 jenkins jenkins 9922 Nov 2 08:00 Attribution.txt 08:04:36 -rw-rw-r-- 1 jenkins jenkins 4331 Nov 2 08:00 CHANGELOG.md 08:04:36 -rw-rw-r-- 1 jenkins jenkins 1815 Nov 2 08:00 Dockerfile 08:04:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 08:00 GOVERNANCE.md 08:04:36 -rw-rw-r-- 1 jenkins jenkins 687 Nov 2 08:00 Jenkinsfile 08:04:36 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 2 08:00 LICENSE 08:04:36 -rw-rw-r-- 1 jenkins jenkins 3163 Nov 2 08:00 Makefile 08:04:36 -rw-rw-r-- 1 jenkins jenkins 617 Nov 2 08:00 OWNERS.md 08:04:36 -rw-rw-r-- 1 jenkins jenkins 31023 Nov 2 08:00 README.md 08:04:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 07:58 VERSION 08:04:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 08:00 bin 08:04:36 -rw-r--r-- 1 jenkins jenkins 41008 Nov 2 08:04 coverage.out 08:04:36 -rw-rw-r-- 1 jenkins jenkins 3646 Nov 2 08:00 go.mod 08:04:36 -rw-rw-r-- 1 jenkins jenkins 45132 Nov 2 08:00 go.sum 08:04:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 08:00 images 08:04:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 08:00 internal 08:04:36 -rw-rw-r-- 1 jenkins jenkins 531 Nov 2 08:00 main.go 08:04:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 08:00 res 08:04:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 08:00 snap 08:04:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 08:00 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:37 + 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=ad702c8c57e5e3eab5fe27a92e244b914bb64b2e --label arch=arm64 --label version=0.0.0 . 08:04:37 Sending build context to Docker daemon 686.6kB 08:04:37 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 08:04:37 Step 2/30 : FROM ${BASE} AS builder 08:04:37 ---> 001068bc2c56 08:04:37 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:04:37 ---> Running in e3b79bbc59f0 08:04:37 Removing intermediate container e3b79bbc59f0 08:04:37 ---> c39b340eeb39 08:04:37 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 08:04:37 ---> Running in 73553f19988c 08:04:37 Removing intermediate container 73553f19988c 08:04:37 ---> 4959c60b629d 08:04:37 Step 5/30 : ARG ADD_BUILD_TAGS="" 08:04:38 ---> Running in 19c65981c50d 08:04:38 Removing intermediate container 19c65981c50d 08:04:38 ---> ae45ad2495f9 08:04:38 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:04:38 ---> Running in 216b703c011a 08:04:38 Removing intermediate container 216b703c011a 08:04:38 ---> 897aba011a26 08:04:38 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:38 ---> Running in a42adf7fb41b 08:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:04:40 OK: 221 MiB in 51 packages 08:04:41 Removing intermediate container a42adf7fb41b 08:04:41 ---> b587e53b4e9c 08:04:41 Step 8/30 : WORKDIR /app 08:04:41 ---> Running in 5674e3acd3c2 08:04:41 Removing intermediate container 5674e3acd3c2 08:04:41 ---> 887f44836f0d 08:04:41 Step 9/30 : COPY go.mod vendor* ./ 08:04:42 ---> ff621e533265 08:04:42 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:42 ---> Running in bd1a806bf00d 08:04:44 Removing intermediate container bd1a806bf00d 08:04:44 ---> 8b4183ae4dd2 08:04:44 Step 11/30 : COPY . . 08:04:45 ---> 79641f7aecc7 08:04:45 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:04:45 ---> Running in 087a178ca9f9 08:04:45 Removing intermediate container 087a178ca9f9 08:04:45 ---> a584ffdc278c 08:04:45 Step 13/30 : RUN $MAKE 08:04:45 ---> Running in 236543ba891b 08:04:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.58 -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 08:07:24 Removing intermediate container 236543ba891b 08:07:24 ---> d674b791f52c 08:07:24 Step 14/30 : FROM alpine:3.14 08:07:24 3.14: Pulling from library/alpine 08:07:24 90cda3b7c325: Pulling fs layer 08:07:24 90cda3b7c325: Verifying Checksum 08:07:24 90cda3b7c325: Download complete 08:07:24 90cda3b7c325: Pull complete 08:07:24 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 08:07:24 Status: Downloaded newer image for alpine:3.14 08:07:24 ---> 376ba31ae3da 08:07:24 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:07:24 ---> Running in 7b0a3edf0102 08:07:24 Removing intermediate container 7b0a3edf0102 08:07:24 ---> a591d3ba6dd1 08:07:24 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:07:24 ---> Running in ec7b86fd7643 08:07:24 Removing intermediate container ec7b86fd7643 08:07:24 ---> 24fa95cc2d44 08:07:24 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 08:07:24 ---> Running in 0e8909dd131b 08:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:07:24 (1/7) Installing ca-certificates (20220614-r0) 08:07:24 (2/7) Installing dumb-init (1.2.5-r1) 08:07:24 (3/7) Installing libgcc (10.3.1_git20210424-r2) 08:07:24 (4/7) Installing libsodium (1.0.18-r0) 08:07:24 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 08:07:24 (6/7) Installing libzmq (4.3.4-r0) 08:07:24 (7/7) Installing zeromq (4.3.4-r0) 08:07:24 Executing busybox-1.33.1-r8.trigger 08:07:24 Executing ca-certificates-20220614-r0.trigger 08:07:24 OK: 9 MiB in 21 packages 08:07:24 Removing intermediate container 0e8909dd131b 08:07:24 ---> 925108219594 08:07:24 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:07:24 ---> 496d312e4f74 08:07:24 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 08:07:24 ---> ace85f317fc5 08:07:24 Step 20/30 : COPY --from=builder /app/res/ /res/ 08:07:24 ---> 4891e748fce4 08:07:24 Step 21/30 : COPY --from=builder /app/static/ /static/ 08:07:24 ---> bdc543da3380 08:07:24 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:07:24 ---> 8f63e772ef35 08:07:24 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:07:24 ---> Running in dfcaa67605ad 08:07:24 Removing intermediate container dfcaa67605ad 08:07:24 ---> e44ca6abf24a 08:07:24 Step 24/30 : VOLUME /cache 08:07:24 ---> Running in ec9c830a0023 08:07:24 Removing intermediate container ec9c830a0023 08:07:24 ---> 97bd7cceabcb 08:07:24 Step 25/30 : EXPOSE 59711 08:07:24 ---> Running in a68c14e65b9e 08:07:24 Removing intermediate container a68c14e65b9e 08:07:24 ---> 020b4cb66f53 08:07:24 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:07:24 ---> Running in 239e3bbc2218 08:07:24 Removing intermediate container 239e3bbc2218 08:07:24 ---> f73251ea89c0 08:07:24 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:07:24 ---> Running in c70d4b3f9acb 08:07:24 Removing intermediate container c70d4b3f9acb 08:07:24 ---> a8bf28de9f00 08:07:24 Step 28/30 : LABEL arch=arm64 08:07:24 ---> Running in 7b0e608d6b20 08:07:24 Removing intermediate container 7b0e608d6b20 08:07:24 ---> 87720dbb6d77 08:07:24 Step 29/30 : LABEL git_sha=ad702c8c57e5e3eab5fe27a92e244b914bb64b2e 08:07:24 ---> Running in 89fb2aeeaeeb 08:07:24 Removing intermediate container 89fb2aeeaeeb 08:07:24 ---> e6c3cc06e53c 08:07:24 Step 30/30 : LABEL version=0.0.0 08:07:24 ---> Running in c233d7b80a5b 08:07:24 Removing intermediate container c233d7b80a5b 08:07:24 ---> 4ce24263736a 08:07:24 [Warning] One or more build-args [ARCH] were not consumed 08:07:25 Successfully built 4ce24263736a 08:07:25 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 08:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:07:25 08:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:07:25 arm64: Pulling from edgex-lftools-log-publisher 08:07:25 8998bd30e6a1: Pulling fs layer 08:07:25 04944245beec: Pulling fs layer 08:07:25 699f458cf7ca: Pulling fs layer 08:07:25 765212b225bb: Pulling fs layer 08:07:25 f23df028b6ca: Pulling fs layer 08:07:25 d65c8cfc05b1: Pulling fs layer 08:07:25 2437ff75d9bd: Pulling fs layer 08:07:25 f23df028b6ca: Waiting 08:07:25 d65c8cfc05b1: Waiting 08:07:25 2437ff75d9bd: Waiting 08:07:26 04944245beec: Verifying Checksum 08:07:26 04944245beec: Download complete 08:07:26 765212b225bb: Verifying Checksum 08:07:26 765212b225bb: Download complete 08:07:26 f23df028b6ca: Download complete 08:07:26 d65c8cfc05b1: Verifying Checksum 08:07:26 d65c8cfc05b1: Download complete 08:07:26 699f458cf7ca: Verifying Checksum 08:07:26 699f458cf7ca: Download complete 08:07:26 8998bd30e6a1: Verifying Checksum 08:07:26 8998bd30e6a1: Download complete 08:07:28 2437ff75d9bd: Verifying Checksum 08:07:28 2437ff75d9bd: Download complete 08:07:30 8998bd30e6a1: Pull complete 08:07:30 04944245beec: Pull complete 08:07:32 699f458cf7ca: Pull complete 08:07:32 765212b225bb: Pull complete 08:07:33 f23df028b6ca: Pull complete 08:07:33 d65c8cfc05b1: Pull complete 08:07:48 2437ff75d9bd: Pull complete 08:07:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:07:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:07:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:48 prd-ubuntu20.04-docker-arm64-4c-16g-117851 does not seem to be running inside a container 08:07:48 $ 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/6 -v /w/workspace/app-rfid-llrp-inventory/6:/w/workspace/app-rfid-llrp-inventory/6:rw,z -v /w/workspace/app-rfid-llrp-inventory/6@tmp:/w/workspace/app-rfid-llrp-inventory/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:07:50 $ docker top e95994a164dc1398c7ed20a8c88cdab15c54983890fcaf5d23c13f0b7ec13b9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:07:51 ---> job-cost.sh 08:07:51 lf-activate-venv: SKIPPING 08:07:51 INFO: No Stack... 08:07:52 INFO: Retrieving Pricing Info for: v3-standard-4 08:07:52 INFO: Archiving Costs [Pipeline] sh 08:07:53 + cat /w/workspace/app-rfid-llrp-inventory/6/archives/cost.csv 08:07:53 + cut -d, -f6 [Pipeline] lock 08:07:53 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] 08:07:53 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] did not exist. Created. 08:07:53 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:07:53 /w/workspace/app-rfid-llrp-inventory/6@tmp/durable-6f35e0b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:07:54 + echo total: 0.10999999940395355 [Pipeline] stash 08:07:54 Warning: overwriting stash ‘stack-cost’ 08:07:54 Stashed 1 file(s) [Pipeline] } 08:07:54 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-6-stack-cost] [Pipeline] // lock [Pipeline] } 08:07:54 $ docker stop --time=1 e95994a164dc1398c7ed20a8c88cdab15c54983890fcaf5d23c13f0b7ec13b9b 08:07:55 $ docker rm -f e95994a164dc1398c7ed20a8c88cdab15c54983890fcaf5d23c13f0b7ec13b9b [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 08:07:56 provisioning config files... 08:07:56 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config1478619604839863664tmp [Pipeline] { [Pipeline] sh 08:07:56 + set +x 08:07:56 + bash -s -- 08:07:56 + curl -s https://codecov.io/bash 08:07:56 08:07:56 _____ _ 08:07:56 / ____| | | 08:07:56 | | ___ __| | ___ ___ _____ __ 08:07:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:07:56 | |___| (_) | (_| | __/ (_| (_) \ V / 08:07:56 \_____\___/ \__,_|\___|\___\___/ \_/ 08:07:56 Bash-1.0.6 08:07:56 08:07:56 08:07:56 ==> git version 2.25.1 found 08:07:56 ==> 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 08:07:56 Release-Date: 2020-01-08 08:07:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:07:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:07:56 ==> Jenkins CI detected. 08:07:56 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-117 08:07:56 project root: . 08:07:56 --> token set from env 08:07:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:07:56 ==> Running gcov in . (disable via -X gcov) 08:07:56 ==> Python coveragepy not found 08:07:56 ==> Searching for coverage reports in: 08:07:56 + . 08:07:56 -> Found 1 reports 08:07:56 ==> Detecting git/mercurial file structure 08:07:56 ==> Reading reports 08:07:56 + ./coverage.out bytes=41008 08:07:56 ==> Appending adjustments 08:07:56 https://docs.codecov.io/docs/fixing-reports 08:07:56 + Found adjustments 08:07:56 ==> Gzipping contents 08:07:56 12K /tmp/codecov.UnCWL7.gz 08:07:56 ==> Uploading reports 08:07:56 url: https://codecov.io 08:07:56 query: branch=PR-117&commit=a9ac0051d3660d06cb105f0541461d992ff4f700&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-117%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=117&job=&cmd_args= 08:07:56 -> Pinging Codecov 08:07:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-117&commit=a9ac0051d3660d06cb105f0541461d992ff4f700&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-117%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=117&job=&cmd_args= 08:07:57 -> Uploading to 08:07:57 https://storage.googleapis.com/codecov/v4/raw/2022-11-02/581DD39554BDF9B6E22D074273EAD858/a9ac0051d3660d06cb105f0541461d992ff4f700/cb8417bc-f486-4c0a-8956-fda7d45e2a1a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T080757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16dc5c545bdc261476f7ed474f49fba7c638ce15c5264fe7bea249c15bfe43d2 08:07:57 % Total % Received % Xferd Average Speed Time Time Time Current 08:07:57 Dload Upload Total Spent Left Speed 08:07:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11465 0 0 100 11465 0 46417 --:--:-- --:--:-- --:--:-- 46417 08:07:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/a9ac0051d3660d06cb105f0541461d992ff4f700 [Pipeline] } 08:07:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:07:58 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives ] 08:07:58 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives 08:07:58 total 16 08:07:58 drwxr-xr-x 3 root root 4096 Nov 2 08:00 . 08:07:58 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 08:00 .. 08:07:58 drwxr-xr-x 2 root root 4096 Nov 2 08:00 cost 08:07:58 -rw-r--r-- 1 root root 95 Nov 2 08:00 cost.csv 08:07:58 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives 08:07:58 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives 08:07:58 total 16 08:07:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 08:00 . 08:07:58 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 08:00 .. 08:07:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 08:00 cost 08:07:58 -rw-r--r-- 1 jenkins jenkins 95 Nov 2 08:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:07:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:59 ---> package-listing.sh 08:07:59 ++ facter osfamily 08:07:59 ++ tr '[:upper:]' '[:lower:]' 08:08:00 + OS_FAMILY=debian 08:08:00 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-117 08:08:00 + START_PACKAGES=/tmp/packages_start.txt 08:08:00 + END_PACKAGES=/tmp/packages_end.txt 08:08:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:08:00 + PACKAGES=/tmp/packages_start.txt 08:08:00 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-117 ']' 08:08:00 + PACKAGES=/tmp/packages_end.txt 08:08:00 + case "${OS_FAMILY}" in 08:08:00 + dpkg -l 08:08:00 + grep '^ii' 08:08:00 + '[' -f /tmp/packages_start.txt ']' 08:08:00 + '[' -f /tmp/packages_end.txt ']' 08:08:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:08:00 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-117 ']' 08:08:00 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/ 08:08:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/ [Pipeline] echo 08:08:00 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:08:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:01 prd-ubuntu20.04-docker-8c-8g-117850 does not seem to be running inside a container 08:08:01 $ 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-117/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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:08:01 $ docker top 830cedee7459dcc8a0741a07c1ba806757cd11b807e06bebd4ce156f774c5071 -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:01 + touch /tmp/pre-build-complete [Pipeline] sh 08:08:01 + mkdir -p /var/log/sysstat [Pipeline] sh 08:08:02 + ls /var/log/sa-host 08:08:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:08:02 provisioning config files... 08:08:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config17662397012575504154tmp [Pipeline] { [Pipeline] echo 08:08:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:08:02 ---> create-netrc.sh [Pipeline] } 08:08:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:08:03 ---> python-tools-install.sh [Pipeline] echo 08:08:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:08:03 ---> sudo-logs.sh 08:08:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:08:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:08:03 ---> job-cost.sh 08:08:03 lf-activate-venv: SKIPPING 08:08:03 DEBUG: total: 0.2199999988079071 08:08:03 INFO: Retrieving Stack Cost... 08:08:03 INFO: Retrieving Pricing Info for: v3-standard-8 08:08:04 INFO: Archiving Costs [Pipeline] echo 08:08:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:08:04 ---> logs-deploy.sh 08:08:04 lf-activate-venv: SKIPPING 08:08:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-117/6 08:08:04 INFO: archiving workspace using pattern(s): 08:08:05 Archives upload complete. 08:08:05 INFO: archiving logs to Nexus 08:08:06 ---> uname -a: 08:08:06 Linux prd-ubuntu20-04-docker-8c-8g-117850 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 08:08:06 08:08:06 08:08:06 ---> lscpu: 08:08:06 Architecture: x86_64 08:08:06 CPU op-mode(s): 32-bit, 64-bit 08:08:06 Byte Order: Little Endian 08:08:06 Address sizes: 40 bits physical, 48 bits virtual 08:08:06 CPU(s): 8 08:08:06 On-line CPU(s) list: 0-7 08:08:06 Thread(s) per core: 1 08:08:06 Core(s) per socket: 1 08:08:06 Socket(s): 8 08:08:06 NUMA node(s): 1 08:08:06 Vendor ID: AuthenticAMD 08:08:06 CPU family: 23 08:08:06 Model: 49 08:08:06 Model name: AMD EPYC-Rome Processor 08:08:06 Stepping: 0 08:08:06 CPU MHz: 2799.956 08:08:06 BogoMIPS: 5599.91 08:08:06 Virtualization: AMD-V 08:08:06 Hypervisor vendor: KVM 08:08:06 Virtualization type: full 08:08:06 L1d cache: 256 KiB 08:08:06 L1i cache: 256 KiB 08:08:06 L2 cache: 4 MiB 08:08:06 L3 cache: 128 MiB 08:08:06 NUMA node0 CPU(s): 0-7 08:08:06 Vulnerability Itlb multihit: Not affected 08:08:06 Vulnerability L1tf: Not affected 08:08:06 Vulnerability Mds: Not affected 08:08:06 Vulnerability Meltdown: Not affected 08:08:06 Vulnerability Mmio stale data: Not affected 08:08:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:08:06 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 08:08:06 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 08:08:06 Vulnerability Srbds: Not affected 08:08:06 Vulnerability Tsx async abort: Not affected 08:08:06 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 08:08:06 08:08:06 08:08:06 ---> nproc: 08:08:06 8 08:08:06 08:08:06 08:08:06 ---> df -h: 08:08:06 Filesystem Size Used Avail Use% Mounted on 08:08:06 overlay 155G 12G 144G 8% / 08:08:06 tmpfs 64M 0 64M 0% /dev 08:08:06 tmpfs 16G 0 16G 0% /sys/fs/cgroup 08:08:06 shm 64M 0 64M 0% /dev/shm 08:08:06 /dev/vda1 155G 12G 144G 8% /facter-os 08:08:06 08:08:06