Pull request #98 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from fc81389db2b18c23a770aa80de1d99eb94944553+ccdb054e5d16bd529c2fd15a52524dce2c381cd1 (a55bbfab3cdabb7d269f346c911b4c1928414449) Loading library edgex-global-pipelines@c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 Attempting to resolve c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 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-ssh12212146165984322787.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Could not find c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 in remote references. Pulling heads to local for deep search... > 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-ssh8955697977245522773.key > git fetch --tags --progress -- origin +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 # timeout=10 Selected match: pr/405/merge revision c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 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-98/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 without 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-98/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10209371523834131598.key > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 (pr/405/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f c3dc2d04d4253ed76adb28c7c9b7cefbc5dc60e0 # timeout=10 Commit message: "ci: add privileged to fix issues with Go 1.18 and AppArmor" > 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-ssh15799688749858638004.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-98/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-98/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13259114781973406562.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19354’ Running on prd-ubuntu20.04-docker-8c-8g-19357 in /w/workspace/ry_app-rfid-llrp-inventory_PR-98 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/ry_app-rfid-llrp-inventory_PR-98 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ccdb054e5d16bd529c2fd15a52524dce2c381cd1 into PR head commit fc81389db2b18c23a770aa80de1d99eb94944553 Merge succeeded, producing fc81389db2b18c23a770aa80de1d99eb94944553 Checking out Revision fc81389db2b18c23a770aa80de1d99eb94944553 (PR-98) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ccdb054e5d16bd529c2fd15a52524dce2c381cd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # timeout=10 Commit message: "pin to epg AppArmor fix" First time build. Skipping changelog. > git rev-list --no-walk 0173ae16e4355669cdd758204846f096f9228d18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T20:57:58.041Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T20:57:58.100Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T20:57:58.122Z] ========================================================= [2022-07-11T20:57:58.122Z] EdgeX Global Pipelines Version Info [2022-07-11T20:57:58.122Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T20:57:58.873Z] ------------------- [2022-07-11T20:57:58.873Z] stable info: [2022-07-11T20:57:58.873Z] ------------------- [2022-07-11T20:57:58.873Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T20:57:58.873Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T20:57:58.873Z] Message: update stable to v1.0.236 [2022-07-11T20:57:59.445Z] ------------------- [2022-07-11T20:57:59.445Z] experimental info: [2022-07-11T20:57:59.445Z] ------------------- [2022-07-11T20:57:59.445Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T20:57:59.445Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T20:57:59.445Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T20:57:59.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-07-11T20:57:59.609Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-07-11T20:57:59.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T20:57:59.631Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T20:57:59.642Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T20:57:59.654Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-11T20:57:59.666Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T20:57:59.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T20:57:59.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T20:57:59.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T20:57:59.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T20:57:59.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-07-11T20:57:59.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T20:57:59.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T20:57:59.763Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T20:57:59.778Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T20:57:59.789Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T20:57:59.798Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T20:57:59.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T20:57:59.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T20:57:59.843Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T20:57:59.859Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T20:57:59.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T20:57:59.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T20:57:59.897Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T20:57:59.905Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T20:57:59.921Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T20:57:59.931Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-98 [Pipeline] echo [2022-07-11T20:57:59.949Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-98 [Pipeline] echo [2022-07-11T20:57:59.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-98 [Pipeline] echo [2022-07-11T20:57:59.975Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo [2022-07-11T20:57:59.989Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc81389 [Pipeline] echo [2022-07-11T20:58:00.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T20:58:00.051Z] provisioning config files... [2022-07-11T20:58:00.065Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config2981131193391875436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T20:58:00.365Z] ---> docker-login.sh [2022-07-11T20:58:00.366Z] nexus3.edgexfoundry.org:10001 [2022-07-11T20:58:00.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:00.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:00.627Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:00.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:00.627Z] [2022-07-11T20:58:00.627Z] Login Succeeded [2022-07-11T20:58:00.627Z] nexus3.edgexfoundry.org:10002 [2022-07-11T20:58:00.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:00.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:00.888Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:00.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:00.888Z] [2022-07-11T20:58:00.888Z] Login Succeeded [2022-07-11T20:58:00.888Z] nexus3.edgexfoundry.org:10003 [2022-07-11T20:58:00.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:00.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:00.888Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:00.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:00.888Z] [2022-07-11T20:58:00.888Z] Login Succeeded [2022-07-11T20:58:00.888Z] nexus3.edgexfoundry.org:10004 [2022-07-11T20:58:01.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:01.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:01.149Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:01.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:01.149Z] [2022-07-11T20:58:01.149Z] Login Succeeded [2022-07-11T20:58:01.149Z] docker.io [2022-07-11T20:58:01.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:01.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:01.410Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:01.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:01.410Z] [2022-07-11T20:58:01.410Z] Login Succeeded [2022-07-11T20:58:01.410Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T20:58:01.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T20:58:01.788Z] + git rev-list -1 --merges fc81389db2b18c23a770aa80de1d99eb94944553~1..fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo [2022-07-11T20:58:01.922Z] -----------> git rev-list -1 --merges fc81389db2b18c23a770aa80de1d99eb94944553~1..fc81389db2b18c23a770aa80de1d99eb94944553 fc81389db2b18c23a770aa80de1d99eb94944553 [false] [Pipeline] sh [2022-07-11T20:58:02.214Z] + git log --format=format:%s -1 fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo [2022-07-11T20:58:02.242Z] ========================================================= [2022-07-11T20:58:02.242Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T20:58:02.242Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T20:58:02.588Z] + git log --format=format:%s -1 fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] echo [2022-07-11T20:58:02.600Z] [semverPrep] GIT_COMMIT: fc81389db2b18c23a770aa80de1d99eb94944553, Commit Message: pin to epg AppArmor fix [Pipeline] echo [2022-07-11T20:58:02.612Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T20:58:02.963Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T20:58:02.964Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T20:58:02.964Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T20:58:02.964Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T20:58:02.964Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T20:58:02.964Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T20:58:02.964Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T20:58:03.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T20:58:03.318Z] [2022-07-11T20:58:03.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T20:58:03.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T20:58:03.620Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T20:58:03.620Z] b85a868b505f: Pulling fs layer [2022-07-11T20:58:03.620Z] e2be974225ed: Pulling fs layer [2022-07-11T20:58:03.620Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T20:58:03.620Z] 988bab9f4d93: Pulling fs layer [2022-07-11T20:58:03.620Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T20:58:03.620Z] eaf3925da568: Pulling fs layer [2022-07-11T20:58:03.620Z] bab4dde63d76: Pulling fs layer [2022-07-11T20:58:03.620Z] bde34c3a00c8: Pulling fs layer [2022-07-11T20:58:03.620Z] b352a97aabf1: Pulling fs layer [2022-07-11T20:58:03.620Z] 4872d77fe225: Pulling fs layer [2022-07-11T20:58:03.620Z] 5851b861e8e6: Pulling fs layer [2022-07-11T20:58:03.620Z] 988bab9f4d93: Waiting [2022-07-11T20:58:03.620Z] bab4dde63d76: Waiting [2022-07-11T20:58:03.620Z] bde34c3a00c8: Waiting [2022-07-11T20:58:03.620Z] 1469e6f7b9e6: Waiting [2022-07-11T20:58:03.620Z] eaf3925da568: Waiting [2022-07-11T20:58:03.620Z] b352a97aabf1: Waiting [2022-07-11T20:58:03.620Z] 4872d77fe225: Waiting [2022-07-11T20:58:03.620Z] 5851b861e8e6: Waiting [2022-07-11T20:58:03.620Z] e2be974225ed: Download complete [2022-07-11T20:58:03.620Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T20:58:03.620Z] 1469e6f7b9e6: Download complete [2022-07-11T20:58:03.882Z] eaf3925da568: Verifying Checksum [2022-07-11T20:58:03.882Z] eaf3925da568: Download complete [2022-07-11T20:58:03.882Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T20:58:03.882Z] 339a4e72a1f5: Download complete [2022-07-11T20:58:03.882Z] bde34c3a00c8: Verifying Checksum [2022-07-11T20:58:03.882Z] bde34c3a00c8: Download complete [2022-07-11T20:58:03.882Z] b352a97aabf1: Download complete [2022-07-11T20:58:03.882Z] 4872d77fe225: Verifying Checksum [2022-07-11T20:58:03.882Z] 4872d77fe225: Download complete [2022-07-11T20:58:03.882Z] 5851b861e8e6: Verifying Checksum [2022-07-11T20:58:03.882Z] b85a868b505f: Verifying Checksum [2022-07-11T20:58:03.882Z] b85a868b505f: Download complete [2022-07-11T20:58:04.142Z] bab4dde63d76: Verifying Checksum [2022-07-11T20:58:04.142Z] bab4dde63d76: Download complete [2022-07-11T20:58:05.082Z] b85a868b505f: Pull complete [2022-07-11T20:58:05.343Z] e2be974225ed: Pull complete [2022-07-11T20:58:05.914Z] 339a4e72a1f5: Pull complete [2022-07-11T20:58:05.914Z] 988bab9f4d93: Pull complete [2022-07-11T20:58:06.175Z] 1469e6f7b9e6: Pull complete [2022-07-11T20:58:06.175Z] eaf3925da568: Pull complete [2022-07-11T20:58:08.087Z] bab4dde63d76: Pull complete [2022-07-11T20:58:08.087Z] bde34c3a00c8: Pull complete [2022-07-11T20:58:08.087Z] b352a97aabf1: Pull complete [2022-07-11T20:58:08.087Z] 4872d77fe225: Pull complete [2022-07-11T20:58:08.087Z] 5851b861e8e6: Pull complete [2022-07-11T20:58:08.348Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T20:58:08.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T20:58:08.348Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T20:58:08.447Z] prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container [2022-07-11T20:58:08.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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-devops/py-git-semver:0.1.4 cat [2022-07-11T20:58:09.858Z] $ docker top fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 -eo pid,comm [2022-07-11T20:58:09.921Z] 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). [2022-07-11T20:58:09.921Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T20:58:09.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T20:58:09.959Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T20:58:10.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T20:58:10.088Z] $ docker exec fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent [2022-07-11T20:58:10.219Z] SSH_AUTH_SOCK=/tmp/ssh-6gFwh27m5pEx/agent.32 [2022-07-11T20:58:10.219Z] SSH_AGENT_PID=39 [2022-07-11T20:58:10.225Z] Running ssh-add (command line suppressed) [2022-07-11T20:58:10.338Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_3308641380133058351.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_3308641380133058351.key) [2022-07-11T20:58:10.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T20:58:10.638Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T20:58:10.654Z] $ docker exec --env ******** --env ******** fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent -k [2022-07-11T20:58:10.757Z] unset SSH_AUTH_SOCK; [2022-07-11T20:58:10.757Z] unset SSH_AGENT_PID; [2022-07-11T20:58:10.757Z] echo Agent pid 39 killed; [2022-07-11T20:58:10.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T20:58:10.793Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T20:58:10.793Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T20:58:10.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T20:58:10.933Z] $ docker exec fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent [2022-07-11T20:58:11.058Z] SSH_AUTH_SOCK=/tmp/ssh-Q9rsIEA85y3j/agent.73 [2022-07-11T20:58:11.058Z] SSH_AGENT_PID=79 [2022-07-11T20:58:11.063Z] Running ssh-add (command line suppressed) [2022-07-11T20:58:11.178Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_1788621610735294393.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/private_key_1788621610735294393.key) [2022-07-11T20:58:11.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T20:58:11.483Z] + git semver init [2022-07-11T20:58:11.743Z] 2022-07-11 20:58:11,693 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T20:58:11.743Z] 2022-07-11 20:58:11,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver [2022-07-11T20:58:11.743Z] 2022-07-11 20:58:11,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver [2022-07-11T20:58:11.743Z] 2022-07-11 20:58:11,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-98, universal_newlines=False, shell=None, istream=None) [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,658 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.git/info/exclude [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver/PR-98 with force:False [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,659 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver/PR-98 [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,663 [execute] INFO git cat-file --batch-check [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,669 [execute] INFO git cat-file --batch [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T20:58:12.686Z] 2022-07-11 20:58:12,674 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-98/.semver/PR-98 [2022-07-11T20:58:12.686Z] 0.0.0 [Pipeline] } [2022-07-11T20:58:12.702Z] $ docker exec --env ******** --env ******** fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 ssh-agent -k [2022-07-11T20:58:12.811Z] unset SSH_AUTH_SOCK; [2022-07-11T20:58:12.811Z] unset SSH_AGENT_PID; [2022-07-11T20:58:12.812Z] echo Agent pid 79 killed; [2022-07-11T20:58:12.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T20:58:13.132Z] + git semver [Pipeline] } [2022-07-11T20:58:13.411Z] $ docker stop --time=1 fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 [2022-07-11T20:58:14.721Z] $ docker rm -f fcb94501697ee8545de9fc64752ccd3a833f2f3d4696e77b82b3528ba13795a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T20:58:15.072Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T20:58:15.333Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T20:58:15.336Z] [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 [2022-07-11T20:58:15.497Z] provisioning config files... [2022-07-11T20:58:15.509Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config1454847990422236774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T20:58:15.806Z] ---> docker-login.sh [2022-07-11T20:58:15.806Z] nexus3.edgexfoundry.org:10001 [2022-07-11T20:58:15.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:15.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:15.806Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:15.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:15.806Z] [2022-07-11T20:58:15.806Z] Login Succeeded [2022-07-11T20:58:15.806Z] nexus3.edgexfoundry.org:10002 [2022-07-11T20:58:15.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:16.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:16.066Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:16.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:16.066Z] [2022-07-11T20:58:16.066Z] Login Succeeded [2022-07-11T20:58:16.066Z] nexus3.edgexfoundry.org:10003 [2022-07-11T20:58:16.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:16.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:16.066Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:16.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:16.066Z] [2022-07-11T20:58:16.066Z] Login Succeeded [2022-07-11T20:58:16.066Z] nexus3.edgexfoundry.org:10004 [2022-07-11T20:58:16.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:16.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:16.326Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:16.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:16.326Z] [2022-07-11T20:58:16.326Z] Login Succeeded [2022-07-11T20:58:16.326Z] docker.io [2022-07-11T20:58:16.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T20:58:16.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T20:58:16.587Z] Configure a credential helper to remove this warning. See [2022-07-11T20:58:16.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T20:58:16.587Z] [2022-07-11T20:58:16.587Z] Login Succeeded [2022-07-11T20:58:16.587Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T20:58:16.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T20:58:16.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T20:58:16.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T20:58:16.681Z] ========================================================= [2022-07-11T20:58:16.681Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-11T20:58:16.681Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T20:58:16.999Z] + 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 . [2022-07-11T20:58:16.999Z] Sending build context to Docker daemon 12.45MB [2022-07-11T20:58:16.999Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T20:58:16.999Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-11T20:58:16.999Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T20:58:16.999Z] 2408cc74d12b: Pulling fs layer [2022-07-11T20:58:16.999Z] ea60b727a1ce: Pulling fs layer [2022-07-11T20:58:16.999Z] 30c4a7721957: Pulling fs layer [2022-07-11T20:58:16.999Z] 370296b7ddb6: Pulling fs layer [2022-07-11T20:58:16.999Z] 7c6cee850709: Pulling fs layer [2022-07-11T20:58:16.999Z] 39a5fcdaea64: Pulling fs layer [2022-07-11T20:58:16.999Z] d94ebbe4e438: Pulling fs layer [2022-07-11T20:58:16.999Z] 370296b7ddb6: Waiting [2022-07-11T20:58:16.999Z] 7c6cee850709: Waiting [2022-07-11T20:58:16.999Z] bcfd1f05c69d: Pulling fs layer [2022-07-11T20:58:16.999Z] 39a5fcdaea64: Waiting [2022-07-11T20:58:16.999Z] 59ccb84bbe0f: Pulling fs layer [2022-07-11T20:58:16.999Z] d94ebbe4e438: Waiting [2022-07-11T20:58:16.999Z] bcfd1f05c69d: Waiting [2022-07-11T20:58:16.999Z] 59ccb84bbe0f: Waiting [2022-07-11T20:58:16.999Z] 30c4a7721957: Verifying Checksum [2022-07-11T20:58:16.999Z] 30c4a7721957: Download complete [2022-07-11T20:58:17.259Z] ea60b727a1ce: Download complete [2022-07-11T20:58:17.259Z] 7c6cee850709: Verifying Checksum [2022-07-11T20:58:17.259Z] 7c6cee850709: Download complete [2022-07-11T20:58:17.259Z] 39a5fcdaea64: Download complete [2022-07-11T20:58:17.259Z] 2408cc74d12b: Download complete [2022-07-11T20:58:17.259Z] d94ebbe4e438: Download complete [2022-07-11T20:58:17.259Z] 2408cc74d12b: Pull complete [2022-07-11T20:58:17.526Z] ea60b727a1ce: Pull complete [2022-07-11T20:58:17.526Z] 30c4a7721957: Pull complete [2022-07-11T20:58:17.797Z] 370296b7ddb6: Verifying Checksum [2022-07-11T20:58:17.797Z] 370296b7ddb6: Download complete [2022-07-11T20:58:18.059Z] 59ccb84bbe0f: Verifying Checksum [2022-07-11T20:58:18.059Z] 59ccb84bbe0f: Download complete [2022-07-11T20:58:18.059Z] bcfd1f05c69d: Verifying Checksum [2022-07-11T20:58:18.059Z] bcfd1f05c69d: Download complete [2022-07-11T20:58:22.249Z] 370296b7ddb6: Pull complete [2022-07-11T20:58:22.249Z] 7c6cee850709: Pull complete [2022-07-11T20:58:22.249Z] 39a5fcdaea64: Pull complete [2022-07-11T20:58:22.249Z] d94ebbe4e438: Pull complete [2022-07-11T20:58:24.152Z] bcfd1f05c69d: Pull complete [2022-07-11T20:58:24.725Z] 59ccb84bbe0f: Pull complete [2022-07-11T20:58:24.725Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-11T20:58:24.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-11T20:58:24.725Z] ---> a4fb48ad2a94 [2022-07-11T20:58:24.725Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-07-11T20:58:26.642Z] ---> Running in 8efb8e8eff94 [2022-07-11T20:58:26.642Z] Removing intermediate container 8efb8e8eff94 [2022-07-11T20:58:26.642Z] ---> d163ce5660d9 [2022-07-11T20:58:26.642Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T20:58:26.642Z] ---> Running in 34c62f259c04 [2022-07-11T20:58:26.642Z] Removing intermediate container 34c62f259c04 [2022-07-11T20:58:26.642Z] ---> ba846bb8e16a [2022-07-11T20:58:26.642Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T20:58:26.642Z] ---> Running in 6709b11f00a5 [2022-07-11T20:58:26.642Z] Removing intermediate container 6709b11f00a5 [2022-07-11T20:58:26.642Z] ---> d06154eb11eb [2022-07-11T20:58:26.642Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T20:58:26.642Z] ---> Running in 8d0a8b8c0e33 [2022-07-11T20:58:27.233Z] Removing intermediate container 8d0a8b8c0e33 [2022-07-11T20:58:27.233Z] ---> c5e3b09aa0b0 [2022-07-11T20:58:27.233Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T20:58:27.233Z] ---> Running in c30a4579e292 [2022-07-11T20:58:27.493Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T20:58:30.455Z] Still waiting to schedule task [2022-07-11T20:58:30.455Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19355’ [2022-07-11T20:58:32.786Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: temporary error (try again later) [2022-07-11T20:58:32.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T20:58:38.074Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: temporary error (try again later) [2022-07-11T20:58:38.074Z] OK: 211 MiB in 51 packages [2022-07-11T20:58:38.074Z] Removing intermediate container c30a4579e292 [2022-07-11T20:58:38.074Z] ---> d3878f031387 [2022-07-11T20:58:38.074Z] Step 8/13 : WORKDIR /app [2022-07-11T20:58:38.074Z] ---> Running in f2374445e3d0 [2022-07-11T20:58:38.074Z] Removing intermediate container f2374445e3d0 [2022-07-11T20:58:38.074Z] ---> 1eadd744cf69 [2022-07-11T20:58:38.074Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-11T20:58:38.074Z] ---> dcc9a29d04ad [2022-07-11T20:58:38.074Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T20:58:38.074Z] ---> Running in 229c3ce71e0c [2022-07-11T20:58:52.975Z] Removing intermediate container 229c3ce71e0c [2022-07-11T20:58:52.975Z] ---> d31ea0a3d3aa [2022-07-11T20:58:52.975Z] Step 11/13 : COPY . . [2022-07-11T20:58:52.975Z] ---> 918661257b3f [2022-07-11T20:58:52.975Z] Step 12/13 : ARG MAKE="make build" [2022-07-11T20:58:52.975Z] ---> Running in 930c45fcd278 [2022-07-11T20:58:52.975Z] Removing intermediate container 930c45fcd278 [2022-07-11T20:58:52.975Z] ---> ce2e98f5cd49 [2022-07-11T20:58:52.975Z] Step 13/13 : RUN $MAKE [2022-07-11T20:58:52.975Z] ---> Running in 1963811ff8d3 [2022-07-11T20:58:52.975Z] noop [2022-07-11T20:58:53.234Z] Removing intermediate container 1963811ff8d3 [2022-07-11T20:58:53.234Z] ---> 3003d62f0a0c [2022-07-11T20:58:53.234Z] Successfully built 3003d62f0a0c [2022-07-11T20:58:53.234Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T20:58:53.563Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T20:58:53.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T20:58:53.640Z] prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container [2022-07-11T20:58:53.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T20:58:54.070Z] $ docker top 9440c2bf3504e6c1554c42d4d0590fcb78a6a4edbb7c8712a7aeeb7cd4a2ec4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T20:58:54.426Z] + go version [2022-07-11T20:58:54.426Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-11T20:58:54.450Z] $ docker stop --time=1 9440c2bf3504e6c1554c42d4d0590fcb78a6a4edbb7c8712a7aeeb7cd4a2ec4b [2022-07-11T20:58:55.729Z] $ docker rm -f 9440c2bf3504e6c1554c42d4d0590fcb78a6a4edbb7c8712a7aeeb7cd4a2ec4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T20:58:56.152Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T20:58:56.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T20:58:56.231Z] prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container [2022-07-11T20:58:56.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T20:58:56.649Z] $ docker top fc630148ae3b854b493eda9f7b2b8e390dd8697f165764aa194b20f355e37373 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T20:58:57.006Z] + git config --global --add safe.directory /w/workspace/ry_app-rfid-llrp-inventory_PR-98 [Pipeline] fileExists [Pipeline] sh [2022-07-11T20:58:57.301Z] + make test [2022-07-11T20:58:57.301Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T20:59:07.282Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-07-11T20:59:07.282Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.046s coverage: 86.2% of statements [2022-07-11T20:59:07.282Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-07-11T20:59:08.664Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.550s coverage: 71.9% of statements [2022-07-11T20:59:09.601Z] level=info msg="[config_reader] Used config file .golangci.yml" [2022-07-11T20:59:09.602Z] level=info msg="[lintersdb] Active 11 linters: [deadcode errcheck gosec gosimple govet ineffassign staticcheck structcheck typecheck unused varcheck]" [2022-07-11T20:59:10.170Z] level=info msg="[loader] Go packages loading at mode 575 (imports|compiled_files|deps|exports_file|files|name|types_sizes) took 810.133404ms" [2022-07-11T20:59:10.170Z] level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 10.55087ms" [2022-07-11T20:59:15.443Z] level=info msg="[linters context/goanalysis] analyzers took 19.773735478s with top 10 stages: buildir: 14.920633285s, inspect: 839.88089ms, nilness: 636.795462ms, fact_deprecated: 579.045674ms, printf: 403.821013ms, ctrlflow: 378.912169ms, fact_purity: 376.932769ms, typedness: 208.305332ms, SA5012: 184.670328ms, S1038: 96.099196ms" [2022-07-11T20:59:15.443Z] 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." [2022-07-11T20:59:15.443Z] level=info msg="[runner] processing took 5.501µs with stages: max_same_issues: 1.111µs, skip_dirs: 620ns, skip_files: 550ns, nolint: 460ns, max_from_linter: 390ns, cgo: 270ns, autogenerated_exclude: 250ns, exclude: 240ns, filename_unadjuster: 240ns, path_prettifier: 240ns, sort_results: 120ns, source_code: 120ns, path_shortener: 120ns, uniq_by_line: 110ns, identifier_marker: 110ns, path_prefixer: 110ns, severity-rules: 110ns, exclude-rules: 110ns, diff: 110ns, max_per_file_from_linter: 110ns" [2022-07-11T20:59:15.443Z] level=info msg="[runner] linters took 4.945971089s with stages: goanalysis_metalinter: 4.945859902s, structcheck: 20.271µs" [2022-07-11T20:59:15.443Z] level=info msg="File cache stats: 0 entries of total size 0B" [2022-07-11T20:59:15.443Z] level=info msg="Memory: 59 samples, avg is 320.7MB, max is 462.4MB" [2022-07-11T20:59:15.443Z] level=info msg="Execution took 5.775969614s" [2022-07-11T20:59:15.443Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T20:59:18.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T20:59:18.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T20:59:18.734Z] ./bin/test-attribution.sh [Pipeline] echo [2022-07-11T20:59:18.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T20:59:18.766Z] $ docker stop --time=1 fc630148ae3b854b493eda9f7b2b8e390dd8697f165764aa194b20f355e37373 [2022-07-11T20:59:20.533Z] $ docker rm -f fc630148ae3b854b493eda9f7b2b8e390dd8697f165764aa194b20f355e37373 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T20:59:20.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T20:59:21.020Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T20:59:21.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T20:59:21.801Z] + ls -al . [2022-07-11T20:59:21.801Z] total 232 [2022-07-11T20:59:21.801Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 20:58 . [2022-07-11T20:59:21.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 20:57 .. [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 262 Jul 11 20:57 .dockerignore [2022-07-11T20:59:21.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 20:59 .git [2022-07-11T20:59:21.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 20:57 .github [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 788 Jul 11 20:57 .gitignore [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 20:57 .golangci.yml [2022-07-11T20:59:21.801Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 20:58 .semver [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 9546 Jul 11 20:57 Attribution.txt [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 2487 Jul 11 20:57 CHANGELOG.md [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 1937 Jul 11 20:57 Dockerfile [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 20:57 GOVERNANCE.md [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 766 Jul 11 20:57 Jenkinsfile [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 11 20:57 LICENSE [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 2959 Jul 11 20:57 Makefile [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 20:57 OWNERS.md [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 30359 Jul 11 20:57 README.md [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 20:58 VERSION [2022-07-11T20:59:21.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 20:57 bin [2022-07-11T20:59:21.801Z] -rw-r--r-- 1 jenkins jenkins 41008 Jul 11 20:59 coverage.out [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 3538 Jul 11 20:57 go.mod [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 36956 Jul 11 20:57 go.sum [2022-07-11T20:59:21.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 20:57 images [2022-07-11T20:59:21.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 20:57 internal [2022-07-11T20:59:21.801Z] -rw-rw-r-- 1 jenkins jenkins 531 Jul 11 20:57 main.go [2022-07-11T20:59:21.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 20:57 res [2022-07-11T20:59:21.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 20:57 snap [2022-07-11T20:59:21.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 20:57 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T20:59:22.115Z] + 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=fc81389db2b18c23a770aa80de1d99eb94944553 --label arch=amd64 --label version=0.0.0 . [2022-07-11T20:59:22.116Z] Sending build context to Docker daemon 12.45MB [2022-07-11T20:59:22.116Z] Step 1/31 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T20:59:22.116Z] Step 2/31 : FROM ${BASE} AS builder [2022-07-11T20:59:22.116Z] ---> 3003d62f0a0c [2022-07-11T20:59:22.116Z] Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-07-11T20:59:22.116Z] ---> Running in fb2b47915f6d [2022-07-11T20:59:22.375Z] Removing intermediate container fb2b47915f6d [2022-07-11T20:59:22.375Z] ---> 3a0d7f3882c0 [2022-07-11T20:59:22.376Z] Step 4/31 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T20:59:22.376Z] ---> Running in 7c8e32fc5df9 [2022-07-11T20:59:22.376Z] Removing intermediate container 7c8e32fc5df9 [2022-07-11T20:59:22.376Z] ---> 5ab42595ffbc [2022-07-11T20:59:22.376Z] Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T20:59:22.376Z] ---> Running in a93ccf62ab37 [2022-07-11T20:59:22.635Z] Removing intermediate container a93ccf62ab37 [2022-07-11T20:59:22.635Z] ---> fbf1fb97e678 [2022-07-11T20:59:22.635Z] Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T20:59:22.635Z] ---> Running in ae64101ba4c4 [2022-07-11T20:59:23.207Z] Removing intermediate container ae64101ba4c4 [2022-07-11T20:59:23.207Z] ---> fe615df20992 [2022-07-11T20:59:23.207Z] Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T20:59:23.207Z] ---> Running in 80462c361689 [2022-07-11T20:59:23.468Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T20:59:24.411Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T20:59:24.670Z] OK: 211 MiB in 51 packages [2022-07-11T20:59:24.932Z] Removing intermediate container 80462c361689 [2022-07-11T20:59:24.932Z] ---> 158522bfd20e [2022-07-11T20:59:24.932Z] Step 8/31 : WORKDIR /app [2022-07-11T20:59:24.932Z] ---> Running in a496f877d071 [2022-07-11T20:59:25.190Z] Removing intermediate container a496f877d071 [2022-07-11T20:59:25.190Z] ---> c00bc2fa89d4 [2022-07-11T20:59:25.190Z] Step 9/31 : COPY go.mod vendor* ./ [2022-07-11T20:59:25.190Z] ---> 2e80cafd15ca [2022-07-11T20:59:25.190Z] Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T20:59:25.190Z] ---> Running in 09bf90a012ff [2022-07-11T20:59:25.758Z] Removing intermediate container 09bf90a012ff [2022-07-11T20:59:25.758Z] ---> 2d7fb0e6292a [2022-07-11T20:59:25.758Z] Step 11/31 : COPY . . [2022-07-11T20:59:26.017Z] ---> 7e56952e2089 [2022-07-11T20:59:26.017Z] Step 12/31 : ARG MAKE="make build" [2022-07-11T20:59:26.278Z] ---> Running in 30d8109b0c5d [2022-07-11T20:59:26.278Z] Removing intermediate container 30d8109b0c5d [2022-07-11T20:59:26.278Z] ---> d1c8519fed41 [2022-07-11T20:59:26.278Z] Step 13/31 : RUN $MAKE [2022-07-11T20:59:26.278Z] ---> Running in f49e8b681da4 [2022-07-11T20:59:26.538Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -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 [2022-07-11T20:59:48.484Z] Removing intermediate container f49e8b681da4 [2022-07-11T20:59:48.484Z] ---> 82cd1eb7b8ac [2022-07-11T20:59:48.484Z] Step 14/31 : FROM alpine:3.14 [2022-07-11T20:59:48.484Z] 3.14: Pulling from library/alpine [2022-07-11T20:59:48.484Z] 8663204ce13b: Pulling fs layer [2022-07-11T20:59:48.484Z] 8663204ce13b: Download complete [2022-07-11T20:59:48.484Z] 8663204ce13b: Pull complete [2022-07-11T20:59:48.484Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T20:59:48.484Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T20:59:48.484Z] ---> e04c818066af [2022-07-11T20:59:48.484Z] Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T20:59:48.484Z] ---> Running in 6f595b766c24 [2022-07-11T20:59:48.484Z] Removing intermediate container 6f595b766c24 [2022-07-11T20:59:48.484Z] ---> 82c491f1bc0d [2022-07-11T20:59:48.484Z] Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-07-11T20:59:48.484Z] ---> Running in 2df77ddff335 [2022-07-11T20:59:48.484Z] Removing intermediate container 2df77ddff335 [2022-07-11T20:59:48.484Z] ---> 2556f9b3c58a [2022-07-11T20:59:48.484Z] Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T20:59:48.484Z] ---> Running in 40f562c7516a [2022-07-11T20:59:48.484Z] Removing intermediate container 40f562c7516a [2022-07-11T20:59:48.484Z] ---> e8afbf4fcccc [2022-07-11T20:59:48.484Z] Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-07-11T20:59:48.484Z] ---> Running in a5f3c44704ec [2022-07-11T20:59:48.484Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-11T20:59:48.484Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-11T20:59:48.748Z] (1/7) Installing ca-certificates (20211220-r0) [2022-07-11T20:59:48.748Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-07-11T20:59:49.008Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T20:59:49.008Z] (4/7) Installing libsodium (1.0.18-r0) [2022-07-11T20:59:49.008Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T20:59:49.267Z] (6/7) Installing libzmq (4.3.4-r0) [2022-07-11T20:59:49.267Z] (7/7) Installing zeromq (4.3.4-r0) [2022-07-11T20:59:49.267Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T20:59:49.527Z] Executing ca-certificates-20211220-r0.trigger [2022-07-11T20:59:49.527Z] OK: 9 MiB in 21 packages [2022-07-11T20:59:49.786Z] Removing intermediate container a5f3c44704ec [2022-07-11T20:59:49.786Z] ---> 151c698f6356 [2022-07-11T20:59:49.786Z] Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-07-11T20:59:50.046Z] ---> c288ad2bea84 [2022-07-11T20:59:50.046Z] Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE [2022-07-11T20:59:50.046Z] ---> 5600fcc810f0 [2022-07-11T20:59:50.046Z] Step 21/31 : COPY --from=builder /app/res/ /res/ [2022-07-11T20:59:50.305Z] ---> 8f865a4b483d [2022-07-11T20:59:50.305Z] Step 22/31 : COPY --from=builder /app/static/ /static/ [2022-07-11T20:59:50.564Z] ---> 3b5d91bbc597 [2022-07-11T20:59:50.564Z] Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-07-11T20:59:51.133Z] ---> 187fa6a5af94 [2022-07-11T20:59:51.133Z] Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-07-11T20:59:51.133Z] ---> Running in 5eac605294c2 [2022-07-11T20:59:51.705Z] Removing intermediate container 5eac605294c2 [2022-07-11T20:59:51.705Z] ---> fb9b31ab2e77 [2022-07-11T20:59:51.705Z] Step 25/31 : VOLUME /cache [2022-07-11T20:59:51.705Z] ---> Running in 9c629ce7f6bd [2022-07-11T20:59:51.705Z] Removing intermediate container 9c629ce7f6bd [2022-07-11T20:59:51.705Z] ---> b18586e5445c [2022-07-11T20:59:51.705Z] Step 26/31 : EXPOSE 59711 [2022-07-11T20:59:51.705Z] ---> Running in 911dfaa1520a [2022-07-11T20:59:51.965Z] Removing intermediate container 911dfaa1520a [2022-07-11T20:59:51.965Z] ---> 5a3728fb87a0 [2022-07-11T20:59:51.965Z] Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-07-11T20:59:51.965Z] ---> Running in 814e018238ba [2022-07-11T20:59:51.965Z] Removing intermediate container 814e018238ba [2022-07-11T20:59:51.965Z] ---> 73767de6f139 [2022-07-11T20:59:51.965Z] Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-07-11T20:59:51.965Z] ---> Running in e9e1ef5594dd [2022-07-11T20:59:52.221Z] Removing intermediate container e9e1ef5594dd [2022-07-11T20:59:52.221Z] ---> 656b3013cf0b [2022-07-11T20:59:52.221Z] Step 29/31 : LABEL arch=amd64 [2022-07-11T20:59:52.221Z] ---> Running in 5dfa271fb08b [2022-07-11T20:59:52.221Z] Removing intermediate container 5dfa271fb08b [2022-07-11T20:59:52.221Z] ---> c84dc858bce4 [2022-07-11T20:59:52.221Z] Step 30/31 : LABEL git_sha=fc81389db2b18c23a770aa80de1d99eb94944553 [2022-07-11T20:59:52.480Z] ---> Running in 3ea496f916c5 [2022-07-11T20:59:52.480Z] Removing intermediate container 3ea496f916c5 [2022-07-11T20:59:52.480Z] ---> df32e047c398 [2022-07-11T20:59:52.480Z] Step 31/31 : LABEL version=0.0.0 [2022-07-11T20:59:52.480Z] ---> Running in e64f6ea40883 [2022-07-11T20:59:52.480Z] Removing intermediate container e64f6ea40883 [2022-07-11T20:59:52.480Z] ---> df999c08df97 [2022-07-11T20:59:52.480Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T20:59:52.480Z] Successfully built df999c08df97 [2022-07-11T20:59:52.480Z] 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 [2022-07-11T20:59:52.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T20:59:52.914Z] [2022-07-11T20:59:52.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T20:59:53.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T20:59:53.215Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T20:59:53.215Z] 5eb5b503b376: Pulling fs layer [2022-07-11T20:59:53.215Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T20:59:53.215Z] ec43610c2a17: Pulling fs layer [2022-07-11T20:59:53.215Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T20:59:53.215Z] 33b1e0a273af: Pulling fs layer [2022-07-11T20:59:53.215Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T20:59:53.215Z] 2f39f015ded8: Pulling fs layer [2022-07-11T20:59:53.215Z] 33b1e0a273af: Waiting [2022-07-11T20:59:53.215Z] 5d3b04190fa2: Waiting [2022-07-11T20:59:53.215Z] 2f39f015ded8: Waiting [2022-07-11T20:59:53.215Z] 5c69ac0246d0: Download complete [2022-07-11T20:59:53.215Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T20:59:53.215Z] 3a2ae6a8a46f: Download complete [2022-07-11T20:59:53.215Z] 33b1e0a273af: Verifying Checksum [2022-07-11T20:59:53.215Z] 33b1e0a273af: Download complete [2022-07-11T20:59:53.475Z] ec43610c2a17: Verifying Checksum [2022-07-11T20:59:53.475Z] ec43610c2a17: Download complete [2022-07-11T20:59:53.475Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T20:59:53.475Z] 5d3b04190fa2: Download complete [2022-07-11T20:59:53.475Z] 5eb5b503b376: Verifying Checksum [2022-07-11T20:59:53.475Z] 5eb5b503b376: Download complete [2022-07-11T20:59:54.046Z] 2f39f015ded8: Verifying Checksum [2022-07-11T20:59:54.046Z] 2f39f015ded8: Download complete [2022-07-11T20:59:54.618Z] 5eb5b503b376: Pull complete [2022-07-11T20:59:54.899Z] 5c69ac0246d0: Pull complete [2022-07-11T20:59:56.456Z] ec43610c2a17: Pull complete [2022-07-11T20:59:56.456Z] 3a2ae6a8a46f: Pull complete [2022-07-11T20:59:56.456Z] 33b1e0a273af: Pull complete [2022-07-11T20:59:56.456Z] 5d3b04190fa2: Pull complete [2022-07-11T20:59:59.746Z] 2f39f015ded8: Pull complete [2022-07-11T20:59:59.746Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T20:59:59.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T20:59:59.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T20:59:59.835Z] prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container [2022-07-11T20:59:59.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T21:00:01.760Z] $ docker top 7e4b24f2d516a0d7b27f5d78da21b0e3413bbf247ebe28cb350b88b8aa4092ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:00:02.151Z] ---> job-cost.sh [2022-07-11T21:00:02.151Z] lf-activate-venv: SKIPPING [2022-07-11T21:00:02.151Z] INFO: No Stack... [2022-07-11T21:00:02.720Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T21:00:03.289Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T21:00:03.587Z] + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives/cost.csv [2022-07-11T21:00:03.588Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T21:00:03.602Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [2022-07-11T21:00:03.612Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] did not exist. Created. [2022-07-11T21:00:03.612Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T21:00:03.917Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T21:00:03.943Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T21:00:03.952Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T21:00:03.977Z] $ docker stop --time=1 7e4b24f2d516a0d7b27f5d78da21b0e3413bbf247ebe28cb350b88b8aa4092ee [2022-07-11T21:00:05.131Z] $ docker rm -f 7e4b24f2d516a0d7b27f5d78da21b0e3413bbf247ebe28cb350b88b8aa4092ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T21:01:52.242Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19359 in /w/workspace/ry_app-rfid-llrp-inventory_PR-98 [Pipeline] { [Pipeline] ws [2022-07-11T21:01:52.256Z] Running in /w/workspace/app-rfid-llrp-inventory/5 [Pipeline] { [Pipeline] checkout [2022-07-11T21:01:52.294Z] The recommended git tool is: git [2022-07-11T21:01:57.530Z] using credential edgex-jenkins-ssh [2022-07-11T21:01:57.551Z] Cloning the remote Git repository [2022-07-11T21:01:57.627Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-07-11T21:01:57.725Z] > git init /w/workspace/app-rfid-llrp-inventory/5 # timeout=10 [2022-07-11T21:01:57.836Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-07-11T21:01:57.837Z] > git --version # timeout=10 [2022-07-11T21:01:57.862Z] > git --version # 'git version 2.25.1' [2022-07-11T21:01:57.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T21:01:57.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T21:02:00.682Z] Merging remotes/origin/main commit ccdb054e5d16bd529c2fd15a52524dce2c381cd1 into PR head commit fc81389db2b18c23a770aa80de1d99eb94944553 [2022-07-11T21:02:00.938Z] Merge succeeded, producing fc81389db2b18c23a770aa80de1d99eb94944553 [2022-07-11T21:02:00.939Z] Checking out Revision fc81389db2b18c23a770aa80de1d99eb94944553 (PR-98) [2022-07-11T21:02:00.062Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-07-11T21:02:00.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T21:02:00.115Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-07-11T21:02:00.163Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-07-11T21:02:00.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T21:02:00.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-11T21:02:00.715Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T21:02:00.737Z] > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # timeout=10 [2022-07-11T21:02:00.845Z] > git remote # timeout=10 [2022-07-11T21:02:00.864Z] > git config --get remote.origin.url # timeout=10 [2022-07-11T21:02:00.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T21:02:00.892Z] > git merge ccdb054e5d16bd529c2fd15a52524dce2c381cd1 # timeout=10 [2022-07-11T21:02:00.921Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-11T21:02:00.951Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T21:02:00.970Z] > git checkout -f fc81389db2b18c23a770aa80de1d99eb94944553 # timeout=10 [2022-07-11T21:02:05.331Z] Commit message: "pin to epg AppArmor fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T21:02:06.234Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T21:02:06.234Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T21:02:06.234Z] Dload Upload Total Spent Left Speed [2022-07-11T21:02:06.234Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 206k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh [2022-07-11T21:02:06.878Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T21:02:07.270Z] + sudo tee /etc/docker/daemon.new [2022-07-11T21:02:07.270Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T21:02:07.270Z] { [2022-07-11T21:02:07.270Z] "registry-mirrors": [ [2022-07-11T21:02:07.270Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T21:02:07.270Z] ], [2022-07-11T21:02:07.270Z] "bip": "10.250.0.254/24", [2022-07-11T21:02:07.270Z] "hosts": [ [2022-07-11T21:02:07.270Z] "tcp://0.0.0.0:5555", [2022-07-11T21:02:07.270Z] "unix:///var/run/docker.sock" [2022-07-11T21:02:07.270Z] ], [2022-07-11T21:02:07.270Z] "mtu": 1458, [2022-07-11T21:02:07.270Z] "selinux-enabled": true, [2022-07-11T21:02:07.270Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T21:02:07.270Z] } [Pipeline] sh [2022-07-11T21:02:07.628Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T21:02:07.973Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T21:02:26.320Z] provisioning config files... [2022-07-11T21:02:26.346Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/5@tmp/config8736883057279501593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:02:26.710Z] ---> docker-login.sh [2022-07-11T21:02:26.710Z] nexus3.edgexfoundry.org:10001 [2022-07-11T21:02:27.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:02:27.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:02:27.587Z] Configure a credential helper to remove this warning. See [2022-07-11T21:02:27.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:02:27.587Z] [2022-07-11T21:02:27.587Z] Login Succeeded [2022-07-11T21:02:27.587Z] nexus3.edgexfoundry.org:10002 [2022-07-11T21:02:27.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:02:28.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:02:28.137Z] Configure a credential helper to remove this warning. See [2022-07-11T21:02:28.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:02:28.137Z] [2022-07-11T21:02:28.137Z] Login Succeeded [2022-07-11T21:02:28.137Z] nexus3.edgexfoundry.org:10003 [2022-07-11T21:02:28.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:02:28.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:02:28.691Z] Configure a credential helper to remove this warning. See [2022-07-11T21:02:28.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:02:28.691Z] [2022-07-11T21:02:28.691Z] Login Succeeded [2022-07-11T21:02:28.691Z] nexus3.edgexfoundry.org:10004 [2022-07-11T21:02:28.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:02:28.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:02:28.968Z] Configure a credential helper to remove this warning. See [2022-07-11T21:02:28.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:02:28.968Z] [2022-07-11T21:02:28.968Z] Login Succeeded [2022-07-11T21:02:28.968Z] docker.io [2022-07-11T21:02:29.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T21:02:29.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T21:02:29.845Z] Configure a credential helper to remove this warning. See [2022-07-11T21:02:29.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T21:02:29.845Z] [2022-07-11T21:02:29.845Z] Login Succeeded [2022-07-11T21:02:29.845Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T21:02:29.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T21:02:30.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T21:02:30.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T21:02:30.430Z] ========================================================= [2022-07-11T21:02:30.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-11T21:02:30.430Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:02:30.800Z] + 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 . [2022-07-11T21:02:31.072Z] Sending build context to Docker daemon 687.1kB [2022-07-11T21:02:31.072Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T21:02:31.072Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-11T21:02:31.348Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T21:02:31.349Z] b3c136eddcbf: Pulling fs layer [2022-07-11T21:02:31.349Z] c0a3192eca97: Pulling fs layer [2022-07-11T21:02:31.349Z] a050256f5b6f: Pulling fs layer [2022-07-11T21:02:31.349Z] 656be50a0ddc: Pulling fs layer [2022-07-11T21:02:31.349Z] 2bbca73fdf42: Pulling fs layer [2022-07-11T21:02:31.349Z] 46d945488cbd: Pulling fs layer [2022-07-11T21:02:31.349Z] 8a5474983e97: Pulling fs layer [2022-07-11T21:02:31.349Z] 329c88fbcd65: Pulling fs layer [2022-07-11T21:02:31.349Z] 46d945488cbd: Waiting [2022-07-11T21:02:31.349Z] 8a5474983e97: Waiting [2022-07-11T21:02:31.349Z] 329c88fbcd65: Waiting [2022-07-11T21:02:31.349Z] 656be50a0ddc: Waiting [2022-07-11T21:02:31.349Z] 2bbca73fdf42: Waiting [2022-07-11T21:02:31.349Z] a050256f5b6f: Download complete [2022-07-11T21:02:31.349Z] c0a3192eca97: Verifying Checksum [2022-07-11T21:02:31.349Z] c0a3192eca97: Download complete [2022-07-11T21:02:31.349Z] 2bbca73fdf42: Verifying Checksum [2022-07-11T21:02:31.349Z] 2bbca73fdf42: Download complete [2022-07-11T21:02:31.349Z] 46d945488cbd: Verifying Checksum [2022-07-11T21:02:31.349Z] 46d945488cbd: Download complete [2022-07-11T21:02:31.349Z] b3c136eddcbf: Verifying Checksum [2022-07-11T21:02:32.348Z] b3c136eddcbf: Pull complete [2022-07-11T21:02:32.623Z] 329c88fbcd65: Verifying Checksum [2022-07-11T21:02:32.623Z] 329c88fbcd65: Download complete [2022-07-11T21:02:32.902Z] c0a3192eca97: Pull complete [2022-07-11T21:02:33.180Z] a050256f5b6f: Pull complete [2022-07-11T21:02:33.781Z] 8a5474983e97: Verifying Checksum [2022-07-11T21:02:33.781Z] 8a5474983e97: Download complete [2022-07-11T21:02:34.378Z] 656be50a0ddc: Verifying Checksum [2022-07-11T21:02:34.378Z] 656be50a0ddc: Download complete [2022-07-11T21:02:46.780Z] 656be50a0ddc: Pull complete [2022-07-11T21:02:46.780Z] 2bbca73fdf42: Pull complete [2022-07-11T21:02:46.780Z] 46d945488cbd: Pull complete [2022-07-11T21:02:53.515Z] 8a5474983e97: Pull complete [2022-07-11T21:02:55.184Z] 329c88fbcd65: Pull complete [2022-07-11T21:02:55.184Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-11T21:02:55.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-11T21:02:55.184Z] ---> ff4287adb874 [2022-07-11T21:02:55.184Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-07-11T21:02:56.173Z] ---> Running in c86d5c2c2301 [2022-07-11T21:02:56.448Z] Removing intermediate container c86d5c2c2301 [2022-07-11T21:02:56.448Z] ---> 615a96cfcf11 [2022-07-11T21:02:56.448Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T21:02:56.448Z] ---> Running in cc74d2d6b6ed [2022-07-11T21:02:56.721Z] Removing intermediate container cc74d2d6b6ed [2022-07-11T21:02:56.721Z] ---> e52c1a8bfdd1 [2022-07-11T21:02:56.721Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T21:02:56.721Z] ---> Running in 238a6945b931 [2022-07-11T21:02:56.994Z] Removing intermediate container 238a6945b931 [2022-07-11T21:02:56.994Z] ---> daa08f7ebafb [2022-07-11T21:02:56.994Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T21:02:57.276Z] ---> Running in c5896b6c8325 [2022-07-11T21:02:59.251Z] Removing intermediate container c5896b6c8325 [2022-07-11T21:02:59.251Z] ---> 1948c1982c02 [2022-07-11T21:02:59.251Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T21:02:59.251Z] ---> Running in 61e59f731236 [2022-07-11T21:03:00.226Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T21:03:00.821Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T21:03:01.804Z] OK: 221 MiB in 51 packages [2022-07-11T21:03:02.790Z] Removing intermediate container 61e59f731236 [2022-07-11T21:03:02.790Z] ---> 09727af9bf37 [2022-07-11T21:03:02.790Z] Step 8/13 : WORKDIR /app [2022-07-11T21:03:02.790Z] ---> Running in 6195fcb74318 [2022-07-11T21:03:03.065Z] Removing intermediate container 6195fcb74318 [2022-07-11T21:03:03.065Z] ---> dc5f717b582a [2022-07-11T21:03:03.065Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-11T21:03:03.669Z] ---> 7648ef39f6fd [2022-07-11T21:03:03.669Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T21:03:03.669Z] ---> Running in fa1a52701e5c [2022-07-11T21:03:50.806Z] Removing intermediate container fa1a52701e5c [2022-07-11T21:03:50.806Z] ---> a4b947b955c8 [2022-07-11T21:03:50.806Z] Step 11/13 : COPY . . [2022-07-11T21:03:50.806Z] ---> 1cbfd470bd5a [2022-07-11T21:03:50.806Z] Step 12/13 : ARG MAKE="make build" [2022-07-11T21:03:50.806Z] ---> Running in 5cd4367bc79d [2022-07-11T21:03:50.806Z] Removing intermediate container 5cd4367bc79d [2022-07-11T21:03:50.806Z] ---> b845dc9c7b64 [2022-07-11T21:03:50.806Z] Step 13/13 : RUN $MAKE [2022-07-11T21:03:50.806Z] ---> Running in 1a4bf5d9646b [2022-07-11T21:03:50.806Z] noop [2022-07-11T21:03:51.085Z] Removing intermediate container 1a4bf5d9646b [2022-07-11T21:03:51.085Z] ---> b388501a86e4 [2022-07-11T21:03:51.085Z] Successfully built b388501a86e4 [2022-07-11T21:03:51.085Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:03:51.445Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T21:03:51.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:03:51.683Z] prd-ubuntu20.04-docker-arm64-4c-16g-19359 does not seem to be running inside a container [2022-07-11T21:03:51.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T21:03:53.000Z] $ docker top 6cff3dd3b63aee18af1f92b6bcf6aeb632dbef7104e56d1a3b231b9a28f53e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T21:03:53.893Z] + go version [2022-07-11T21:03:53.893Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-11T21:03:53.919Z] $ docker stop --time=1 6cff3dd3b63aee18af1f92b6bcf6aeb632dbef7104e56d1a3b231b9a28f53e7b [2022-07-11T21:03:55.536Z] $ docker rm -f 6cff3dd3b63aee18af1f92b6bcf6aeb632dbef7104e56d1a3b231b9a28f53e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:03:56.137Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T21:03:56.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:03:56.391Z] prd-ubuntu20.04-docker-arm64-4c-16g-19359 does not seem to be running inside a container [2022-07-11T21:03:56.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T21:03:57.820Z] $ docker top 2fcbaccc02b6603e703e17bff532e6cf9160a4eaccbd43458d730bce89891604 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T21:03:58.762Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/5 [Pipeline] fileExists [Pipeline] sh [2022-07-11T21:03:59.452Z] + make test [2022-07-11T21:03:59.452Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T21:05:36.336Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-07-11T21:05:36.336Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.167s coverage: 86.2% of statements [2022-07-11T21:05:36.336Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-07-11T21:05:36.336Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.715s coverage: 71.9% of statements [2022-07-11T21:05:36.612Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T21:05:36.612Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T21:06:03.475Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T21:06:03.475Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T21:06:03.475Z] ./bin/test-attribution.sh [Pipeline] echo [2022-07-11T21:06:03.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T21:06:03.527Z] $ docker stop --time=1 2fcbaccc02b6603e703e17bff532e6cf9160a4eaccbd43458d730bce89891604 [2022-07-11T21:06:05.390Z] $ docker rm -f 2fcbaccc02b6603e703e17bff532e6cf9160a4eaccbd43458d730bce89891604 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T21:06:06.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T21:06:06.516Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T21:06:07.368Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T21:06:07.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T21:06:08.195Z] + ls -al . [2022-07-11T21:06:08.195Z] total 228 [2022-07-11T21:06:08.195Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 21:04 . [2022-07-11T21:06:08.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:01 .. [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 262 Jul 11 21:02 .dockerignore [2022-07-11T21:06:08.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:02 .git [2022-07-11T21:06:08.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:02 .github [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 788 Jul 11 21:02 .gitignore [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 21:02 .golangci.yml [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 9546 Jul 11 21:02 Attribution.txt [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 2487 Jul 11 21:02 CHANGELOG.md [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 1937 Jul 11 21:02 Dockerfile [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 21:02 GOVERNANCE.md [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 766 Jul 11 21:02 Jenkinsfile [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 11 21:02 LICENSE [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 2959 Jul 11 21:02 Makefile [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 21:02 OWNERS.md [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 30359 Jul 11 21:02 README.md [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 20:58 VERSION [2022-07-11T21:06:08.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:02 bin [2022-07-11T21:06:08.195Z] -rw-r--r-- 1 jenkins jenkins 41008 Jul 11 21:05 coverage.out [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 3538 Jul 11 21:02 go.mod [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 36956 Jul 11 21:02 go.sum [2022-07-11T21:06:08.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:02 images [2022-07-11T21:06:08.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:02 internal [2022-07-11T21:06:08.195Z] -rw-rw-r-- 1 jenkins jenkins 531 Jul 11 21:02 main.go [2022-07-11T21:06:08.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:02 res [2022-07-11T21:06:08.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:02 snap [2022-07-11T21:06:08.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:02 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:06:08.596Z] + 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=fc81389db2b18c23a770aa80de1d99eb94944553 --label arch=arm64 --label version=0.0.0 . [2022-07-11T21:06:08.894Z] Sending build context to Docker daemon 687.1kB [2022-07-11T21:06:08.894Z] Step 1/31 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T21:06:08.894Z] Step 2/31 : FROM ${BASE} AS builder [2022-07-11T21:06:08.894Z] ---> b388501a86e4 [2022-07-11T21:06:08.894Z] Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-07-11T21:06:09.175Z] ---> Running in ddbd6853e76b [2022-07-11T21:06:09.463Z] Removing intermediate container ddbd6853e76b [2022-07-11T21:06:09.463Z] ---> 5808a60795e4 [2022-07-11T21:06:09.463Z] Step 4/31 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T21:06:09.463Z] ---> Running in 0360a8ec70a5 [2022-07-11T21:06:10.070Z] Removing intermediate container 0360a8ec70a5 [2022-07-11T21:06:10.070Z] ---> 0b285ea8dcba [2022-07-11T21:06:10.070Z] Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T21:06:10.070Z] ---> Running in 46d2c819f923 [2022-07-11T21:06:10.358Z] Removing intermediate container 46d2c819f923 [2022-07-11T21:06:10.358Z] ---> 1a43dc0dc6e3 [2022-07-11T21:06:10.358Z] Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T21:06:10.358Z] ---> Running in 42c51f5ae410 [2022-07-11T21:06:12.354Z] Removing intermediate container 42c51f5ae410 [2022-07-11T21:06:12.354Z] ---> 7d4926b86098 [2022-07-11T21:06:12.354Z] Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T21:06:12.354Z] ---> Running in 465484837c4b [2022-07-11T21:06:13.345Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T21:06:14.326Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T21:06:15.310Z] OK: 221 MiB in 51 packages [2022-07-11T21:06:16.292Z] Removing intermediate container 465484837c4b [2022-07-11T21:06:16.292Z] ---> d3a90e86440d [2022-07-11T21:06:16.292Z] Step 8/31 : WORKDIR /app [2022-07-11T21:06:16.292Z] ---> Running in 1440ddc989de [2022-07-11T21:06:16.574Z] Removing intermediate container 1440ddc989de [2022-07-11T21:06:16.574Z] ---> 9cc97e6c31ad [2022-07-11T21:06:16.574Z] Step 9/31 : COPY go.mod vendor* ./ [2022-07-11T21:06:17.173Z] ---> a0666a67528c [2022-07-11T21:06:17.173Z] Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T21:06:17.173Z] ---> Running in 939bf2514d09 [2022-07-11T21:06:19.148Z] Removing intermediate container 939bf2514d09 [2022-07-11T21:06:19.148Z] ---> 0075da1afe46 [2022-07-11T21:06:19.148Z] Step 11/31 : COPY . . [2022-07-11T21:06:19.745Z] ---> d968814b9664 [2022-07-11T21:06:19.745Z] Step 12/31 : ARG MAKE="make build" [2022-07-11T21:06:19.745Z] ---> Running in b52ee6256c14 [2022-07-11T21:06:20.019Z] Removing intermediate container b52ee6256c14 [2022-07-11T21:06:20.019Z] ---> 6366c01c80b5 [2022-07-11T21:06:20.019Z] Step 13/31 : RUN $MAKE [2022-07-11T21:06:20.019Z] ---> Running in 9a5fc4593d06 [2022-07-11T21:06:21.467Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -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 [2022-07-11T21:08:43.413Z] Removing intermediate container 9a5fc4593d06 [2022-07-11T21:08:43.413Z] ---> d502829acca3 [2022-07-11T21:08:43.413Z] Step 14/31 : FROM alpine:3.14 [2022-07-11T21:08:43.413Z] 3.14: Pulling from library/alpine [2022-07-11T21:08:43.413Z] 455c02918c45: Pulling fs layer [2022-07-11T21:08:43.413Z] 455c02918c45: Verifying Checksum [2022-07-11T21:08:43.413Z] 455c02918c45: Download complete [2022-07-11T21:08:43.413Z] 455c02918c45: Pull complete [2022-07-11T21:08:43.413Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T21:08:43.413Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T21:08:43.413Z] ---> ac73e934f311 [2022-07-11T21:08:43.413Z] Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T21:08:43.413Z] ---> Running in 40b07ca5e7c9 [2022-07-11T21:08:43.413Z] Removing intermediate container 40b07ca5e7c9 [2022-07-11T21:08:43.413Z] ---> bc01a85d7ef7 [2022-07-11T21:08:43.413Z] Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-07-11T21:08:43.413Z] ---> Running in e86741432e48 [2022-07-11T21:08:43.413Z] Removing intermediate container e86741432e48 [2022-07-11T21:08:43.413Z] ---> 4454d34eadcb [2022-07-11T21:08:43.413Z] Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T21:08:43.413Z] ---> Running in b7be57d0c0f8 [2022-07-11T21:08:43.413Z] Removing intermediate container b7be57d0c0f8 [2022-07-11T21:08:43.413Z] ---> 1abde41a1d8f [2022-07-11T21:08:43.413Z] Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-07-11T21:08:43.413Z] ---> Running in 8112be6cd9be [2022-07-11T21:08:43.413Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-11T21:08:43.413Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-11T21:08:44.010Z] (1/7) Installing ca-certificates (20211220-r0) [2022-07-11T21:08:44.010Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-07-11T21:08:44.291Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T21:08:44.291Z] (4/7) Installing libsodium (1.0.18-r0) [2022-07-11T21:08:44.291Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T21:08:44.565Z] (6/7) Installing libzmq (4.3.4-r0) [2022-07-11T21:08:44.842Z] (7/7) Installing zeromq (4.3.4-r0) [2022-07-11T21:08:44.842Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T21:08:44.842Z] Executing ca-certificates-20211220-r0.trigger [2022-07-11T21:08:45.117Z] OK: 9 MiB in 21 packages [2022-07-11T21:08:46.111Z] Removing intermediate container 8112be6cd9be [2022-07-11T21:08:46.111Z] ---> 58dfea0b0971 [2022-07-11T21:08:46.111Z] Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-07-11T21:08:46.719Z] ---> 738cecaf2e01 [2022-07-11T21:08:46.719Z] Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE [2022-07-11T21:08:47.318Z] ---> f0c455887393 [2022-07-11T21:08:47.318Z] Step 21/31 : COPY --from=builder /app/res/ /res/ [2022-07-11T21:08:47.922Z] ---> 3a92c16493ac [2022-07-11T21:08:47.922Z] Step 22/31 : COPY --from=builder /app/static/ /static/ [2022-07-11T21:08:48.523Z] ---> 32d70458f7f2 [2022-07-11T21:08:48.523Z] Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-07-11T21:08:49.980Z] ---> 8110fb4196ba [2022-07-11T21:08:49.980Z] Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-07-11T21:08:49.980Z] ---> Running in c0cfeb4a0370 [2022-07-11T21:08:51.965Z] Removing intermediate container c0cfeb4a0370 [2022-07-11T21:08:51.965Z] ---> 2e5e2865f616 [2022-07-11T21:08:51.965Z] Step 25/31 : VOLUME /cache [2022-07-11T21:08:51.965Z] ---> Running in bbd62fa68e04 [2022-07-11T21:08:51.965Z] Removing intermediate container bbd62fa68e04 [2022-07-11T21:08:51.965Z] ---> a2001761f20b [2022-07-11T21:08:51.965Z] Step 26/31 : EXPOSE 59711 [2022-07-11T21:08:52.242Z] ---> Running in 2a78715d48d0 [2022-07-11T21:08:52.514Z] Removing intermediate container 2a78715d48d0 [2022-07-11T21:08:52.514Z] ---> aa179e0c7ce2 [2022-07-11T21:08:52.514Z] Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-07-11T21:08:52.514Z] ---> Running in 4439abbc39c6 [2022-07-11T21:08:52.794Z] Removing intermediate container 4439abbc39c6 [2022-07-11T21:08:52.794Z] ---> 0ac30b92e279 [2022-07-11T21:08:52.794Z] Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-07-11T21:08:53.074Z] ---> Running in 3e5791c17833 [2022-07-11T21:08:53.349Z] Removing intermediate container 3e5791c17833 [2022-07-11T21:08:53.349Z] ---> 3e839545789c [2022-07-11T21:08:53.349Z] Step 29/31 : LABEL arch=arm64 [2022-07-11T21:08:53.349Z] ---> Running in 2598a04ce8a7 [2022-07-11T21:08:53.624Z] Removing intermediate container 2598a04ce8a7 [2022-07-11T21:08:53.624Z] ---> e81b87a35031 [2022-07-11T21:08:53.624Z] Step 30/31 : LABEL git_sha=fc81389db2b18c23a770aa80de1d99eb94944553 [2022-07-11T21:08:53.898Z] ---> Running in 8a9756fbd4ab [2022-07-11T21:08:54.172Z] Removing intermediate container 8a9756fbd4ab [2022-07-11T21:08:54.173Z] ---> e25042fe75a0 [2022-07-11T21:08:54.173Z] Step 31/31 : LABEL version=0.0.0 [2022-07-11T21:08:54.173Z] ---> Running in a44345beb0e1 [2022-07-11T21:08:54.447Z] Removing intermediate container a44345beb0e1 [2022-07-11T21:08:54.447Z] ---> 1eeab6ac5519 [2022-07-11T21:08:54.447Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T21:08:54.447Z] Successfully built 1eeab6ac5519 [2022-07-11T21:08:54.447Z] 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 [2022-07-11T21:08:54.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T21:08:54.904Z] [2022-07-11T21:08:54.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:08:55.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T21:08:55.528Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T21:08:55.528Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T21:08:55.528Z] 04944245beec: Pulling fs layer [2022-07-11T21:08:55.528Z] 699f458cf7ca: Pulling fs layer [2022-07-11T21:08:55.528Z] 765212b225bb: Pulling fs layer [2022-07-11T21:08:55.528Z] f23df028b6ca: Pulling fs layer [2022-07-11T21:08:55.528Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T21:08:55.528Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T21:08:55.528Z] 765212b225bb: Waiting [2022-07-11T21:08:55.528Z] f23df028b6ca: Waiting [2022-07-11T21:08:55.528Z] d65c8cfc05b1: Waiting [2022-07-11T21:08:55.528Z] 2437ff75d9bd: Waiting [2022-07-11T21:08:55.528Z] 04944245beec: Verifying Checksum [2022-07-11T21:08:55.528Z] 04944245beec: Download complete [2022-07-11T21:08:55.528Z] 765212b225bb: Verifying Checksum [2022-07-11T21:08:55.528Z] 765212b225bb: Download complete [2022-07-11T21:08:55.528Z] f23df028b6ca: Download complete [2022-07-11T21:08:55.528Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T21:08:55.528Z] d65c8cfc05b1: Download complete [2022-07-11T21:08:55.806Z] 699f458cf7ca: Verifying Checksum [2022-07-11T21:08:55.806Z] 699f458cf7ca: Download complete [2022-07-11T21:08:56.081Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T21:08:56.081Z] 8998bd30e6a1: Download complete [2022-07-11T21:08:58.713Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T21:08:58.713Z] 2437ff75d9bd: Download complete [2022-07-11T21:09:00.695Z] 8998bd30e6a1: Pull complete [2022-07-11T21:09:01.293Z] 04944245beec: Pull complete [2022-07-11T21:09:02.730Z] 699f458cf7ca: Pull complete [2022-07-11T21:09:03.006Z] 765212b225bb: Pull complete [2022-07-11T21:09:03.991Z] f23df028b6ca: Pull complete [2022-07-11T21:09:04.263Z] d65c8cfc05b1: Pull complete [2022-07-11T21:09:19.351Z] 2437ff75d9bd: Pull complete [2022-07-11T21:09:19.351Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T21:09:19.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T21:09:19.351Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:09:19.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-19359 does not seem to be running inside a container [2022-07-11T21:09:19.706Z] $ 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/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T21:09:22.592Z] $ docker top c057a0fc88053c82befede3de759c3b693340e54591d422aa17a71c269dd6e85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:23.552Z] ---> job-cost.sh [2022-07-11T21:09:23.553Z] lf-activate-venv: SKIPPING [2022-07-11T21:09:23.553Z] INFO: No Stack... [2022-07-11T21:09:24.529Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T21:09:25.123Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T21:09:25.796Z] + cut -d, -f6 [2022-07-11T21:09:25.796Z] + cat /w/workspace/app-rfid-llrp-inventory/5/archives/cost.csv [Pipeline] lock [2022-07-11T21:09:25.889Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [2022-07-11T21:09:25.898Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] did not exist. Created. [2022-07-11T21:09:25.898Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T21:09:26.668Z] /w/workspace/app-rfid-llrp-inventory/5@tmp/durable-287601dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T21:09:27.414Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T21:09:27.435Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T21:09:27.503Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T21:09:27.510Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-98-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T21:09:27.529Z] $ docker stop --time=1 c057a0fc88053c82befede3de759c3b693340e54591d422aa17a71c269dd6e85 [2022-07-11T21:09:29.087Z] $ docker rm -f c057a0fc88053c82befede3de759c3b693340e54591d422aa17a71c269dd6e85 [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 [2022-07-11T21:09:29.554Z] provisioning config files... [2022-07-11T21:09:29.564Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config5063925455680411053tmp [Pipeline] { [Pipeline] sh [2022-07-11T21:09:29.855Z] + set +x [2022-07-11T21:09:29.855Z] + curl -s https://codecov.io/bash [2022-07-11T21:09:29.855Z] + bash -s -- [2022-07-11T21:09:29.855Z] [2022-07-11T21:09:29.855Z] _____ _ [2022-07-11T21:09:29.855Z] / ____| | | [2022-07-11T21:09:29.855Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T21:09:29.855Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T21:09:29.855Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T21:09:29.855Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T21:09:29.855Z] Bash-1.0.6 [2022-07-11T21:09:29.855Z] [2022-07-11T21:09:29.855Z] [2022-07-11T21:09:29.855Z] ==> git version 2.25.1 found [2022-07-11T21:09:29.855Z] ==> 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 [2022-07-11T21:09:29.855Z] Release-Date: 2020-01-08 [2022-07-11T21:09:29.855Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-11T21:09:29.855Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T21:09:29.855Z] ==> Jenkins CI detected. [2022-07-11T21:09:29.855Z] current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-98 [2022-07-11T21:09:29.855Z] project root: . [2022-07-11T21:09:29.855Z] --> token set from env [2022-07-11T21:09:29.855Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T21:09:29.855Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T21:09:29.855Z] ==> Python coveragepy not found [2022-07-11T21:09:29.855Z] ==> Searching for coverage reports in: [2022-07-11T21:09:29.855Z] + . [2022-07-11T21:09:29.855Z] -> Found 1 reports [2022-07-11T21:09:29.855Z] ==> Detecting git/mercurial file structure [2022-07-11T21:09:29.855Z] ==> Reading reports [2022-07-11T21:09:29.855Z] + ./coverage.out bytes=41008 [2022-07-11T21:09:29.855Z] ==> Appending adjustments [2022-07-11T21:09:29.855Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T21:09:30.114Z] + Found adjustments [2022-07-11T21:09:30.114Z] ==> Gzipping contents [2022-07-11T21:09:30.114Z] 12K /tmp/codecov.I21hI4.gz [2022-07-11T21:09:30.114Z] ==> Uploading reports [2022-07-11T21:09:30.114Z] url: https://codecov.io [2022-07-11T21:09:30.114Z] query: branch=PR-98&commit=fc81389db2b18c23a770aa80de1d99eb94944553&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-98%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=98&job=&cmd_args= [2022-07-11T21:09:30.114Z] -> Pinging Codecov [2022-07-11T21:09:30.114Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-98&commit=fc81389db2b18c23a770aa80de1d99eb94944553&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-98%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=98&job=&cmd_args= [2022-07-11T21:09:30.374Z] -> Uploading to [2022-07-11T21:09:30.374Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/581DD39554BDF9B6E22D074273EAD858/fc81389db2b18c23a770aa80de1d99eb94944553/fdbc9bcc-f950-485b-93c1-b015db1e8309.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T210930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bc1d85182e66dde76c4d40d25ec90c7258c6d6cbfa9525ff59990bd34debdac [2022-07-11T21:09:30.374Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T21:09:30.374Z] Dload Upload Total Spent Left Speed [2022-07-11T21:09:30.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11491 0 0 100 11491 0 56328 --:--:-- --:--:-- --:--:-- 56053 100 11491 0 0 100 11491 0 36363 --:--:-- --:--:-- --:--:-- 36363 [2022-07-11T21:09:30.634Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/fc81389db2b18c23a770aa80de1d99eb94944553 [Pipeline] } [2022-07-11T21:09:30.642Z] 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 [2022-07-11T21:09:31.325Z] + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives ] [2022-07-11T21:09:31.325Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives [2022-07-11T21:09:31.325Z] total 16 [2022-07-11T21:09:31.325Z] drwxr-xr-x 3 root root 4096 Jul 11 21:00 . [2022-07-11T21:09:31.325Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 21:00 .. [2022-07-11T21:09:31.325Z] drwxr-xr-x 2 root root 4096 Jul 11 21:00 cost [2022-07-11T21:09:31.325Z] -rw-r--r-- 1 root root 93 Jul 11 21:00 cost.csv [2022-07-11T21:09:31.325Z] + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives [2022-07-11T21:09:31.325Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives [2022-07-11T21:09:31.325Z] total 16 [2022-07-11T21:09:31.325Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 21:00 . [2022-07-11T21:09:31.325Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 21:00 .. [2022-07-11T21:09:31.325Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 21:00 cost [2022-07-11T21:09:31.325Z] -rw-r--r-- 1 jenkins jenkins 93 Jul 11 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:31.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:32.487Z] ---> package-listing.sh [2022-07-11T21:09:32.487Z] ++ facter osfamily [2022-07-11T21:09:32.487Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T21:09:32.747Z] + OS_FAMILY=debian [2022-07-11T21:09:32.747Z] + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-98 [2022-07-11T21:09:32.747Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T21:09:32.747Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T21:09:32.747Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T21:09:32.747Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T21:09:32.747Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-98 ']' [2022-07-11T21:09:32.747Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T21:09:32.747Z] + case "${OS_FAMILY}" in [2022-07-11T21:09:32.747Z] + dpkg -l [2022-07-11T21:09:32.747Z] + grep '^ii' [2022-07-11T21:09:32.747Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T21:09:32.747Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T21:09:32.747Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T21:09:32.747Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-98 ']' [2022-07-11T21:09:32.747Z] + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives/ [2022-07-11T21:09:32.747Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-98/archives/ [Pipeline] echo [2022-07-11T21:09:32.758Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-11T21:09:33.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T21:09:33.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T21:09:33.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T21:09:33.680Z] prd-ubuntu20.04-docker-8c-8g-19357 does not seem to be running inside a container [2022-07-11T21:09:33.712Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-98 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98:/w/workspace/ry_app-rfid-llrp-inventory_PR-98:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T21:09:33.955Z] $ docker top 8a095eb9a200c1800e1f3d79e4ac6373534221306c775a815a3c7cdcf8c8cfc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T21:09:34.307Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T21:09:34.595Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T21:09:34.882Z] + ls /var/log/sa-host [2022-07-11T21:09:34.882Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T21:09:34.942Z] provisioning config files... [2022-07-11T21:09:34.949Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-98@tmp/config7074301086518132539tmp [Pipeline] { [Pipeline] echo [2022-07-11T21:09:34.963Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:35.248Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T21:09:35.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:35.576Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T21:09:35.584Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:35.872Z] ---> sudo-logs.sh [2022-07-11T21:09:35.872Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T21:09:35.899Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:36.186Z] ---> job-cost.sh [2022-07-11T21:09:36.186Z] lf-activate-venv: SKIPPING [2022-07-11T21:09:36.186Z] DEBUG: total: 0.2199999988079071 [2022-07-11T21:09:36.186Z] INFO: Retrieving Stack Cost... [2022-07-11T21:09:36.755Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T21:09:37.323Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T21:09:37.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T21:09:37.623Z] ---> logs-deploy.sh [2022-07-11T21:09:37.623Z] lf-activate-venv: SKIPPING [2022-07-11T21:09:37.623Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-98/5 [2022-07-11T21:09:37.623Z] INFO: archiving workspace using pattern(s): [2022-07-11T21:09:38.563Z] Archives upload complete. [2022-07-11T21:09:38.563Z] INFO: archiving logs to Nexus