Pull request #158 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from 08abe477ef70eaef2f99d0bda60edc878f4954bd+968f145a810f9e00874ff3fecb3e80d4017ec20e (0bf9bca955a5cdbad9b4d937b1d5a722eb3c2b5d) 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-ssh1722480943196559877.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-ssh9548901038225307545.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1443968960974565718.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh50207058328501904.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6709099109244993911.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-158/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-158/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10197069899625482975.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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-221 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 08abe477ef70eaef2f99d0bda60edc878f4954bd Merge succeeded, producing 08abe477ef70eaef2f99d0bda60edc878f4954bd Checking out Revision 08abe477ef70eaef2f99d0bda60edc878f4954bd (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f 08abe477ef70eaef2f99d0bda60edc878f4954bd # 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 08abe477ef70eaef2f99d0bda60edc878f4954bd # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T18:42:19.947Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T18:42:20.125Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T18:42:20.224Z] ========================================================= [2023-03-14T18:42:20.224Z] EdgeX Global Pipelines Version Info [2023-03-14T18:42:20.224Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:42:20.941Z] ------------------- [2023-03-14T18:42:20.941Z] stable info: [2023-03-14T18:42:20.941Z] ------------------- [2023-03-14T18:42:20.941Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T18:42:20.941Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T18:42:20.941Z] Message: update stable to v1.0.245 [2023-03-14T18:42:21.513Z] ------------------- [2023-03-14T18:42:21.513Z] experimental info: [2023-03-14T18:42:21.513Z] ------------------- [2023-03-14T18:42:21.513Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T18:42:21.513Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T18:42:21.513Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T18:42:21.809Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-03-14T18:42:21.852Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-03-14T18:42:21.894Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T18:42:21.932Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T18:42:21.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T18:42:22.011Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T18:42:22.050Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T18:42:22.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T18:42:22.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T18:42:22.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T18:42:22.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T18:42:22.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-03-14T18:42:22.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T18:42:22.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T18:42:22.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T18:42:22.416Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T18:42:22.455Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T18:42:22.496Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T18:42:22.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T18:42:22.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T18:42:22.623Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T18:42:22.660Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T18:42:22.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T18:42:22.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T18:42:22.791Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T18:42:22.832Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T18:42:22.872Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T18:42:22.914Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo [2023-03-14T18:42:22.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo [2023-03-14T18:42:22.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo [2023-03-14T18:42:23.041Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08abe477ef70eaef2f99d0bda60edc878f4954bd [Pipeline] echo [2023-03-14T18:42:23.082Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08abe47 [Pipeline] echo [2023-03-14T18:42:23.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T18:42:23.244Z] provisioning config files... [2023-03-14T18:42:23.257Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config6518145254169547850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:42:23.603Z] ---> docker-login.sh [2023-03-14T18:42:23.603Z] nexus3.edgexfoundry.org:10001 [2023-03-14T18:42:23.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:23.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:23.862Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:23.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:23.862Z] [2023-03-14T18:42:23.862Z] Login Succeeded [2023-03-14T18:42:24.124Z] nexus3.edgexfoundry.org:10002 [2023-03-14T18:42:24.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:24.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:24.124Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:24.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:24.124Z] [2023-03-14T18:42:24.124Z] Login Succeeded [2023-03-14T18:42:24.124Z] nexus3.edgexfoundry.org:10003 [2023-03-14T18:42:24.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:24.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:24.124Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:24.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:24.124Z] [2023-03-14T18:42:24.124Z] Login Succeeded [2023-03-14T18:42:24.124Z] nexus3.edgexfoundry.org:10004 [2023-03-14T18:42:24.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:24.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:24.385Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:24.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:24.385Z] [2023-03-14T18:42:24.385Z] Login Succeeded [2023-03-14T18:42:24.385Z] docker.io [2023-03-14T18:42:24.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:24.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:24.646Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:24.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:24.646Z] [2023-03-14T18:42:24.646Z] Login Succeeded [2023-03-14T18:42:24.646Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T18:42:24.675Z] 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:42:25.324Z] + git rev-list -1 --merges 08abe477ef70eaef2f99d0bda60edc878f4954bd~1..08abe477ef70eaef2f99d0bda60edc878f4954bd [Pipeline] echo [2023-03-14T18:42:25.382Z] -----------> git rev-list -1 --merges 08abe477ef70eaef2f99d0bda60edc878f4954bd~1..08abe477ef70eaef2f99d0bda60edc878f4954bd 08abe477ef70eaef2f99d0bda60edc878f4954bd [false] [Pipeline] sh [2023-03-14T18:42:25.689Z] + git log --format=format:%s -1 08abe477ef70eaef2f99d0bda60edc878f4954bd [Pipeline] echo [2023-03-14T18:42:25.723Z] ========================================================= [2023-03-14T18:42:25.723Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T18:42:25.723Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T18:42:26.145Z] + git log --format=format:%s -1 08abe477ef70eaef2f99d0bda60edc878f4954bd [Pipeline] echo [2023-03-14T18:42:26.180Z] [semverPrep] GIT_COMMIT: 08abe477ef70eaef2f99d0bda60edc878f4954bd, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T18:42:26.207Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T18:42:26.575Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T18:42:26.575Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T18:42:26.575Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T18:42:26.575Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T18:42:26.575Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T18:42:26.575Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T18:42:26.575Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:42:27.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T18:42:27.123Z] [2023-03-14T18:42:27.123Z] 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:42:27.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T18:42:27.515Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T18:42:27.515Z] b85a868b505f: Pulling fs layer [2023-03-14T18:42:27.515Z] e2be974225ed: Pulling fs layer [2023-03-14T18:42:27.515Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T18:42:27.515Z] 988bab9f4d93: Pulling fs layer [2023-03-14T18:42:27.515Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T18:42:27.515Z] eaf3925da568: Pulling fs layer [2023-03-14T18:42:27.515Z] bab4dde63d76: Pulling fs layer [2023-03-14T18:42:27.515Z] bde34c3a00c8: Pulling fs layer [2023-03-14T18:42:27.515Z] b352a97aabf1: Pulling fs layer [2023-03-14T18:42:27.515Z] 4872d77fe225: Pulling fs layer [2023-03-14T18:42:27.515Z] 5851b861e8e6: Pulling fs layer [2023-03-14T18:42:27.515Z] bab4dde63d76: Waiting [2023-03-14T18:42:27.515Z] bde34c3a00c8: Waiting [2023-03-14T18:42:27.515Z] b352a97aabf1: Waiting [2023-03-14T18:42:27.515Z] 988bab9f4d93: Waiting [2023-03-14T18:42:27.515Z] 1469e6f7b9e6: Waiting [2023-03-14T18:42:27.515Z] eaf3925da568: Waiting [2023-03-14T18:42:27.515Z] 4872d77fe225: Waiting [2023-03-14T18:42:27.515Z] 5851b861e8e6: Waiting [2023-03-14T18:42:27.515Z] e2be974225ed: Verifying Checksum [2023-03-14T18:42:27.515Z] e2be974225ed: Download complete [2023-03-14T18:42:27.515Z] 988bab9f4d93: Verifying Checksum [2023-03-14T18:42:27.515Z] 988bab9f4d93: Download complete [2023-03-14T18:42:27.777Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T18:42:27.777Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T18:42:27.777Z] 339a4e72a1f5: Download complete [2023-03-14T18:42:27.777Z] eaf3925da568: Download complete [2023-03-14T18:42:27.777Z] bde34c3a00c8: Download complete [2023-03-14T18:42:27.777Z] b352a97aabf1: Verifying Checksum [2023-03-14T18:42:27.777Z] b352a97aabf1: Download complete [2023-03-14T18:42:27.777Z] 4872d77fe225: Verifying Checksum [2023-03-14T18:42:27.777Z] 4872d77fe225: Download complete [2023-03-14T18:42:27.777Z] 5851b861e8e6: Download complete [2023-03-14T18:42:27.777Z] b85a868b505f: Verifying Checksum [2023-03-14T18:42:27.777Z] b85a868b505f: Download complete [2023-03-14T18:42:28.037Z] bab4dde63d76: Verifying Checksum [2023-03-14T18:42:28.037Z] bab4dde63d76: Download complete [2023-03-14T18:42:28.975Z] b85a868b505f: Pull complete [2023-03-14T18:42:29.234Z] e2be974225ed: Pull complete [2023-03-14T18:42:29.494Z] 339a4e72a1f5: Pull complete [2023-03-14T18:42:29.754Z] 988bab9f4d93: Pull complete [2023-03-14T18:42:30.013Z] 1469e6f7b9e6: Pull complete [2023-03-14T18:42:30.013Z] eaf3925da568: Pull complete [2023-03-14T18:42:31.916Z] bab4dde63d76: Pull complete [2023-03-14T18:42:31.916Z] bde34c3a00c8: Pull complete [2023-03-14T18:42:31.916Z] b352a97aabf1: Pull complete [2023-03-14T18:42:31.916Z] 4872d77fe225: Pull complete [2023-03-14T18:42:31.916Z] 5851b861e8e6: Pull complete [2023-03-14T18:42:31.916Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T18:42:31.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T18:42:31.916Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:42:32.179Z] prd-ubuntu20.04-docker-8c-8g-221 does not seem to be running inside a container [2023-03-14T18:42:32.212Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T18:42:34.843Z] $ docker top ddcfd5f1623aeec2a43058bd0caf65b71751e0ea29452affc7585f7324173bea -eo pid,comm [2023-03-14T18:42:34.896Z] 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:42:34.896Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T18:42:35.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T18:42:35.027Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T18:42:35.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T18:42:35.141Z] $ docker exec ddcfd5f1623aeec2a43058bd0caf65b71751e0ea29452affc7585f7324173bea ssh-agent [2023-03-14T18:42:35.249Z] SSH_AUTH_SOCK=/tmp/ssh-QU3EfMhuHM8l/agent.31 [2023-03-14T18:42:35.249Z] SSH_AGENT_PID=37 [2023-03-14T18:42:35.255Z] Running ssh-add (command line suppressed) [2023-03-14T18:42:35.367Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_14993470458026525375.key (/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_14993470458026525375.key) [2023-03-14T18:42:35.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T18:42:35.700Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T18:42:35.732Z] $ docker exec --env ******** --env ******** ddcfd5f1623aeec2a43058bd0caf65b71751e0ea29452affc7585f7324173bea ssh-agent -k [2023-03-14T18:42:35.832Z] unset SSH_AUTH_SOCK; [2023-03-14T18:42:35.832Z] unset SSH_AGENT_PID; [2023-03-14T18:42:35.832Z] echo Agent pid 37 killed; [2023-03-14T18:42:35.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T18:42:35.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T18:42:35.923Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T18:42:36.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T18:42:36.039Z] $ docker exec ddcfd5f1623aeec2a43058bd0caf65b71751e0ea29452affc7585f7324173bea ssh-agent [2023-03-14T18:42:36.141Z] SSH_AUTH_SOCK=/tmp/ssh-hckA0EONAHjF/agent.69 [2023-03-14T18:42:36.141Z] SSH_AGENT_PID=75 [2023-03-14T18:42:36.146Z] Running ssh-add (command line suppressed) [2023-03-14T18:42:36.261Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_985727494482928582.key (/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/private_key_985727494482928582.key) [2023-03-14T18:42:36.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T18:42:36.595Z] + git semver init [2023-03-14T18:42:36.854Z] 2023-03-14 18:42:36,771 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T18:42:36.854Z] 2023-03-14 18:42:36,772 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver [2023-03-14T18:42:36.854Z] 2023-03-14 18:42:36,772 [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:42:36.854Z] 2023-03-14 18:42:36,772 [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:42:38.231Z] 2023-03-14 18:42:37,892 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158/.git/info/exclude [2023-03-14T18:42:38.231Z] 2023-03-14 18:42:37,892 [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:42:38.231Z] 2023-03-14 18:42:37,892 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver/PR-158 [2023-03-14T18:42:38.231Z] 2023-03-14 18:42:37,896 [execute] INFO git cat-file --batch-check [2023-03-14T18:42:38.231Z] 2023-03-14 18:42:37,897 [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:42:38.231Z] 2023-03-14 18:42:37,903 [execute] INFO git cat-file --batch [2023-03-14T18:42:38.231Z] 2023-03-14 18:42:37,903 [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:42:38.231Z] 2023-03-14 18:42:37,908 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-158/.semver/PR-158 [2023-03-14T18:42:38.231Z] 0.0.0 [Pipeline] } [2023-03-14T18:42:38.259Z] $ docker exec --env ******** --env ******** ddcfd5f1623aeec2a43058bd0caf65b71751e0ea29452affc7585f7324173bea ssh-agent -k [2023-03-14T18:42:38.365Z] unset SSH_AUTH_SOCK; [2023-03-14T18:42:38.366Z] unset SSH_AGENT_PID; [2023-03-14T18:42:38.366Z] echo Agent pid 75 killed; [2023-03-14T18:42:38.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T18:42:38.797Z] + git semver [Pipeline] } [2023-03-14T18:42:39.087Z] $ docker stop --time=1 ddcfd5f1623aeec2a43058bd0caf65b71751e0ea29452affc7585f7324173bea [2023-03-14T18:42:40.396Z] $ docker rm -f --volumes ddcfd5f1623aeec2a43058bd0caf65b71751e0ea29452affc7585f7324173bea [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T18:42:40.804Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T18:42:41.065Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T18:42:41.082Z] [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:42:41.657Z] provisioning config files... [2023-03-14T18:42:41.667Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config7956484998079801917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:42:42.012Z] ---> docker-login.sh [2023-03-14T18:42:42.012Z] nexus3.edgexfoundry.org:10001 [2023-03-14T18:42:42.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:42.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:42.012Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:42.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:42.012Z] [2023-03-14T18:42:42.012Z] Login Succeeded [2023-03-14T18:42:42.012Z] nexus3.edgexfoundry.org:10002 [2023-03-14T18:42:42.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:42.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:42.012Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:42.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:42.012Z] [2023-03-14T18:42:42.012Z] Login Succeeded [2023-03-14T18:42:42.012Z] nexus3.edgexfoundry.org:10003 [2023-03-14T18:42:42.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:42.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:42.271Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:42.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:42.271Z] [2023-03-14T18:42:42.271Z] Login Succeeded [2023-03-14T18:42:42.271Z] nexus3.edgexfoundry.org:10004 [2023-03-14T18:42:42.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:42.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:42.271Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:42.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:42.271Z] [2023-03-14T18:42:42.271Z] Login Succeeded [2023-03-14T18:42:42.271Z] docker.io [2023-03-14T18:42:42.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:42:42.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:42:42.533Z] Configure a credential helper to remove this warning. See [2023-03-14T18:42:42.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:42:42.533Z] [2023-03-14T18:42:42.533Z] Login Succeeded [2023-03-14T18:42:42.533Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T18:42:42.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T18:42:42.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T18:42:42.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T18:42:42.818Z] ========================================================= [2023-03-14T18:42:42.818Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T18:42:42.818Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:42:43.271Z] + 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:42:43.271Z] Sending build context to Docker daemon 12.57MB [2023-03-14T18:42:43.271Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T18:42:43.271Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T18:42:43.271Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T18:42:43.271Z] 63b65145d645: Pulling fs layer [2023-03-14T18:42:43.271Z] a2d21d5440eb: Pulling fs layer [2023-03-14T18:42:43.271Z] 935e6c44a52c: Pulling fs layer [2023-03-14T18:42:43.271Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T18:42:43.271Z] 30dea6a524f1: Pulling fs layer [2023-03-14T18:42:43.271Z] a2aff8979fd8: Pulling fs layer [2023-03-14T18:42:43.271Z] 6808be2612f2: Pulling fs layer [2023-03-14T18:42:43.271Z] f25807f1079a: Pulling fs layer [2023-03-14T18:42:43.271Z] 94cc34f8dd06: Waiting [2023-03-14T18:42:43.271Z] 6808be2612f2: Waiting [2023-03-14T18:42:43.271Z] f25807f1079a: Waiting [2023-03-14T18:42:43.271Z] 30dea6a524f1: Waiting [2023-03-14T18:42:43.271Z] a2aff8979fd8: Waiting [2023-03-14T18:42:43.271Z] a2d21d5440eb: Verifying Checksum [2023-03-14T18:42:43.271Z] a2d21d5440eb: Download complete [2023-03-14T18:42:43.534Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T18:42:43.534Z] 94cc34f8dd06: Download complete [2023-03-14T18:42:43.534Z] 30dea6a524f1: Verifying Checksum [2023-03-14T18:42:43.534Z] 63b65145d645: Verifying Checksum [2023-03-14T18:42:43.534Z] 63b65145d645: Download complete [2023-03-14T18:42:43.534Z] a2aff8979fd8: Verifying Checksum [2023-03-14T18:42:43.534Z] a2aff8979fd8: Download complete [2023-03-14T18:42:43.534Z] 63b65145d645: Pull complete [2023-03-14T18:42:43.805Z] a2d21d5440eb: Pull complete [2023-03-14T18:42:44.067Z] f25807f1079a: Verifying Checksum [2023-03-14T18:42:44.067Z] f25807f1079a: Download complete [2023-03-14T18:42:44.324Z] 935e6c44a52c: Verifying Checksum [2023-03-14T18:42:44.324Z] 935e6c44a52c: Download complete [2023-03-14T18:42:44.324Z] 6808be2612f2: Verifying Checksum [2023-03-14T18:42:44.324Z] 6808be2612f2: Download complete [2023-03-14T18:42:47.614Z] 935e6c44a52c: Pull complete [2023-03-14T18:42:47.614Z] 94cc34f8dd06: Pull complete [2023-03-14T18:42:47.614Z] 30dea6a524f1: Pull complete [2023-03-14T18:42:47.614Z] a2aff8979fd8: Pull complete [2023-03-14T18:42:50.148Z] 6808be2612f2: Pull complete [2023-03-14T18:42:50.407Z] f25807f1079a: Pull complete [2023-03-14T18:42:50.407Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T18:42:50.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T18:42:50.407Z] ---> 3b553350e43f [2023-03-14T18:42:50.407Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T18:42:55.693Z] ---> Running in b89a2d628fec [2023-03-14T18:42:55.693Z] Removing intermediate container b89a2d628fec [2023-03-14T18:42:55.693Z] ---> 99ebea458a76 [2023-03-14T18:42:55.693Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T18:42:55.693Z] ---> Running in c4b07b0eae26 [2023-03-14T18:42:55.693Z] Removing intermediate container c4b07b0eae26 [2023-03-14T18:42:55.693Z] ---> 56758f158737 [2023-03-14T18:42:55.693Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T18:42:55.693Z] ---> Running in 9241c7470d10 [2023-03-14T18:42:55.693Z] Removing intermediate container 9241c7470d10 [2023-03-14T18:42:55.693Z] ---> 29cb7bb11f25 [2023-03-14T18:42:55.693Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T18:42:55.693Z] ---> Running in 69bde83938c4 [2023-03-14T18:42:55.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T18:42:55.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T18:42:56.210Z] OK: 265 MiB in 53 packages [2023-03-14T18:42:56.468Z] Removing intermediate container 69bde83938c4 [2023-03-14T18:42:56.468Z] ---> aeee9fd4e109 [2023-03-14T18:42:56.468Z] Step 7/12 : WORKDIR /app [2023-03-14T18:42:56.468Z] ---> Running in 681ea7695d95 [2023-03-14T18:42:56.484Z] Still waiting to schedule task [2023-03-14T18:42:56.485Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-14T18:42:56.727Z] Removing intermediate container 681ea7695d95 [2023-03-14T18:42:56.727Z] ---> e9eb246b3fc1 [2023-03-14T18:42:56.727Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T18:42:56.727Z] ---> 0f053830394b [2023-03-14T18:42:56.727Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T18:42:56.727Z] ---> Running in 851a0861142a [2023-03-14T18:43:28.827Z] Removing intermediate container 851a0861142a [2023-03-14T18:43:28.827Z] ---> 88322f048a55 [2023-03-14T18:43:28.827Z] Step 10/12 : COPY . . [2023-03-14T18:43:28.827Z] ---> 1b8f8d09cd9c [2023-03-14T18:43:28.827Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T18:43:28.827Z] ---> Running in 0b0633d0eed7 [2023-03-14T18:43:28.827Z] Removing intermediate container 0b0633d0eed7 [2023-03-14T18:43:28.827Z] ---> 7d8ecb7536bb [2023-03-14T18:43:28.827Z] Step 12/12 : RUN $MAKE [2023-03-14T18:43:28.827Z] ---> Running in bd85f1fff91e [2023-03-14T18:43:28.827Z] noop [2023-03-14T18:43:29.086Z] Removing intermediate container bd85f1fff91e [2023-03-14T18:43:29.086Z] ---> a220bf6c90af [2023-03-14T18:43:29.086Z] Successfully built a220bf6c90af [2023-03-14T18:43:29.086Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:43:29.524Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T18:43:29.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:43:29.674Z] prd-ubuntu20.04-docker-8c-8g-221 does not seem to be running inside a container [2023-03-14T18:43:29.701Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-14T18:43:30.064Z] $ docker top 6ca3bb608106cf93aea64371e139e2182ffc2a7bbfc55c2a8f5f835d95fd0725 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:43:30.445Z] + go version [2023-03-14T18:43:30.445Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T18:43:30.479Z] $ docker stop --time=1 6ca3bb608106cf93aea64371e139e2182ffc2a7bbfc55c2a8f5f835d95fd0725 [2023-03-14T18:43:31.769Z] $ docker rm -f --volumes 6ca3bb608106cf93aea64371e139e2182ffc2a7bbfc55c2a8f5f835d95fd0725 [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:43:32.471Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T18:43:32.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:43:32.640Z] prd-ubuntu20.04-docker-8c-8g-221 does not seem to be running inside a container [2023-03-14T18:43:32.670Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-14T18:43:33.012Z] $ docker top 923b06b7068711a721fb17e24ee35e52dfacc692fd2eb5420143251d292731f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:43:33.400Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-158 [Pipeline] fileExists [Pipeline] sh [2023-03-14T18:43:33.760Z] + make test [2023-03-14T18:43:33.760Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-14T18:43:55.688Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-14T18:43:55.688Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-14T18:43:55.688Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.132s coverage: 86.2% of statements [2023-03-14T18:43:55.947Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.708s coverage: 71.9% of statements [2023-03-14T18:44:17.877Z] go vet ./... [2023-03-14T18:44:18.811Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T18:44:18.811Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T18:44:19.069Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-14T18:44:19.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T18:44:19.142Z] $ docker stop --time=1 923b06b7068711a721fb17e24ee35e52dfacc692fd2eb5420143251d292731f9 [2023-03-14T18:44:22.163Z] $ docker rm -f --volumes 923b06b7068711a721fb17e24ee35e52dfacc692fd2eb5420143251d292731f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T18:44:22.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T18:44:22.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T18:44:23.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T18:44:23.656Z] + ls -al . [2023-03-14T18:44:23.656Z] total 228 [2023-03-14T18:44:23.656Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 18:43 . [2023-03-14T18:44:23.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:42 .. [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 14 18:42 .dockerignore [2023-03-14T18:44:23.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:42 .git [2023-03-14T18:44:23.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:42 .github [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 14 18:42 .gitignore [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 18:42 .golangci.yml [2023-03-14T18:44:23.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:42 .semver [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 14 18:42 Attribution.txt [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 14 18:42 CHANGELOG.md [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 14 18:42 Dockerfile [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:42 GOVERNANCE.md [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 14 18:42 Jenkinsfile [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 14 18:42 LICENSE [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 14 18:42 Makefile [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 14 18:42 OWNERS.md [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 14 18:42 README.md [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 18:42 VERSION [2023-03-14T18:44:23.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:42 bin [2023-03-14T18:44:23.656Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 14 18:43 coverage.out [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 14 18:42 go.mod [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 14 18:42 go.sum [2023-03-14T18:44:23.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:42 images [2023-03-14T18:44:23.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:42 internal [2023-03-14T18:44:23.656Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 14 18:42 main.go [2023-03-14T18:44:23.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:42 res [2023-03-14T18:44:23.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:42 snap [2023-03-14T18:44:23.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:42 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:44:24.048Z] + 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=08abe477ef70eaef2f99d0bda60edc878f4954bd --label arch=amd64 --label version=0.0.0 . [2023-03-14T18:44:24.048Z] Sending build context to Docker daemon 12.57MB [2023-03-14T18:44:24.048Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T18:44:24.048Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-14T18:44:24.048Z] ---> a220bf6c90af [2023-03-14T18:44:24.048Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T18:44:24.306Z] ---> Running in 15416c7381c0 [2023-03-14T18:44:24.306Z] Removing intermediate container 15416c7381c0 [2023-03-14T18:44:24.306Z] ---> 3604d6eae68f [2023-03-14T18:44:24.306Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T18:44:24.306Z] ---> Running in b26fa5a77844 [2023-03-14T18:44:24.306Z] Removing intermediate container b26fa5a77844 [2023-03-14T18:44:24.306Z] ---> e17f7cbd8bf2 [2023-03-14T18:44:24.306Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-14T18:44:24.306Z] ---> Running in 7c8503d3b3c8 [2023-03-14T18:44:24.564Z] Removing intermediate container 7c8503d3b3c8 [2023-03-14T18:44:24.564Z] ---> 6aeff7e64b8d [2023-03-14T18:44:24.564Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T18:44:24.564Z] ---> Running in 7da48d719c48 [2023-03-14T18:44:24.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T18:44:24.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T18:44:25.393Z] OK: 265 MiB in 53 packages [2023-03-14T18:44:25.393Z] Removing intermediate container 7da48d719c48 [2023-03-14T18:44:25.393Z] ---> 3892d8ea6def [2023-03-14T18:44:25.393Z] Step 7/29 : WORKDIR /app [2023-03-14T18:44:25.393Z] ---> Running in 0941c027a216 [2023-03-14T18:44:25.651Z] Removing intermediate container 0941c027a216 [2023-03-14T18:44:25.651Z] ---> 98208cb52a06 [2023-03-14T18:44:25.651Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-14T18:44:25.651Z] ---> af1b864d0828 [2023-03-14T18:44:25.651Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T18:44:25.651Z] ---> Running in 4a8bb630dc69 [2023-03-14T18:44:26.585Z] Removing intermediate container 4a8bb630dc69 [2023-03-14T18:44:26.585Z] ---> 731d7a2c44fa [2023-03-14T18:44:26.585Z] Step 10/29 : COPY . . [2023-03-14T18:44:26.844Z] ---> 74256813b708 [2023-03-14T18:44:26.844Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T18:44:26.844Z] ---> Running in 846178c4095f [2023-03-14T18:44:26.844Z] Removing intermediate container 846178c4095f [2023-03-14T18:44:26.844Z] ---> d347983f11bf [2023-03-14T18:44:26.844Z] Step 12/29 : RUN $MAKE [2023-03-14T18:44:26.844Z] ---> Running in 5dfd9a5b7cdd [2023-03-14T18:44:27.101Z] 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:44:32.714Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-222 in /w/workspace/y_app-rfid-llrp-inventory_PR-158 [Pipeline] { [Pipeline] ws [2023-03-14T18:44:32.775Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-03-14T18:44:32.846Z] The recommended git tool is: git [2023-03-14T18:44:38.248Z] using credential edgex-jenkins-ssh [2023-03-14T18:44:38.265Z] Cloning the remote Git repository [2023-03-14T18:44:38.312Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-14T18:44:38.409Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-03-14T18:44:38.556Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-14T18:44:38.557Z] > git --version # timeout=10 [2023-03-14T18:44:38.581Z] > git --version # 'git version 2.25.1' [2023-03-14T18:44:38.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T18:44:38.729Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T18:44:40.701Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-14T18:44:40.722Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T18:44:41.583Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-14T18:44:41.631Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-14T18:44:41.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T18:44:41.650Z] > 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-14T18:44:42.213Z] Merging remotes/origin/main commit 968f145a810f9e00874ff3fecb3e80d4017ec20e into PR head commit 08abe477ef70eaef2f99d0bda60edc878f4954bd [2023-03-14T18:44:42.537Z] Merge succeeded, producing 08abe477ef70eaef2f99d0bda60edc878f4954bd [2023-03-14T18:44:42.538Z] Checking out Revision 08abe477ef70eaef2f99d0bda60edc878f4954bd (PR-158) [2023-03-14T18:44:42.235Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T18:44:42.319Z] > git checkout -f 08abe477ef70eaef2f99d0bda60edc878f4954bd # timeout=10 [2023-03-14T18:44:42.429Z] > git remote # timeout=10 [2023-03-14T18:44:42.452Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T18:44:42.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T18:44:42.494Z] > git merge 968f145a810f9e00874ff3fecb3e80d4017ec20e # timeout=10 [2023-03-14T18:44:42.520Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T18:44:42.546Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T18:44:42.560Z] > git checkout -f 08abe477ef70eaef2f99d0bda60edc878f4954bd # timeout=10 [2023-03-14T18:44:45.167Z] Removing intermediate container 5dfd9a5b7cdd [2023-03-14T18:44:45.167Z] ---> 9bdf0dbd1b5c [2023-03-14T18:44:45.167Z] Step 13/29 : FROM alpine:3.17 [2023-03-14T18:44:45.167Z] 3.17: Pulling from library/alpine [2023-03-14T18:44:45.167Z] 63b65145d645: Already exists [2023-03-14T18:44:45.167Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T18:44:45.167Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T18:44:45.167Z] ---> b2aa39c304c2 [2023-03-14T18:44:45.167Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T18:44:45.167Z] ---> Running in ba7e26115ca7 [2023-03-14T18:44:45.167Z] Removing intermediate container ba7e26115ca7 [2023-03-14T18:44:45.167Z] ---> 10ffa56b3581 [2023-03-14T18:44:45.167Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-14T18:44:45.167Z] ---> Running in 6820f5741c56 [2023-03-14T18:44:45.167Z] Removing intermediate container 6820f5741c56 [2023-03-14T18:44:45.167Z] ---> 8b6048af9bd6 [2023-03-14T18:44:45.167Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-14T18:44:45.167Z] ---> Running in f484da001b4a [2023-03-14T18:44:45.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T18:44:45.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T18:44:45.684Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-14T18:44:45.684Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-14T18:44:45.684Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T18:44:45.684Z] Executing ca-certificates-20220614-r4.trigger [2023-03-14T18:44:45.684Z] OK: 8 MiB in 17 packages [2023-03-14T18:44:46.043Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [2023-03-14T18:44:46.096Z] > git --version # timeout=10 [2023-03-14T18:44:46.107Z] > git --version # 'git version 2.25.1' [2023-03-14T18:44:46.120Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T18:44:46.250Z] Removing intermediate container f484da001b4a [2023-03-14T18:44:46.250Z] ---> 5592b2c15f12 [2023-03-14T18:44:46.251Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-14T18:44:46.251Z] ---> b3c502cb03fa [2023-03-14T18:44:46.251Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-14T18:44:46.510Z] ---> cae5fc6edcd7 [2023-03-14T18:44:46.510Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-14T18:44:46.510Z] ---> 31fdcad791ac [2023-03-14T18:44:46.510Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-14T18:44:46.510Z] ---> e35177f50bc8 [2023-03-14T18:44:46.510Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T18:44:47.356Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T18:44:47.356Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T18:44:47.356Z] Dload Upload Total Spent Left Speed [2023-03-14T18:44:47.356Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [2023-03-14T18:44:47.444Z] ---> 9ab73562d9fa [2023-03-14T18:44:47.444Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-14T18:44:47.444Z] ---> Running in dbcdf20ba385 [2023-03-14T18:44:47.703Z] Removing intermediate container dbcdf20ba385 [2023-03-14T18:44:47.703Z] ---> e9b19439fb4d [2023-03-14T18:44:47.703Z] Step 23/29 : VOLUME /cache [Pipeline] sh [2023-03-14T18:44:47.960Z] ---> Running in 1d5f5dc15927 [2023-03-14T18:44:47.960Z] Removing intermediate container 1d5f5dc15927 [2023-03-14T18:44:47.960Z] ---> 50f801a5ceec [2023-03-14T18:44:47.960Z] Step 24/29 : EXPOSE 59711 [2023-03-14T18:44:47.960Z] ---> Running in aca37e8c8cdc [2023-03-14T18:44:47.960Z] Removing intermediate container aca37e8c8cdc [2023-03-14T18:44:47.960Z] ---> 29270cce4426 [2023-03-14T18:44:47.960Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-14T18:44:47.960Z] ---> Running in 9a5f8a6e0f32 [2023-03-14T18:44:48.075Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T18:44:48.218Z] Removing intermediate container 9a5f8a6e0f32 [2023-03-14T18:44:48.218Z] ---> b6f7d63aec0d [2023-03-14T18:44:48.218Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-14T18:44:48.218Z] ---> Running in 64a52dca7fe6 [2023-03-14T18:44:48.218Z] Removing intermediate container 64a52dca7fe6 [2023-03-14T18:44:48.218Z] ---> b72809d48c8b [2023-03-14T18:44:48.218Z] Step 27/29 : LABEL arch=amd64 [2023-03-14T18:44:48.218Z] ---> Running in 4c01f97f8c7f [2023-03-14T18:44:48.218Z] Removing intermediate container 4c01f97f8c7f [2023-03-14T18:44:48.218Z] ---> d2452596a2c7 [2023-03-14T18:44:48.218Z] Step 28/29 : LABEL git_sha=08abe477ef70eaef2f99d0bda60edc878f4954bd [2023-03-14T18:44:48.218Z] ---> Running in 49608f3be50e [2023-03-14T18:44:48.423Z] + sudo tee /etc/docker/daemon.new [2023-03-14T18:44:48.424Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T18:44:48.424Z] { [2023-03-14T18:44:48.424Z] "registry-mirrors": [ [2023-03-14T18:44:48.424Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T18:44:48.424Z] ], [2023-03-14T18:44:48.424Z] "bip": "10.250.0.254/24", [2023-03-14T18:44:48.424Z] "hosts": [ [2023-03-14T18:44:48.424Z] "tcp://0.0.0.0:5555", [2023-03-14T18:44:48.424Z] "unix:///var/run/docker.sock" [2023-03-14T18:44:48.424Z] ], [2023-03-14T18:44:48.424Z] "mtu": 1458, [2023-03-14T18:44:48.424Z] "selinux-enabled": true, [2023-03-14T18:44:48.424Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T18:44:48.424Z] } [Pipeline] sh [2023-03-14T18:44:48.477Z] Removing intermediate container 49608f3be50e [2023-03-14T18:44:48.477Z] ---> b7cb3e74168d [2023-03-14T18:44:48.477Z] Step 29/29 : LABEL version=0.0.0 [2023-03-14T18:44:48.477Z] ---> Running in f8943e4847d3 [2023-03-14T18:44:48.477Z] Removing intermediate container f8943e4847d3 [2023-03-14T18:44:48.477Z] ---> cdceecf3db62 [2023-03-14T18:44:48.477Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T18:44:48.477Z] Successfully built cdceecf3db62 [2023-03-14T18:44:48.477Z] 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 [2023-03-14T18:44:48.770Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } [Pipeline] // stage [Pipeline] sh [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-14T18:44:49.195Z] + sudo service docker restart [2023-03-14T18:44:49.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T18:44:49.466Z] [2023-03-14T18:44:49.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:44:49.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T18:44:49.839Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T18:44:49.839Z] 5eb5b503b376: Pulling fs layer [2023-03-14T18:44:49.839Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T18:44:49.839Z] ec43610c2a17: Pulling fs layer [2023-03-14T18:44:49.839Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T18:44:49.839Z] 33b1e0a273af: Pulling fs layer [2023-03-14T18:44:49.839Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T18:44:49.839Z] 2f39f015ded8: Pulling fs layer [2023-03-14T18:44:49.839Z] 33b1e0a273af: Waiting [2023-03-14T18:44:49.839Z] 2f39f015ded8: Waiting [2023-03-14T18:44:49.839Z] 5d3b04190fa2: Waiting [2023-03-14T18:44:49.839Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T18:44:49.839Z] 5c69ac0246d0: Download complete [2023-03-14T18:44:49.839Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T18:44:49.839Z] 3a2ae6a8a46f: Download complete [2023-03-14T18:44:50.097Z] 33b1e0a273af: Verifying Checksum [2023-03-14T18:44:50.097Z] 33b1e0a273af: Download complete [2023-03-14T18:44:50.097Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T18:44:50.097Z] 5d3b04190fa2: Download complete [2023-03-14T18:44:50.097Z] ec43610c2a17: Verifying Checksum [2023-03-14T18:44:50.097Z] ec43610c2a17: Download complete [2023-03-14T18:44:50.097Z] 5eb5b503b376: Verifying Checksum [2023-03-14T18:44:50.097Z] 5eb5b503b376: Download complete [2023-03-14T18:44:51.040Z] 2f39f015ded8: Download complete [2023-03-14T18:44:51.297Z] 5eb5b503b376: Pull complete [2023-03-14T18:44:51.555Z] 5c69ac0246d0: Pull complete [2023-03-14T18:44:51.812Z] ec43610c2a17: Pull complete [2023-03-14T18:44:51.812Z] 3a2ae6a8a46f: Pull complete [2023-03-14T18:44:52.071Z] 33b1e0a273af: Pull complete [2023-03-14T18:44:52.330Z] 5d3b04190fa2: Pull complete [2023-03-14T18:44:56.525Z] 2f39f015ded8: Pull complete [2023-03-14T18:44:56.525Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T18:44:56.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T18:44:56.525Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:44:56.753Z] prd-ubuntu20.04-docker-8c-8g-221 does not seem to be running inside a container [2023-03-14T18:44:56.786Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T18:45:00.453Z] $ docker top 8994cceeb16c542423ac6c2606b7f04ba488f390e28c5e72673c11746febfb7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:45:00.899Z] ---> job-cost.sh [2023-03-14T18:45:00.899Z] lf-activate-venv: SKIPPING [2023-03-14T18:45:00.899Z] INFO: No Stack... [2023-03-14T18:45:01.158Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T18:45:01.420Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T18:45:01.742Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives/cost.csv [2023-03-14T18:45:01.742Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T18:45:01.784Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] [2023-03-14T18:45:01.789Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] did not exist. Created. [2023-03-14T18:45:01.789Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T18:45:02.181Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T18:45:02.303Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T18:45:02.335Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T18:45:02.420Z] $ docker stop --time=1 8994cceeb16c542423ac6c2606b7f04ba488f390e28c5e72673c11746febfb7c [2023-03-14T18:45:03.576Z] $ docker rm -f --volumes 8994cceeb16c542423ac6c2606b7f04ba488f390e28c5e72673c11746febfb7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T18:45:07.513Z] provisioning config files... [2023-03-14T18:45:07.543Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config1111585655121874124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:45:07.928Z] ---> docker-login.sh [2023-03-14T18:45:07.928Z] nexus3.edgexfoundry.org:10001 [2023-03-14T18:45:08.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:45:08.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:45:08.471Z] Configure a credential helper to remove this warning. See [2023-03-14T18:45:08.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:45:08.471Z] [2023-03-14T18:45:08.471Z] Login Succeeded [2023-03-14T18:45:08.471Z] nexus3.edgexfoundry.org:10002 [2023-03-14T18:45:08.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:45:08.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:45:08.742Z] Configure a credential helper to remove this warning. See [2023-03-14T18:45:08.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:45:08.742Z] [2023-03-14T18:45:08.742Z] Login Succeeded [2023-03-14T18:45:08.742Z] nexus3.edgexfoundry.org:10003 [2023-03-14T18:45:09.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:45:09.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:45:09.288Z] Configure a credential helper to remove this warning. See [2023-03-14T18:45:09.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:45:09.288Z] [2023-03-14T18:45:09.288Z] Login Succeeded [2023-03-14T18:45:09.288Z] nexus3.edgexfoundry.org:10004 [2023-03-14T18:45:09.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:45:09.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:45:09.559Z] Configure a credential helper to remove this warning. See [2023-03-14T18:45:09.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:45:09.559Z] [2023-03-14T18:45:09.559Z] Login Succeeded [2023-03-14T18:45:09.559Z] docker.io [2023-03-14T18:45:09.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T18:45:10.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T18:45:10.098Z] Configure a credential helper to remove this warning. See [2023-03-14T18:45:10.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T18:45:10.098Z] [2023-03-14T18:45:10.098Z] Login Succeeded [2023-03-14T18:45:10.098Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T18:45:10.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T18:45:10.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T18:45:10.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T18:45:10.555Z] ========================================================= [2023-03-14T18:45:10.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T18:45:10.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:45:11.062Z] + 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-14T18:45:11.333Z] Sending build context to Docker daemon 678.9kB [2023-03-14T18:45:11.333Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T18:45:11.333Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T18:45:11.333Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T18:45:11.333Z] af6eaf76a39c: Pulling fs layer [2023-03-14T18:45:11.333Z] 55522c791124: Pulling fs layer [2023-03-14T18:45:11.333Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T18:45:11.333Z] 169dfbe0d373: Pulling fs layer [2023-03-14T18:45:11.333Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T18:45:11.333Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T18:45:11.607Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T18:45:11.607Z] e1ff8fa3b103: Waiting [2023-03-14T18:45:11.607Z] 52ebb69f0ebf: Waiting [2023-03-14T18:45:11.607Z] 5abe8eddf0d5: Waiting [2023-03-14T18:45:11.607Z] 169dfbe0d373: Waiting [2023-03-14T18:45:11.607Z] 55522c791124: Verifying Checksum [2023-03-14T18:45:11.607Z] 55522c791124: Download complete [2023-03-14T18:45:11.607Z] 169dfbe0d373: Verifying Checksum [2023-03-14T18:45:11.607Z] 169dfbe0d373: Download complete [2023-03-14T18:45:11.607Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T18:45:11.607Z] e1ff8fa3b103: Download complete [2023-03-14T18:45:11.607Z] af6eaf76a39c: Verifying Checksum [2023-03-14T18:45:11.607Z] af6eaf76a39c: Download complete [2023-03-14T18:45:13.048Z] af6eaf76a39c: Pull complete [2023-03-14T18:45:13.048Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T18:45:13.048Z] 5abe8eddf0d5: Download complete [2023-03-14T18:45:13.324Z] 55522c791124: Pull complete [2023-03-14T18:45:14.302Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T18:45:14.302Z] ce5c4a1c91eb: Download complete [2023-03-14T18:45:14.302Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T18:45:14.302Z] 52ebb69f0ebf: Download complete [2023-03-14T18:45:26.631Z] ce5c4a1c91eb: Pull complete [2023-03-14T18:45:26.631Z] 169dfbe0d373: Pull complete [2023-03-14T18:45:26.631Z] e1ff8fa3b103: Pull complete [2023-03-14T18:45:31.992Z] 52ebb69f0ebf: Pull complete [2023-03-14T18:45:33.946Z] 5abe8eddf0d5: Pull complete [2023-03-14T18:45:33.946Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T18:45:33.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T18:45:33.946Z] ---> 6cb57ee374ae [2023-03-14T18:45:33.946Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T18:45:35.898Z] ---> Running in 1b6dac43ae8b [2023-03-14T18:45:35.898Z] Removing intermediate container 1b6dac43ae8b [2023-03-14T18:45:35.898Z] ---> 5946dcd7ec02 [2023-03-14T18:45:35.898Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T18:45:35.898Z] ---> Running in 28d4870caaef [2023-03-14T18:45:36.168Z] Removing intermediate container 28d4870caaef [2023-03-14T18:45:36.168Z] ---> de2b44aa3a94 [2023-03-14T18:45:36.168Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T18:45:36.439Z] ---> Running in da2533389c5e [2023-03-14T18:45:36.708Z] Removing intermediate container da2533389c5e [2023-03-14T18:45:36.708Z] ---> 57e0ee38f0f1 [2023-03-14T18:45:36.708Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T18:45:36.708Z] ---> Running in 41d4f55d4e47 [2023-03-14T18:45:38.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T18:45:38.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T18:45:39.351Z] OK: 263 MiB in 53 packages [2023-03-14T18:45:40.324Z] Removing intermediate container 41d4f55d4e47 [2023-03-14T18:45:40.324Z] ---> 47a8fdddc559 [2023-03-14T18:45:40.324Z] Step 7/12 : WORKDIR /app [2023-03-14T18:45:40.324Z] ---> Running in 1c7187958e05 [2023-03-14T18:45:40.913Z] Removing intermediate container 1c7187958e05 [2023-03-14T18:45:40.913Z] ---> 8753c6294d1f [2023-03-14T18:45:40.913Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-14T18:45:41.182Z] ---> bc015473349c [2023-03-14T18:45:41.182Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T18:45:41.464Z] ---> Running in abe0c91de847 [2023-03-14T18:46:49.377Z] Removing intermediate container abe0c91de847 [2023-03-14T18:46:49.377Z] ---> d85e0e6981a3 [2023-03-14T18:46:49.377Z] Step 10/12 : COPY . . [2023-03-14T18:46:49.377Z] ---> 1fb45921f3b6 [2023-03-14T18:46:49.377Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T18:46:49.377Z] ---> Running in e9bd9144bbc3 [2023-03-14T18:46:49.377Z] Removing intermediate container e9bd9144bbc3 [2023-03-14T18:46:49.377Z] ---> 6e773fd7b850 [2023-03-14T18:46:49.377Z] Step 12/12 : RUN $MAKE [2023-03-14T18:46:49.377Z] ---> Running in 4a1640ede636 [2023-03-14T18:46:49.377Z] noop [2023-03-14T18:46:49.377Z] Removing intermediate container 4a1640ede636 [2023-03-14T18:46:49.377Z] ---> 7eac10fabc9e [2023-03-14T18:46:49.377Z] Successfully built 7eac10fabc9e [2023-03-14T18:46:49.377Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:46:49.864Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T18:46:49.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:46:50.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-222 does not seem to be running inside a container [2023-03-14T18:46:50.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T18:46:51.499Z] $ docker top 75163eb0ee79f12d7627def64145951d69d6a19909f5192595f85476cfdde592 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:46:52.397Z] + go version [2023-03-14T18:46:52.397Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T18:46:52.432Z] $ docker stop --time=1 75163eb0ee79f12d7627def64145951d69d6a19909f5192595f85476cfdde592 [2023-03-14T18:46:54.049Z] $ docker rm -f --volumes 75163eb0ee79f12d7627def64145951d69d6a19909f5192595f85476cfdde592 [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:46:54.851Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T18:46:54.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:46:55.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-222 does not seem to be running inside a container [2023-03-14T18:46:55.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T18:46:56.318Z] $ docker top 755c2ec085ff70687456ff0f0a5c4d2451e4a0d60320c95a92e41487ce31d7d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:46:56.873Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T18:46:57.835Z] + make test [2023-03-14T18:46:57.835Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-14T18:49:34.553Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-14T18:49:41.215Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-14T18:49:41.485Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.197s coverage: 86.2% of statements [2023-03-14T18:49:53.808Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.577s coverage: 71.9% of statements [2023-03-14T18:49:53.808Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T18:49:53.808Z] go vet ./... [2023-03-14T18:52:15.550Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T18:52:15.550Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T18:52:15.550Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-14T18:52:15.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T18:52:15.618Z] $ docker stop --time=1 755c2ec085ff70687456ff0f0a5c4d2451e4a0d60320c95a92e41487ce31d7d6 [2023-03-14T18:52:17.679Z] $ docker rm -f --volumes 755c2ec085ff70687456ff0f0a5c4d2451e4a0d60320c95a92e41487ce31d7d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T18:52:19.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T18:52:19.436Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T18:52:20.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T18:52:20.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T18:52:20.978Z] + ls -al . [2023-03-14T18:52:20.978Z] total 224 [2023-03-14T18:52:20.978Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 18:47 . [2023-03-14T18:52:20.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:44 .. [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 14 18:44 .dockerignore [2023-03-14T18:52:20.978Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:44 .git [2023-03-14T18:52:20.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:44 .github [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 14 18:44 .gitignore [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 18:44 .golangci.yml [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 14 18:44 Attribution.txt [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 14 18:44 CHANGELOG.md [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 14 18:44 Dockerfile [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:44 GOVERNANCE.md [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 14 18:44 Jenkinsfile [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 14 18:44 LICENSE [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 14 18:44 Makefile [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 14 18:44 OWNERS.md [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 14 18:44 README.md [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 18:42 VERSION [2023-03-14T18:52:20.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:44 bin [2023-03-14T18:52:20.978Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 14 18:49 coverage.out [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 14 18:44 go.mod [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 14 18:44 go.sum [2023-03-14T18:52:20.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:44 images [2023-03-14T18:52:20.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:44 internal [2023-03-14T18:52:20.978Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 14 18:44 main.go [2023-03-14T18:52:20.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:44 res [2023-03-14T18:52:20.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:44 snap [2023-03-14T18:52:20.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:44 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:52:21.410Z] + 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=08abe477ef70eaef2f99d0bda60edc878f4954bd --label arch=arm64 --label version=0.0.0 . [2023-03-14T18:52:21.677Z] Sending build context to Docker daemon 678.9kB [2023-03-14T18:52:21.677Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T18:52:21.677Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-14T18:52:21.677Z] ---> 7eac10fabc9e [2023-03-14T18:52:21.677Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-14T18:52:21.946Z] ---> Running in 47e6f01be7a5 [2023-03-14T18:52:22.217Z] Removing intermediate container 47e6f01be7a5 [2023-03-14T18:52:22.217Z] ---> ce7b64e21e2b [2023-03-14T18:52:22.217Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T18:52:22.497Z] ---> Running in c1b8ab752e6b [2023-03-14T18:52:22.765Z] Removing intermediate container c1b8ab752e6b [2023-03-14T18:52:22.765Z] ---> 9bd719777684 [2023-03-14T18:52:22.765Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-14T18:52:22.765Z] ---> Running in 52b572ef5145 [2023-03-14T18:52:23.360Z] Removing intermediate container 52b572ef5145 [2023-03-14T18:52:23.360Z] ---> 16d541739d5c [2023-03-14T18:52:23.360Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T18:52:23.360Z] ---> Running in 9e724b18b591 [2023-03-14T18:52:24.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T18:52:25.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T18:52:26.792Z] OK: 263 MiB in 53 packages [2023-03-14T18:52:27.763Z] Removing intermediate container 9e724b18b591 [2023-03-14T18:52:27.763Z] ---> 14ecb77e38b3 [2023-03-14T18:52:27.763Z] Step 7/29 : WORKDIR /app [2023-03-14T18:52:27.763Z] ---> Running in 4567da0b32e4 [2023-03-14T18:52:28.033Z] Removing intermediate container 4567da0b32e4 [2023-03-14T18:52:28.033Z] ---> a29180e17ea3 [2023-03-14T18:52:28.033Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-14T18:52:28.618Z] ---> d4989096bc4c [2023-03-14T18:52:28.618Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T18:52:28.618Z] ---> Running in f92fe7dc6181 [2023-03-14T18:52:31.974Z] Removing intermediate container f92fe7dc6181 [2023-03-14T18:52:31.974Z] ---> 58dfae1c89a5 [2023-03-14T18:52:31.974Z] Step 10/29 : COPY . . [2023-03-14T18:52:32.246Z] ---> ab36410ee340 [2023-03-14T18:52:32.246Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T18:52:32.246Z] ---> Running in f24a81696579 [2023-03-14T18:52:32.516Z] Removing intermediate container f24a81696579 [2023-03-14T18:52:32.516Z] ---> fde545209611 [2023-03-14T18:52:32.516Z] Step 12/29 : RUN $MAKE [2023-03-14T18:52:32.788Z] ---> Running in 00d61b2f78c0 [2023-03-14T18:52:33.756Z] 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:55:10.551Z] Removing intermediate container 00d61b2f78c0 [2023-03-14T18:55:10.551Z] ---> 63df9c9bfbf9 [2023-03-14T18:55:10.551Z] Step 13/29 : FROM alpine:3.17 [2023-03-14T18:55:10.551Z] 3.17: Pulling from library/alpine [2023-03-14T18:55:10.551Z] af6eaf76a39c: Already exists [2023-03-14T18:55:10.551Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T18:55:10.551Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T18:55:10.551Z] ---> d74e625d9115 [2023-03-14T18:55:10.551Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T18:55:10.551Z] ---> Running in b2584e059630 [2023-03-14T18:55:10.551Z] Removing intermediate container b2584e059630 [2023-03-14T18:55:10.551Z] ---> 7ce36789170d [2023-03-14T18:55:10.551Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-14T18:55:10.551Z] ---> Running in 694042a2247e [2023-03-14T18:55:10.551Z] Removing intermediate container 694042a2247e [2023-03-14T18:55:10.551Z] ---> 5a27310ad3ce [2023-03-14T18:55:10.551Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-14T18:55:10.551Z] ---> Running in e14a80f10522 [2023-03-14T18:55:10.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T18:55:10.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T18:55:10.551Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-14T18:55:10.551Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-14T18:55:10.551Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T18:55:10.551Z] Executing ca-certificates-20220614-r4.trigger [2023-03-14T18:55:10.551Z] OK: 8 MiB in 17 packages [2023-03-14T18:55:10.551Z] Removing intermediate container e14a80f10522 [2023-03-14T18:55:10.551Z] ---> 63bd2d5ac487 [2023-03-14T18:55:10.551Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-14T18:55:10.551Z] ---> 3f0b2a57f063 [2023-03-14T18:55:10.551Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-14T18:55:10.551Z] ---> 817ff1d71159 [2023-03-14T18:55:10.551Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-14T18:55:10.551Z] ---> 5183318a579d [2023-03-14T18:55:10.551Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-14T18:55:10.551Z] ---> 72fbfd720bd4 [2023-03-14T18:55:10.551Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-14T18:55:10.551Z] ---> 4cd7d2dafcec [2023-03-14T18:55:10.551Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-14T18:55:10.551Z] ---> Running in 9798a84d948d [2023-03-14T18:55:10.551Z] Removing intermediate container 9798a84d948d [2023-03-14T18:55:10.551Z] ---> 5ae45a3287fe [2023-03-14T18:55:10.551Z] Step 23/29 : VOLUME /cache [2023-03-14T18:55:10.551Z] ---> Running in 199c774ebf73 [2023-03-14T18:55:11.140Z] Removing intermediate container 199c774ebf73 [2023-03-14T18:55:11.140Z] ---> 39682a58db69 [2023-03-14T18:55:11.140Z] Step 24/29 : EXPOSE 59711 [2023-03-14T18:55:11.140Z] ---> Running in e010ec0fe43a [2023-03-14T18:55:11.412Z] Removing intermediate container e010ec0fe43a [2023-03-14T18:55:11.412Z] ---> 48efa7d0e731 [2023-03-14T18:55:11.412Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-14T18:55:11.412Z] ---> Running in 2c6df7fd3d08 [2023-03-14T18:55:12.000Z] Removing intermediate container 2c6df7fd3d08 [2023-03-14T18:55:12.000Z] ---> 34526dc24845 [2023-03-14T18:55:12.000Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-14T18:55:12.000Z] ---> Running in 067e05cc091a [2023-03-14T18:55:12.269Z] Removing intermediate container 067e05cc091a [2023-03-14T18:55:12.269Z] ---> 14450d819ae7 [2023-03-14T18:55:12.269Z] Step 27/29 : LABEL arch=arm64 [2023-03-14T18:55:12.537Z] ---> Running in 00b1719a7a2b [2023-03-14T18:55:12.807Z] Removing intermediate container 00b1719a7a2b [2023-03-14T18:55:12.807Z] ---> 8c3bf168dcd0 [2023-03-14T18:55:12.807Z] Step 28/29 : LABEL git_sha=08abe477ef70eaef2f99d0bda60edc878f4954bd [2023-03-14T18:55:12.807Z] ---> Running in 5a94250bfc63 [2023-03-14T18:55:13.085Z] Removing intermediate container 5a94250bfc63 [2023-03-14T18:55:13.085Z] ---> 0def56f35279 [2023-03-14T18:55:13.085Z] Step 29/29 : LABEL version=0.0.0 [2023-03-14T18:55:13.356Z] ---> Running in 04be63377d1a [2023-03-14T18:55:13.629Z] Removing intermediate container 04be63377d1a [2023-03-14T18:55:13.629Z] ---> 40ce47780a16 [2023-03-14T18:55:13.629Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T18:55:13.629Z] Successfully built 40ce47780a16 [2023-03-14T18:55:13.629Z] 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-14T18:55:14.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T18:55:14.443Z] [2023-03-14T18:55:14.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:55:14.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T18:55:14.865Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T18:55:14.865Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T18:55:14.865Z] 04944245beec: Pulling fs layer [2023-03-14T18:55:14.865Z] 699f458cf7ca: Pulling fs layer [2023-03-14T18:55:14.865Z] 765212b225bb: Pulling fs layer [2023-03-14T18:55:14.865Z] f23df028b6ca: Pulling fs layer [2023-03-14T18:55:14.865Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T18:55:14.865Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T18:55:14.865Z] f23df028b6ca: Waiting [2023-03-14T18:55:14.865Z] 765212b225bb: Waiting [2023-03-14T18:55:14.865Z] 2437ff75d9bd: Waiting [2023-03-14T18:55:14.865Z] d65c8cfc05b1: Waiting [2023-03-14T18:55:15.138Z] 04944245beec: Verifying Checksum [2023-03-14T18:55:15.138Z] 04944245beec: Download complete [2023-03-14T18:55:15.138Z] 765212b225bb: Verifying Checksum [2023-03-14T18:55:15.138Z] 765212b225bb: Download complete [2023-03-14T18:55:15.138Z] f23df028b6ca: Verifying Checksum [2023-03-14T18:55:15.138Z] f23df028b6ca: Download complete [2023-03-14T18:55:15.138Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T18:55:15.138Z] d65c8cfc05b1: Download complete [2023-03-14T18:55:15.409Z] 699f458cf7ca: Verifying Checksum [2023-03-14T18:55:15.409Z] 699f458cf7ca: Download complete [2023-03-14T18:55:15.678Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T18:55:15.678Z] 8998bd30e6a1: Download complete [2023-03-14T18:55:18.266Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T18:55:18.266Z] 2437ff75d9bd: Download complete [2023-03-14T18:55:20.215Z] 8998bd30e6a1: Pull complete [2023-03-14T18:55:20.484Z] 04944245beec: Pull complete [2023-03-14T18:55:21.898Z] 699f458cf7ca: Pull complete [2023-03-14T18:55:22.165Z] 765212b225bb: Pull complete [2023-03-14T18:55:22.748Z] f23df028b6ca: Pull complete [2023-03-14T18:55:23.015Z] d65c8cfc05b1: Pull complete [2023-03-14T18:55:38.010Z] 2437ff75d9bd: Pull complete [2023-03-14T18:55:38.010Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T18:55:38.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T18:55:38.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:55:38.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-222 does not seem to be running inside a container [2023-03-14T18:55:38.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T18:55:41.473Z] $ docker top b59ca366d056ca0fa168f100cbdde6053c46eb87d9aa989dc976299530cc4957 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:42.413Z] ---> job-cost.sh [2023-03-14T18:55:42.413Z] lf-activate-venv: SKIPPING [2023-03-14T18:55:42.413Z] INFO: No Stack... [2023-03-14T18:55:43.000Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T18:55:43.584Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T18:55:44.252Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-03-14T18:55:44.252Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T18:55:44.311Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] [2023-03-14T18:55:44.316Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] did not exist. Created. [2023-03-14T18:55:44.316Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T18:55:45.047Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-522c6d64/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T18:55:45.729Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T18:55:45.765Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T18:55:45.816Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T18:55:45.839Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T18:55:45.920Z] $ docker stop --time=1 b59ca366d056ca0fa168f100cbdde6053c46eb87d9aa989dc976299530cc4957 [2023-03-14T18:55:47.525Z] $ docker rm -f --volumes b59ca366d056ca0fa168f100cbdde6053c46eb87d9aa989dc976299530cc4957 [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-14T18:55:48.496Z] provisioning config files... [2023-03-14T18:55:48.503Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config8347409565503246138tmp [Pipeline] { [Pipeline] sh [2023-03-14T18:55:48.851Z] + set +x [2023-03-14T18:55:48.851Z] + + curl -sbash https://codecov.io/bash -s [2023-03-14T18:55:48.851Z] -- [2023-03-14T18:55:48.851Z] [2023-03-14T18:55:48.851Z] _____ _ [2023-03-14T18:55:48.851Z] / ____| | | [2023-03-14T18:55:48.851Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T18:55:48.851Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T18:55:48.851Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T18:55:48.851Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T18:55:48.851Z] Bash-1.0.6 [2023-03-14T18:55:48.851Z] [2023-03-14T18:55:48.851Z] [2023-03-14T18:55:48.851Z] ==> git version 2.25.1 found [2023-03-14T18:55:48.851Z] ==> 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-14T18:55:48.851Z] Release-Date: 2020-01-08 [2023-03-14T18:55:48.851Z] 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-14T18:55:48.851Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T18:55:48.851Z] ==> Jenkins CI detected. [2023-03-14T18:55:48.851Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-158 [2023-03-14T18:55:48.851Z] project root: . [2023-03-14T18:55:48.851Z] --> token set from env [2023-03-14T18:55:48.851Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T18:55:48.851Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T18:55:48.851Z] ==> Python coveragepy not found [2023-03-14T18:55:48.851Z] ==> Searching for coverage reports in: [2023-03-14T18:55:48.851Z] + . [2023-03-14T18:55:48.851Z] -> Found 1 reports [2023-03-14T18:55:48.851Z] ==> Detecting git/mercurial file structure [2023-03-14T18:55:48.851Z] ==> Reading reports [2023-03-14T18:55:48.851Z] + ./coverage.out bytes=41317 [2023-03-14T18:55:48.851Z] ==> Appending adjustments [2023-03-14T18:55:48.851Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T18:55:49.112Z] + Found adjustments [2023-03-14T18:55:49.112Z] ==> Gzipping contents [2023-03-14T18:55:49.112Z] 12K /tmp/codecov.vbmHDN.gz [2023-03-14T18:55:49.112Z] ==> Uploading reports [2023-03-14T18:55:49.112Z] url: https://codecov.io [2023-03-14T18:55:49.112Z] query: branch=PR-158&commit=08abe477ef70eaef2f99d0bda60edc878f4954bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=158&job=&cmd_args= [2023-03-14T18:55:49.112Z] -> Pinging Codecov [2023-03-14T18:55:49.112Z] 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=08abe477ef70eaef2f99d0bda60edc878f4954bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=158&job=&cmd_args= [2023-03-14T18:55:49.371Z] -> Uploading to [2023-03-14T18:55:49.371Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/581DD39554BDF9B6E22D074273EAD858/08abe477ef70eaef2f99d0bda60edc878f4954bd/933b1ffa-2c85-45c4-ba16-c95273675153.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T185549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ccd562f2fd56173fed037c115425186c5190ac733ea0c9e490a5cfbec0a7fee4 [2023-03-14T18:55:49.371Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T18:55:49.371Z] Dload Upload Total Spent Left Speed [2023-03-14T18:55:49.629Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11806 0 0 100 11806 0 49605 --:--:-- --:--:-- --:--:-- 49605 [2023-03-14T18:55:49.629Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/08abe477ef70eaef2f99d0bda60edc878f4954bd [Pipeline] } [2023-03-14T18:55:49.656Z] 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-14T18:55:51.423Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives ] [2023-03-14T18:55:51.423Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives [2023-03-14T18:55:51.423Z] total 16 [2023-03-14T18:55:51.423Z] drwxr-xr-x 3 root root 4096 Mar 14 18:45 . [2023-03-14T18:55:51.423Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 18:45 .. [2023-03-14T18:55:51.423Z] drwxr-xr-x 2 root root 4096 Mar 14 18:45 cost [2023-03-14T18:55:51.423Z] -rw-r--r-- 1 root root 95 Mar 14 18:45 cost.csv [2023-03-14T18:55:51.423Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives [2023-03-14T18:55:51.423Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives [2023-03-14T18:55:51.423Z] total 16 [2023-03-14T18:55:51.423Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:45 . [2023-03-14T18:55:51.423Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 18:45 .. [2023-03-14T18:55:51.423Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 18:45 cost [2023-03-14T18:55:51.423Z] -rw-r--r-- 1 jenkins jenkins 95 Mar 14 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:51.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:52.631Z] ---> package-listing.sh [2023-03-14T18:55:52.631Z] ++ facter osfamily [2023-03-14T18:55:52.631Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T18:55:52.890Z] + OS_FAMILY=debian [2023-03-14T18:55:52.890Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-158 [2023-03-14T18:55:52.890Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T18:55:52.890Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T18:55:52.890Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T18:55:52.890Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T18:55:52.890Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-158 ']' [2023-03-14T18:55:52.890Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T18:55:52.890Z] + case "${OS_FAMILY}" in [2023-03-14T18:55:52.890Z] + dpkg -l [2023-03-14T18:55:52.890Z] + grep '^ii' [2023-03-14T18:55:52.890Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T18:55:52.890Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T18:55:52.890Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T18:55:52.890Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-158 ']' [2023-03-14T18:55:52.890Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-158/archives/ [2023-03-14T18:55:52.890Z] + 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-14T18:55:52.922Z] 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-14T18:55:53.222Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:55:53.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T18:55:53.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:55:53.995Z] prd-ubuntu20.04-docker-8c-8g-221 does not seem to be running inside a container [2023-03-14T18:55:54.022Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T18:55:54.230Z] $ docker top cef88e7c1ce19f1e522eb616c24b4a7af20fefd7fb835f54e051dcff0b11e9af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:55:54.638Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T18:55:54.954Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T18:55:55.263Z] + ls /var/log/sa-host [2023-03-14T18:55:55.263Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T18:55:55.396Z] provisioning config files... [2023-03-14T18:55:55.406Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-158@tmp/config12305442075498608125tmp [Pipeline] { [Pipeline] echo [2023-03-14T18:55:55.454Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:55.764Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T18:55:55.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:56.205Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T18:55:56.236Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:56.542Z] ---> sudo-logs.sh [2023-03-14T18:55:56.542Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T18:55:56.629Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:56.936Z] ---> job-cost.sh [2023-03-14T18:55:56.936Z] lf-activate-venv: SKIPPING [2023-03-14T18:55:56.936Z] DEBUG: total: 0.2199999988079071 [2023-03-14T18:55:56.936Z] INFO: Retrieving Stack Cost... [2023-03-14T18:55:57.197Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T18:55:57.767Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T18:55:57.802Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:55:58.112Z] ---> logs-deploy.sh [2023-03-14T18:55:58.112Z] lf-activate-venv: SKIPPING [2023-03-14T18:55:58.112Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-158/1 [2023-03-14T18:55:58.112Z] INFO: archiving workspace using pattern(s): [2023-03-14T18:55:59.049Z] Archives upload complete. [2023-03-14T18:55:59.307Z] INFO: archiving logs to Nexus