Pull request #158 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 lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from b0caae039710ab6203d747e8de48f7ff9f8c0e87+968f145a810f9e00874ff3fecb3e80d4017ec20e (4cf2e3d5c36d3dbdb9cb4e7cd3806ff057210d87) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9937110580500729270.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14926654973788092607.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4286913077083473433.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6638029833079891170.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-158/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-158/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh86383794348748708.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-230 in /w/workspace/y_app-rfid-llrp-inventory_PR-158 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-158 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 968f145a810f9e00874ff3fecb3e80d4017ec20e into PR head commit b0caae039710ab6203d747e8de48f7ff9f8c0e87 Merge succeeded, producing b0caae039710ab6203d747e8de48f7ff9f8c0e87 Checking out Revision b0caae039710ab6203d747e8de48f7ff9f8c0e87 (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f b0caae039710ab6203d747e8de48f7ff9f8c0e87 # 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 968f145a810f9e00874ff3fecb3e80d4017ec20e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0caae039710ab6203d747e8de48f7ff9f8c0e87 # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git rev-list --no-walk 08abe477ef70eaef2f99d0bda60edc878f4954bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T18:57:55.218Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T18:57:55.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T18:57:55.287Z] ========================================================= [2023-03-14T18:57:55.287Z] EdgeX Global Pipelines Version Info [2023-03-14T18:57:55.287Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:57:55.993Z] ------------------- [2023-03-14T18:57:55.993Z] stable info: [2023-03-14T18:57:55.993Z] ------------------- [2023-03-14T18:57:55.993Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T18:57:55.993Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T18:57:55.993Z] Message: update stable to v1.0.245 [2023-03-14T18:57:56.935Z] ------------------- [2023-03-14T18:57:56.935Z] experimental info: [2023-03-14T18:57:56.935Z] ------------------- [2023-03-14T18:57:56.935Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T18:57:56.935Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T18:57:56.935Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T18:57:57.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-03-14T18:57:57.117Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-03-14T18:57:57.128Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T18:57:57.140Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T18:57:57.152Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T18:57:57.163Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T18:57:57.174Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T18:57:57.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T18:57:57.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T18:57:57.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T18:57:57.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T18:57:57.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-03-14T18:57:57.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T18:57:57.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T18:57:57.278Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T18:57:57.294Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T18:57:57.306Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T18:57:57.318Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T18:57:57.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T18:57:57.346Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T18:57:57.357Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T18:57:57.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T18:57:57.385Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T18:57:57.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T18:57:57.419Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T18:57:57.432Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T18:57:57.441Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T18:57:57.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo [2023-03-14T18:57:57.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo [2023-03-14T18:57:57.466Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo [2023-03-14T18:57:57.476Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0caae039710ab6203d747e8de48f7ff9f8c0e87 [Pipeline] echo [2023-03-14T18:57:57.488Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0caae0 [Pipeline] echo [2023-03-14T18:57:57.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T18:57:57.545Z] provisioning config files... [2023-03-14T18:57:57.558Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config9976040430485864100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:57:57.860Z] ---> docker-login.sh [2023-03-14T18:57:57.860Z] nexus3.edgexfoundry.org:10001 [2023-03-14T18:57:58.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:57:58.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:57:58.120Z] Configure a credential helper to remove this warning. See [2023-03-14T18:57:58.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:57:58.120Z] [2023-03-14T18:57:58.120Z] Login Succeeded [2023-03-14T18:57:58.120Z] nexus3.edgexfoundry.org:10002 [2023-03-14T18:57:58.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:57:58.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:57:58.120Z] Configure a credential helper to remove this warning. See [2023-03-14T18:57:58.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:57:58.120Z] [2023-03-14T18:57:58.120Z] Login Succeeded [2023-03-14T18:57:58.120Z] nexus3.edgexfoundry.org:10003 [2023-03-14T18:57:58.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:57:58.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:57:58.380Z] Configure a credential helper to remove this warning. See [2023-03-14T18:57:58.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:57:58.380Z] [2023-03-14T18:57:58.380Z] Login Succeeded [2023-03-14T18:57:58.380Z] nexus3.edgexfoundry.org:10004 [2023-03-14T18:57:58.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:57:58.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:57:58.380Z] Configure a credential helper to remove this warning. See [2023-03-14T18:57:58.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:57:58.380Z] [2023-03-14T18:57:58.380Z] Login Succeeded [2023-03-14T18:57:58.380Z] docker.io [2023-03-14T18:57:58.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:57:58.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:57:58.903Z] Configure a credential helper to remove this warning. See [2023-03-14T18:57:58.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:57:58.903Z] [2023-03-14T18:57:58.903Z] Login Succeeded [2023-03-14T18:57:58.903Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T18:57:58.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T18:57:59.287Z] + git rev-list -1 --merges b0caae039710ab6203d747e8de48f7ff9f8c0e87~1..b0caae039710ab6203d747e8de48f7ff9f8c0e87 [Pipeline] echo [2023-03-14T18:57:59.335Z] -----------> git rev-list -1 --merges b0caae039710ab6203d747e8de48f7ff9f8c0e87~1..b0caae039710ab6203d747e8de48f7ff9f8c0e87 b0caae039710ab6203d747e8de48f7ff9f8c0e87 [false] [Pipeline] sh [2023-03-14T18:57:59.627Z] + git log --format=format:%s -1 b0caae039710ab6203d747e8de48f7ff9f8c0e87 [Pipeline] echo [2023-03-14T18:57:59.643Z] ========================================================= [2023-03-14T18:57:59.643Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T18:57:59.643Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T18:57:59.977Z] + git log --format=format:%s -1 b0caae039710ab6203d747e8de48f7ff9f8c0e87 [Pipeline] echo [2023-03-14T18:57:59.988Z] [semverPrep] GIT_COMMIT: b0caae039710ab6203d747e8de48f7ff9f8c0e87, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T18:57:59.998Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T18:58:00.340Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T18:58:00.340Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T18:58:00.340Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T18:58:00.340Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T18:58:00.340Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T18:58:00.340Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T18:58:00.340Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:58:00.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T18:58:00.696Z] [2023-03-14T18:58:00.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:58:01.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T18:58:01.008Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T18:58:01.008Z] b85a868b505f: Pulling fs layer [2023-03-14T18:58:01.008Z] e2be974225ed: Pulling fs layer [2023-03-14T18:58:01.008Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T18:58:01.008Z] 988bab9f4d93: Pulling fs layer [2023-03-14T18:58:01.008Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T18:58:01.008Z] eaf3925da568: Pulling fs layer [2023-03-14T18:58:01.008Z] bab4dde63d76: Pulling fs layer [2023-03-14T18:58:01.008Z] bde34c3a00c8: Pulling fs layer [2023-03-14T18:58:01.008Z] b352a97aabf1: Pulling fs layer [2023-03-14T18:58:01.008Z] 4872d77fe225: Pulling fs layer [2023-03-14T18:58:01.008Z] 5851b861e8e6: Pulling fs layer [2023-03-14T18:58:01.008Z] 988bab9f4d93: Waiting [2023-03-14T18:58:01.008Z] 1469e6f7b9e6: Waiting [2023-03-14T18:58:01.008Z] eaf3925da568: Waiting [2023-03-14T18:58:01.008Z] bab4dde63d76: Waiting [2023-03-14T18:58:01.008Z] bde34c3a00c8: Waiting [2023-03-14T18:58:01.008Z] 5851b861e8e6: Waiting [2023-03-14T18:58:01.008Z] 4872d77fe225: Waiting [2023-03-14T18:58:01.008Z] e2be974225ed: Verifying Checksum [2023-03-14T18:58:01.008Z] e2be974225ed: Download complete [2023-03-14T18:58:01.008Z] 988bab9f4d93: Verifying Checksum [2023-03-14T18:58:01.008Z] 988bab9f4d93: Download complete [2023-03-14T18:58:01.268Z] 1469e6f7b9e6: Download complete [2023-03-14T18:58:01.268Z] eaf3925da568: Verifying Checksum [2023-03-14T18:58:01.268Z] eaf3925da568: Download complete [2023-03-14T18:58:01.268Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T18:58:01.268Z] 339a4e72a1f5: Download complete [2023-03-14T18:58:01.268Z] bde34c3a00c8: Verifying Checksum [2023-03-14T18:58:01.268Z] bde34c3a00c8: Download complete [2023-03-14T18:58:01.268Z] b352a97aabf1: Verifying Checksum [2023-03-14T18:58:01.268Z] b352a97aabf1: Download complete [2023-03-14T18:58:01.268Z] 4872d77fe225: Verifying Checksum [2023-03-14T18:58:01.268Z] 4872d77fe225: Download complete [2023-03-14T18:58:01.268Z] 5851b861e8e6: Download complete [2023-03-14T18:58:01.268Z] b85a868b505f: Verifying Checksum [2023-03-14T18:58:01.268Z] b85a868b505f: Download complete [2023-03-14T18:58:01.531Z] bab4dde63d76: Verifying Checksum [2023-03-14T18:58:01.531Z] bab4dde63d76: Download complete [2023-03-14T18:58:02.469Z] b85a868b505f: Pull complete [2023-03-14T18:58:02.727Z] e2be974225ed: Pull complete [2023-03-14T18:58:02.987Z] 339a4e72a1f5: Pull complete [2023-03-14T18:58:03.247Z] 988bab9f4d93: Pull complete [2023-03-14T18:58:03.506Z] 1469e6f7b9e6: Pull complete [2023-03-14T18:58:03.506Z] eaf3925da568: Pull complete [2023-03-14T18:58:05.410Z] bab4dde63d76: Pull complete [2023-03-14T18:58:05.410Z] bde34c3a00c8: Pull complete [2023-03-14T18:58:05.410Z] b352a97aabf1: Pull complete [2023-03-14T18:58:05.410Z] 4872d77fe225: Pull complete [2023-03-14T18:58:05.670Z] 5851b861e8e6: Pull complete [2023-03-14T18:58:05.670Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T18:58:05.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T18:58:05.670Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:58:05.780Z] prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container [2023-03-14T18:58:05.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-158 -v /w/workspace/y_app-rfid-llrp-inventory_PR-158:/w/workspace/y_app-rfid-llrp-inventory_PR-158:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T18:58:07.138Z] $ docker top b72a94a5190b81b9c5fad2f558b420ed22fba3bd91f9fcd1d1eea65b06891714 -eo pid,comm [2023-03-14T18:58:07.195Z] 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). [2023-03-14T18:58:07.195Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T18:58:07.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T18:58:07.234Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T18:58:07.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T18:58:07.350Z] $ docker exec b72a94a5190b81b9c5fad2f558b420ed22fba3bd91f9fcd1d1eea65b06891714 ssh-agent [2023-03-14T18:58:07.451Z] SSH_AUTH_SOCK=/tmp/ssh-EuNCymixXen2/agent.32 [2023-03-14T18:58:07.451Z] SSH_AGENT_PID=38 [2023-03-14T18:58:07.458Z] Running ssh-add (command line suppressed) [2023-03-14T18:58:07.558Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_14946705602882208773.key (/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_14946705602882208773.key) [2023-03-14T18:58:07.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T18:58:07.862Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T18:58:07.875Z] $ docker exec --env ******** --env ******** b72a94a5190b81b9c5fad2f558b420ed22fba3bd91f9fcd1d1eea65b06891714 ssh-agent -k [2023-03-14T18:58:07.978Z] unset SSH_AUTH_SOCK; [2023-03-14T18:58:07.978Z] unset SSH_AGENT_PID; [2023-03-14T18:58:07.978Z] echo Agent pid 38 killed; [2023-03-14T18:58:07.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T18:58:08.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T18:58:08.009Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T18:58:08.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T18:58:08.122Z] $ docker exec b72a94a5190b81b9c5fad2f558b420ed22fba3bd91f9fcd1d1eea65b06891714 ssh-agent [2023-03-14T18:58:08.227Z] SSH_AUTH_SOCK=/tmp/ssh-pOY3OoVaWHwi/agent.71 [2023-03-14T18:58:08.227Z] SSH_AGENT_PID=77 [2023-03-14T18:58:08.232Z] Running ssh-add (command line suppressed) [2023-03-14T18:58:08.342Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_305687458105309595.key (/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_305687458105309595.key) [2023-03-14T18:58:08.352Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T18:58:08.641Z] + git semver init [2023-03-14T18:58:08.902Z] 2023-03-14 18:58:08,831 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T18:58:08.902Z] 2023-03-14 18:58:08,832 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver [2023-03-14T18:58:08.902Z] 2023-03-14 18:58:08,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver [2023-03-14T18:58:08.902Z] 2023-03-14 18:58:08,834 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-158, universal_newlines=False, shell=None, istream=None) [2023-03-14T18:58:10.281Z] 2023-03-14 18:58:09,931 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158/.git/info/exclude [2023-03-14T18:58:10.282Z] 2023-03-14 18:58:09,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver/PR-158 with force:False [2023-03-14T18:58:10.282Z] 2023-03-14 18:58:09,932 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver/PR-158 [2023-03-14T18:58:10.282Z] 2023-03-14 18:58:09,936 [execute] INFO git cat-file --batch-check [2023-03-14T18:58:10.282Z] 2023-03-14 18:58:09,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T18:58:10.282Z] 2023-03-14 18:58:09,943 [execute] INFO git cat-file --batch [2023-03-14T18:58:10.282Z] 2023-03-14 18:58:09,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T18:58:10.282Z] 2023-03-14 18:58:09,949 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver/PR-158 [2023-03-14T18:58:10.282Z] 0.0.0 [Pipeline] } [2023-03-14T18:58:10.294Z] $ docker exec --env ******** --env ******** b72a94a5190b81b9c5fad2f558b420ed22fba3bd91f9fcd1d1eea65b06891714 ssh-agent -k [2023-03-14T18:58:10.390Z] unset SSH_AUTH_SOCK; [2023-03-14T18:58:10.390Z] unset SSH_AGENT_PID; [2023-03-14T18:58:10.390Z] echo Agent pid 77 killed; [2023-03-14T18:58:10.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T18:58:10.710Z] + git semver [Pipeline] } [2023-03-14T18:58:10.986Z] $ docker stop --time=1 b72a94a5190b81b9c5fad2f558b420ed22fba3bd91f9fcd1d1eea65b06891714 [2023-03-14T18:58:12.324Z] $ docker rm -f --volumes b72a94a5190b81b9c5fad2f558b420ed22fba3bd91f9fcd1d1eea65b06891714 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T18:58:12.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T18:58:12.844Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T18:58:12.846Z] [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 [2023-03-14T18:58:12.978Z] provisioning config files... [2023-03-14T18:58:12.986Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config3499766979075974589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:58:13.276Z] ---> docker-login.sh [2023-03-14T18:58:13.276Z] nexus3.edgexfoundry.org:10001 [2023-03-14T18:58:13.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:58:13.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:58:13.276Z] Configure a credential helper to remove this warning. See [2023-03-14T18:58:13.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:58:13.276Z] [2023-03-14T18:58:13.276Z] Login Succeeded [2023-03-14T18:58:13.276Z] nexus3.edgexfoundry.org:10002 [2023-03-14T18:58:13.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:58:13.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:58:13.276Z] Configure a credential helper to remove this warning. See [2023-03-14T18:58:13.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:58:13.276Z] [2023-03-14T18:58:13.276Z] Login Succeeded [2023-03-14T18:58:13.276Z] nexus3.edgexfoundry.org:10003 [2023-03-14T18:58:13.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:58:13.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:58:13.535Z] Configure a credential helper to remove this warning. See [2023-03-14T18:58:13.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:58:13.535Z] [2023-03-14T18:58:13.535Z] Login Succeeded [2023-03-14T18:58:13.535Z] nexus3.edgexfoundry.org:10004 [2023-03-14T18:58:13.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:58:13.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:58:13.535Z] Configure a credential helper to remove this warning. See [2023-03-14T18:58:13.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:58:13.535Z] [2023-03-14T18:58:13.535Z] Login Succeeded [2023-03-14T18:58:13.535Z] docker.io [2023-03-14T18:58:13.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:58:13.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:58:13.794Z] Configure a credential helper to remove this warning. See [2023-03-14T18:58:13.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:58:13.794Z] [2023-03-14T18:58:13.794Z] Login Succeeded [2023-03-14T18:58:13.794Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T18:58:13.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T18:58:13.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T18:58:13.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T18:58:13.884Z] ========================================================= [2023-03-14T18:58:13.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T18:58:13.884Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:58:14.196Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T18:58:14.196Z] Sending build context to Docker daemon 12.57MB [2023-03-14T18:58:14.196Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T18:58:14.196Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T18:58:14.196Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T18:58:14.196Z] 63b65145d645: Pulling fs layer [2023-03-14T18:58:14.196Z] a2d21d5440eb: Pulling fs layer [2023-03-14T18:58:14.196Z] 935e6c44a52c: Pulling fs layer [2023-03-14T18:58:14.196Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T18:58:14.196Z] 30dea6a524f1: Pulling fs layer [2023-03-14T18:58:14.196Z] a2aff8979fd8: Pulling fs layer [2023-03-14T18:58:14.196Z] 6808be2612f2: Pulling fs layer [2023-03-14T18:58:14.196Z] f25807f1079a: Pulling fs layer [2023-03-14T18:58:14.196Z] a2aff8979fd8: Waiting [2023-03-14T18:58:14.196Z] 6808be2612f2: Waiting [2023-03-14T18:58:14.196Z] f25807f1079a: Waiting [2023-03-14T18:58:14.196Z] 30dea6a524f1: Waiting [2023-03-14T18:58:14.196Z] a2d21d5440eb: Verifying Checksum [2023-03-14T18:58:14.196Z] a2d21d5440eb: Download complete [2023-03-14T18:58:14.456Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T18:58:14.456Z] 94cc34f8dd06: Download complete [2023-03-14T18:58:14.456Z] 30dea6a524f1: Verifying Checksum [2023-03-14T18:58:14.456Z] 30dea6a524f1: Download complete [2023-03-14T18:58:14.456Z] 63b65145d645: Verifying Checksum [2023-03-14T18:58:14.456Z] 63b65145d645: Download complete [2023-03-14T18:58:14.456Z] a2aff8979fd8: Verifying Checksum [2023-03-14T18:58:14.456Z] a2aff8979fd8: Download complete [2023-03-14T18:58:14.722Z] 63b65145d645: Pull complete [2023-03-14T18:58:14.722Z] a2d21d5440eb: Pull complete [2023-03-14T18:58:14.985Z] f25807f1079a: Verifying Checksum [2023-03-14T18:58:15.243Z] 935e6c44a52c: Verifying Checksum [2023-03-14T18:58:15.243Z] 935e6c44a52c: Download complete [2023-03-14T18:58:15.501Z] 6808be2612f2: Verifying Checksum [2023-03-14T18:58:18.785Z] 935e6c44a52c: Pull complete [2023-03-14T18:58:18.785Z] 94cc34f8dd06: Pull complete [2023-03-14T18:58:18.785Z] 30dea6a524f1: Pull complete [2023-03-14T18:58:18.785Z] a2aff8979fd8: Pull complete [2023-03-14T18:58:21.314Z] 6808be2612f2: Pull complete [2023-03-14T18:58:21.572Z] f25807f1079a: Pull complete [2023-03-14T18:58:21.572Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T18:58:21.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T18:58:21.572Z] ---> 3b553350e43f [2023-03-14T18:58:21.572Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T18:58:22.947Z] ---> Running in cb4d2d168ee3 [2023-03-14T18:58:23.205Z] Removing intermediate container cb4d2d168ee3 [2023-03-14T18:58:23.205Z] ---> 366470c9d779 [2023-03-14T18:58:23.205Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T18:58:23.205Z] ---> Running in 3f00f32fdfb3 [2023-03-14T18:58:23.205Z] Removing intermediate container 3f00f32fdfb3 [2023-03-14T18:58:23.205Z] ---> 214ed7191e97 [2023-03-14T18:58:23.205Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T18:58:23.465Z] ---> Running in 5c3fc6959c9e [2023-03-14T18:58:23.465Z] Removing intermediate container 5c3fc6959c9e [2023-03-14T18:58:23.465Z] ---> 24d141739c3e [2023-03-14T18:58:23.465Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T18:58:23.465Z] ---> Running in 52e86dcb3eab [2023-03-14T18:58:23.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T18:58:23.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T18:58:24.241Z] OK: 265 MiB in 53 packages [2023-03-14T18:58:24.499Z] Removing intermediate container 52e86dcb3eab [2023-03-14T18:58:24.499Z] ---> 2cb585f67cfd [2023-03-14T18:58:24.499Z] Step 7/12 : WORKDIR /app [2023-03-14T18:58:24.758Z] ---> Running in 7e73b7fc9465 [2023-03-14T18:58:24.758Z] Removing intermediate container 7e73b7fc9465 [2023-03-14T18:58:24.758Z] ---> 0801c3f1c605 [2023-03-14T18:58:24.758Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T18:58:25.016Z] ---> e0f76ff7903e [2023-03-14T18:58:25.016Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T18:58:25.016Z] ---> Running in b5737a1a8237 [2023-03-14T18:58:27.945Z] Still waiting to schedule task [2023-03-14T18:58:27.945Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T18:58:43.104Z] Removing intermediate container b5737a1a8237 [2023-03-14T18:58:43.104Z] ---> 5613ef5dc39f [2023-03-14T18:58:43.104Z] Step 10/12 : COPY . . [2023-03-14T18:58:43.104Z] ---> 5b001a1012e0 [2023-03-14T18:58:43.104Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T18:58:43.364Z] ---> Running in 59c2731f3ea3 [2023-03-14T18:58:43.364Z] Removing intermediate container 59c2731f3ea3 [2023-03-14T18:58:43.364Z] ---> 0a4600bf885b [2023-03-14T18:58:43.364Z] Step 12/12 : RUN $MAKE [2023-03-14T18:58:43.364Z] ---> Running in f8e768d2fc43 [2023-03-14T18:58:43.623Z] noop [2023-03-14T18:58:43.882Z] Removing intermediate container f8e768d2fc43 [2023-03-14T18:58:43.882Z] ---> 9290bf821ea1 [2023-03-14T18:58:43.882Z] Successfully built 9290bf821ea1 [2023-03-14T18:58:43.882Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:58:44.188Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T18:58:44.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:58:44.259Z] prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container [2023-03-14T18:58:44.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-158 -v /w/workspace/y_app-rfid-llrp-inventory_PR-158:/w/workspace/y_app-rfid-llrp-inventory_PR-158:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-158@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T18:58:44.687Z] $ docker top 716cf5335c81f6f2e2ec201d4d33759a371eaaf41ca11cdd76bdfb67fbdfabe6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:58:45.031Z] + go version [2023-03-14T18:58:45.031Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T18:58:45.050Z] $ docker stop --time=1 716cf5335c81f6f2e2ec201d4d33759a371eaaf41ca11cdd76bdfb67fbdfabe6 [2023-03-14T18:58:46.353Z] $ docker rm -f --volumes 716cf5335c81f6f2e2ec201d4d33759a371eaaf41ca11cdd76bdfb67fbdfabe6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:58:46.745Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T18:58:46.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:58:46.817Z] prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container [2023-03-14T18:58:46.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-158 -v /w/workspace/y_app-rfid-llrp-inventory_PR-158:/w/workspace/y_app-rfid-llrp-inventory_PR-158:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-158@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T18:58:47.191Z] $ docker top c6c6284420b64b638ca9da842da4c37d0ae15f01ebc892fff70c70d8f3498d12 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:58:47.533Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-158 [Pipeline] fileExists [Pipeline] sh [2023-03-14T18:58:47.829Z] + make test [2023-03-14T18:58:47.829Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-14T18:59:09.755Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-14T18:59:09.755Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-14T18:59:09.756Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.156s coverage: 86.2% of statements [2023-03-14T18:59:09.756Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.694s coverage: 71.9% of statements [2023-03-14T18:59:31.668Z] go vet ./... [2023-03-14T18:59:32.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T18:59:32.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T18:59:32.601Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-14T18:59:32.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T18:59:32.624Z] $ docker stop --time=1 c6c6284420b64b638ca9da842da4c37d0ae15f01ebc892fff70c70d8f3498d12 [2023-03-14T18:59:34.650Z] $ docker rm -f --volumes c6c6284420b64b638ca9da842da4c37d0ae15f01ebc892fff70c70d8f3498d12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T18:59:35.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T18:59:35.206Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T18:59:35.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T18:59:35.926Z] + ls -al . [2023-03-14T18:59:35.926Z] total 228 [2023-03-14T18:59:35.926Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 18:58 . [2023-03-14T18:59:35.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:57 .. [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 14 18:57 .dockerignore [2023-03-14T18:59:35.926Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:58 .git [2023-03-14T18:59:35.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:57 .github [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 14 18:57 .gitignore [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 18:57 .golangci.yml [2023-03-14T18:59:35.926Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:58 .semver [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 14 18:57 Attribution.txt [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 14 18:57 CHANGELOG.md [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 14 18:57 Dockerfile [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:57 GOVERNANCE.md [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 14 18:57 Jenkinsfile [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 14 18:57 LICENSE [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 14 18:57 Makefile [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 14 18:57 OWNERS.md [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 14 18:57 README.md [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 18:58 VERSION [2023-03-14T18:59:35.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:57 bin [2023-03-14T18:59:35.926Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 14 18:59 coverage.out [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 14 18:57 go.mod [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 14 18:57 go.sum [2023-03-14T18:59:35.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:57 images [2023-03-14T18:59:35.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:57 internal [2023-03-14T18:59:35.926Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 14 18:57 main.go [2023-03-14T18:59:35.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:57 res [2023-03-14T18:59:35.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:57 snap [2023-03-14T18:59:35.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:57 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:59:36.234Z] + 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=b0caae039710ab6203d747e8de48f7ff9f8c0e87 --label arch=amd64 --label version=0.0.0 . [2023-03-14T18:59:36.234Z] Sending build context to Docker daemon 12.57MB [2023-03-14T18:59:36.234Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T18:59:36.234Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-14T18:59:36.234Z] ---> 9290bf821ea1 [2023-03-14T18:59:36.234Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T18:59:36.234Z] ---> Running in 91c9f0ca5cd1 [2023-03-14T18:59:36.493Z] Removing intermediate container 91c9f0ca5cd1 [2023-03-14T18:59:36.494Z] ---> f9fcb7b8b199 [2023-03-14T18:59:36.494Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T18:59:36.494Z] ---> Running in ee8e9ea0edeb [2023-03-14T18:59:36.494Z] Removing intermediate container ee8e9ea0edeb [2023-03-14T18:59:36.494Z] ---> a528d8dc8a5a [2023-03-14T18:59:36.494Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-14T18:59:36.494Z] ---> Running in 0bcd451e8bbd [2023-03-14T18:59:36.755Z] Removing intermediate container 0bcd451e8bbd [2023-03-14T18:59:36.755Z] ---> 447be2d16ba8 [2023-03-14T18:59:36.755Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T18:59:36.755Z] ---> Running in adf828ebba66 [2023-03-14T18:59:37.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T18:59:37.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T18:59:37.273Z] OK: 265 MiB in 53 packages [2023-03-14T18:59:37.532Z] Removing intermediate container adf828ebba66 [2023-03-14T18:59:37.532Z] ---> db7ecb93733b [2023-03-14T18:59:37.532Z] Step 7/29 : WORKDIR /app [2023-03-14T18:59:37.532Z] ---> Running in 928991082c6a [2023-03-14T18:59:37.792Z] Removing intermediate container 928991082c6a [2023-03-14T18:59:37.792Z] ---> 780187df78d2 [2023-03-14T18:59:37.792Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-14T18:59:37.792Z] ---> c2bf7c7825e8 [2023-03-14T18:59:37.792Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T18:59:37.792Z] ---> Running in ab79d1e24a70 [2023-03-14T18:59:38.732Z] Removing intermediate container ab79d1e24a70 [2023-03-14T18:59:38.732Z] ---> fcc5f8843ee9 [2023-03-14T18:59:38.732Z] Step 10/29 : COPY . . [2023-03-14T18:59:38.992Z] ---> 37ef8784fd84 [2023-03-14T18:59:38.992Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T18:59:38.992Z] ---> Running in e23287c6079c [2023-03-14T18:59:39.253Z] Removing intermediate container e23287c6079c [2023-03-14T18:59:39.253Z] ---> 59496349a68a [2023-03-14T18:59:39.253Z] Step 12/29 : RUN $MAKE [2023-03-14T18:59:39.253Z] ---> Running in 476413f2b4d6 [2023-03-14T18:59:39.512Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory [2023-03-14T18:59:57.592Z] Removing intermediate container 476413f2b4d6 [2023-03-14T18:59:57.592Z] ---> 6ef95630f8bd [2023-03-14T18:59:57.592Z] Step 13/29 : FROM alpine:3.17 [2023-03-14T18:59:57.592Z] 3.17: Pulling from library/alpine [2023-03-14T18:59:57.592Z] 63b65145d645: Already exists [2023-03-14T18:59:57.592Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T18:59:57.592Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T18:59:57.592Z] ---> b2aa39c304c2 [2023-03-14T18:59:57.592Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T18:59:57.592Z] ---> Running in 7e717704691a [2023-03-14T18:59:57.592Z] Removing intermediate container 7e717704691a [2023-03-14T18:59:57.592Z] ---> 5b879a6f8d3a [2023-03-14T18:59:57.592Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-14T18:59:57.592Z] ---> Running in 15c1fd22bc79 [2023-03-14T18:59:57.592Z] Removing intermediate container 15c1fd22bc79 [2023-03-14T18:59:57.592Z] ---> 69959c903656 [2023-03-14T18:59:57.592Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-14T18:59:57.592Z] ---> Running in 9c20e4ded679 [2023-03-14T18:59:57.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T18:59:57.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T18:59:57.592Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-14T18:59:57.592Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-14T18:59:57.592Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T18:59:57.592Z] Executing ca-certificates-20220614-r4.trigger [2023-03-14T18:59:57.592Z] OK: 8 MiB in 17 packages [2023-03-14T18:59:57.592Z] Removing intermediate container 9c20e4ded679 [2023-03-14T18:59:57.592Z] ---> 42c1ece2ca23 [2023-03-14T18:59:57.592Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-14T18:59:57.851Z] ---> b256feff1997 [2023-03-14T18:59:57.851Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-14T18:59:57.851Z] ---> 751e7b51ab12 [2023-03-14T18:59:57.851Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-14T18:59:58.109Z] ---> 7d3c77b8fa89 [2023-03-14T18:59:58.109Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-14T18:59:58.109Z] ---> a4c3334cf176 [2023-03-14T18:59:58.109Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-14T18:59:58.676Z] ---> 501ecd81b33a [2023-03-14T18:59:58.676Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-14T18:59:58.676Z] ---> Running in 2509a1c607df [2023-03-14T18:59:59.244Z] Removing intermediate container 2509a1c607df [2023-03-14T18:59:59.244Z] ---> 6c2e179e5ccd [2023-03-14T18:59:59.244Z] Step 23/29 : VOLUME /cache [2023-03-14T18:59:59.244Z] ---> Running in 4b7fa4b3cb46 [2023-03-14T18:59:59.509Z] Removing intermediate container 4b7fa4b3cb46 [2023-03-14T18:59:59.509Z] ---> 2517d99060eb [2023-03-14T18:59:59.509Z] Step 24/29 : EXPOSE 59711 [2023-03-14T18:59:59.509Z] ---> Running in 010ee71ce9d7 [2023-03-14T18:59:59.509Z] Removing intermediate container 010ee71ce9d7 [2023-03-14T18:59:59.509Z] ---> c9294653ae92 [2023-03-14T18:59:59.509Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-14T18:59:59.509Z] ---> Running in 76e17195fd6a [2023-03-14T18:59:59.770Z] Removing intermediate container 76e17195fd6a [2023-03-14T18:59:59.770Z] ---> b5777507ef39 [2023-03-14T18:59:59.770Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-14T18:59:59.770Z] ---> Running in 8cd762e24227 [2023-03-14T18:59:59.770Z] Removing intermediate container 8cd762e24227 [2023-03-14T18:59:59.770Z] ---> 8be34fdd26ea [2023-03-14T18:59:59.770Z] Step 27/29 : LABEL arch=amd64 [2023-03-14T18:59:59.770Z] ---> Running in 36c5fc4a58b4 [2023-03-14T19:00:00.030Z] Removing intermediate container 36c5fc4a58b4 [2023-03-14T19:00:00.030Z] ---> f39b38d34dbd [2023-03-14T19:00:00.030Z] Step 28/29 : LABEL git_sha=b0caae039710ab6203d747e8de48f7ff9f8c0e87 [2023-03-14T19:00:00.030Z] ---> Running in f7c2c0792e1d [2023-03-14T19:00:00.030Z] Removing intermediate container f7c2c0792e1d [2023-03-14T19:00:00.030Z] ---> 4a42bc7d6aa3 [2023-03-14T19:00:00.030Z] Step 29/29 : LABEL version=0.0.0 [2023-03-14T19:00:00.030Z] ---> Running in 8cfe67d87733 [2023-03-14T19:00:00.288Z] Removing intermediate container 8cfe67d87733 [2023-03-14T19:00:00.288Z] ---> 268da5b0428d [2023-03-14T19:00:00.288Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T19:00:00.288Z] Successfully built 268da5b0428d [2023-03-14T19:00:00.289Z] 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 [2023-03-14T19:00:00.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T19:00:00.698Z] [2023-03-14T19:00:00.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T19:00:00.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T19:00:00.994Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T19:00:00.994Z] 5eb5b503b376: Pulling fs layer [2023-03-14T19:00:00.994Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T19:00:00.994Z] ec43610c2a17: Pulling fs layer [2023-03-14T19:00:00.994Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T19:00:00.994Z] 33b1e0a273af: Pulling fs layer [2023-03-14T19:00:00.994Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T19:00:00.994Z] 2f39f015ded8: Pulling fs layer [2023-03-14T19:00:00.994Z] 33b1e0a273af: Waiting [2023-03-14T19:00:00.994Z] 5d3b04190fa2: Waiting [2023-03-14T19:00:00.994Z] 2f39f015ded8: Waiting [2023-03-14T19:00:00.994Z] 3a2ae6a8a46f: Waiting [2023-03-14T19:00:00.994Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T19:00:00.994Z] 5c69ac0246d0: Download complete [2023-03-14T19:00:00.994Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T19:00:00.994Z] 3a2ae6a8a46f: Download complete [2023-03-14T19:00:01.258Z] 33b1e0a273af: Verifying Checksum [2023-03-14T19:00:01.258Z] 33b1e0a273af: Download complete [2023-03-14T19:00:01.258Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T19:00:01.258Z] 5d3b04190fa2: Download complete [2023-03-14T19:00:01.258Z] ec43610c2a17: Download complete [2023-03-14T19:00:01.258Z] 5eb5b503b376: Verifying Checksum [2023-03-14T19:00:01.258Z] 5eb5b503b376: Download complete [2023-03-14T19:00:01.824Z] 2f39f015ded8: Download complete [2023-03-14T19:00:02.391Z] 5eb5b503b376: Pull complete [2023-03-14T19:00:02.391Z] 5c69ac0246d0: Pull complete [2023-03-14T19:00:02.956Z] ec43610c2a17: Pull complete [2023-03-14T19:00:02.956Z] 3a2ae6a8a46f: Pull complete [2023-03-14T19:00:02.956Z] 33b1e0a273af: Pull complete [2023-03-14T19:00:03.214Z] 5d3b04190fa2: Pull complete [2023-03-14T19:00:07.391Z] 2f39f015ded8: Pull complete [2023-03-14T19:00:07.391Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T19:00:07.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T19:00:07.391Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T19:00:07.478Z] prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container [2023-03-14T19:00:07.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-158 -v /w/workspace/y_app-rfid-llrp-inventory_PR-158:/w/workspace/y_app-rfid-llrp-inventory_PR-158:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-158@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T19:00:09.085Z] $ docker top 945c9bfd1d0dc6ca13a7f5abe54993c2315dee379d8bddc9c5a7005939247720 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:00:09.462Z] ---> job-cost.sh [2023-03-14T19:00:09.462Z] lf-activate-venv: SKIPPING [2023-03-14T19:00:09.462Z] INFO: No Stack... [2023-03-14T19:00:09.720Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T19:00:09.978Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T19:00:10.262Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives/cost.csv [2023-03-14T19:00:10.262Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T19:00:10.271Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] [2023-03-14T19:00:10.277Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] did not exist. Created. [2023-03-14T19:00:10.277Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T19:00:10.567Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T19:00:10.594Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T19:00:10.600Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T19:00:10.617Z] $ docker stop --time=1 945c9bfd1d0dc6ca13a7f5abe54993c2315dee379d8bddc9c5a7005939247720 [2023-03-14T19:00:11.771Z] $ docker rm -f --volumes 945c9bfd1d0dc6ca13a7f5abe54993c2315dee379d8bddc9c5a7005939247720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T19:01:53.177Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-232 in /w/workspace/y_app-rfid-llrp-inventory_PR-158 [Pipeline] { [Pipeline] ws [2023-03-14T19:01:53.189Z] Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout [2023-03-14T19:01:53.232Z] The recommended git tool is: git [2023-03-14T19:02:02.109Z] using credential edgex-jenkins-ssh [2023-03-14T19:02:02.134Z] Cloning the remote Git repository [2023-03-14T19:02:02.194Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-14T19:02:02.312Z] > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 [2023-03-14T19:02:02.494Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-14T19:02:02.495Z] > git --version # timeout=10 [2023-03-14T19:02:02.520Z] > git --version # 'git version 2.25.1' [2023-03-14T19:02:02.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T19:02:02.705Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T19:02:04.959Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-14T19:02:04.987Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T19:02:06.718Z] Merging remotes/origin/main commit 968f145a810f9e00874ff3fecb3e80d4017ec20e into PR head commit b0caae039710ab6203d747e8de48f7ff9f8c0e87 [2023-03-14T19:02:07.043Z] Merge succeeded, producing b0caae039710ab6203d747e8de48f7ff9f8c0e87 [2023-03-14T19:02:07.044Z] Checking out Revision b0caae039710ab6203d747e8de48f7ff9f8c0e87 (PR-158) [2023-03-14T19:02:06.056Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-14T19:02:06.108Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-14T19:02:06.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T19:02:06.130Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T19:02:06.740Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T19:02:06.825Z] > git checkout -f b0caae039710ab6203d747e8de48f7ff9f8c0e87 # timeout=10 [2023-03-14T19:02:06.941Z] > git remote # timeout=10 [2023-03-14T19:02:06.960Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T19:02:06.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T19:02:06.997Z] > git merge 968f145a810f9e00874ff3fecb3e80d4017ec20e # timeout=10 [2023-03-14T19:02:07.026Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T19:02:07.055Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T19:02:07.074Z] > git checkout -f b0caae039710ab6203d747e8de48f7ff9f8c0e87 # timeout=10 [2023-03-14T19:02:10.697Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T19:02:11.654Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T19:02:11.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T19:02:11.654Z] Dload Upload Total Spent Left Speed [2023-03-14T19:02:11.655Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-03-14T19:02:12.434Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T19:02:12.782Z] + sudo tee /etc/docker/daemon.new [2023-03-14T19:02:12.782Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T19:02:12.782Z] { [2023-03-14T19:02:12.782Z] "registry-mirrors": [ [2023-03-14T19:02:12.782Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T19:02:12.782Z] ], [2023-03-14T19:02:12.782Z] "bip": "10.250.0.254/24", [2023-03-14T19:02:12.782Z] "hosts": [ [2023-03-14T19:02:12.782Z] "tcp://0.0.0.0:5555", [2023-03-14T19:02:12.782Z] "unix:///var/run/docker.sock" [2023-03-14T19:02:12.782Z] ], [2023-03-14T19:02:12.782Z] "mtu": 1458, [2023-03-14T19:02:12.782Z] "selinux-enabled": true, [2023-03-14T19:02:12.782Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T19:02:12.782Z] } [Pipeline] sh [2023-03-14T19:02:13.125Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T19:02:13.472Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T19:02:31.762Z] provisioning config files... [2023-03-14T19:02:31.795Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config18024290887103084451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:02:32.158Z] ---> docker-login.sh [2023-03-14T19:02:32.158Z] nexus3.edgexfoundry.org:10001 [2023-03-14T19:02:32.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T19:02:33.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T19:02:33.019Z] Configure a credential helper to remove this warning. See [2023-03-14T19:02:33.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T19:02:33.019Z] [2023-03-14T19:02:33.019Z] Login Succeeded [2023-03-14T19:02:33.019Z] nexus3.edgexfoundry.org:10002 [2023-03-14T19:02:33.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T19:02:33.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T19:02:33.289Z] Configure a credential helper to remove this warning. See [2023-03-14T19:02:33.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T19:02:33.289Z] [2023-03-14T19:02:33.289Z] Login Succeeded [2023-03-14T19:02:33.289Z] nexus3.edgexfoundry.org:10003 [2023-03-14T19:02:33.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T19:02:33.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T19:02:33.558Z] Configure a credential helper to remove this warning. See [2023-03-14T19:02:33.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T19:02:33.558Z] [2023-03-14T19:02:33.558Z] Login Succeeded [2023-03-14T19:02:33.558Z] nexus3.edgexfoundry.org:10004 [2023-03-14T19:02:33.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T19:02:34.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T19:02:34.102Z] Configure a credential helper to remove this warning. See [2023-03-14T19:02:34.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T19:02:34.102Z] [2023-03-14T19:02:34.102Z] Login Succeeded [2023-03-14T19:02:34.102Z] docker.io [2023-03-14T19:02:34.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T19:02:34.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T19:02:34.640Z] Configure a credential helper to remove this warning. See [2023-03-14T19:02:34.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T19:02:34.640Z] [2023-03-14T19:02:34.640Z] Login Succeeded [2023-03-14T19:02:34.640Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T19:02:34.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T19:02:34.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T19:02:34.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T19:02:34.988Z] ========================================================= [2023-03-14T19:02:34.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T19:02:34.989Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T19:02:35.339Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T19:02:35.618Z] Sending build context to Docker daemon 678.9kB [2023-03-14T19:02:35.618Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T19:02:35.618Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T19:02:35.890Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T19:02:35.890Z] af6eaf76a39c: Pulling fs layer [2023-03-14T19:02:35.890Z] 55522c791124: Pulling fs layer [2023-03-14T19:02:35.890Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T19:02:35.890Z] 169dfbe0d373: Pulling fs layer [2023-03-14T19:02:35.890Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T19:02:35.890Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T19:02:35.890Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T19:02:35.890Z] e1ff8fa3b103: Waiting [2023-03-14T19:02:35.890Z] 52ebb69f0ebf: Waiting [2023-03-14T19:02:35.890Z] 5abe8eddf0d5: Waiting [2023-03-14T19:02:35.890Z] 169dfbe0d373: Waiting [2023-03-14T19:02:35.890Z] 55522c791124: Verifying Checksum [2023-03-14T19:02:35.890Z] 55522c791124: Download complete [2023-03-14T19:02:35.890Z] 169dfbe0d373: Verifying Checksum [2023-03-14T19:02:35.890Z] 169dfbe0d373: Download complete [2023-03-14T19:02:35.890Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T19:02:35.890Z] e1ff8fa3b103: Download complete [2023-03-14T19:02:35.890Z] af6eaf76a39c: Verifying Checksum [2023-03-14T19:02:35.890Z] af6eaf76a39c: Download complete [2023-03-14T19:02:37.329Z] af6eaf76a39c: Pull complete [2023-03-14T19:02:37.329Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T19:02:37.329Z] 5abe8eddf0d5: Download complete [2023-03-14T19:02:37.600Z] 55522c791124: Pull complete [2023-03-14T19:02:38.575Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T19:02:38.575Z] ce5c4a1c91eb: Download complete [2023-03-14T19:02:38.575Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T19:02:38.575Z] 52ebb69f0ebf: Download complete [2023-03-14T19:02:48.707Z] ce5c4a1c91eb: Pull complete [2023-03-14T19:02:48.707Z] 169dfbe0d373: Pull complete [2023-03-14T19:02:48.976Z] e1ff8fa3b103: Pull complete [2023-03-14T19:02:55.758Z] 52ebb69f0ebf: Pull complete [2023-03-14T19:02:56.726Z] 5abe8eddf0d5: Pull complete [2023-03-14T19:02:56.726Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T19:02:56.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T19:02:56.726Z] ---> 6cb57ee374ae [2023-03-14T19:02:56.726Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T19:02:58.698Z] ---> Running in fc5bb0a50909 [2023-03-14T19:02:58.968Z] Removing intermediate container fc5bb0a50909 [2023-03-14T19:02:58.968Z] ---> 9c42073be479 [2023-03-14T19:02:58.968Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T19:02:59.237Z] ---> Running in 2176c58be2eb [2023-03-14T19:02:59.508Z] Removing intermediate container 2176c58be2eb [2023-03-14T19:02:59.508Z] ---> 479e89584326 [2023-03-14T19:02:59.508Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T19:02:59.508Z] ---> Running in 2d1b43c2d030 [2023-03-14T19:02:59.781Z] Removing intermediate container 2d1b43c2d030 [2023-03-14T19:02:59.781Z] ---> 1ff50f69b56b [2023-03-14T19:02:59.782Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T19:03:00.055Z] ---> Running in 6ba599f847eb [2023-03-14T19:03:01.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T19:03:01.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T19:03:02.941Z] OK: 263 MiB in 53 packages [2023-03-14T19:03:03.906Z] Removing intermediate container 6ba599f847eb [2023-03-14T19:03:03.906Z] ---> 8794d2cfd962 [2023-03-14T19:03:03.906Z] Step 7/12 : WORKDIR /app [2023-03-14T19:03:03.906Z] ---> Running in 8f5af9f9a937 [2023-03-14T19:03:04.492Z] Removing intermediate container 8f5af9f9a937 [2023-03-14T19:03:04.492Z] ---> 43058c3b2ea8 [2023-03-14T19:03:04.492Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T19:03:04.762Z] ---> 8c27aedf6a27 [2023-03-14T19:03:04.763Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T19:03:05.039Z] ---> Running in bb77cd97c027 [2023-03-14T19:04:12.929Z] Removing intermediate container bb77cd97c027 [2023-03-14T19:04:12.929Z] ---> d290f9b11f0b [2023-03-14T19:04:12.929Z] Step 10/12 : COPY . . [2023-03-14T19:04:12.929Z] ---> 2f74cbe45edb [2023-03-14T19:04:12.929Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T19:04:12.929Z] ---> Running in de1ea492028a [2023-03-14T19:04:12.929Z] Removing intermediate container de1ea492028a [2023-03-14T19:04:12.929Z] ---> 21786a6517aa [2023-03-14T19:04:12.929Z] Step 12/12 : RUN $MAKE [2023-03-14T19:04:12.929Z] ---> Running in d73c8afb0149 [2023-03-14T19:04:12.929Z] noop [2023-03-14T19:04:13.198Z] Removing intermediate container d73c8afb0149 [2023-03-14T19:04:13.198Z] ---> 2c589d7cb3b3 [2023-03-14T19:04:13.198Z] Successfully built 2c589d7cb3b3 [2023-03-14T19:04:13.198Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T19:04:13.542Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T19:04:13.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T19:04:13.749Z] prd-ubuntu20.04-docker-arm64-4c-16g-232 does not seem to be running inside a container [2023-03-14T19:04:13.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** -e ******** ci-base-image-arm64 cat [2023-03-14T19:04:14.992Z] $ docker top 339582c0225f6224f68c9c2a860f6806675c7e9078581a12177a8b776fa8a759 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T19:04:15.836Z] + go version [2023-03-14T19:04:15.836Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T19:04:15.857Z] $ docker stop --time=1 339582c0225f6224f68c9c2a860f6806675c7e9078581a12177a8b776fa8a759 [2023-03-14T19:04:17.467Z] $ docker rm -f --volumes 339582c0225f6224f68c9c2a860f6806675c7e9078581a12177a8b776fa8a759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T19:04:18.000Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T19:04:18.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T19:04:18.189Z] prd-ubuntu20.04-docker-arm64-4c-16g-232 does not seem to be running inside a container [2023-03-14T19:04:18.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** -e ******** ci-base-image-arm64 cat [2023-03-14T19:04:19.467Z] $ docker top 50c75c6b80939de4fcd1c42b8c0eb11bca6b45de5fbaa54dbe0a06bc706552a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T19:04:20.294Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] fileExists [Pipeline] sh [2023-03-14T19:04:20.937Z] + make test [2023-03-14T19:04:20.937Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-14T19:07:27.716Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-14T19:07:31.959Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-14T19:07:32.917Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.110s coverage: 86.2% of statements [2023-03-14T19:07:42.983Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.391s coverage: 71.9% of statements [2023-03-14T19:07:42.983Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T19:07:42.983Z] go vet ./... [2023-03-14T19:10:04.728Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T19:10:04.728Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T19:10:04.728Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-14T19:10:04.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T19:10:04.760Z] $ docker stop --time=1 50c75c6b80939de4fcd1c42b8c0eb11bca6b45de5fbaa54dbe0a06bc706552a5 [2023-03-14T19:10:06.625Z] $ docker rm -f --volumes 50c75c6b80939de4fcd1c42b8c0eb11bca6b45de5fbaa54dbe0a06bc706552a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T19:10:08.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T19:10:08.238Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T19:10:08.964Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T19:10:09.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T19:10:09.714Z] + ls -al . [2023-03-14T19:10:09.714Z] total 224 [2023-03-14T19:10:09.714Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 19:04 . [2023-03-14T19:10:09.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 19:02 .. [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 14 19:02 .dockerignore [2023-03-14T19:10:09.714Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 19:02 .git [2023-03-14T19:10:09.714Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 19:02 .github [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 14 19:02 .gitignore [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 19:02 .golangci.yml [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 14 19:02 Attribution.txt [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 14 19:02 CHANGELOG.md [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 14 19:02 Dockerfile [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 19:02 GOVERNANCE.md [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 14 19:02 Jenkinsfile [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 14 19:02 LICENSE [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 14 19:02 Makefile [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 14 19:02 OWNERS.md [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 14 19:02 README.md [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 18:58 VERSION [2023-03-14T19:10:09.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 19:02 bin [2023-03-14T19:10:09.714Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 14 19:07 coverage.out [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 14 19:02 go.mod [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 14 19:02 go.sum [2023-03-14T19:10:09.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 19:02 images [2023-03-14T19:10:09.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 19:02 internal [2023-03-14T19:10:09.714Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 14 19:02 main.go [2023-03-14T19:10:09.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 19:02 res [2023-03-14T19:10:09.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 19:02 snap [2023-03-14T19:10:09.714Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 19:02 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T19:10:10.069Z] + 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=b0caae039710ab6203d747e8de48f7ff9f8c0e87 --label arch=arm64 --label version=0.0.0 . [2023-03-14T19:10:10.341Z] Sending build context to Docker daemon 678.9kB [2023-03-14T19:10:10.341Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T19:10:10.341Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-14T19:10:10.341Z] ---> 2c589d7cb3b3 [2023-03-14T19:10:10.341Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T19:10:10.608Z] ---> Running in 142ddbe0e482 [2023-03-14T19:10:10.876Z] Removing intermediate container 142ddbe0e482 [2023-03-14T19:10:10.876Z] ---> c6d634985617 [2023-03-14T19:10:10.876Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T19:10:10.876Z] ---> Running in 130a9366b533 [2023-03-14T19:10:11.145Z] Removing intermediate container 130a9366b533 [2023-03-14T19:10:11.145Z] ---> 13c00a937e18 [2023-03-14T19:10:11.145Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-14T19:10:11.415Z] ---> Running in 7ed59b165650 [2023-03-14T19:10:11.686Z] Removing intermediate container 7ed59b165650 [2023-03-14T19:10:11.686Z] ---> 78ed867ea890 [2023-03-14T19:10:11.686Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T19:10:11.686Z] ---> Running in 72b0bec2ac8e [2023-03-14T19:10:12.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T19:10:13.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T19:10:14.647Z] OK: 263 MiB in 53 packages [2023-03-14T19:10:15.612Z] Removing intermediate container 72b0bec2ac8e [2023-03-14T19:10:15.612Z] ---> b3b9d0a8daa5 [2023-03-14T19:10:15.612Z] Step 7/29 : WORKDIR /app [2023-03-14T19:10:15.612Z] ---> Running in 5704f2c4a530 [2023-03-14T19:10:15.880Z] Removing intermediate container 5704f2c4a530 [2023-03-14T19:10:15.880Z] ---> 70019a7ee613 [2023-03-14T19:10:15.880Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-14T19:10:16.475Z] ---> def43b134ccc [2023-03-14T19:10:16.475Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T19:10:16.475Z] ---> Running in ba998660e56c [2023-03-14T19:10:19.060Z] Removing intermediate container ba998660e56c [2023-03-14T19:10:19.060Z] ---> 4b3138ff7521 [2023-03-14T19:10:19.060Z] Step 10/29 : COPY . . [2023-03-14T19:10:19.643Z] ---> b07df078ece1 [2023-03-14T19:10:19.643Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T19:10:19.643Z] ---> Running in 7b8719c3c373 [2023-03-14T19:10:19.912Z] Removing intermediate container 7b8719c3c373 [2023-03-14T19:10:19.912Z] ---> 76ba9d35ea35 [2023-03-14T19:10:19.912Z] Step 12/29 : RUN $MAKE [2023-03-14T19:10:19.912Z] ---> Running in 5ced008a7d6a [2023-03-14T19:10:20.877Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory [2023-03-14T19:12:27.566Z] Removing intermediate container 5ced008a7d6a [2023-03-14T19:12:27.566Z] ---> a73ea8a8f55b [2023-03-14T19:12:27.566Z] Step 13/29 : FROM alpine:3.17 [2023-03-14T19:12:27.566Z] 3.17: Pulling from library/alpine [2023-03-14T19:12:27.566Z] af6eaf76a39c: Already exists [2023-03-14T19:12:27.566Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T19:12:27.566Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T19:12:27.566Z] ---> d74e625d9115 [2023-03-14T19:12:27.566Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T19:12:27.566Z] ---> Running in c6b5f8c6720f [2023-03-14T19:12:27.566Z] Removing intermediate container c6b5f8c6720f [2023-03-14T19:12:27.566Z] ---> 0135ca57e1dc [2023-03-14T19:12:27.566Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-14T19:12:27.566Z] ---> Running in e238815940b9 [2023-03-14T19:12:27.566Z] Removing intermediate container e238815940b9 [2023-03-14T19:12:27.566Z] ---> 03dcfde4ff92 [2023-03-14T19:12:27.566Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-14T19:12:27.566Z] ---> Running in 049f87b4a338 [2023-03-14T19:12:27.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T19:12:27.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T19:12:27.566Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-14T19:12:27.566Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-14T19:12:27.566Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T19:12:27.566Z] Executing ca-certificates-20220614-r4.trigger [2023-03-14T19:12:27.566Z] OK: 8 MiB in 17 packages [2023-03-14T19:12:28.978Z] Removing intermediate container 049f87b4a338 [2023-03-14T19:12:28.978Z] ---> 35e7620039f7 [2023-03-14T19:12:28.978Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-14T19:12:29.246Z] ---> a4e9de902f00 [2023-03-14T19:12:29.246Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-14T19:12:29.837Z] ---> 9adf0a148ccd [2023-03-14T19:12:29.837Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-14T19:12:30.104Z] ---> 4cddc9e43adb [2023-03-14T19:12:30.104Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-14T19:12:30.686Z] ---> 4c4fb01111f2 [2023-03-14T19:12:30.686Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-14T19:12:32.105Z] ---> 28e28d2c078f [2023-03-14T19:12:32.105Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-14T19:12:32.105Z] ---> Running in afe02c83258b [2023-03-14T19:12:34.052Z] Removing intermediate container afe02c83258b [2023-03-14T19:12:34.052Z] ---> e757f841077a [2023-03-14T19:12:34.052Z] Step 23/29 : VOLUME /cache [2023-03-14T19:12:34.052Z] ---> Running in 0cfbacdc2a47 [2023-03-14T19:12:34.052Z] Removing intermediate container 0cfbacdc2a47 [2023-03-14T19:12:34.052Z] ---> edbcd966ccec [2023-03-14T19:12:34.052Z] Step 24/29 : EXPOSE 59711 [2023-03-14T19:12:34.052Z] ---> Running in ebb08ff6c296 [2023-03-14T19:12:34.636Z] Removing intermediate container ebb08ff6c296 [2023-03-14T19:12:34.637Z] ---> 76cb849b1231 [2023-03-14T19:12:34.637Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-14T19:12:34.637Z] ---> Running in 68b2bf3aa8dc [2023-03-14T19:12:34.903Z] Removing intermediate container 68b2bf3aa8dc [2023-03-14T19:12:34.903Z] ---> ff51a1d78511 [2023-03-14T19:12:34.903Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-14T19:12:34.903Z] ---> Running in 943499aae671 [2023-03-14T19:12:35.171Z] Removing intermediate container 943499aae671 [2023-03-14T19:12:35.171Z] ---> c1dfa33dfce3 [2023-03-14T19:12:35.171Z] Step 27/29 : LABEL arch=arm64 [2023-03-14T19:12:35.171Z] ---> Running in 0c4a3432674f [2023-03-14T19:12:35.438Z] Removing intermediate container 0c4a3432674f [2023-03-14T19:12:35.439Z] ---> 310431c7f07a [2023-03-14T19:12:35.439Z] Step 28/29 : LABEL git_sha=b0caae039710ab6203d747e8de48f7ff9f8c0e87 [2023-03-14T19:12:35.706Z] ---> Running in cab36a728ed6 [2023-03-14T19:12:35.984Z] Removing intermediate container cab36a728ed6 [2023-03-14T19:12:35.984Z] ---> 5b00c110b96d [2023-03-14T19:12:35.984Z] Step 29/29 : LABEL version=0.0.0 [2023-03-14T19:12:35.984Z] ---> Running in ec4ed2f1b2f8 [2023-03-14T19:12:36.252Z] Removing intermediate container ec4ed2f1b2f8 [2023-03-14T19:12:36.252Z] ---> 9caea9962dc0 [2023-03-14T19:12:36.252Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T19:12:36.252Z] Successfully built 9caea9962dc0 [2023-03-14T19:12:36.252Z] 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 [2023-03-14T19:12:36.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T19:12:36.681Z] [2023-03-14T19:12:36.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T19:12:37.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T19:12:37.002Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T19:12:37.002Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T19:12:37.002Z] 04944245beec: Pulling fs layer [2023-03-14T19:12:37.002Z] 699f458cf7ca: Pulling fs layer [2023-03-14T19:12:37.002Z] 765212b225bb: Pulling fs layer [2023-03-14T19:12:37.002Z] f23df028b6ca: Pulling fs layer [2023-03-14T19:12:37.002Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T19:12:37.002Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T19:12:37.002Z] 765212b225bb: Waiting [2023-03-14T19:12:37.002Z] f23df028b6ca: Waiting [2023-03-14T19:12:37.002Z] d65c8cfc05b1: Waiting [2023-03-14T19:12:37.002Z] 2437ff75d9bd: Waiting [2023-03-14T19:12:37.269Z] 04944245beec: Verifying Checksum [2023-03-14T19:12:37.269Z] 04944245beec: Download complete [2023-03-14T19:12:37.269Z] 765212b225bb: Verifying Checksum [2023-03-14T19:12:37.269Z] 765212b225bb: Download complete [2023-03-14T19:12:37.269Z] f23df028b6ca: Verifying Checksum [2023-03-14T19:12:37.269Z] f23df028b6ca: Download complete [2023-03-14T19:12:37.269Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T19:12:37.269Z] d65c8cfc05b1: Download complete [2023-03-14T19:12:37.269Z] 699f458cf7ca: Verifying Checksum [2023-03-14T19:12:37.269Z] 699f458cf7ca: Download complete [2023-03-14T19:12:37.863Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T19:12:37.863Z] 8998bd30e6a1: Download complete [2023-03-14T19:12:39.807Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T19:12:39.807Z] 2437ff75d9bd: Download complete [2023-03-14T19:12:41.763Z] 8998bd30e6a1: Pull complete [2023-03-14T19:12:42.346Z] 04944245beec: Pull complete [2023-03-14T19:12:43.755Z] 699f458cf7ca: Pull complete [2023-03-14T19:12:43.755Z] 765212b225bb: Pull complete [2023-03-14T19:12:44.715Z] f23df028b6ca: Pull complete [2023-03-14T19:12:44.715Z] d65c8cfc05b1: Pull complete [2023-03-14T19:12:59.702Z] 2437ff75d9bd: Pull complete [2023-03-14T19:12:59.702Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T19:12:59.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T19:12:59.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T19:12:59.886Z] prd-ubuntu20.04-docker-arm64-4c-16g-232 does not seem to be running inside a container [2023-03-14T19:12:59.947Z] $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T19:13:02.486Z] $ docker top 43eac2827c82592c77d33f7a7f637df2c675eb9221c44eb70c5846161f10088a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:02.993Z] ---> job-cost.sh [2023-03-14T19:13:03.263Z] lf-activate-venv: SKIPPING [2023-03-14T19:13:03.263Z] INFO: No Stack... [2023-03-14T19:13:03.844Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T19:13:04.427Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T19:13:04.742Z] + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv [2023-03-14T19:13:04.742Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T19:13:05.074Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] [2023-03-14T19:13:05.080Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] did not exist. Created. [2023-03-14T19:13:05.080Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T19:13:05.414Z] /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-8f88b496/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T19:13:06.021Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T19:13:06.047Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T19:13:06.095Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T19:13:06.100Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T19:13:06.112Z] $ docker stop --time=1 43eac2827c82592c77d33f7a7f637df2c675eb9221c44eb70c5846161f10088a [2023-03-14T19:13:08.107Z] $ docker rm -f --volumes 43eac2827c82592c77d33f7a7f637df2c675eb9221c44eb70c5846161f10088a [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 [2023-03-14T19:13:08.504Z] provisioning config files... [2023-03-14T19:13:08.511Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config6746654450822814599tmp [Pipeline] { [Pipeline] sh [2023-03-14T19:13:08.807Z] + set +x [2023-03-14T19:13:08.807Z] + curl -s https://codecov.io/bash [2023-03-14T19:13:08.807Z] + bash -s -- [2023-03-14T19:13:08.807Z] [2023-03-14T19:13:08.807Z] _____ _ [2023-03-14T19:13:08.807Z] / ____| | | [2023-03-14T19:13:08.807Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T19:13:08.807Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T19:13:08.807Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T19:13:08.807Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T19:13:08.807Z] Bash-1.0.6 [2023-03-14T19:13:08.807Z] [2023-03-14T19:13:08.807Z] [2023-03-14T19:13:08.807Z] ==> git version 2.25.1 found [2023-03-14T19:13:08.807Z] ==> 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 [2023-03-14T19:13:08.807Z] Release-Date: 2020-01-08 [2023-03-14T19:13:08.807Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-14T19:13:08.807Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T19:13:08.807Z] ==> Jenkins CI detected. [2023-03-14T19:13:08.807Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-158 [2023-03-14T19:13:08.807Z] project root: . [2023-03-14T19:13:08.807Z] --> token set from env [2023-03-14T19:13:08.807Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T19:13:08.807Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T19:13:08.807Z] ==> Python coveragepy not found [2023-03-14T19:13:08.807Z] ==> Searching for coverage reports in: [2023-03-14T19:13:08.807Z] + . [2023-03-14T19:13:08.807Z] -> Found 1 reports [2023-03-14T19:13:08.807Z] ==> Detecting git/mercurial file structure [2023-03-14T19:13:08.807Z] ==> Reading reports [2023-03-14T19:13:08.807Z] + ./coverage.out bytes=41317 [2023-03-14T19:13:09.066Z] ==> Appending adjustments [2023-03-14T19:13:09.066Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T19:13:09.066Z] + Found adjustments [2023-03-14T19:13:09.066Z] ==> Gzipping contents [2023-03-14T19:13:09.066Z] 12K /tmp/codecov.sjFXrG.gz [2023-03-14T19:13:09.066Z] ==> Uploading reports [2023-03-14T19:13:09.066Z] url: https://codecov.io [2023-03-14T19:13:09.066Z] query: branch=PR-158&commit=b0caae039710ab6203d747e8de48f7ff9f8c0e87&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-158%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=158&job=&cmd_args= [2023-03-14T19:13:09.066Z] -> Pinging Codecov [2023-03-14T19:13:09.066Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-158&commit=b0caae039710ab6203d747e8de48f7ff9f8c0e87&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-158%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=158&job=&cmd_args= [2023-03-14T19:13:09.325Z] -> Uploading to [2023-03-14T19:13:09.325Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/581DD39554BDF9B6E22D074273EAD858/b0caae039710ab6203d747e8de48f7ff9f8c0e87/23e8b209-c7e0-4265-8a02-41956a2ece8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T191309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3ff5f8a8700006801f3b72e8d5abd9ef26e41b2811521f6455445bc3e846b62 [2023-03-14T19:13:09.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T19:13:09.325Z] Dload Upload Total Spent Left Speed [2023-03-14T19:13:09.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11806 0 0 100 11806 0 44550 --:--:-- --:--:-- --:--:-- 44383 [2023-03-14T19:13:09.583Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/b0caae039710ab6203d747e8de48f7ff9f8c0e87 [Pipeline] } [2023-03-14T19:13:09.588Z] 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 [2023-03-14T19:13:10.277Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives ] [2023-03-14T19:13:10.277Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives [2023-03-14T19:13:10.277Z] total 16 [2023-03-14T19:13:10.277Z] drwxr-xr-x 3 root root 4096 Mar 14 19:00 . [2023-03-14T19:13:10.277Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 19:00 .. [2023-03-14T19:13:10.277Z] drwxr-xr-x 2 root root 4096 Mar 14 19:00 cost [2023-03-14T19:13:10.277Z] -rw-r--r-- 1 root root 95 Mar 14 19:00 cost.csv [2023-03-14T19:13:10.277Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives [2023-03-14T19:13:10.277Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives [2023-03-14T19:13:10.277Z] total 16 [2023-03-14T19:13:10.277Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 19:00 . [2023-03-14T19:13:10.277Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 19:00 .. [2023-03-14T19:13:10.277Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 19:00 cost [2023-03-14T19:13:10.277Z] -rw-r--r-- 1 jenkins jenkins 95 Mar 14 19:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:10.564Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:11.412Z] ---> package-listing.sh [2023-03-14T19:13:11.412Z] ++ facter osfamily [2023-03-14T19:13:11.412Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T19:13:11.670Z] + OS_FAMILY=debian [2023-03-14T19:13:11.670Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-158 [2023-03-14T19:13:11.670Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T19:13:11.670Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T19:13:11.670Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T19:13:11.670Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T19:13:11.670Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-158 ']' [2023-03-14T19:13:11.670Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T19:13:11.670Z] + case "${OS_FAMILY}" in [2023-03-14T19:13:11.670Z] + dpkg -l [2023-03-14T19:13:11.670Z] + grep '^ii' [2023-03-14T19:13:11.670Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T19:13:11.670Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T19:13:11.670Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T19:13:11.670Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-158 ']' [2023-03-14T19:13:11.670Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives/ [2023-03-14T19:13:11.670Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives/ [Pipeline] echo [2023-03-14T19:13:11.678Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T19:13:11.958Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T19:13:12.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T19:13:12.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T19:13:12.581Z] prd-ubuntu20.04-docker-8c-8g-230 does not seem to be running inside a container [2023-03-14T19:13:12.612Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-158 -v /w/workspace/y_app-rfid-llrp-inventory_PR-158:/w/workspace/y_app-rfid-llrp-inventory_PR-158:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-158@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 [2023-03-14T19:13:12.803Z] $ docker top 74b97bc43e2641284f777e7b78f3162378dc13aedb8b043996ad750c6727afaa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T19:13:13.153Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T19:13:13.433Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T19:13:13.715Z] + ls /var/log/sa-host [2023-03-14T19:13:13.715Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T19:13:13.779Z] provisioning config files... [2023-03-14T19:13:13.787Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config2514174764738627566tmp [Pipeline] { [Pipeline] echo [2023-03-14T19:13:13.799Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:14.083Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T19:13:14.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:14.424Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T19:13:14.433Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:14.713Z] ---> sudo-logs.sh [2023-03-14T19:13:14.713Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T19:13:14.741Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:15.026Z] ---> job-cost.sh [2023-03-14T19:13:15.027Z] lf-activate-venv: SKIPPING [2023-03-14T19:13:15.027Z] DEBUG: total: 0.2199999988079071 [2023-03-14T19:13:15.027Z] INFO: Retrieving Stack Cost... [2023-03-14T19:13:15.593Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T19:13:15.852Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T19:13:15.863Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T19:13:16.146Z] ---> logs-deploy.sh [2023-03-14T19:13:16.146Z] lf-activate-venv: SKIPPING [2023-03-14T19:13:16.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-158/2 [2023-03-14T19:13:16.146Z] INFO: archiving workspace using pattern(s): [2023-03-14T19:13:17.081Z] Archives upload complete. [2023-03-14T19:13:17.081Z] INFO: archiving logs to Nexus