Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5abbc986f9e887623c017848594ff693cc864cec+63c8b30869f87de451dd33f2aa13687440ae64a8 (ecd231b505cf1fccbdda239d98bf813cea6dccc1) 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-ssh15580918802284858178.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4241500315632890795.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-143/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-143/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2132950305258932567.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15285560819934624210.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-143/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-143/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15486709685416190542.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5931 in /w/workspace/y_app-rfid-llrp-inventory_PR-143 [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-143 # 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/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63c8b30869f87de451dd33f2aa13687440ae64a8 into PR head commit 5abbc986f9e887623c017848594ff693cc864cec Merge succeeded, producing c7cf2657e7f6cabce1def271addb3a8afe334221 Checking out Revision c7cf2657e7f6cabce1def271addb3a8afe334221 (PR-143) > git config core.sparsecheckout # timeout=10 > git checkout -f 5abbc986f9e887623c017848594ff693cc864cec # 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 63c8b30869f87de451dd33f2aa13687440ae64a8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7cf2657e7f6cabce1def271addb3a8afe334221 # timeout=10 Commit message: "Merge commit '63c8b30869f87de451dd33f2aa13687440ae64a8' into HEAD" > git rev-list --no-walk 5abbc986f9e887623c017848594ff693cc864cec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T23:59:00.775Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T23:59:00.832Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T23:59:00.849Z] ========================================================= [2023-02-14T23:59:00.849Z] EdgeX Global Pipelines Version Info [2023-02-14T23:59:00.849Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:59:01.567Z] ------------------- [2023-02-14T23:59:01.567Z] stable info: [2023-02-14T23:59:01.567Z] ------------------- [2023-02-14T23:59:01.567Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T23:59:01.567Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T23:59:01.567Z] Message: update stable to v1.0.244 [2023-02-14T23:59:02.138Z] ------------------- [2023-02-14T23:59:02.138Z] experimental info: [2023-02-14T23:59:02.138Z] ------------------- [2023-02-14T23:59:02.138Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T23:59:02.138Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T23:59:02.138Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T23:59:02.317Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-02-14T23:59:02.330Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-02-14T23:59:02.341Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T23:59:02.355Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T23:59:02.365Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T23:59:02.377Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T23:59:02.393Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T23:59:02.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-14T23:59:02.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T23:59:02.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T23:59:02.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T23:59:02.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-02-14T23:59:02.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T23:59:02.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T23:59:02.496Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T23:59:02.508Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T23:59:02.520Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T23:59:02.535Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T23:59:02.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T23:59:02.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T23:59:02.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-14T23:59:02.603Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-14T23:59:02.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T23:59:02.631Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T23:59:02.648Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T23:59:02.662Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T23:59:02.674Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T23:59:02.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-143 [Pipeline] echo [2023-02-14T23:59:02.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-143 [Pipeline] echo [2023-02-14T23:59:02.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-143 [Pipeline] echo [2023-02-14T23:59:02.722Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7cf2657e7f6cabce1def271addb3a8afe334221 [Pipeline] echo [2023-02-14T23:59:02.734Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7cf265 [Pipeline] echo [2023-02-14T23:59:02.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T23:59:02.788Z] provisioning config files... [2023-02-14T23:59:02.803Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/config12609875709155844154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:59:03.102Z] ---> docker-login.sh [2023-02-14T23:59:03.102Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:59:03.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:03.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:03.363Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:03.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:03.363Z] [2023-02-14T23:59:03.363Z] Login Succeeded [2023-02-14T23:59:03.363Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:59:03.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:03.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:03.624Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:03.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:03.624Z] [2023-02-14T23:59:03.624Z] Login Succeeded [2023-02-14T23:59:03.624Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:59:03.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:03.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:03.624Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:03.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:03.624Z] [2023-02-14T23:59:03.624Z] Login Succeeded [2023-02-14T23:59:03.624Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:59:03.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:03.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:03.887Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:03.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:03.887Z] [2023-02-14T23:59:03.887Z] Login Succeeded [2023-02-14T23:59:03.887Z] docker.io [2023-02-14T23:59:03.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:04.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:04.148Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:04.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:04.148Z] [2023-02-14T23:59:04.148Z] Login Succeeded [2023-02-14T23:59:04.148Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:59:04.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T23:59:04.539Z] + git rev-list -1 --merges c7cf2657e7f6cabce1def271addb3a8afe334221~1..c7cf2657e7f6cabce1def271addb3a8afe334221 [Pipeline] echo [2023-02-14T23:59:04.583Z] -----------> git rev-list -1 --merges c7cf2657e7f6cabce1def271addb3a8afe334221~1..c7cf2657e7f6cabce1def271addb3a8afe334221 c7cf2657e7f6cabce1def271addb3a8afe334221 [2023-02-14T23:59:04.583Z] c7cf2657e7f6cabce1def271addb3a8afe334221 [false] [Pipeline] sh [2023-02-14T23:59:04.868Z] + git log --format=format:%s -1 c7cf2657e7f6cabce1def271addb3a8afe334221 [Pipeline] echo [2023-02-14T23:59:04.883Z] ========================================================= [2023-02-14T23:59:04.883Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T23:59:04.883Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T23:59:05.219Z] + git log --format=format:%s -1 c7cf2657e7f6cabce1def271addb3a8afe334221 [Pipeline] echo [2023-02-14T23:59:05.231Z] [semverPrep] GIT_COMMIT: c7cf2657e7f6cabce1def271addb3a8afe334221, Commit Message: Merge commit '63c8b30869f87de451dd33f2aa13687440ae64a8' into HEAD [Pipeline] echo [2023-02-14T23:59:05.243Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T23:59:05.590Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T23:59:05.590Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T23:59:05.590Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T23:59:05.590Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T23:59:05.590Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T23:59:05.590Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T23:59:05.590Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:59:05.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:59:05.932Z] [2023-02-14T23:59:05.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:59:06.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:59:06.244Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T23:59:06.244Z] b85a868b505f: Pulling fs layer [2023-02-14T23:59:06.244Z] e2be974225ed: Pulling fs layer [2023-02-14T23:59:06.244Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T23:59:06.244Z] 988bab9f4d93: Pulling fs layer [2023-02-14T23:59:06.244Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T23:59:06.244Z] eaf3925da568: Pulling fs layer [2023-02-14T23:59:06.244Z] bab4dde63d76: Pulling fs layer [2023-02-14T23:59:06.244Z] bde34c3a00c8: Pulling fs layer [2023-02-14T23:59:06.244Z] b352a97aabf1: Pulling fs layer [2023-02-14T23:59:06.244Z] 4872d77fe225: Pulling fs layer [2023-02-14T23:59:06.244Z] 5851b861e8e6: Pulling fs layer [2023-02-14T23:59:06.244Z] 988bab9f4d93: Waiting [2023-02-14T23:59:06.244Z] 1469e6f7b9e6: Waiting [2023-02-14T23:59:06.244Z] eaf3925da568: Waiting [2023-02-14T23:59:06.244Z] bab4dde63d76: Waiting [2023-02-14T23:59:06.244Z] bde34c3a00c8: Waiting [2023-02-14T23:59:06.244Z] b352a97aabf1: Waiting [2023-02-14T23:59:06.244Z] 4872d77fe225: Waiting [2023-02-14T23:59:06.244Z] 5851b861e8e6: Waiting [2023-02-14T23:59:06.244Z] e2be974225ed: Verifying Checksum [2023-02-14T23:59:06.244Z] e2be974225ed: Download complete [2023-02-14T23:59:06.244Z] 988bab9f4d93: Verifying Checksum [2023-02-14T23:59:06.244Z] 988bab9f4d93: Download complete [2023-02-14T23:59:06.512Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T23:59:06.512Z] 1469e6f7b9e6: Download complete [2023-02-14T23:59:06.512Z] eaf3925da568: Download complete [2023-02-14T23:59:06.512Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T23:59:06.512Z] 339a4e72a1f5: Download complete [2023-02-14T23:59:06.512Z] bde34c3a00c8: Verifying Checksum [2023-02-14T23:59:06.512Z] bde34c3a00c8: Download complete [2023-02-14T23:59:06.774Z] b352a97aabf1: Verifying Checksum [2023-02-14T23:59:06.774Z] b352a97aabf1: Download complete [2023-02-14T23:59:06.774Z] 4872d77fe225: Verifying Checksum [2023-02-14T23:59:06.774Z] 4872d77fe225: Download complete [2023-02-14T23:59:06.774Z] 5851b861e8e6: Download complete [2023-02-14T23:59:06.774Z] b85a868b505f: Verifying Checksum [2023-02-14T23:59:06.774Z] b85a868b505f: Download complete [2023-02-14T23:59:07.033Z] bab4dde63d76: Verifying Checksum [2023-02-14T23:59:07.033Z] bab4dde63d76: Download complete [2023-02-14T23:59:07.971Z] b85a868b505f: Pull complete [2023-02-14T23:59:08.230Z] e2be974225ed: Pull complete [2023-02-14T23:59:08.796Z] 339a4e72a1f5: Pull complete [2023-02-14T23:59:08.796Z] 988bab9f4d93: Pull complete [2023-02-14T23:59:09.058Z] 1469e6f7b9e6: Pull complete [2023-02-14T23:59:09.058Z] eaf3925da568: Pull complete [2023-02-14T23:59:11.595Z] bab4dde63d76: Pull complete [2023-02-14T23:59:11.595Z] bde34c3a00c8: Pull complete [2023-02-14T23:59:11.595Z] b352a97aabf1: Pull complete [2023-02-14T23:59:11.595Z] 4872d77fe225: Pull complete [2023-02-14T23:59:11.595Z] 5851b861e8e6: Pull complete [2023-02-14T23:59:11.595Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T23:59:11.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:59:11.595Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:59:11.678Z] prd-ubuntu20.04-docker-8c-8g-5931 does not seem to be running inside a container [2023-02-14T23:59:11.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-143 -v /w/workspace/y_app-rfid-llrp-inventory_PR-143:/w/workspace/y_app-rfid-llrp-inventory_PR-143:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T23:59:13.164Z] $ docker top df3add2485baa8493a2fee8e8231fc04e9c1a27dff67f042b600aa3ea72300e5 -eo pid,comm [2023-02-14T23:59:13.216Z] 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-02-14T23:59:13.216Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T23:59:13.257Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T23:59:13.257Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T23:59:13.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T23:59:13.378Z] $ docker exec df3add2485baa8493a2fee8e8231fc04e9c1a27dff67f042b600aa3ea72300e5 ssh-agent [2023-02-14T23:59:13.487Z] SSH_AUTH_SOCK=/tmp/ssh-IdN6qLdXrG5F/agent.33 [2023-02-14T23:59:13.487Z] SSH_AGENT_PID=39 [2023-02-14T23:59:13.494Z] Running ssh-add (command line suppressed) [2023-02-14T23:59:13.601Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/private_key_14419902395494916924.key (/w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/private_key_14419902395494916924.key) [2023-02-14T23:59:13.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T23:59:13.904Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T23:59:13.927Z] $ docker exec --env ******** --env ******** df3add2485baa8493a2fee8e8231fc04e9c1a27dff67f042b600aa3ea72300e5 ssh-agent -k [2023-02-14T23:59:14.029Z] unset SSH_AUTH_SOCK; [2023-02-14T23:59:14.030Z] unset SSH_AGENT_PID; [2023-02-14T23:59:14.030Z] echo Agent pid 39 killed; [2023-02-14T23:59:14.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T23:59:14.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T23:59:14.067Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T23:59:14.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T23:59:14.191Z] $ docker exec df3add2485baa8493a2fee8e8231fc04e9c1a27dff67f042b600aa3ea72300e5 ssh-agent [2023-02-14T23:59:14.292Z] SSH_AUTH_SOCK=/tmp/ssh-dsNtu6j511qx/agent.71 [2023-02-14T23:59:14.292Z] SSH_AGENT_PID=77 [2023-02-14T23:59:14.297Z] Running ssh-add (command line suppressed) [2023-02-14T23:59:14.402Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/private_key_12401172418224100957.key (/w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/private_key_12401172418224100957.key) [2023-02-14T23:59:14.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T23:59:14.703Z] + git semver init [2023-02-14T23:59:14.962Z] 2023-02-14 23:59:14,891 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T23:59:14.962Z] 2023-02-14 23:59:14,892 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver [2023-02-14T23:59:14.962Z] 2023-02-14 23:59:14,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver [2023-02-14T23:59:14.962Z] 2023-02-14 23:59:14,893 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-143, universal_newlines=False, shell=None, istream=None) [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,091 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-143/.git/info/exclude [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,091 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver/PR-143 with force:False [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,091 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver/PR-143 [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,096 [execute] INFO git cat-file --batch-check [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,102 [execute] INFO git cat-file --batch [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T23:59:16.340Z] 2023-02-14 23:59:16,107 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-143/.semver/PR-143 [2023-02-14T23:59:16.340Z] 0.0.0 [Pipeline] } [2023-02-14T23:59:16.352Z] $ docker exec --env ******** --env ******** df3add2485baa8493a2fee8e8231fc04e9c1a27dff67f042b600aa3ea72300e5 ssh-agent -k [2023-02-14T23:59:16.475Z] unset SSH_AUTH_SOCK; [2023-02-14T23:59:16.476Z] unset SSH_AGENT_PID; [2023-02-14T23:59:16.476Z] echo Agent pid 77 killed; [2023-02-14T23:59:16.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T23:59:16.794Z] + git semver [Pipeline] } [2023-02-14T23:59:17.068Z] $ docker stop --time=1 df3add2485baa8493a2fee8e8231fc04e9c1a27dff67f042b600aa3ea72300e5 [2023-02-14T23:59:18.427Z] $ docker rm -f --volumes df3add2485baa8493a2fee8e8231fc04e9c1a27dff67f042b600aa3ea72300e5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T23:59:18.761Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T23:59:18.963Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T23:59:18.967Z] [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-02-14T23:59:19.074Z] provisioning config files... [2023-02-14T23:59:19.084Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/config1151098862809388442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:59:19.378Z] ---> docker-login.sh [2023-02-14T23:59:19.378Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:59:19.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:19.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:19.378Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:19.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:19.378Z] [2023-02-14T23:59:19.378Z] Login Succeeded [2023-02-14T23:59:19.378Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:59:19.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:19.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:19.378Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:19.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:19.378Z] [2023-02-14T23:59:19.378Z] Login Succeeded [2023-02-14T23:59:19.378Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:59:19.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:19.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:19.637Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:19.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:19.637Z] [2023-02-14T23:59:19.637Z] Login Succeeded [2023-02-14T23:59:19.637Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:59:19.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:19.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:19.637Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:19.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:19.637Z] [2023-02-14T23:59:19.637Z] Login Succeeded [2023-02-14T23:59:19.637Z] docker.io [2023-02-14T23:59:19.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:59:20.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:59:20.156Z] Configure a credential helper to remove this warning. See [2023-02-14T23:59:20.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:59:20.156Z] [2023-02-14T23:59:20.156Z] Login Succeeded [2023-02-14T23:59:20.156Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:59:20.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T23:59:20.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:59:20.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:59:20.273Z] ========================================================= [2023-02-14T23:59:20.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T23:59:20.273Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:59:20.606Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T23:59:20.607Z] Sending build context to Docker daemon 12.57MB [2023-02-14T23:59:20.607Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T23:59:20.607Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T23:59:20.868Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T23:59:20.868Z] 213ec9aee27d: Pulling fs layer [2023-02-14T23:59:20.868Z] 4583459ba037: Pulling fs layer [2023-02-14T23:59:20.868Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T23:59:20.868Z] 53926ce57604: Pulling fs layer [2023-02-14T23:59:20.868Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T23:59:20.868Z] 22ff95d597cd: Pulling fs layer [2023-02-14T23:59:20.868Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T23:59:20.868Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T23:59:20.868Z] a7acece74701: Pulling fs layer [2023-02-14T23:59:20.868Z] 53926ce57604: Waiting [2023-02-14T23:59:20.868Z] 21b2b0c7a3f4: Waiting [2023-02-14T23:59:20.868Z] 22ff95d597cd: Waiting [2023-02-14T23:59:20.868Z] 12d6caf4c0d1: Waiting [2023-02-14T23:59:20.868Z] 96b7cbca73a9: Waiting [2023-02-14T23:59:20.868Z] a7acece74701: Waiting [2023-02-14T23:59:20.868Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T23:59:20.868Z] 93c1e223e6f2: Download complete [2023-02-14T23:59:20.868Z] 4583459ba037: Download complete [2023-02-14T23:59:20.868Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-14T23:59:20.868Z] 21b2b0c7a3f4: Download complete [2023-02-14T23:59:20.868Z] 22ff95d597cd: Download complete [2023-02-14T23:59:20.868Z] 213ec9aee27d: Verifying Checksum [2023-02-14T23:59:20.868Z] 213ec9aee27d: Download complete [2023-02-14T23:59:20.868Z] 12d6caf4c0d1: Verifying Checksum [2023-02-14T23:59:20.868Z] 12d6caf4c0d1: Download complete [2023-02-14T23:59:21.133Z] 213ec9aee27d: Pull complete [2023-02-14T23:59:21.133Z] 4583459ba037: Pull complete [2023-02-14T23:59:21.400Z] 93c1e223e6f2: Pull complete [2023-02-14T23:59:21.672Z] a7acece74701: Verifying Checksum [2023-02-14T23:59:21.672Z] a7acece74701: Download complete [2023-02-14T23:59:22.245Z] 53926ce57604: Verifying Checksum [2023-02-14T23:59:22.245Z] 53926ce57604: Download complete [2023-02-14T23:59:22.245Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T23:59:22.245Z] 96b7cbca73a9: Download complete [2023-02-14T23:59:26.466Z] 53926ce57604: Pull complete [2023-02-14T23:59:26.466Z] 21b2b0c7a3f4: Pull complete [2023-02-14T23:59:26.466Z] 22ff95d597cd: Pull complete [2023-02-14T23:59:26.467Z] 12d6caf4c0d1: Pull complete [2023-02-14T23:59:28.991Z] 96b7cbca73a9: Pull complete [2023-02-14T23:59:29.250Z] a7acece74701: Pull complete [2023-02-14T23:59:29.250Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T23:59:29.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T23:59:29.250Z] ---> db6d94c90886 [2023-02-14T23:59:29.250Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-02-14T23:59:31.150Z] ---> Running in 9f3cf1f74371 [2023-02-14T23:59:31.150Z] Removing intermediate container 9f3cf1f74371 [2023-02-14T23:59:31.150Z] ---> f46b0ffe32b0 [2023-02-14T23:59:31.150Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T23:59:31.416Z] ---> Running in 7f4ea09047e2 [2023-02-14T23:59:31.416Z] Removing intermediate container 7f4ea09047e2 [2023-02-14T23:59:31.416Z] ---> 65f9c4993c3c [2023-02-14T23:59:31.416Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T23:59:31.416Z] ---> Running in db3cf710d094 [2023-02-14T23:59:31.675Z] Removing intermediate container db3cf710d094 [2023-02-14T23:59:31.675Z] ---> e9b0959d0b3e [2023-02-14T23:59:31.675Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T23:59:31.675Z] ---> Running in ad5f1f4ab8ee [2023-02-14T23:59:31.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T23:59:31.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T23:59:32.200Z] OK: 211 MiB in 51 packages [2023-02-14T23:59:32.769Z] Removing intermediate container ad5f1f4ab8ee [2023-02-14T23:59:32.769Z] ---> 05bc0c7914ee [2023-02-14T23:59:32.769Z] Step 7/12 : WORKDIR /app [2023-02-14T23:59:32.769Z] ---> Running in 5a59f5994e5f [2023-02-14T23:59:32.769Z] Removing intermediate container 5a59f5994e5f [2023-02-14T23:59:32.769Z] ---> 55f433923003 [2023-02-14T23:59:32.769Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-14T23:59:33.028Z] ---> fb0258618a32 [2023-02-14T23:59:33.028Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T23:59:33.028Z] ---> Running in 5f1b2d8400ef [2023-02-14T23:59:34.043Z] Still waiting to schedule task [2023-02-14T23:59:34.044Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:00:05.112Z] Removing intermediate container 5f1b2d8400ef [2023-02-15T00:00:05.112Z] ---> dc807d606bc0 [2023-02-15T00:00:05.112Z] Step 10/12 : COPY . . [2023-02-15T00:00:05.682Z] ---> c499ac1ec96e [2023-02-15T00:00:05.682Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:00:05.682Z] ---> Running in 0c82e8de4415 [2023-02-15T00:00:05.682Z] Removing intermediate container 0c82e8de4415 [2023-02-15T00:00:05.682Z] ---> b1d8d1bfa7ec [2023-02-15T00:00:05.682Z] Step 12/12 : RUN $MAKE [2023-02-15T00:00:05.682Z] ---> Running in 506049a96668 [2023-02-15T00:00:05.940Z] noop [2023-02-15T00:00:06.199Z] Removing intermediate container 506049a96668 [2023-02-15T00:00:06.199Z] ---> 35c3902d675f [2023-02-15T00:00:06.199Z] Successfully built 35c3902d675f [2023-02-15T00:00:06.199Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:00:06.512Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:00:06.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:00:06.591Z] prd-ubuntu20.04-docker-8c-8g-5931 does not seem to be running inside a container [2023-02-15T00:00:06.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-143 -v /w/workspace/y_app-rfid-llrp-inventory_PR-143:/w/workspace/y_app-rfid-llrp-inventory_PR-143:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-143@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-x86_64 cat [2023-02-15T00:00:06.999Z] $ docker top ae860d3e74f8b27028a8c097803b81a55d107be3049136a501e39013edbed72a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:00:07.338Z] + go version [2023-02-15T00:00:07.338Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:00:07.350Z] $ docker stop --time=1 ae860d3e74f8b27028a8c097803b81a55d107be3049136a501e39013edbed72a [2023-02-15T00:00:08.674Z] $ docker rm -f --volumes ae860d3e74f8b27028a8c097803b81a55d107be3049136a501e39013edbed72a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:00:09.071Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:00:09.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:00:09.149Z] prd-ubuntu20.04-docker-8c-8g-5931 does not seem to be running inside a container [2023-02-15T00:00:09.183Z] $ 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-143 -v /w/workspace/y_app-rfid-llrp-inventory_PR-143:/w/workspace/y_app-rfid-llrp-inventory_PR-143:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-143@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-x86_64 cat [2023-02-15T00:00:09.569Z] $ docker top 332bde4bc67d976910a8a13cae9879f0182c3dc0fb7e83db18b50e7e0f063166 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:00:09.903Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-143 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:00:10.201Z] + make test [2023-02-15T00:00:10.202Z] go test -race ./... -coverprofile=coverage.out ./... [2023-02-15T00:00:32.128Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-02-15T00:00:32.128Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.145s coverage: 86.2% of statements [2023-02-15T00:00:32.128Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-02-15T00:00:32.128Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.745s coverage: 71.9% of statements [2023-02-15T00:00:46.989Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T00:00:46.989Z] go vet ./... [2023-02-15T00:00:48.889Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:00:48.889Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:00:48.890Z] ./bin/test-attribution.sh [2023-02-15T00:00:49.149Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:00:49.149Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:00:49.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:00:49.167Z] $ docker stop --time=1 332bde4bc67d976910a8a13cae9879f0182c3dc0fb7e83db18b50e7e0f063166 [2023-02-15T00:00:51.538Z] $ docker rm -f --volumes 332bde4bc67d976910a8a13cae9879f0182c3dc0fb7e83db18b50e7e0f063166 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:00:52.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:00:52.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T00:00:52.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:00:52.798Z] + ls -al . [2023-02-15T00:00:52.798Z] total 232 [2023-02-15T00:00:52.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:00 . [2023-02-15T00:00:52.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:58 .. [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 262 Feb 14 23:58 .dockerignore [2023-02-15T00:00:52.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:00 .git [2023-02-15T00:00:52.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:58 .github [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 788 Feb 14 23:58 .gitignore [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 23:58 .golangci.yml [2023-02-15T00:00:52.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 23:59 .semver [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 9818 Feb 14 23:58 Attribution.txt [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 4331 Feb 14 23:58 CHANGELOG.md [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 1659 Feb 14 23:58 Dockerfile [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 23:58 GOVERNANCE.md [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 687 Feb 14 23:58 Jenkinsfile [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 11347 Feb 14 23:58 LICENSE [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 2462 Feb 14 23:58 Makefile [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 14 23:58 OWNERS.md [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 31023 Feb 14 23:58 README.md [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:59 VERSION [2023-02-15T00:00:52.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:58 bin [2023-02-15T00:00:52.798Z] -rw-r--r-- 1 jenkins jenkins 41317 Feb 15 00:00 coverage.out [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 3509 Feb 14 23:58 go.mod [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 33265 Feb 14 23:58 go.sum [2023-02-15T00:00:52.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:58 images [2023-02-15T00:00:52.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:58 internal [2023-02-15T00:00:52.798Z] -rw-rw-r-- 1 jenkins jenkins 531 Feb 14 23:58 main.go [2023-02-15T00:00:52.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:58 res [2023-02-15T00:00:52.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:58 snap [2023-02-15T00:00:52.799Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:58 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:00:53.098Z] + 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=c7cf2657e7f6cabce1def271addb3a8afe334221 --label arch=amd64 --label version=0.0.0 . [2023-02-15T00:00:53.098Z] Sending build context to Docker daemon 12.57MB [2023-02-15T00:00:53.098Z] Step 1/29 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:00:53.098Z] Step 2/29 : FROM ${BASE} AS builder [2023-02-15T00:00:53.098Z] ---> 35c3902d675f [2023-02-15T00:00:53.098Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-02-15T00:00:53.098Z] ---> Running in 0358161dbb4c [2023-02-15T00:00:53.356Z] Removing intermediate container 0358161dbb4c [2023-02-15T00:00:53.356Z] ---> 192312132b9d [2023-02-15T00:00:53.356Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:00:53.356Z] ---> Running in a391fe7fbfce [2023-02-15T00:00:53.356Z] Removing intermediate container a391fe7fbfce [2023-02-15T00:00:53.356Z] ---> dd997a595e4a [2023-02-15T00:00:53.356Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:00:53.356Z] ---> Running in 3937bfe27124 [2023-02-15T00:00:53.614Z] Removing intermediate container 3937bfe27124 [2023-02-15T00:00:53.614Z] ---> 7be5a050c110 [2023-02-15T00:00:53.614Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:00:53.614Z] ---> Running in ce874f252c9f [2023-02-15T00:00:53.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:00:54.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:00:54.494Z] OK: 211 MiB in 51 packages [2023-02-15T00:00:54.752Z] Removing intermediate container ce874f252c9f [2023-02-15T00:00:54.752Z] ---> 98a330327e63 [2023-02-15T00:00:54.752Z] Step 7/29 : WORKDIR /app [2023-02-15T00:00:54.752Z] ---> Running in d55716dba6f9 [2023-02-15T00:00:54.752Z] Removing intermediate container d55716dba6f9 [2023-02-15T00:00:54.752Z] ---> 661a94200fee [2023-02-15T00:00:54.752Z] Step 8/29 : COPY go.mod vendor* ./ [2023-02-15T00:00:55.010Z] ---> bf08add34b17 [2023-02-15T00:00:55.010Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:00:55.010Z] ---> Running in 3697cbbbe725 [2023-02-15T00:00:55.948Z] Removing intermediate container 3697cbbbe725 [2023-02-15T00:00:55.948Z] ---> 86bd97eba6b2 [2023-02-15T00:00:55.948Z] Step 10/29 : COPY . . [2023-02-15T00:00:56.206Z] ---> d6b615777c3d [2023-02-15T00:00:56.206Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:00:56.206Z] ---> Running in 6b4a8ad0c362 [2023-02-15T00:00:56.463Z] Removing intermediate container 6b4a8ad0c362 [2023-02-15T00:00:56.463Z] ---> 493ce8da4a7e [2023-02-15T00:00:56.463Z] Step 12/29 : RUN $MAKE [2023-02-15T00:00:56.463Z] ---> Running in 10a64d9f3d20 [2023-02-15T00:00:56.722Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.28 -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-02-15T00:01:15.269Z] Removing intermediate container 10a64d9f3d20 [2023-02-15T00:01:15.269Z] ---> 7dca776c13e7 [2023-02-15T00:01:15.269Z] Step 13/29 : FROM alpine:3.14 [2023-02-15T00:01:15.269Z] 3.14: Pulling from library/alpine [2023-02-15T00:01:15.269Z] d261077062b2: Pulling fs layer [2023-02-15T00:01:15.269Z] d261077062b2: Download complete [2023-02-15T00:01:15.269Z] d261077062b2: Pull complete [2023-02-15T00:01:15.269Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-15T00:01:15.269Z] Status: Downloaded newer image for alpine:3.14 [2023-02-15T00:01:15.269Z] ---> 6dff1269bc79 [2023-02-15T00:01:15.269Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T00:01:15.530Z] ---> Running in be6eb020121c [2023-02-15T00:01:15.530Z] Removing intermediate container be6eb020121c [2023-02-15T00:01:15.530Z] ---> 569cff4fab9f [2023-02-15T00:01:15.530Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-02-15T00:01:15.530Z] ---> Running in 0dbdd60af822 [2023-02-15T00:01:15.789Z] Removing intermediate container 0dbdd60af822 [2023-02-15T00:01:15.789Z] ---> 5e27ddd37dbb [2023-02-15T00:01:15.789Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-02-15T00:01:15.789Z] ---> Running in a5f061801df7 [2023-02-15T00:01:16.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:01:16.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:01:16.564Z] (1/2) Installing ca-certificates (20220614-r0) [2023-02-15T00:01:16.564Z] (2/2) Installing dumb-init (1.2.5-r1) [2023-02-15T00:01:16.564Z] Executing busybox-1.33.1-r8.trigger [2023-02-15T00:01:16.564Z] Executing ca-certificates-20220614-r0.trigger [2023-02-15T00:01:16.831Z] OK: 6 MiB in 16 packages [2023-02-15T00:01:17.090Z] Removing intermediate container a5f061801df7 [2023-02-15T00:01:17.090Z] ---> 597feea04be1 [2023-02-15T00:01:17.090Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-02-15T00:01:17.347Z] ---> ea6fa0403dbc [2023-02-15T00:01:17.347Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-02-15T00:01:17.605Z] ---> f594a580a8b1 [2023-02-15T00:01:17.605Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-02-15T00:01:17.605Z] ---> d96aebc02072 [2023-02-15T00:01:17.605Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-02-15T00:01:17.863Z] ---> 234c0206c283 [2023-02-15T00:01:17.863Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-02-15T00:01:18.149Z] ---> a883e88722d7 [2023-02-15T00:01:18.149Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-02-15T00:01:18.409Z] ---> Running in 6d7218c28080 [2023-02-15T00:01:18.976Z] Removing intermediate container 6d7218c28080 [2023-02-15T00:01:18.976Z] ---> 332a13897f9a [2023-02-15T00:01:18.976Z] Step 23/29 : VOLUME /cache [2023-02-15T00:01:18.976Z] ---> Running in e043cc83b787 [2023-02-15T00:01:18.976Z] Removing intermediate container e043cc83b787 [2023-02-15T00:01:18.976Z] ---> 673df23c5ab7 [2023-02-15T00:01:18.976Z] Step 24/29 : EXPOSE 59711 [2023-02-15T00:01:19.234Z] ---> Running in 4a84f39f9750 [2023-02-15T00:01:19.234Z] Removing intermediate container 4a84f39f9750 [2023-02-15T00:01:19.234Z] ---> fb2049e1ba05 [2023-02-15T00:01:19.234Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-02-15T00:01:19.234Z] ---> Running in bdcc90bb62c1 [2023-02-15T00:01:19.492Z] Removing intermediate container bdcc90bb62c1 [2023-02-15T00:01:19.492Z] ---> 46883d55a42e [2023-02-15T00:01:19.492Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-02-15T00:01:19.492Z] ---> Running in 1bd2b8487abf [2023-02-15T00:01:19.492Z] Removing intermediate container 1bd2b8487abf [2023-02-15T00:01:19.492Z] ---> 1c99b5055520 [2023-02-15T00:01:19.492Z] Step 27/29 : LABEL arch=amd64 [2023-02-15T00:01:19.492Z] ---> Running in 72a1a86dca2f [2023-02-15T00:01:19.751Z] Removing intermediate container 72a1a86dca2f [2023-02-15T00:01:19.751Z] ---> f2c78592cb14 [2023-02-15T00:01:19.751Z] Step 28/29 : LABEL git_sha=c7cf2657e7f6cabce1def271addb3a8afe334221 [2023-02-15T00:01:19.751Z] ---> Running in 3da0d63e3963 [2023-02-15T00:01:19.751Z] Removing intermediate container 3da0d63e3963 [2023-02-15T00:01:19.751Z] ---> 618c67fa7e1a [2023-02-15T00:01:19.751Z] Step 29/29 : LABEL version=0.0.0 [2023-02-15T00:01:19.751Z] ---> Running in 44720375a730 [2023-02-15T00:01:20.011Z] Removing intermediate container 44720375a730 [2023-02-15T00:01:20.011Z] ---> a1aaba9d74ef [2023-02-15T00:01:20.011Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:01:20.011Z] Successfully built a1aaba9d74ef [2023-02-15T00:01:20.011Z] Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:01:20.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:01:20.434Z] [2023-02-15T00:01:20.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:01:20.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:01:20.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:01:20.732Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:01:20.732Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:01:20.732Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:01:20.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:01:20.732Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:01:20.732Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:01:20.732Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:01:20.732Z] 33b1e0a273af: Waiting [2023-02-15T00:01:20.732Z] 5d3b04190fa2: Waiting [2023-02-15T00:01:20.732Z] 2f39f015ded8: Waiting [2023-02-15T00:01:20.732Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:01:20.732Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T00:01:20.732Z] 5c69ac0246d0: Download complete [2023-02-15T00:01:20.999Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:01:20.999Z] 33b1e0a273af: Download complete [2023-02-15T00:01:20.999Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:01:20.999Z] ec43610c2a17: Download complete [2023-02-15T00:01:20.999Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T00:01:20.999Z] 5d3b04190fa2: Download complete [2023-02-15T00:01:21.263Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:01:21.263Z] 5eb5b503b376: Download complete [2023-02-15T00:01:21.830Z] 2f39f015ded8: Download complete [2023-02-15T00:01:22.395Z] 5eb5b503b376: Pull complete [2023-02-15T00:01:22.395Z] 5c69ac0246d0: Pull complete [2023-02-15T00:01:22.959Z] ec43610c2a17: Pull complete [2023-02-15T00:01:22.959Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:01:22.959Z] 33b1e0a273af: Pull complete [2023-02-15T00:01:23.219Z] 5d3b04190fa2: Pull complete [2023-02-15T00:01:27.400Z] 2f39f015ded8: Pull complete [2023-02-15T00:01:27.400Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:01:27.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:01:27.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:01:27.489Z] prd-ubuntu20.04-docker-8c-8g-5931 does not seem to be running inside a container [2023-02-15T00:01:27.505Z] $ 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-143 -v /w/workspace/y_app-rfid-llrp-inventory_PR-143:/w/workspace/y_app-rfid-llrp-inventory_PR-143:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-143@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-02-15T00:01:29.387Z] $ docker top 7cfcb20b6e14319e5a3190a7a4044e3242f1313a21aa03a2cd0e59819b4c1d5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:01:29.773Z] ---> job-cost.sh [2023-02-15T00:01:29.773Z] lf-activate-venv: SKIPPING [2023-02-15T00:01:29.773Z] INFO: No Stack... [2023-02-15T00:01:30.032Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:01:30.290Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:01:30.578Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-143/archives/cost.csv [2023-02-15T00:01:30.578Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:01:30.593Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] [2023-02-15T00:01:30.601Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] did not exist. Created. [2023-02-15T00:01:30.602Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:01:30.899Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:01:30.933Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:01:30.939Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:01:30.941Z] $ docker stop --time=1 7cfcb20b6e14319e5a3190a7a4044e3242f1313a21aa03a2cd0e59819b4c1d5e [2023-02-15T00:01:32.110Z] $ docker rm -f --volumes 7cfcb20b6e14319e5a3190a7a4044e3242f1313a21aa03a2cd0e59819b4c1d5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:02:15.375Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5934 in /w/workspace/y_app-rfid-llrp-inventory_PR-143 [Pipeline] { [Pipeline] ws [2023-02-15T00:02:15.392Z] Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout [2023-02-15T00:02:15.435Z] The recommended git tool is: git [2023-02-15T00:02:21.673Z] using credential edgex-jenkins-ssh [2023-02-15T00:02:21.697Z] Cloning the remote Git repository [2023-02-15T00:02:21.762Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-02-15T00:02:21.854Z] > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 [2023-02-15T00:02:22.027Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-02-15T00:02:22.028Z] > git --version # timeout=10 [2023-02-15T00:02:22.050Z] > git --version # 'git version 2.25.1' [2023-02-15T00:02:22.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:02:22.120Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:02:24.350Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-02-15T00:02:24.388Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:02:25.354Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-02-15T00:02:25.405Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-02-15T00:02:25.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:02:25.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T00:02:26.083Z] Merging remotes/origin/main commit 63c8b30869f87de451dd33f2aa13687440ae64a8 into PR head commit 5abbc986f9e887623c017848594ff693cc864cec [2023-02-15T00:02:26.408Z] Merge succeeded, producing fa59522e8e2e3e69f288b3ccd6c48e1eab6d6801 [2023-02-15T00:02:26.408Z] Checking out Revision fa59522e8e2e3e69f288b3ccd6c48e1eab6d6801 (PR-143) [2023-02-15T00:02:26.107Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:02:26.127Z] > git checkout -f 5abbc986f9e887623c017848594ff693cc864cec # timeout=10 [2023-02-15T00:02:26.236Z] > git remote # timeout=10 [2023-02-15T00:02:26.256Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T00:02:26.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:02:26.298Z] > git merge 63c8b30869f87de451dd33f2aa13687440ae64a8 # timeout=10 [2023-02-15T00:02:26.391Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T00:02:26.418Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:02:26.445Z] > git checkout -f fa59522e8e2e3e69f288b3ccd6c48e1eab6d6801 # timeout=10 [2023-02-15T00:02:30.003Z] Commit message: "Merge commit '63c8b30869f87de451dd33f2aa13687440ae64a8' into HEAD" [2023-02-15T00:02:30.015Z] > git rev-list --no-walk 5abbc986f9e887623c017848594ff693cc864cec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:02:30.942Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T00:02:30.942Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:02:30.942Z] Dload Upload Total Spent Left Speed [2023-02-15T00:02:30.942Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-02-15T00:02:31.673Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T00:02:32.010Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T00:02:32.010Z] + sudo tee /etc/docker/daemon.new [2023-02-15T00:02:32.010Z] { [2023-02-15T00:02:32.010Z] "registry-mirrors": [ [2023-02-15T00:02:32.010Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T00:02:32.010Z] ], [2023-02-15T00:02:32.010Z] "bip": "10.250.0.254/24", [2023-02-15T00:02:32.010Z] "hosts": [ [2023-02-15T00:02:32.010Z] "tcp://0.0.0.0:5555", [2023-02-15T00:02:32.010Z] "unix:///var/run/docker.sock" [2023-02-15T00:02:32.010Z] ], [2023-02-15T00:02:32.010Z] "mtu": 1458, [2023-02-15T00:02:32.010Z] "selinux-enabled": true, [2023-02-15T00:02:32.010Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T00:02:32.010Z] } [Pipeline] sh [2023-02-15T00:02:32.348Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T00:02:32.689Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:02:51.015Z] provisioning config files... [2023-02-15T00:02:51.046Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config1009257974045233743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:02:51.411Z] ---> docker-login.sh [2023-02-15T00:02:51.411Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:02:52.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:02:52.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:02:52.011Z] Configure a credential helper to remove this warning. See [2023-02-15T00:02:52.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:02:52.011Z] [2023-02-15T00:02:52.011Z] Login Succeeded [2023-02-15T00:02:52.011Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:02:52.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:02:52.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:02:52.609Z] Configure a credential helper to remove this warning. See [2023-02-15T00:02:52.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:02:52.609Z] [2023-02-15T00:02:52.609Z] Login Succeeded [2023-02-15T00:02:52.609Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:02:52.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:02:52.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:02:52.893Z] Configure a credential helper to remove this warning. See [2023-02-15T00:02:52.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:02:52.893Z] [2023-02-15T00:02:52.893Z] Login Succeeded [2023-02-15T00:02:53.166Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:02:53.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:02:53.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:02:53.442Z] Configure a credential helper to remove this warning. See [2023-02-15T00:02:53.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:02:53.442Z] [2023-02-15T00:02:53.442Z] Login Succeeded [2023-02-15T00:02:53.442Z] docker.io [2023-02-15T00:02:53.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:02:53.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:02:53.988Z] Configure a credential helper to remove this warning. See [2023-02-15T00:02:53.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:02:53.988Z] [2023-02-15T00:02:53.988Z] Login Succeeded [2023-02-15T00:02:53.988Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:02:54.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:02:54.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:02:54.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:02:54.379Z] ========================================================= [2023-02-15T00:02:54.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T00:02:54.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:02:54.738Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T00:02:55.011Z] Sending build context to Docker daemon 683kB [2023-02-15T00:02:55.011Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:02:55.011Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:02:55.286Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T00:02:55.286Z] 9b18e9b68314: Pulling fs layer [2023-02-15T00:02:55.286Z] 35d82f9e3411: Pulling fs layer [2023-02-15T00:02:55.286Z] e16973657156: Pulling fs layer [2023-02-15T00:02:55.286Z] fc693d55d65f: Pulling fs layer [2023-02-15T00:02:55.286Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T00:02:55.286Z] dda99020689f: Pulling fs layer [2023-02-15T00:02:55.286Z] db1c61fa0a46: Pulling fs layer [2023-02-15T00:02:55.286Z] 891c053d2c06: Pulling fs layer [2023-02-15T00:02:55.286Z] fc693d55d65f: Waiting [2023-02-15T00:02:55.286Z] 7e9fc2657dce: Waiting [2023-02-15T00:02:55.286Z] dda99020689f: Waiting [2023-02-15T00:02:55.286Z] db1c61fa0a46: Waiting [2023-02-15T00:02:55.286Z] 891c053d2c06: Waiting [2023-02-15T00:02:55.286Z] e16973657156: Verifying Checksum [2023-02-15T00:02:55.286Z] e16973657156: Download complete [2023-02-15T00:02:55.286Z] 35d82f9e3411: Verifying Checksum [2023-02-15T00:02:55.286Z] 35d82f9e3411: Download complete [2023-02-15T00:02:55.286Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T00:02:55.286Z] 7e9fc2657dce: Download complete [2023-02-15T00:02:55.286Z] dda99020689f: Download complete [2023-02-15T00:02:55.286Z] 9b18e9b68314: Verifying Checksum [2023-02-15T00:02:55.286Z] 9b18e9b68314: Download complete [2023-02-15T00:02:56.295Z] 9b18e9b68314: Pull complete [2023-02-15T00:02:56.902Z] 891c053d2c06: Verifying Checksum [2023-02-15T00:02:56.902Z] 891c053d2c06: Download complete [2023-02-15T00:02:56.902Z] 35d82f9e3411: Pull complete [2023-02-15T00:02:57.507Z] e16973657156: Pull complete [2023-02-15T00:02:58.123Z] db1c61fa0a46: Download complete [2023-02-15T00:02:58.727Z] fc693d55d65f: Verifying Checksum [2023-02-15T00:02:58.727Z] fc693d55d65f: Download complete [2023-02-15T00:03:13.800Z] fc693d55d65f: Pull complete [2023-02-15T00:03:13.800Z] 7e9fc2657dce: Pull complete [2023-02-15T00:03:13.800Z] dda99020689f: Pull complete [2023-02-15T00:03:19.179Z] db1c61fa0a46: Pull complete [2023-02-15T00:03:20.601Z] 891c053d2c06: Pull complete [2023-02-15T00:03:20.601Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T00:03:20.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T00:03:20.875Z] ---> f96f9c87975a [2023-02-15T00:03:20.875Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-02-15T00:03:21.850Z] ---> Running in 383f61db32bd [2023-02-15T00:03:22.118Z] Removing intermediate container 383f61db32bd [2023-02-15T00:03:22.118Z] ---> 0060929478de [2023-02-15T00:03:22.118Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:03:22.118Z] ---> Running in b705e6e9cb4b [2023-02-15T00:03:22.387Z] Removing intermediate container b705e6e9cb4b [2023-02-15T00:03:22.387Z] ---> e5017da6d2df [2023-02-15T00:03:22.387Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:03:22.387Z] ---> Running in ec81f3cc22a6 [2023-02-15T00:03:22.972Z] Removing intermediate container ec81f3cc22a6 [2023-02-15T00:03:22.972Z] ---> f20b040bb67f [2023-02-15T00:03:22.972Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:03:22.972Z] ---> Running in 17bd46ba2e03 [2023-02-15T00:03:24.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:03:24.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:03:25.804Z] OK: 221 MiB in 51 packages [2023-02-15T00:03:27.225Z] Removing intermediate container 17bd46ba2e03 [2023-02-15T00:03:27.225Z] ---> fffad632a284 [2023-02-15T00:03:27.225Z] Step 7/12 : WORKDIR /app [2023-02-15T00:03:27.225Z] ---> Running in 1c0781fc42a9 [2023-02-15T00:03:27.495Z] Removing intermediate container 1c0781fc42a9 [2023-02-15T00:03:27.495Z] ---> 6a422d73a2e8 [2023-02-15T00:03:27.495Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-15T00:03:28.087Z] ---> 2ead8b09de82 [2023-02-15T00:03:28.087Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:03:28.087Z] ---> Running in 4aa662a97653 [2023-02-15T00:04:49.841Z] Removing intermediate container 4aa662a97653 [2023-02-15T00:04:49.841Z] ---> 8f2ea2109d6f [2023-02-15T00:04:49.841Z] Step 10/12 : COPY . . [2023-02-15T00:04:49.841Z] ---> b575693b9319 [2023-02-15T00:04:49.841Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:04:49.841Z] ---> Running in e0216c50e881 [2023-02-15T00:04:49.841Z] Removing intermediate container e0216c50e881 [2023-02-15T00:04:49.841Z] ---> dabefccb9de6 [2023-02-15T00:04:49.841Z] Step 12/12 : RUN $MAKE [2023-02-15T00:04:49.841Z] ---> Running in 7ee5d71ce157 [2023-02-15T00:04:49.841Z] noop [2023-02-15T00:04:49.841Z] Removing intermediate container 7ee5d71ce157 [2023-02-15T00:04:49.841Z] ---> 8c5dfdd0b84f [2023-02-15T00:04:49.841Z] Successfully built 8c5dfdd0b84f [2023-02-15T00:04:49.841Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:04:50.202Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:04:50.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:04:50.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-5934 does not seem to be running inside a container [2023-02-15T00:04:50.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T00:04:51.815Z] $ docker top 1bb5c2b5264ebeb8edced711b8ef48ada660612fdbb08c04bb2cdc9c5eec35cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:04:52.670Z] + go version [2023-02-15T00:04:52.670Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T00:04:52.692Z] $ docker stop --time=1 1bb5c2b5264ebeb8edced711b8ef48ada660612fdbb08c04bb2cdc9c5eec35cb [2023-02-15T00:04:54.398Z] $ docker rm -f --volumes 1bb5c2b5264ebeb8edced711b8ef48ada660612fdbb08c04bb2cdc9c5eec35cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:04:54.950Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:04:54.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:04:55.149Z] prd-ubuntu20.04-docker-arm64-4c-16g-5934 does not seem to be running inside a container [2023-02-15T00:04:55.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T00:04:56.561Z] $ docker top 30e0d4ad2c2b5599e38f671190227d5f365fb978c414d472b929c4ca8e1b9d1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:04:57.409Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:04:58.069Z] + make test [2023-02-15T00:04:58.069Z] go test -race ./... -coverprofile=coverage.out ./... [2023-02-15T00:07:49.908Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-02-15T00:08:04.910Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.982s coverage: 86.2% of statements [2023-02-15T00:08:04.910Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-02-15T00:08:17.218Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.749s coverage: 71.9% of statements [2023-02-15T00:08:17.218Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T00:08:17.218Z] go vet ./... [2023-02-15T00:10:08.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:10:08.914Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:10:08.914Z] ./bin/test-attribution.sh [2023-02-15T00:10:08.914Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:10:08.914Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:10:08.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:10:08.948Z] $ docker stop --time=1 30e0d4ad2c2b5599e38f671190227d5f365fb978c414d472b929c4ca8e1b9d1d [2023-02-15T00:10:11.224Z] $ docker rm -f --volumes 30e0d4ad2c2b5599e38f671190227d5f365fb978c414d472b929c4ca8e1b9d1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:10:12.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:10:12.743Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T00:10:13.543Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:10:13.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:10:14.311Z] + ls -al . [2023-02-15T00:10:14.311Z] total 228 [2023-02-15T00:10:14.311Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:04 . [2023-02-15T00:10:14.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:02 .. [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 262 Feb 15 00:02 .dockerignore [2023-02-15T00:10:14.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:02 .git [2023-02-15T00:10:14.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:02 .github [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 788 Feb 15 00:02 .gitignore [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:02 .golangci.yml [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 9818 Feb 15 00:02 Attribution.txt [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 4331 Feb 15 00:02 CHANGELOG.md [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 1659 Feb 15 00:02 Dockerfile [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:02 GOVERNANCE.md [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 687 Feb 15 00:02 Jenkinsfile [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 11347 Feb 15 00:02 LICENSE [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 2462 Feb 15 00:02 Makefile [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 15 00:02 OWNERS.md [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 31023 Feb 15 00:02 README.md [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:59 VERSION [2023-02-15T00:10:14.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:02 bin [2023-02-15T00:10:14.311Z] -rw-r--r-- 1 jenkins jenkins 41317 Feb 15 00:08 coverage.out [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 3509 Feb 15 00:02 go.mod [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 33265 Feb 15 00:02 go.sum [2023-02-15T00:10:14.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:02 images [2023-02-15T00:10:14.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:02 internal [2023-02-15T00:10:14.311Z] -rw-rw-r-- 1 jenkins jenkins 531 Feb 15 00:02 main.go [2023-02-15T00:10:14.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:02 res [2023-02-15T00:10:14.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:02 snap [2023-02-15T00:10:14.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:02 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:10:14.685Z] + 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=fa59522e8e2e3e69f288b3ccd6c48e1eab6d6801 --label arch=arm64 --label version=0.0.0 . [2023-02-15T00:10:14.971Z] Sending build context to Docker daemon 683kB [2023-02-15T00:10:14.971Z] Step 1/29 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:10:14.971Z] Step 2/29 : FROM ${BASE} AS builder [2023-02-15T00:10:14.971Z] ---> 8c5dfdd0b84f [2023-02-15T00:10:14.971Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-02-15T00:10:15.246Z] ---> Running in 1099e0ae507a [2023-02-15T00:10:15.517Z] Removing intermediate container 1099e0ae507a [2023-02-15T00:10:15.517Z] ---> 819b7b6f46f4 [2023-02-15T00:10:15.517Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:10:15.517Z] ---> Running in f5a5616ab471 [2023-02-15T00:10:16.111Z] Removing intermediate container f5a5616ab471 [2023-02-15T00:10:16.111Z] ---> 6d9fda917169 [2023-02-15T00:10:16.111Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:10:16.111Z] ---> Running in b8313835d8a6 [2023-02-15T00:10:16.382Z] Removing intermediate container b8313835d8a6 [2023-02-15T00:10:16.382Z] ---> a83ac97f7e28 [2023-02-15T00:10:16.382Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:10:16.382Z] ---> Running in 5a1fa240dd39 [2023-02-15T00:10:17.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:10:18.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:10:19.503Z] OK: 221 MiB in 51 packages [2023-02-15T00:10:20.092Z] Removing intermediate container 5a1fa240dd39 [2023-02-15T00:10:20.092Z] ---> 3e2e531cd2a9 [2023-02-15T00:10:20.092Z] Step 7/29 : WORKDIR /app [2023-02-15T00:10:20.372Z] ---> Running in 84dea482348f [2023-02-15T00:10:20.641Z] Removing intermediate container 84dea482348f [2023-02-15T00:10:20.641Z] ---> a6eda7478279 [2023-02-15T00:10:20.641Z] Step 8/29 : COPY go.mod vendor* ./ [2023-02-15T00:10:21.243Z] ---> 09e8a153d713 [2023-02-15T00:10:21.243Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:10:21.243Z] ---> Running in a5c5afb0c7e7 [2023-02-15T00:10:24.602Z] Removing intermediate container a5c5afb0c7e7 [2023-02-15T00:10:24.602Z] ---> 391df720edf6 [2023-02-15T00:10:24.602Z] Step 10/29 : COPY . . [2023-02-15T00:10:24.872Z] ---> 7f9c34c2e82f [2023-02-15T00:10:24.872Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:10:24.872Z] ---> Running in 99b6c1220784 [2023-02-15T00:10:25.147Z] Removing intermediate container 99b6c1220784 [2023-02-15T00:10:25.147Z] ---> 7ed9df4e805c [2023-02-15T00:10:25.147Z] Step 12/29 : RUN $MAKE [2023-02-15T00:10:25.414Z] ---> Running in 2a3da6ca177a [2023-02-15T00:10:26.380Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.28 -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-02-15T00:13:03.149Z] Removing intermediate container 2a3da6ca177a [2023-02-15T00:13:03.149Z] ---> 29f7acec61a9 [2023-02-15T00:13:03.149Z] Step 13/29 : FROM alpine:3.14 [2023-02-15T00:13:03.149Z] 3.14: Pulling from library/alpine [2023-02-15T00:13:03.149Z] 6f0e733d82e2: Pulling fs layer [2023-02-15T00:13:03.149Z] 6f0e733d82e2: Verifying Checksum [2023-02-15T00:13:03.149Z] 6f0e733d82e2: Download complete [2023-02-15T00:13:03.149Z] 6f0e733d82e2: Pull complete [2023-02-15T00:13:03.149Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-15T00:13:03.149Z] Status: Downloaded newer image for alpine:3.14 [2023-02-15T00:13:03.149Z] ---> bf97f6347a60 [2023-02-15T00:13:03.149Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T00:13:03.149Z] ---> Running in df3202b26871 [2023-02-15T00:13:03.149Z] Removing intermediate container df3202b26871 [2023-02-15T00:13:03.149Z] ---> ce5a65bdc603 [2023-02-15T00:13:03.149Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-02-15T00:13:03.149Z] ---> Running in 95663215ccce [2023-02-15T00:13:03.149Z] Removing intermediate container 95663215ccce [2023-02-15T00:13:03.149Z] ---> faa5de231b51 [2023-02-15T00:13:03.149Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-02-15T00:13:03.149Z] ---> Running in 992684ebede9 [2023-02-15T00:13:03.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:13:03.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:13:03.149Z] (1/2) Installing ca-certificates (20220614-r0) [2023-02-15T00:13:03.149Z] (2/2) Installing dumb-init (1.2.5-r1) [2023-02-15T00:13:03.149Z] Executing busybox-1.33.1-r8.trigger [2023-02-15T00:13:03.149Z] Executing ca-certificates-20220614-r0.trigger [2023-02-15T00:13:03.149Z] OK: 6 MiB in 16 packages [2023-02-15T00:13:03.149Z] Removing intermediate container 992684ebede9 [2023-02-15T00:13:03.149Z] ---> 5a327689b876 [2023-02-15T00:13:03.149Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-02-15T00:13:03.149Z] ---> 1f88b529c2d7 [2023-02-15T00:13:03.149Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-02-15T00:13:03.149Z] ---> 556120c87962 [2023-02-15T00:13:03.149Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-02-15T00:13:03.149Z] ---> c8b8d3907375 [2023-02-15T00:13:03.149Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-02-15T00:13:03.149Z] ---> e0e4d2419c98 [2023-02-15T00:13:03.149Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-02-15T00:13:03.149Z] ---> 0742897441c1 [2023-02-15T00:13:03.149Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-02-15T00:13:03.149Z] ---> Running in a46062f79bd7 [2023-02-15T00:13:03.149Z] Removing intermediate container a46062f79bd7 [2023-02-15T00:13:03.149Z] ---> 76c8c7fd374b [2023-02-15T00:13:03.149Z] Step 23/29 : VOLUME /cache [2023-02-15T00:13:03.149Z] ---> Running in d02eaba66c5c [2023-02-15T00:13:03.149Z] Removing intermediate container d02eaba66c5c [2023-02-15T00:13:03.149Z] ---> 8e2261e7acf3 [2023-02-15T00:13:03.149Z] Step 24/29 : EXPOSE 59711 [2023-02-15T00:13:03.149Z] ---> Running in f586946fcf79 [2023-02-15T00:13:03.149Z] Removing intermediate container f586946fcf79 [2023-02-15T00:13:03.149Z] ---> 97ab901633a3 [2023-02-15T00:13:03.149Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-02-15T00:13:03.149Z] ---> Running in db669c1d2377 [2023-02-15T00:13:03.735Z] Removing intermediate container db669c1d2377 [2023-02-15T00:13:03.735Z] ---> 3bd8efd1d334 [2023-02-15T00:13:03.735Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-02-15T00:13:03.735Z] ---> Running in 70eb16098848 [2023-02-15T00:13:04.003Z] Removing intermediate container 70eb16098848 [2023-02-15T00:13:04.003Z] ---> 3098acf99cc8 [2023-02-15T00:13:04.003Z] Step 27/29 : LABEL arch=arm64 [2023-02-15T00:13:04.003Z] ---> Running in 3a2c123273d6 [2023-02-15T00:13:04.271Z] Removing intermediate container 3a2c123273d6 [2023-02-15T00:13:04.271Z] ---> f9e250d37c9d [2023-02-15T00:13:04.271Z] Step 28/29 : LABEL git_sha=fa59522e8e2e3e69f288b3ccd6c48e1eab6d6801 [2023-02-15T00:13:04.540Z] ---> Running in 0a212e6dd2bd [2023-02-15T00:13:04.814Z] Removing intermediate container 0a212e6dd2bd [2023-02-15T00:13:04.814Z] ---> 824fdbe83bab [2023-02-15T00:13:04.814Z] Step 29/29 : LABEL version=0.0.0 [2023-02-15T00:13:04.814Z] ---> Running in 4f6952b494f5 [2023-02-15T00:13:05.400Z] Removing intermediate container 4f6952b494f5 [2023-02-15T00:13:05.400Z] ---> cb828c755cb9 [2023-02-15T00:13:05.400Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:13:05.400Z] Successfully built cb828c755cb9 [2023-02-15T00:13:05.400Z] 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-02-15T00:13:05.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:13:05.837Z] [2023-02-15T00:13:05.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:13:06.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:13:06.450Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:13:06.450Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:13:06.450Z] 04944245beec: Pulling fs layer [2023-02-15T00:13:06.450Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:13:06.450Z] 765212b225bb: Pulling fs layer [2023-02-15T00:13:06.450Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:13:06.450Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:13:06.450Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:13:06.450Z] f23df028b6ca: Waiting [2023-02-15T00:13:06.450Z] d65c8cfc05b1: Waiting [2023-02-15T00:13:06.450Z] 2437ff75d9bd: Waiting [2023-02-15T00:13:06.450Z] 765212b225bb: Waiting [2023-02-15T00:13:06.450Z] 04944245beec: Verifying Checksum [2023-02-15T00:13:06.450Z] 04944245beec: Download complete [2023-02-15T00:13:06.450Z] 765212b225bb: Verifying Checksum [2023-02-15T00:13:06.450Z] 765212b225bb: Download complete [2023-02-15T00:13:06.720Z] f23df028b6ca: Download complete [2023-02-15T00:13:06.720Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:13:06.720Z] d65c8cfc05b1: Download complete [2023-02-15T00:13:06.720Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:13:06.720Z] 699f458cf7ca: Download complete [2023-02-15T00:13:07.308Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T00:13:07.308Z] 8998bd30e6a1: Download complete [2023-02-15T00:13:10.121Z] 2437ff75d9bd: Download complete [2023-02-15T00:13:11.090Z] 8998bd30e6a1: Pull complete [2023-02-15T00:13:11.680Z] 04944245beec: Pull complete [2023-02-15T00:13:13.095Z] 699f458cf7ca: Pull complete [2023-02-15T00:13:13.095Z] 765212b225bb: Pull complete [2023-02-15T00:13:14.057Z] f23df028b6ca: Pull complete [2023-02-15T00:13:14.057Z] d65c8cfc05b1: Pull complete [2023-02-15T00:13:29.069Z] 2437ff75d9bd: Pull complete [2023-02-15T00:13:29.069Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:13:29.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:13:29.069Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:13:29.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-5934 does not seem to be running inside a container [2023-02-15T00:13:29.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T00:13:32.208Z] $ docker top 8fc669c0832941f233d0c9e16da2936b319945c4e88925119dc668552b4cb24a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:33.068Z] ---> job-cost.sh [2023-02-15T00:13:33.068Z] lf-activate-venv: SKIPPING [2023-02-15T00:13:33.068Z] INFO: No Stack... [2023-02-15T00:13:33.655Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:13:34.237Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:13:34.883Z] + + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csvcut [2023-02-15T00:13:34.883Z] -d, -f6 [Pipeline] lock [2023-02-15T00:13:34.964Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] [2023-02-15T00:13:34.973Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] did not exist. Created. [2023-02-15T00:13:34.973Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:13:35.639Z] /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-72b9ce39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:13:36.299Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:13:36.323Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:13:36.382Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:13:36.388Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-143-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:13:36.409Z] $ docker stop --time=1 8fc669c0832941f233d0c9e16da2936b319945c4e88925119dc668552b4cb24a [2023-02-15T00:13:37.977Z] $ docker rm -f --volumes 8fc669c0832941f233d0c9e16da2936b319945c4e88925119dc668552b4cb24a [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-02-15T00:13:38.342Z] provisioning config files... [2023-02-15T00:13:38.348Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/config315587699675430660tmp [Pipeline] { [Pipeline] sh [2023-02-15T00:13:38.636Z] + set +x [2023-02-15T00:13:38.636Z] + curl -s https://codecov.io/bash [2023-02-15T00:13:38.636Z] + bash -s -- [2023-02-15T00:13:38.636Z] [2023-02-15T00:13:38.636Z] _____ _ [2023-02-15T00:13:38.636Z] / ____| | | [2023-02-15T00:13:38.636Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T00:13:38.636Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T00:13:38.636Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T00:13:38.636Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T00:13:38.636Z] Bash-1.0.6 [2023-02-15T00:13:38.636Z] [2023-02-15T00:13:38.636Z] [2023-02-15T00:13:38.636Z] ==> git version 2.25.1 found [2023-02-15T00:13:38.636Z] ==> 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-02-15T00:13:38.636Z] Release-Date: 2020-01-08 [2023-02-15T00:13:38.636Z] 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-02-15T00:13:38.636Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T00:13:38.636Z] ==> Jenkins CI detected. [2023-02-15T00:13:38.636Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-143 [2023-02-15T00:13:38.636Z] project root: . [2023-02-15T00:13:38.636Z] --> token set from env [2023-02-15T00:13:38.636Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T00:13:38.636Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T00:13:38.636Z] ==> Python coveragepy not found [2023-02-15T00:13:38.636Z] ==> Searching for coverage reports in: [2023-02-15T00:13:38.636Z] + . [2023-02-15T00:13:38.636Z] -> Found 1 reports [2023-02-15T00:13:38.636Z] ==> Detecting git/mercurial file structure [2023-02-15T00:13:38.636Z] ==> Reading reports [2023-02-15T00:13:38.636Z] + ./coverage.out bytes=41317 [2023-02-15T00:13:38.636Z] ==> Appending adjustments [2023-02-15T00:13:38.636Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T00:13:38.895Z] + Found adjustments [2023-02-15T00:13:38.895Z] ==> Gzipping contents [2023-02-15T00:13:38.895Z] 12K /tmp/codecov.2ppiaS.gz [2023-02-15T00:13:38.895Z] ==> Uploading reports [2023-02-15T00:13:38.895Z] url: https://codecov.io [2023-02-15T00:13:38.895Z] query: branch=PR-143&commit=c7cf2657e7f6cabce1def271addb3a8afe334221&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-143%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=143&job=&cmd_args= [2023-02-15T00:13:38.895Z] -> Pinging Codecov [2023-02-15T00:13:38.895Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-143&commit=c7cf2657e7f6cabce1def271addb3a8afe334221&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-143%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=143&job=&cmd_args= [2023-02-15T00:13:39.155Z] -> Uploading to [2023-02-15T00:13:39.155Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/581DD39554BDF9B6E22D074273EAD858/c7cf2657e7f6cabce1def271addb3a8afe334221/4cc3a7bd-2863-450a-a300-45a1febea3c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T001338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ebc3ab00abf76caa66a0290fb00788c549117e2f464427f4f163125698c349db [2023-02-15T00:13:39.155Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:13:39.155Z] Dload Upload Total Spent Left Speed [2023-02-15T00:13:39.414Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11846 0 0 100 11846 0 46637 --:--:-- --:--:-- --:--:-- 46637 100 11846 0 0 100 11846 0 46637 --:--:-- --:--:-- --:--:-- 46454 [2023-02-15T00:13:39.414Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c7cf2657e7f6cabce1def271addb3a8afe334221 [Pipeline] } [2023-02-15T00:13:39.422Z] 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-02-15T00:13:40.096Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-143/archives ] [2023-02-15T00:13:40.097Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-143/archives [2023-02-15T00:13:40.097Z] total 16 [2023-02-15T00:13:40.097Z] drwxr-xr-x 3 root root 4096 Feb 15 00:01 . [2023-02-15T00:13:40.097Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 00:01 .. [2023-02-15T00:13:40.097Z] drwxr-xr-x 2 root root 4096 Feb 15 00:01 cost [2023-02-15T00:13:40.097Z] -rw-r--r-- 1 root root 95 Feb 15 00:01 cost.csv [2023-02-15T00:13:40.097Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-143/archives [2023-02-15T00:13:40.097Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-143/archives [2023-02-15T00:13:40.097Z] total 16 [2023-02-15T00:13:40.097Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:01 . [2023-02-15T00:13:40.097Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 00:01 .. [2023-02-15T00:13:40.097Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:01 cost [2023-02-15T00:13:40.097Z] -rw-r--r-- 1 jenkins jenkins 95 Feb 15 00:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:40.389Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:41.251Z] ---> package-listing.sh [2023-02-15T00:13:41.251Z] ++ facter osfamily [2023-02-15T00:13:41.251Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:13:41.510Z] + OS_FAMILY=debian [2023-02-15T00:13:41.510Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-143 [2023-02-15T00:13:41.510Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:13:41.510Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:13:41.510Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:13:41.510Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:13:41.510Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-143 ']' [2023-02-15T00:13:41.510Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:13:41.510Z] + case "${OS_FAMILY}" in [2023-02-15T00:13:41.510Z] + dpkg -l [2023-02-15T00:13:41.510Z] + grep '^ii' [2023-02-15T00:13:41.510Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:13:41.510Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:13:41.510Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:13:41.510Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-143 ']' [2023-02-15T00:13:41.510Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-143/archives/ [2023-02-15T00:13:41.510Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-143/archives/ [Pipeline] echo [2023-02-15T00:13:41.523Z] 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-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:13:41.804Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:13:42.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:13:42.372Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:13:42.444Z] prd-ubuntu20.04-docker-8c-8g-5931 does not seem to be running inside a container [2023-02-15T00:13:42.462Z] $ 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-143/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-143 -v /w/workspace/y_app-rfid-llrp-inventory_PR-143:/w/workspace/y_app-rfid-llrp-inventory_PR-143:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-143@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:13:42.897Z] $ docker top 6ac4d6ed36b0709a25a1a410f381ac0aa24da6ffa08971defd5394fc4022e2fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:13:43.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:13:43.545Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:13:43.832Z] + ls /var/log/sa-host [2023-02-15T00:13:43.832Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:13:43.896Z] provisioning config files... [2023-02-15T00:13:43.904Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-143@tmp/config14351295404653468202tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:13:43.919Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:44.199Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:13:44.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:44.533Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:13:44.540Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:44.824Z] ---> sudo-logs.sh [2023-02-15T00:13:44.824Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:13:44.858Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:45.142Z] ---> job-cost.sh [2023-02-15T00:13:45.142Z] lf-activate-venv: SKIPPING [2023-02-15T00:13:45.142Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:13:45.142Z] INFO: Retrieving Stack Cost... [2023-02-15T00:13:46.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:13:46.521Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:13:46.535Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:13:46.820Z] ---> logs-deploy.sh [2023-02-15T00:13:46.820Z] lf-activate-venv: SKIPPING [2023-02-15T00:13:46.820Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-143/2 [2023-02-15T00:13:46.820Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:13:47.758Z] Archives upload complete. [2023-02-15T00:13:48.019Z] INFO: archiving logs to Nexus