Pull request #227 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from c895c02946e1a59c8ddbef8aecdd97cb56dca6f0+42a4aea364fc3b5da0341fdab57a071fe1627109 (f81e8dcf2ba7dd5973a41d2fba7950d8433655a9) 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-ssh14753727118429138241.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10650679846894848114.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3128641640304326412.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh341844464439876514.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5990037531798027184.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15433514231889295966.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-6826 in /w/workspace/y_app-rfid-llrp-inventory_PR-227 [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-227 # 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 Merging remotes/origin/main commit 42a4aea364fc3b5da0341fdab57a071fe1627109 into PR head commit c895c02946e1a59c8ddbef8aecdd97cb56dca6f0 Merge succeeded, producing 968cfc8fa38aafc00ed1937b90d18a05ab384237 Checking out Revision 968cfc8fa38aafc00ed1937b90d18a05ab384237 (PR-227) > 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/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c895c02946e1a59c8ddbef8aecdd97cb56dca6f0 # 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 42a4aea364fc3b5da0341fdab57a071fe1627109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 968cfc8fa38aafc00ed1937b90d18a05ab384237 # timeout=10 Commit message: "Merge commit '42a4aea364fc3b5da0341fdab57a071fe1627109' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:31:57.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:31:57.920Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:31:58.024Z] ========================================================= [2023-09-20T17:31:58.024Z] EdgeX Global Pipelines Version Info [2023-09-20T17:31:58.024Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:31:58.755Z] ------------------- [2023-09-20T17:31:58.755Z] stable info: [2023-09-20T17:31:58.755Z] ------------------- [2023-09-20T17:31:58.755Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:31:58.755Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:31:58.755Z] Message: update stable to v1.0.254 [2023-09-20T17:31:59.325Z] ------------------- [2023-09-20T17:31:59.325Z] experimental info: [2023-09-20T17:31:59.325Z] ------------------- [2023-09-20T17:31:59.325Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:31:59.325Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:31:59.325Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:31:59.617Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-09-20T17:31:59.662Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-09-20T17:31:59.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:31:59.741Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:31:59.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:31:59.826Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:31:59.869Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:31:59.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T17:31:59.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:32:00.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:32:00.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:32:00.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-09-20T17:32:00.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:32:00.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:32:00.200Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:32:00.243Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:32:00.288Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:32:00.340Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:32:00.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:32:00.461Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:32:00.504Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T17:32:00.548Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T17:32:00.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:32:00.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:32:00.669Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:32:00.710Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:32:00.749Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:32:00.789Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-227 [Pipeline] echo [2023-09-20T17:32:00.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-227 [Pipeline] echo [2023-09-20T17:32:00.879Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-227 [Pipeline] echo [2023-09-20T17:32:00.922Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 968cfc8fa38aafc00ed1937b90d18a05ab384237 [Pipeline] echo [2023-09-20T17:32:00.968Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 968cfc8 [Pipeline] echo [2023-09-20T17:32:01.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:32:01.114Z] provisioning config files... [2023-09-20T17:32:01.129Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/config2046213016516951804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:32:01.479Z] ---> docker-login.sh [2023-09-20T17:32:01.479Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:32:01.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:01.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:01.738Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:01.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:01.738Z] [2023-09-20T17:32:01.738Z] Login Succeeded [2023-09-20T17:32:01.738Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:32:01.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:01.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:01.996Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:01.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:01.996Z] [2023-09-20T17:32:01.996Z] Login Succeeded [2023-09-20T17:32:01.996Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:32:01.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:01.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:01.996Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:01.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:01.996Z] [2023-09-20T17:32:01.996Z] Login Succeeded [2023-09-20T17:32:01.996Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:32:02.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:02.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:02.255Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:02.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:02.255Z] [2023-09-20T17:32:02.255Z] Login Succeeded [2023-09-20T17:32:02.255Z] docker.io [2023-09-20T17:32:02.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:02.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:02.514Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:02.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:02.514Z] [2023-09-20T17:32:02.514Z] Login Succeeded [2023-09-20T17:32:02.514Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:32:02.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:32:03.195Z] + git rev-list -1 --merges 968cfc8fa38aafc00ed1937b90d18a05ab384237~1..968cfc8fa38aafc00ed1937b90d18a05ab384237 [Pipeline] echo [2023-09-20T17:32:03.252Z] -----------> git rev-list -1 --merges 968cfc8fa38aafc00ed1937b90d18a05ab384237~1..968cfc8fa38aafc00ed1937b90d18a05ab384237 968cfc8fa38aafc00ed1937b90d18a05ab384237 [2023-09-20T17:32:03.252Z] 968cfc8fa38aafc00ed1937b90d18a05ab384237 [false] [Pipeline] sh [2023-09-20T17:32:03.564Z] + git log --format=format:%s -1 968cfc8fa38aafc00ed1937b90d18a05ab384237 [Pipeline] echo [2023-09-20T17:32:03.601Z] ========================================================= [2023-09-20T17:32:03.601Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:32:03.601Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:32:04.025Z] + git log --format=format:%s -1 968cfc8fa38aafc00ed1937b90d18a05ab384237 [Pipeline] echo [2023-09-20T17:32:04.057Z] [semverPrep] GIT_COMMIT: 968cfc8fa38aafc00ed1937b90d18a05ab384237, Commit Message: Merge commit '42a4aea364fc3b5da0341fdab57a071fe1627109' into HEAD [Pipeline] echo [2023-09-20T17:32:04.088Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:32:04.664Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:32:04.664Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:32:04.664Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:32:04.664Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:32:04.664Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:32:04.664Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:32:04.664Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:32:05.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:32:05.154Z] [2023-09-20T17:32:05.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:32:05.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:32:05.551Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:32:05.551Z] b85a868b505f: Pulling fs layer [2023-09-20T17:32:05.551Z] e2be974225ed: Pulling fs layer [2023-09-20T17:32:05.551Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:32:05.551Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:32:05.551Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:32:05.551Z] eaf3925da568: Pulling fs layer [2023-09-20T17:32:05.551Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:32:05.551Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:32:05.551Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:32:05.551Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:32:05.551Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:32:05.551Z] bab4dde63d76: Waiting [2023-09-20T17:32:05.551Z] bde34c3a00c8: Waiting [2023-09-20T17:32:05.551Z] b352a97aabf1: Waiting [2023-09-20T17:32:05.551Z] 4872d77fe225: Waiting [2023-09-20T17:32:05.551Z] 5851b861e8e6: Waiting [2023-09-20T17:32:05.551Z] 988bab9f4d93: Waiting [2023-09-20T17:32:05.551Z] 1469e6f7b9e6: Waiting [2023-09-20T17:32:05.551Z] eaf3925da568: Waiting [2023-09-20T17:32:05.551Z] e2be974225ed: Download complete [2023-09-20T17:32:05.551Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:32:05.551Z] 988bab9f4d93: Download complete [2023-09-20T17:32:05.813Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:32:05.813Z] 1469e6f7b9e6: Download complete [2023-09-20T17:32:05.813Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:32:05.813Z] 339a4e72a1f5: Download complete [2023-09-20T17:32:05.814Z] eaf3925da568: Verifying Checksum [2023-09-20T17:32:05.814Z] eaf3925da568: Download complete [2023-09-20T17:32:05.814Z] bde34c3a00c8: Verifying Checksum [2023-09-20T17:32:05.814Z] bde34c3a00c8: Download complete [2023-09-20T17:32:05.814Z] b352a97aabf1: Verifying Checksum [2023-09-20T17:32:05.814Z] b352a97aabf1: Download complete [2023-09-20T17:32:05.814Z] 4872d77fe225: Verifying Checksum [2023-09-20T17:32:05.814Z] 4872d77fe225: Download complete [2023-09-20T17:32:05.814Z] 5851b861e8e6: Download complete [2023-09-20T17:32:05.814Z] b85a868b505f: Verifying Checksum [2023-09-20T17:32:05.814Z] b85a868b505f: Download complete [2023-09-20T17:32:06.075Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:32:06.075Z] bab4dde63d76: Download complete [2023-09-20T17:32:07.015Z] b85a868b505f: Pull complete [2023-09-20T17:32:07.277Z] e2be974225ed: Pull complete [2023-09-20T17:32:07.536Z] 339a4e72a1f5: Pull complete [2023-09-20T17:32:09.851Z] 988bab9f4d93: Pull complete [2023-09-20T17:32:09.851Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:32:09.851Z] eaf3925da568: Pull complete [2023-09-20T17:32:09.851Z] bab4dde63d76: Pull complete [2023-09-20T17:32:09.851Z] bde34c3a00c8: Pull complete [2023-09-20T17:32:10.110Z] b352a97aabf1: Pull complete [2023-09-20T17:32:10.110Z] 4872d77fe225: Pull complete [2023-09-20T17:32:10.110Z] 5851b861e8e6: Pull complete [2023-09-20T17:32:10.370Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:32:10.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:32:10.370Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:32:10.619Z] prd-ubuntu20.04-docker-8c-8g-6826 does not seem to be running inside a container [2023-09-20T17:32:10.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-227 -v /w/workspace/y_app-rfid-llrp-inventory_PR-227:/w/workspace/y_app-rfid-llrp-inventory_PR-227:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-227@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-09-20T17:32:13.164Z] $ docker top a457c76c5976f7d141ca7bbf17f6ed688116b437bb31a96c204f0b7d0a22cbe0 -eo pid,comm [2023-09-20T17:32:13.215Z] 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-09-20T17:32:13.215Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:32:13.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:32:13.337Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:32:13.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:32:13.450Z] $ docker exec a457c76c5976f7d141ca7bbf17f6ed688116b437bb31a96c204f0b7d0a22cbe0 ssh-agent [2023-09-20T17:32:13.553Z] SSH_AUTH_SOCK=/tmp/ssh-VT8qyEfw5gfJ/agent.33 [2023-09-20T17:32:13.553Z] SSH_AGENT_PID=39 [2023-09-20T17:32:13.559Z] Running ssh-add (command line suppressed) [2023-09-20T17:32:13.656Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/private_key_7523349936112426753.key (/w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/private_key_7523349936112426753.key) [2023-09-20T17:32:13.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:32:13.997Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:32:14.025Z] $ docker exec --env ******** --env ******** a457c76c5976f7d141ca7bbf17f6ed688116b437bb31a96c204f0b7d0a22cbe0 ssh-agent -k [2023-09-20T17:32:14.132Z] unset SSH_AUTH_SOCK; [2023-09-20T17:32:14.132Z] unset SSH_AGENT_PID; [2023-09-20T17:32:14.132Z] echo Agent pid 39 killed; [2023-09-20T17:32:14.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:32:14.218Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:32:14.218Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:32:14.328Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:32:14.333Z] $ docker exec a457c76c5976f7d141ca7bbf17f6ed688116b437bb31a96c204f0b7d0a22cbe0 ssh-agent [2023-09-20T17:32:14.423Z] SSH_AUTH_SOCK=/tmp/ssh-8Prs63Fl15Gv/agent.71 [2023-09-20T17:32:14.423Z] SSH_AGENT_PID=77 [2023-09-20T17:32:14.427Z] Running ssh-add (command line suppressed) [2023-09-20T17:32:14.538Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/private_key_1947232800365741480.key (/w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/private_key_1947232800365741480.key) [2023-09-20T17:32:14.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:32:14.875Z] + git semver init [2023-09-20T17:32:15.132Z] 2023-09-20 17:32:15,043 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:32:15.132Z] 2023-09-20 17:32:15,043 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver [2023-09-20T17:32:15.132Z] 2023-09-20 17:32:15,044 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver [2023-09-20T17:32:15.132Z] 2023-09-20 17:32:15,044 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-227, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,098 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-227/.git/info/exclude [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,098 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver/PR-227 with force:False [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,099 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver/PR-227 [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,103 [execute] INFO git cat-file --batch-check [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,109 [execute] INFO git cat-file --batch [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,109 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:32:16.510Z] 2023-09-20 17:32:16,114 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-227/.semver/PR-227 [2023-09-20T17:32:16.510Z] 0.0.0 [Pipeline] } [2023-09-20T17:32:16.536Z] $ docker exec --env ******** --env ******** a457c76c5976f7d141ca7bbf17f6ed688116b437bb31a96c204f0b7d0a22cbe0 ssh-agent -k [2023-09-20T17:32:16.642Z] unset SSH_AUTH_SOCK; [2023-09-20T17:32:16.642Z] unset SSH_AGENT_PID; [2023-09-20T17:32:16.642Z] echo Agent pid 77 killed; [2023-09-20T17:32:16.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:32:17.082Z] + git semver [Pipeline] } [2023-09-20T17:32:17.367Z] $ docker stop --time=1 a457c76c5976f7d141ca7bbf17f6ed688116b437bb31a96c204f0b7d0a22cbe0 [2023-09-20T17:32:18.694Z] $ docker rm -f --volumes a457c76c5976f7d141ca7bbf17f6ed688116b437bb31a96c204f0b7d0a22cbe0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:32:19.095Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:32:19.344Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:32:19.359Z] [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-09-20T17:32:19.922Z] provisioning config files... [2023-09-20T17:32:19.932Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/config6026102870039692162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:32:20.285Z] ---> docker-login.sh [2023-09-20T17:32:20.285Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:32:20.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:20.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:20.285Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:20.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:20.285Z] [2023-09-20T17:32:20.285Z] Login Succeeded [2023-09-20T17:32:20.285Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:32:20.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:20.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:20.285Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:20.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:20.285Z] [2023-09-20T17:32:20.285Z] Login Succeeded [2023-09-20T17:32:20.285Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:32:20.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:20.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:20.544Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:20.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:20.545Z] [2023-09-20T17:32:20.545Z] Login Succeeded [2023-09-20T17:32:20.545Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:32:20.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:20.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:20.545Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:20.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:20.545Z] [2023-09-20T17:32:20.545Z] Login Succeeded [2023-09-20T17:32:20.545Z] docker.io [2023-09-20T17:32:20.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:32:20.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:32:20.804Z] Configure a credential helper to remove this warning. See [2023-09-20T17:32:20.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:32:20.804Z] [2023-09-20T17:32:20.804Z] Login Succeeded [2023-09-20T17:32:20.804Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:32:20.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:32:21.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:32:21.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:32:21.134Z] ========================================================= [2023-09-20T17:32:21.135Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:32:21.135Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:32:21.603Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:32:21.603Z] Sending build context to Docker daemon 12.72MB [2023-09-20T17:32:21.603Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:32:21.603Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:32:21.603Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:32:21.603Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:32:21.603Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:32:21.603Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:32:21.603Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:32:21.603Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:32:21.603Z] ad3a456e5733: Waiting [2023-09-20T17:32:21.603Z] c68163c4e522: Pulling fs layer [2023-09-20T17:32:21.603Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:32:21.603Z] 33e27b845d1e: Waiting [2023-09-20T17:32:21.603Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:32:21.603Z] c68163c4e522: Waiting [2023-09-20T17:32:21.603Z] 23d2d4c4bb30: Waiting [2023-09-20T17:32:21.603Z] 50da416c3ac9: Waiting [2023-09-20T17:32:21.603Z] c4d48a809fc2: Download complete [2023-09-20T17:32:21.861Z] ad3a456e5733: Download complete [2023-09-20T17:32:21.861Z] 33e27b845d1e: Verifying Checksum [2023-09-20T17:32:21.861Z] 33e27b845d1e: Download complete [2023-09-20T17:32:21.861Z] 7264a8db6415: Download complete [2023-09-20T17:32:21.861Z] c68163c4e522: Verifying Checksum [2023-09-20T17:32:21.861Z] c68163c4e522: Download complete [2023-09-20T17:32:21.861Z] 7264a8db6415: Pull complete [2023-09-20T17:32:22.120Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T17:32:22.120Z] 23d2d4c4bb30: Download complete [2023-09-20T17:32:22.120Z] c4d48a809fc2: Pull complete [2023-09-20T17:32:22.120Z] 4f1c88b9dad5: Download complete [2023-09-20T17:32:22.380Z] 50da416c3ac9: Verifying Checksum [2023-09-20T17:32:22.380Z] 50da416c3ac9: Download complete [2023-09-20T17:32:25.672Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:32:25.672Z] ad3a456e5733: Pull complete [2023-09-20T17:32:25.672Z] 33e27b845d1e: Pull complete [2023-09-20T17:32:25.672Z] c68163c4e522: Pull complete [2023-09-20T17:32:27.572Z] 50da416c3ac9: Pull complete [2023-09-20T17:32:27.831Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:32:27.831Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:32:27.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:32:27.831Z] ---> 0786185ac409 [2023-09-20T17:32:27.831Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:32:32.017Z] ---> Running in 4b07d6a5eab2 [2023-09-20T17:32:32.017Z] Removing intermediate container 4b07d6a5eab2 [2023-09-20T17:32:32.017Z] ---> d4ad3fb5eaa0 [2023-09-20T17:32:32.017Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:32:32.017Z] ---> Running in 34b4e413c9b5 [2023-09-20T17:32:32.017Z] Removing intermediate container 34b4e413c9b5 [2023-09-20T17:32:32.017Z] ---> dfbb2ad225d6 [2023-09-20T17:32:32.017Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:32:32.017Z] ---> Running in 036dcc2c673b [2023-09-20T17:32:32.017Z] Removing intermediate container 036dcc2c673b [2023-09-20T17:32:32.017Z] ---> 2f451a6b1b47 [2023-09-20T17:32:32.017Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:32:32.017Z] ---> Running in 8f59205b2254 [2023-09-20T17:32:32.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:32:32.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:32:32.793Z] OK: 264 MiB in 52 packages [2023-09-20T17:32:33.052Z] Removing intermediate container 8f59205b2254 [2023-09-20T17:32:33.052Z] ---> dc469a24c3a7 [2023-09-20T17:32:33.052Z] Step 7/12 : WORKDIR /app [2023-09-20T17:32:33.052Z] ---> Running in 7d10ae17ee46 [2023-09-20T17:32:33.052Z] Removing intermediate container 7d10ae17ee46 [2023-09-20T17:32:33.052Z] ---> 7c11832f9331 [2023-09-20T17:32:33.052Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T17:32:33.311Z] ---> 52426949b4e3 [2023-09-20T17:32:33.311Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:32:33.311Z] ---> Running in 173b0657ae4d [2023-09-20T17:32:34.755Z] Still waiting to schedule task [2023-09-20T17:32:34.755Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:33:05.529Z] Removing intermediate container 173b0657ae4d [2023-09-20T17:33:05.529Z] ---> 7b0172875073 [2023-09-20T17:33:05.529Z] Step 10/12 : COPY . . [2023-09-20T17:33:05.529Z] ---> d69a2b3da1ad [2023-09-20T17:33:05.529Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:33:05.529Z] ---> Running in 5030fe48fcfc [2023-09-20T17:33:05.529Z] Removing intermediate container 5030fe48fcfc [2023-09-20T17:33:05.529Z] ---> b1e45c61d044 [2023-09-20T17:33:05.529Z] Step 12/12 : RUN $MAKE [2023-09-20T17:33:05.529Z] ---> Running in cb2740f0059e [2023-09-20T17:33:05.529Z] noop [2023-09-20T17:33:05.529Z] Removing intermediate container cb2740f0059e [2023-09-20T17:33:05.529Z] ---> 22650c3bf6e7 [2023-09-20T17:33:05.529Z] Successfully built 22650c3bf6e7 [2023-09-20T17:33:05.529Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:33:05.966Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:33:05.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:33:06.102Z] prd-ubuntu20.04-docker-8c-8g-6826 does not seem to be running inside a container [2023-09-20T17:33:06.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-227 -v /w/workspace/y_app-rfid-llrp-inventory_PR-227:/w/workspace/y_app-rfid-llrp-inventory_PR-227:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-227@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-09-20T17:33:06.436Z] $ docker top a996675132c199afbbd89d97d26741828e8a8c6a0074b00331f427c94df51fc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:33:06.819Z] + go version [2023-09-20T17:33:06.819Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:33:06.850Z] $ docker stop --time=1 a996675132c199afbbd89d97d26741828e8a8c6a0074b00331f427c94df51fc5 [2023-09-20T17:33:08.112Z] $ docker rm -f --volumes a996675132c199afbbd89d97d26741828e8a8c6a0074b00331f427c94df51fc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:33:08.819Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:33:08.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:33:08.981Z] prd-ubuntu20.04-docker-8c-8g-6826 does not seem to be running inside a container [2023-09-20T17:33:09.013Z] $ 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-227 -v /w/workspace/y_app-rfid-llrp-inventory_PR-227:/w/workspace/y_app-rfid-llrp-inventory_PR-227:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-227@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-09-20T17:33:09.312Z] $ docker top 76bfd522f7f0adf69d4a9e8eca98ccc90b107ff690d36d2ca04a963d485835b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:33:09.689Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-227 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:33:10.051Z] + make test [2023-09-20T17:33:10.051Z] go test -race ./... -coverprofile=coverage.out ./... [2023-09-20T17:33:28.129Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-09-20T17:33:28.130Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-09-20T17:33:28.696Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.129s coverage: 86.2% of statements [2023-09-20T17:33:31.229Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.691s coverage: 71.9% of statements [2023-09-20T17:33:49.299Z] go vet ./... [2023-09-20T17:33:50.232Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:33:50.492Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:33:50.492Z] ./bin/test-attribution.sh [2023-09-20T17:33:50.492Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-09-20T17:33:50.492Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-09-20T17:33:50.492Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-09-20T17:33:50.492Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-09-20T17:33:50.492Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-09-20T17:33:50.492Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-09-20T17:33:50.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:33:50.563Z] $ docker stop --time=1 76bfd522f7f0adf69d4a9e8eca98ccc90b107ff690d36d2ca04a963d485835b8 [2023-09-20T17:33:55.403Z] $ docker rm -f --volumes 76bfd522f7f0adf69d4a9e8eca98ccc90b107ff690d36d2ca04a963d485835b8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:33:55.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:33:56.048Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:33:56.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:33:57.035Z] + ls -al . [2023-09-20T17:33:57.035Z] total 236 [2023-09-20T17:33:57.035Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:33 . [2023-09-20T17:33:57.035Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:31 .. [2023-09-20T17:33:57.035Z] -rw-rw-r-- 1 jenkins jenkins 262 Sep 20 17:31 .dockerignore [2023-09-20T17:33:57.035Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:33 .git [2023-09-20T17:33:57.035Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:31 .github [2023-09-20T17:33:57.035Z] -rw-rw-r-- 1 jenkins jenkins 788 Sep 20 17:31 .gitignore [2023-09-20T17:33:57.035Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:31 .golangci.yml [2023-09-20T17:33:57.035Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:32 .semver [2023-09-20T17:33:57.035Z] -rw-rw-r-- 1 jenkins jenkins 10232 Sep 20 17:31 Attribution.txt [2023-09-20T17:33:57.035Z] -rw-rw-r-- 1 jenkins jenkins 9317 Sep 20 17:31 CHANGELOG.md [2023-09-20T17:33:57.035Z] -rw-rw-r-- 1 jenkins jenkins 1659 Sep 20 17:31 Dockerfile [2023-09-20T17:33:57.035Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:31 GOVERNANCE.md [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 687 Sep 20 17:31 Jenkinsfile [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 11347 Sep 20 17:31 LICENSE [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 2497 Sep 20 17:31 Makefile [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:31 OWNERS.md [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 31516 Sep 20 17:31 README.md [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:32 VERSION [2023-09-20T17:33:57.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:31 bin [2023-09-20T17:33:57.036Z] -rw-r--r-- 1 jenkins jenkins 41317 Sep 20 17:33 coverage.out [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 3968 Sep 20 17:31 go.mod [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 35609 Sep 20 17:31 go.sum [2023-09-20T17:33:57.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:31 images [2023-09-20T17:33:57.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:31 internal [2023-09-20T17:33:57.036Z] -rw-rw-r-- 1 jenkins jenkins 531 Sep 20 17:31 main.go [2023-09-20T17:33:57.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:31 res [2023-09-20T17:33:57.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:31 snap [2023-09-20T17:33:57.036Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:31 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:33:57.429Z] + 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=968cfc8fa38aafc00ed1937b90d18a05ab384237 --label arch=amd64 --label version=0.0.0 . [2023-09-20T17:33:57.429Z] Sending build context to Docker daemon 12.72MB [2023-09-20T17:33:57.429Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:33:57.429Z] Step 2/29 : FROM ${BASE} AS builder [2023-09-20T17:33:57.429Z] ---> 22650c3bf6e7 [2023-09-20T17:33:57.429Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:33:57.997Z] ---> Running in 28f48ea57864 [2023-09-20T17:33:57.997Z] Removing intermediate container 28f48ea57864 [2023-09-20T17:33:57.997Z] ---> 07bef3a65667 [2023-09-20T17:33:57.997Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:33:57.997Z] ---> Running in 552f84edb7a7 [2023-09-20T17:33:57.997Z] Removing intermediate container 552f84edb7a7 [2023-09-20T17:33:57.997Z] ---> 51d6dd3706bc [2023-09-20T17:33:57.997Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:33:57.997Z] ---> Running in 9b957504ecb8 [2023-09-20T17:33:57.997Z] Removing intermediate container 9b957504ecb8 [2023-09-20T17:33:57.997Z] ---> 0998f5d6eac1 [2023-09-20T17:33:57.997Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:33:58.255Z] ---> Running in da984305ac53 [2023-09-20T17:33:58.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:33:58.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:33:58.774Z] OK: 264 MiB in 52 packages [2023-09-20T17:33:59.343Z] Removing intermediate container da984305ac53 [2023-09-20T17:33:59.343Z] ---> 476363de132f [2023-09-20T17:33:59.343Z] Step 7/29 : WORKDIR /app [2023-09-20T17:33:59.343Z] ---> Running in 3aadaa5bfa2a [2023-09-20T17:33:59.343Z] Removing intermediate container 3aadaa5bfa2a [2023-09-20T17:33:59.343Z] ---> 7cf5c73bc29b [2023-09-20T17:33:59.343Z] Step 8/29 : COPY go.mod vendor* ./ [2023-09-20T17:33:59.343Z] ---> 6fdaa07ca951 [2023-09-20T17:33:59.343Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:33:59.343Z] ---> Running in 51d0f6147bd9 [2023-09-20T17:34:00.432Z] Removing intermediate container 51d0f6147bd9 [2023-09-20T17:34:00.432Z] ---> d040366ef671 [2023-09-20T17:34:00.432Z] Step 10/29 : COPY . . [2023-09-20T17:34:00.691Z] ---> e02d05ec38cc [2023-09-20T17:34:00.691Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:34:00.691Z] ---> Running in feaf1b8f93af [2023-09-20T17:34:00.691Z] Removing intermediate container feaf1b8f93af [2023-09-20T17:34:00.691Z] ---> 33a4fbafff5a [2023-09-20T17:34:00.691Z] Step 12/29 : RUN $MAKE [2023-09-20T17:34:00.691Z] ---> Running in b37f0c79fb15 [2023-09-20T17:34:00.949Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -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-09-20T17:34:19.643Z] Removing intermediate container b37f0c79fb15 [2023-09-20T17:34:19.643Z] ---> e10c1f0b8254 [2023-09-20T17:34:19.643Z] Step 13/29 : FROM alpine:3.18 [2023-09-20T17:34:19.643Z] 3.18: Pulling from library/alpine [2023-09-20T17:34:19.902Z] 7264a8db6415: Already exists [2023-09-20T17:34:19.902Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:34:19.902Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:34:19.902Z] ---> 7e01a0d0a1dc [2023-09-20T17:34:19.902Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:34:20.159Z] ---> Running in e8ac0751d5a0 [2023-09-20T17:34:20.159Z] Removing intermediate container e8ac0751d5a0 [2023-09-20T17:34:20.159Z] ---> 2de3a29ccef0 [2023-09-20T17:34:20.159Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-09-20T17:34:20.159Z] ---> Running in a0a9ba876f72 [2023-09-20T17:34:20.159Z] Removing intermediate container a0a9ba876f72 [2023-09-20T17:34:20.159Z] ---> 730553b87097 [2023-09-20T17:34:20.159Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-09-20T17:34:20.159Z] ---> Running in 4c989b126894 [2023-09-20T17:34:20.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:34:20.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:34:20.937Z] (1/2) Installing ca-certificates (20230506-r0) [2023-09-20T17:34:20.937Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-09-20T17:34:20.937Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:34:20.937Z] Executing ca-certificates-20230506-r0.trigger [2023-09-20T17:34:20.937Z] OK: 8 MiB in 17 packages [2023-09-20T17:34:21.503Z] Removing intermediate container 4c989b126894 [2023-09-20T17:34:21.503Z] ---> 2e1afcdefa8a [2023-09-20T17:34:21.503Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-09-20T17:34:21.503Z] ---> d1dd02884064 [2023-09-20T17:34:21.503Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-09-20T17:34:21.503Z] ---> 79720c55963b [2023-09-20T17:34:21.503Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-09-20T17:34:21.762Z] ---> 7d4518c8a8e3 [2023-09-20T17:34:21.762Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-09-20T17:34:21.762Z] ---> 3315c4aef477 [2023-09-20T17:34:21.762Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-09-20T17:34:22.702Z] ---> 46c6da39e0a7 [2023-09-20T17:34:22.702Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-09-20T17:34:22.702Z] ---> Running in 99fc6eec68ff [2023-09-20T17:34:22.961Z] Removing intermediate container 99fc6eec68ff [2023-09-20T17:34:22.961Z] ---> a081e3c013d1 [2023-09-20T17:34:22.961Z] Step 23/29 : VOLUME /cache [2023-09-20T17:34:22.961Z] ---> Running in abf4f97b9299 [2023-09-20T17:34:23.222Z] Removing intermediate container abf4f97b9299 [2023-09-20T17:34:23.222Z] ---> b4db0ef1544d [2023-09-20T17:34:23.222Z] Step 24/29 : EXPOSE 59711 [2023-09-20T17:34:23.222Z] ---> Running in cc50e5bcbd6a [2023-09-20T17:34:23.222Z] Removing intermediate container cc50e5bcbd6a [2023-09-20T17:34:23.222Z] ---> f93ec8642d86 [2023-09-20T17:34:23.222Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-09-20T17:34:23.222Z] ---> Running in bd935ca4448f [2023-09-20T17:34:23.222Z] Removing intermediate container bd935ca4448f [2023-09-20T17:34:23.222Z] ---> d6243212a901 [2023-09-20T17:34:23.222Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-09-20T17:34:23.222Z] ---> Running in 118080a752e9 [2023-09-20T17:34:23.482Z] Removing intermediate container 118080a752e9 [2023-09-20T17:34:23.482Z] ---> 4a3c7063d65b [2023-09-20T17:34:23.482Z] Step 27/29 : LABEL arch=amd64 [2023-09-20T17:34:23.482Z] ---> Running in 8249434b5a41 [2023-09-20T17:34:23.482Z] Removing intermediate container 8249434b5a41 [2023-09-20T17:34:23.482Z] ---> c345a1888bd5 [2023-09-20T17:34:23.482Z] Step 28/29 : LABEL git_sha=968cfc8fa38aafc00ed1937b90d18a05ab384237 [2023-09-20T17:34:23.482Z] ---> Running in 6bbab9f7ad3c [2023-09-20T17:34:23.482Z] Removing intermediate container 6bbab9f7ad3c [2023-09-20T17:34:23.482Z] ---> bc969f5488f2 [2023-09-20T17:34:23.482Z] Step 29/29 : LABEL version=0.0.0 [2023-09-20T17:34:23.750Z] ---> Running in c8a39eac5f93 [2023-09-20T17:34:23.750Z] Removing intermediate container c8a39eac5f93 [2023-09-20T17:34:23.750Z] ---> 48a11e943eff [2023-09-20T17:34:23.750Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:34:23.750Z] Successfully built 48a11e943eff [2023-09-20T17:34:23.750Z] 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-09-20T17:34:24.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:34:24.635Z] [2023-09-20T17:34:24.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:34:25.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:34:25.004Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:34:25.004Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:34:25.004Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:34:25.004Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:34:25.004Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:34:25.004Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:34:25.004Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:34:25.004Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:34:25.004Z] 33b1e0a273af: Waiting [2023-09-20T17:34:25.004Z] 5d3b04190fa2: Waiting [2023-09-20T17:34:25.004Z] 2f39f015ded8: Waiting [2023-09-20T17:34:25.004Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:34:25.004Z] 5c69ac0246d0: Download complete [2023-09-20T17:34:25.004Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T17:34:25.004Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:34:25.004Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:34:25.004Z] ec43610c2a17: Download complete [2023-09-20T17:34:25.004Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:34:25.004Z] 33b1e0a273af: Download complete [2023-09-20T17:34:25.004Z] 5d3b04190fa2: Download complete [2023-09-20T17:34:25.262Z] 5eb5b503b376: Verifying Checksum [2023-09-20T17:34:25.262Z] 5eb5b503b376: Download complete [2023-09-20T17:34:25.826Z] 2f39f015ded8: Download complete [2023-09-20T17:34:26.392Z] 5eb5b503b376: Pull complete [2023-09-20T17:34:26.650Z] 5c69ac0246d0: Pull complete [2023-09-20T17:34:26.908Z] ec43610c2a17: Pull complete [2023-09-20T17:34:26.908Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:34:27.165Z] 33b1e0a273af: Pull complete [2023-09-20T17:34:27.165Z] 5d3b04190fa2: Pull complete [2023-09-20T17:34:31.342Z] 2f39f015ded8: Pull complete [2023-09-20T17:34:31.342Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:34:31.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:34:31.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:34:31.567Z] prd-ubuntu20.04-docker-8c-8g-6826 does not seem to be running inside a container [2023-09-20T17:34:31.595Z] $ 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-227 -v /w/workspace/y_app-rfid-llrp-inventory_PR-227:/w/workspace/y_app-rfid-llrp-inventory_PR-227:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-227@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-09-20T17:34:35.982Z] $ docker top d8697bde65050a2e13cc859585a489c863656dcb41df8c05395a95da34febf76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:34:36.442Z] ---> job-cost.sh [2023-09-20T17:34:36.443Z] lf-activate-venv: SKIPPING [2023-09-20T17:34:36.443Z] INFO: No Stack... [2023-09-20T17:34:37.011Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:34:37.271Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:34:37.586Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-227/archives/cost.csv [2023-09-20T17:34:37.586Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:34:37.621Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] [2023-09-20T17:34:37.625Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] did not exist. Created. [2023-09-20T17:34:37.625Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:34:38.014Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:34:38.063Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:34:38.098Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:34:38.181Z] $ docker stop --time=1 d8697bde65050a2e13cc859585a489c863656dcb41df8c05395a95da34febf76 [2023-09-20T17:34:39.321Z] $ docker rm -f --volumes d8697bde65050a2e13cc859585a489c863656dcb41df8c05395a95da34febf76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:48:21.209Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7181 in /w/workspace/y_app-rfid-llrp-inventory_PR-227 [Pipeline] { [Pipeline] ws [2023-09-20T17:48:21.270Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-09-20T17:48:21.356Z] The recommended git tool is: git [2023-09-20T17:48:29.814Z] using credential edgex-jenkins-ssh [2023-09-20T17:48:29.833Z] Cloning the remote Git repository [2023-09-20T17:48:29.912Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-09-20T17:48:30.060Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-09-20T17:48:30.290Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-09-20T17:48:30.295Z] > git --version # timeout=10 [2023-09-20T17:48:30.331Z] > git --version # 'git version 2.25.1' [2023-09-20T17:48:30.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:48:30.603Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:33.103Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-09-20T17:48:33.143Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:34.494Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-09-20T17:48:34.550Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-09-20T17:48:34.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:48:34.574Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T17:48:35.148Z] Merging remotes/origin/main commit 42a4aea364fc3b5da0341fdab57a071fe1627109 into PR head commit c895c02946e1a59c8ddbef8aecdd97cb56dca6f0 [2023-09-20T17:48:35.595Z] Merge succeeded, producing 8260e4496678f81184cb1ee9b510830e7d9fb75b [2023-09-20T17:48:35.596Z] Checking out Revision 8260e4496678f81184cb1ee9b510830e7d9fb75b (PR-227) [2023-09-20T17:48:35.173Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:48:35.259Z] > git checkout -f c895c02946e1a59c8ddbef8aecdd97cb56dca6f0 # timeout=10 [2023-09-20T17:48:35.393Z] > git remote # timeout=10 [2023-09-20T17:48:35.420Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T17:48:35.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:48:35.474Z] > git merge 42a4aea364fc3b5da0341fdab57a071fe1627109 # timeout=10 [2023-09-20T17:48:35.576Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T17:48:35.605Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:48:35.627Z] > git checkout -f 8260e4496678f81184cb1ee9b510830e7d9fb75b # timeout=10 [2023-09-20T17:48:39.242Z] Commit message: "Merge commit '42a4aea364fc3b5da0341fdab57a071fe1627109' into HEAD" [2023-09-20T17:48:39.242Z] First time build. Skipping changelog. [2023-09-20T17:48:39.306Z] > git --version # timeout=10 [2023-09-20T17:48:39.320Z] > git --version # 'git version 2.25.1' [2023-09-20T17:48:39.342Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:48:40.528Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:48:40.528Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:48:40.528Z] Dload Upload Total Spent Left Speed [2023-09-20T17:48:40.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-09-20T17:48:41.309Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:48:41.672Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:48:41.672Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:48:41.672Z] { [2023-09-20T17:48:41.672Z] "registry-mirrors": [ [2023-09-20T17:48:41.672Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:48:41.672Z] ], [2023-09-20T17:48:41.672Z] "bip": "10.250.0.254/24", [2023-09-20T17:48:41.672Z] "hosts": [ [2023-09-20T17:48:41.673Z] "tcp://0.0.0.0:5555", [2023-09-20T17:48:41.673Z] "unix:///var/run/docker.sock" [2023-09-20T17:48:41.673Z] ], [2023-09-20T17:48:41.673Z] "mtu": 1458, [2023-09-20T17:48:41.673Z] "selinux-enabled": true, [2023-09-20T17:48:41.673Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:48:41.673Z] } [Pipeline] sh [2023-09-20T17:48:42.033Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:48:42.402Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:49:00.767Z] provisioning config files... [2023-09-20T17:49:00.800Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config1693277201733385501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:49:01.230Z] ---> docker-login.sh [2023-09-20T17:49:01.230Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:49:01.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:01.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:01.829Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:01.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:01.829Z] [2023-09-20T17:49:01.829Z] Login Succeeded [2023-09-20T17:49:01.829Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:49:02.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:02.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:02.371Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:02.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:02.371Z] [2023-09-20T17:49:02.371Z] Login Succeeded [2023-09-20T17:49:02.371Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:49:02.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:02.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:02.645Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:02.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:02.645Z] [2023-09-20T17:49:02.645Z] Login Succeeded [2023-09-20T17:49:02.645Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:49:02.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:03.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:03.195Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:03.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:03.195Z] [2023-09-20T17:49:03.195Z] Login Succeeded [2023-09-20T17:49:03.195Z] docker.io [2023-09-20T17:49:03.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:03.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:03.732Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:03.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:03.732Z] [2023-09-20T17:49:03.732Z] Login Succeeded [2023-09-20T17:49:03.732Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:49:03.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:49:04.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:04.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:04.287Z] ========================================================= [2023-09-20T17:49:04.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:49:04.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:49:04.816Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:49:05.119Z] Sending build context to Docker daemon 685.1kB [2023-09-20T17:49:05.119Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:49:05.119Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:49:05.394Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:49:05.394Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:49:05.394Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:49:05.394Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:49:05.394Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:49:05.394Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:49:05.394Z] 17808c966233: Pulling fs layer [2023-09-20T17:49:05.394Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:49:05.394Z] f0e02332f6b5: Waiting [2023-09-20T17:49:05.394Z] cefa15bbcfad: Waiting [2023-09-20T17:49:05.394Z] 17808c966233: Waiting [2023-09-20T17:49:05.394Z] f4c1fc716caa: Waiting [2023-09-20T17:49:05.394Z] 5d54e960e981: Verifying Checksum [2023-09-20T17:49:05.394Z] 5d54e960e981: Download complete [2023-09-20T17:49:05.394Z] f0e02332f6b5: Verifying Checksum [2023-09-20T17:49:05.394Z] f0e02332f6b5: Download complete [2023-09-20T17:49:05.394Z] cefa15bbcfad: Verifying Checksum [2023-09-20T17:49:05.394Z] cefa15bbcfad: Download complete [2023-09-20T17:49:05.394Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T17:49:05.394Z] 9fda8d8052c6: Download complete [2023-09-20T17:49:05.994Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:49:05.994Z] f4c1fc716caa: Download complete [2023-09-20T17:49:06.596Z] 9fda8d8052c6: Pull complete [2023-09-20T17:49:06.882Z] 5d54e960e981: Pull complete [2023-09-20T17:49:07.158Z] c4a7e357bf2a: Download complete [2023-09-20T17:49:08.152Z] 17808c966233: Verifying Checksum [2023-09-20T17:49:08.152Z] 17808c966233: Download complete [2023-09-20T17:49:18.281Z] c4a7e357bf2a: Pull complete [2023-09-20T17:49:18.551Z] f0e02332f6b5: Pull complete [2023-09-20T17:49:18.820Z] cefa15bbcfad: Pull complete [2023-09-20T17:49:25.509Z] 17808c966233: Pull complete [2023-09-20T17:49:26.480Z] f4c1fc716caa: Pull complete [2023-09-20T17:49:26.480Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:49:26.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:49:26.480Z] ---> ea914061e18c [2023-09-20T17:49:26.480Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:49:29.105Z] ---> Running in 6237bb74978a [2023-09-20T17:49:29.377Z] Removing intermediate container 6237bb74978a [2023-09-20T17:49:29.377Z] ---> d312c602a259 [2023-09-20T17:49:29.377Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:49:29.377Z] ---> Running in efd9e9252cdb [2023-09-20T17:49:29.973Z] Removing intermediate container efd9e9252cdb [2023-09-20T17:49:29.973Z] ---> 7e4ed327313f [2023-09-20T17:49:29.973Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:49:29.973Z] ---> Running in 3e0e9d7e1b54 [2023-09-20T17:49:30.245Z] Removing intermediate container 3e0e9d7e1b54 [2023-09-20T17:49:30.245Z] ---> 4e2cfc2137da [2023-09-20T17:49:30.245Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:49:30.518Z] ---> Running in 72b5e01d2cd6 [2023-09-20T17:49:31.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:32.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:33.531Z] OK: 266 MiB in 52 packages [2023-09-20T17:49:34.956Z] Removing intermediate container 72b5e01d2cd6 [2023-09-20T17:49:34.956Z] ---> 4e9d9b2915fd [2023-09-20T17:49:34.956Z] Step 7/12 : WORKDIR /app [2023-09-20T17:49:34.956Z] ---> Running in e2064cb4b54f [2023-09-20T17:49:35.544Z] Removing intermediate container e2064cb4b54f [2023-09-20T17:49:35.544Z] ---> f90e8a98c064 [2023-09-20T17:49:35.544Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T17:49:36.134Z] ---> ee8b7b47c30b [2023-09-20T17:49:36.134Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:49:36.134Z] ---> Running in e7ee6ae587c4 [2023-09-20T17:50:59.689Z] Removing intermediate container e7ee6ae587c4 [2023-09-20T17:50:59.689Z] ---> 0ba2e696dcd7 [2023-09-20T17:50:59.689Z] Step 10/12 : COPY . . [2023-09-20T17:50:59.689Z] ---> 0395e4b3839e [2023-09-20T17:50:59.689Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:50:59.689Z] ---> Running in c4081ee8fe39 [2023-09-20T17:50:59.689Z] Removing intermediate container c4081ee8fe39 [2023-09-20T17:50:59.689Z] ---> 4519b50bbfb3 [2023-09-20T17:50:59.689Z] Step 12/12 : RUN $MAKE [2023-09-20T17:50:59.689Z] ---> Running in 9b20c3a8a23b [2023-09-20T17:50:59.689Z] noop [2023-09-20T17:50:59.689Z] Removing intermediate container 9b20c3a8a23b [2023-09-20T17:50:59.689Z] ---> bcdebf599f0a [2023-09-20T17:50:59.689Z] Successfully built bcdebf599f0a [2023-09-20T17:50:59.689Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:00.221Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:00.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:00.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-7181 does not seem to be running inside a container [2023-09-20T17:51:00.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:51:02.043Z] $ docker top 840437c396002c69da0d1d1ef8797d2328df57c9207509875392d090692c2896 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:02.987Z] + go version [2023-09-20T17:51:02.987Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:51:03.027Z] $ docker stop --time=1 840437c396002c69da0d1d1ef8797d2328df57c9207509875392d090692c2896 [2023-09-20T17:51:04.734Z] $ docker rm -f --volumes 840437c396002c69da0d1d1ef8797d2328df57c9207509875392d090692c2896 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:05.643Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:05.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:05.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-7181 does not seem to be running inside a container [2023-09-20T17:51:06.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:51:07.415Z] $ docker top 3ca97e6c47b5b019011234e691ee3dc2ee9175fc52a11d4aaf37d9963209e9bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:08.342Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:51:09.057Z] + make test [2023-09-20T17:51:09.057Z] go test -race ./... -coverprofile=coverage.out ./... [2023-09-20T17:54:45.923Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-09-20T17:54:45.923Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-09-20T17:54:45.923Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.341s coverage: 86.2% of statements [2023-09-20T17:54:56.034Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.697s coverage: 71.9% of statements [2023-09-20T17:54:56.034Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:54:56.034Z] go vet ./... [2023-09-20T17:57:02.851Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:57:02.851Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:57:02.851Z] ./bin/test-attribution.sh [2023-09-20T17:57:02.851Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-09-20T17:57:02.851Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-09-20T17:57:02.851Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-09-20T17:57:02.851Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-09-20T17:57:02.851Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-09-20T17:57:02.851Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-09-20T17:57:02.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:57:02.922Z] $ docker stop --time=1 3ca97e6c47b5b019011234e691ee3dc2ee9175fc52a11d4aaf37d9963209e9bf [2023-09-20T17:57:04.926Z] $ docker rm -f --volumes 3ca97e6c47b5b019011234e691ee3dc2ee9175fc52a11d4aaf37d9963209e9bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:57:06.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:57:06.854Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:57:07.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:57:08.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:57:08.381Z] + ls -al . [2023-09-20T17:57:08.381Z] total 232 [2023-09-20T17:57:08.381Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:51 . [2023-09-20T17:57:08.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 .. [2023-09-20T17:57:08.381Z] -rw-rw-r-- 1 jenkins jenkins 262 Sep 20 17:48 .dockerignore [2023-09-20T17:57:08.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:48 .git [2023-09-20T17:57:08.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 .github [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 788 Sep 20 17:48 .gitignore [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:48 .golangci.yml [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 10232 Sep 20 17:48 Attribution.txt [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 9317 Sep 20 17:48 CHANGELOG.md [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 1659 Sep 20 17:48 Dockerfile [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:48 GOVERNANCE.md [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 687 Sep 20 17:48 Jenkinsfile [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 11347 Sep 20 17:48 LICENSE [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 2497 Sep 20 17:48 Makefile [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:48 OWNERS.md [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 31516 Sep 20 17:48 README.md [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:32 VERSION [2023-09-20T17:57:08.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:48 bin [2023-09-20T17:57:08.382Z] -rw-r--r-- 1 jenkins jenkins 41317 Sep 20 17:54 coverage.out [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 3968 Sep 20 17:48 go.mod [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 35609 Sep 20 17:48 go.sum [2023-09-20T17:57:08.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:48 images [2023-09-20T17:57:08.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 internal [2023-09-20T17:57:08.382Z] -rw-rw-r-- 1 jenkins jenkins 531 Sep 20 17:48 main.go [2023-09-20T17:57:08.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:48 res [2023-09-20T17:57:08.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 snap [2023-09-20T17:57:08.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:08.801Z] + 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=8260e4496678f81184cb1ee9b510830e7d9fb75b --label arch=arm64 --label version=0.0.0 . [2023-09-20T17:57:09.074Z] Sending build context to Docker daemon 685.1kB [2023-09-20T17:57:09.074Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:57:09.074Z] Step 2/29 : FROM ${BASE} AS builder [2023-09-20T17:57:09.074Z] ---> bcdebf599f0a [2023-09-20T17:57:09.074Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:57:09.343Z] ---> Running in 48e6fe757296 [2023-09-20T17:57:09.612Z] Removing intermediate container 48e6fe757296 [2023-09-20T17:57:09.612Z] ---> be871fc3cb92 [2023-09-20T17:57:09.612Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:57:09.612Z] ---> Running in fc7bfd4662c3 [2023-09-20T17:57:09.882Z] Removing intermediate container fc7bfd4662c3 [2023-09-20T17:57:09.882Z] ---> 1b7100d2a421 [2023-09-20T17:57:09.882Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:57:10.151Z] ---> Running in db14fab5069e [2023-09-20T17:57:10.470Z] Removing intermediate container db14fab5069e [2023-09-20T17:57:10.470Z] ---> 3fd3dbc84022 [2023-09-20T17:57:10.470Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:57:10.470Z] ---> Running in da915c33877b [2023-09-20T17:57:11.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:57:11.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:57:13.422Z] OK: 266 MiB in 52 packages [2023-09-20T17:57:14.402Z] Removing intermediate container da915c33877b [2023-09-20T17:57:14.402Z] ---> 25597e36cc0e [2023-09-20T17:57:14.402Z] Step 7/29 : WORKDIR /app [2023-09-20T17:57:14.402Z] ---> Running in c33e5e5def6c [2023-09-20T17:57:14.670Z] Removing intermediate container c33e5e5def6c [2023-09-20T17:57:14.670Z] ---> 3ea3ee622458 [2023-09-20T17:57:14.670Z] Step 8/29 : COPY go.mod vendor* ./ [2023-09-20T17:57:21.591Z] ---> a1ae3dbbf738 [2023-09-20T17:57:21.591Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:57:21.591Z] ---> Running in f679a1cfcb4d [2023-09-20T17:57:21.591Z] Removing intermediate container f679a1cfcb4d [2023-09-20T17:57:21.591Z] ---> 35af50146181 [2023-09-20T17:57:21.591Z] Step 10/29 : COPY . . [2023-09-20T17:57:21.591Z] ---> 9b8d6cc93283 [2023-09-20T17:57:21.591Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:57:21.591Z] ---> Running in 61243ad9d19f [2023-09-20T17:57:21.591Z] Removing intermediate container 61243ad9d19f [2023-09-20T17:57:21.591Z] ---> e46866cc9429 [2023-09-20T17:57:21.591Z] Step 12/29 : RUN $MAKE [2023-09-20T17:57:21.591Z] ---> Running in c6614b8a4ebe [2023-09-20T17:57:21.591Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -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-09-20T17:59:43.391Z] Removing intermediate container c6614b8a4ebe [2023-09-20T17:59:43.391Z] ---> 71151efef1b4 [2023-09-20T17:59:43.391Z] Step 13/29 : FROM alpine:3.18 [2023-09-20T17:59:43.391Z] 3.18: Pulling from library/alpine [2023-09-20T17:59:43.391Z] 9fda8d8052c6: Already exists [2023-09-20T17:59:43.391Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:59:43.391Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:59:43.391Z] ---> f6648c04cd6c [2023-09-20T17:59:43.391Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:59:43.391Z] ---> Running in f11b590fc61d [2023-09-20T17:59:43.391Z] Removing intermediate container f11b590fc61d [2023-09-20T17:59:43.391Z] ---> 409d5a949bd2 [2023-09-20T17:59:43.391Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-09-20T17:59:43.391Z] ---> Running in bf111b7de8c6 [2023-09-20T17:59:43.391Z] Removing intermediate container bf111b7de8c6 [2023-09-20T17:59:43.391Z] ---> 0cb223e5af71 [2023-09-20T17:59:43.391Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-09-20T17:59:43.391Z] ---> Running in d6658301f9c6 [2023-09-20T17:59:43.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:59:43.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:59:43.391Z] (1/2) Installing ca-certificates (20230506-r0) [2023-09-20T17:59:43.391Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-09-20T17:59:43.391Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:59:43.391Z] Executing ca-certificates-20230506-r0.trigger [2023-09-20T17:59:43.391Z] OK: 9 MiB in 17 packages [2023-09-20T17:59:43.391Z] Removing intermediate container d6658301f9c6 [2023-09-20T17:59:43.391Z] ---> ab3d32df8767 [2023-09-20T17:59:43.391Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-09-20T17:59:43.391Z] ---> 5a5bd218b3de [2023-09-20T17:59:43.391Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-09-20T17:59:43.391Z] ---> 13c725d65db0 [2023-09-20T17:59:43.391Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-09-20T17:59:43.391Z] ---> 5e992941d5ae [2023-09-20T17:59:43.391Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-09-20T17:59:43.391Z] ---> 282e52cf45fc [2023-09-20T17:59:43.391Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-09-20T17:59:43.391Z] ---> c6a69ca19e33 [2023-09-20T17:59:43.391Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-09-20T17:59:43.391Z] ---> Running in b631d1579824 [2023-09-20T17:59:44.349Z] Removing intermediate container b631d1579824 [2023-09-20T17:59:44.349Z] ---> 676233957af7 [2023-09-20T17:59:44.349Z] Step 23/29 : VOLUME /cache [2023-09-20T17:59:44.349Z] ---> Running in cffe1531a167 [2023-09-20T17:59:44.615Z] Removing intermediate container cffe1531a167 [2023-09-20T17:59:44.615Z] ---> cfa3b0ce08e5 [2023-09-20T17:59:44.615Z] Step 24/29 : EXPOSE 59711 [2023-09-20T17:59:44.615Z] ---> Running in 6a54198744bc [2023-09-20T17:59:44.882Z] Removing intermediate container 6a54198744bc [2023-09-20T17:59:44.882Z] ---> a3502bbbcf79 [2023-09-20T17:59:44.882Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-09-20T17:59:44.882Z] ---> Running in 7d3922f3b007 [2023-09-20T17:59:45.156Z] Removing intermediate container 7d3922f3b007 [2023-09-20T17:59:45.156Z] ---> d4bd53382731 [2023-09-20T17:59:45.156Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-09-20T17:59:45.423Z] ---> Running in 2f7725ecb70c [2023-09-20T17:59:45.689Z] Removing intermediate container 2f7725ecb70c [2023-09-20T17:59:45.689Z] ---> b2e557fda275 [2023-09-20T17:59:45.690Z] Step 27/29 : LABEL arch=arm64 [2023-09-20T17:59:45.690Z] ---> Running in b075278e155d [2023-09-20T17:59:45.956Z] Removing intermediate container b075278e155d [2023-09-20T17:59:45.956Z] ---> 9e8edce84022 [2023-09-20T17:59:45.956Z] Step 28/29 : LABEL git_sha=8260e4496678f81184cb1ee9b510830e7d9fb75b [2023-09-20T17:59:45.956Z] ---> Running in c7ae0258a686 [2023-09-20T17:59:46.226Z] Removing intermediate container c7ae0258a686 [2023-09-20T17:59:46.226Z] ---> 4f84557dd0e5 [2023-09-20T17:59:46.226Z] Step 29/29 : LABEL version=0.0.0 [2023-09-20T17:59:46.497Z] ---> Running in b895be88ad97 [2023-09-20T17:59:46.762Z] Removing intermediate container b895be88ad97 [2023-09-20T17:59:46.762Z] ---> 279bf1e2b498 [2023-09-20T17:59:46.762Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:59:46.762Z] Successfully built 279bf1e2b498 [2023-09-20T17:59:46.762Z] 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-09-20T17:59:47.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:59:47.599Z] [2023-09-20T17:59:47.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:48.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:59:48.016Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:59:48.016Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:59:48.016Z] 04944245beec: Pulling fs layer [2023-09-20T17:59:48.016Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:59:48.016Z] 765212b225bb: Pulling fs layer [2023-09-20T17:59:48.016Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:59:48.016Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:59:48.016Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:59:48.016Z] d65c8cfc05b1: Waiting [2023-09-20T17:59:48.016Z] 2437ff75d9bd: Waiting [2023-09-20T17:59:48.016Z] 765212b225bb: Waiting [2023-09-20T17:59:48.016Z] f23df028b6ca: Waiting [2023-09-20T17:59:48.282Z] 04944245beec: Verifying Checksum [2023-09-20T17:59:48.282Z] 04944245beec: Download complete [2023-09-20T17:59:48.282Z] 765212b225bb: Verifying Checksum [2023-09-20T17:59:48.282Z] 765212b225bb: Download complete [2023-09-20T17:59:48.282Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:59:48.282Z] f23df028b6ca: Download complete [2023-09-20T17:59:48.282Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:59:48.282Z] d65c8cfc05b1: Download complete [2023-09-20T17:59:48.557Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:59:48.557Z] 699f458cf7ca: Download complete [2023-09-20T17:59:48.823Z] 8998bd30e6a1: Download complete [2023-09-20T17:59:50.759Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:59:50.759Z] 2437ff75d9bd: Download complete [2023-09-20T17:59:55.009Z] 8998bd30e6a1: Pull complete [2023-09-20T17:59:55.009Z] 04944245beec: Pull complete [2023-09-20T17:59:55.985Z] 699f458cf7ca: Pull complete [2023-09-20T17:59:56.253Z] 765212b225bb: Pull complete [2023-09-20T17:59:56.834Z] f23df028b6ca: Pull complete [2023-09-20T17:59:57.108Z] d65c8cfc05b1: Pull complete [2023-09-20T18:00:09.420Z] 2437ff75d9bd: Pull complete [2023-09-20T18:00:09.420Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T18:00:09.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T18:00:09.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T18:00:09.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-7181 does not seem to be running inside a container [2023-09-20T18:00:09.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T18:00:12.308Z] $ docker top 51a23a947807d11c338bd65c7f0056802aa0c0e3ac9f4cc674ca038a8dece7f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:13.184Z] ---> job-cost.sh [2023-09-20T18:00:13.184Z] lf-activate-venv: SKIPPING [2023-09-20T18:00:13.184Z] INFO: No Stack... [2023-09-20T18:00:13.448Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T18:00:14.407Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T18:00:14.760Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-09-20T18:00:14.760Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T18:00:14.844Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] [2023-09-20T18:00:14.848Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] did not exist. Created. [2023-09-20T18:00:14.848Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T18:00:15.271Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-eb3f4e48/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T18:00:15.623Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T18:00:15.662Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T18:00:15.721Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T18:00:15.738Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T18:00:15.826Z] $ docker stop --time=1 51a23a947807d11c338bd65c7f0056802aa0c0e3ac9f4cc674ca038a8dece7f5 [2023-09-20T18:00:17.302Z] $ docker rm -f --volumes 51a23a947807d11c338bd65c7f0056802aa0c0e3ac9f4cc674ca038a8dece7f5 [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-09-20T18:00:18.284Z] provisioning config files... [2023-09-20T18:00:18.292Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/config4210529604193028733tmp [Pipeline] { [Pipeline] sh [2023-09-20T18:00:18.619Z] + set +x [2023-09-20T18:00:18.619Z] + curl -s https://codecov.io/bash [2023-09-20T18:00:18.619Z] + bash -s -- [2023-09-20T18:00:18.619Z] [2023-09-20T18:00:18.619Z] _____ _ [2023-09-20T18:00:18.619Z] / ____| | | [2023-09-20T18:00:18.619Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T18:00:18.619Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T18:00:18.619Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T18:00:18.619Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T18:00:18.619Z] Bash-1.0.6 [2023-09-20T18:00:18.619Z] [2023-09-20T18:00:18.619Z] [2023-09-20T18:00:18.619Z] ==> git version 2.25.1 found [2023-09-20T18:00:18.619Z] ==> 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-09-20T18:00:18.619Z] Release-Date: 2020-01-08 [2023-09-20T18:00:18.619Z] 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-09-20T18:00:18.619Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T18:00:18.619Z] ==> Jenkins CI detected. [2023-09-20T18:00:18.619Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-227 [2023-09-20T18:00:18.619Z] project root: . [2023-09-20T18:00:18.619Z] --> token set from env [2023-09-20T18:00:18.619Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T18:00:18.619Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T18:00:18.619Z] ==> Python coveragepy not found [2023-09-20T18:00:18.619Z] ==> Searching for coverage reports in: [2023-09-20T18:00:18.619Z] + . [2023-09-20T18:00:18.619Z] -> Found 1 reports [2023-09-20T18:00:18.619Z] ==> Detecting git/mercurial file structure [2023-09-20T18:00:18.619Z] ==> Reading reports [2023-09-20T18:00:18.619Z] + ./coverage.out bytes=41317 [2023-09-20T18:00:18.619Z] ==> Appending adjustments [2023-09-20T18:00:18.619Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T18:00:18.879Z] + Found adjustments [2023-09-20T18:00:18.879Z] ==> Gzipping contents [2023-09-20T18:00:18.879Z] 12K /tmp/codecov.AzogMT.gz [2023-09-20T18:00:18.879Z] ==> Uploading reports [2023-09-20T18:00:18.879Z] url: https://codecov.io [2023-09-20T18:00:18.879Z] query: branch=PR-227&commit=968cfc8fa38aafc00ed1937b90d18a05ab384237&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=227&job=&cmd_args= [2023-09-20T18:00:18.879Z] -> Pinging Codecov [2023-09-20T18:00:18.879Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-227&commit=968cfc8fa38aafc00ed1937b90d18a05ab384237&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=227&job=&cmd_args= [2023-09-20T18:00:19.140Z] -> Uploading to [2023-09-20T18:00:19.140Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/581DD39554BDF9B6E22D074273EAD858/968cfc8fa38aafc00ed1937b90d18a05ab384237/79b94248-59dc-48ef-9410-ef24389668de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T180018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=132c57ae3d398c41fcc54ebb4e2159f733ea35da6a28aba0fc7d7065396d005d [2023-09-20T18:00:19.140Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T18:00:19.140Z] Dload Upload Total Spent Left Speed [2023-09-20T18:00:19.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11811 0 0 100 11811 0 60260 --:--:-- --:--:-- --:--:-- 59954 100 11811 0 0 100 11811 0 59954 --:--:-- --:--:-- --:--:-- 59954 [2023-09-20T18:00:19.399Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/968cfc8fa38aafc00ed1937b90d18a05ab384237 [Pipeline] } [2023-09-20T18:00:19.428Z] 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-09-20T18:00:21.167Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-227/archives ] [2023-09-20T18:00:21.167Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-227/archives [2023-09-20T18:00:21.167Z] total 16 [2023-09-20T18:00:21.167Z] drwxr-xr-x 3 root root 4096 Sep 20 17:34 . [2023-09-20T18:00:21.167Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:34 .. [2023-09-20T18:00:21.167Z] drwxr-xr-x 2 root root 4096 Sep 20 17:34 cost [2023-09-20T18:00:21.167Z] -rw-r--r-- 1 root root 95 Sep 20 17:34 cost.csv [2023-09-20T18:00:21.167Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-227/archives [2023-09-20T18:00:21.167Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-227/archives [2023-09-20T18:00:21.167Z] total 16 [2023-09-20T18:00:21.167Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:34 . [2023-09-20T18:00:21.167Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:34 .. [2023-09-20T18:00:21.167Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:34 cost [2023-09-20T18:00:21.167Z] -rw-r--r-- 1 jenkins jenkins 95 Sep 20 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:21.502Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:22.615Z] ---> package-listing.sh [2023-09-20T18:00:22.615Z] ++ facter osfamily [2023-09-20T18:00:22.615Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T18:00:22.873Z] + OS_FAMILY=debian [2023-09-20T18:00:22.873Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-227 [2023-09-20T18:00:22.873Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T18:00:22.873Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T18:00:22.873Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T18:00:22.873Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T18:00:22.873Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-227 ']' [2023-09-20T18:00:22.873Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T18:00:22.873Z] + case "${OS_FAMILY}" in [2023-09-20T18:00:22.873Z] + dpkg -l [2023-09-20T18:00:22.873Z] + grep '^ii' [2023-09-20T18:00:22.873Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T18:00:22.873Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T18:00:22.873Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T18:00:22.873Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-227 ']' [2023-09-20T18:00:22.873Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-227/archives/ [2023-09-20T18:00:22.873Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-227/archives/ [Pipeline] echo [2023-09-20T18:00:22.908Z] 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-227/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T18:00:23.200Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T18:00:23.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T18:00:23.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T18:00:23.959Z] prd-ubuntu20.04-docker-8c-8g-6826 does not seem to be running inside a container [2023-09-20T18:00:23.985Z] $ 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-227/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-227 -v /w/workspace/y_app-rfid-llrp-inventory_PR-227:/w/workspace/y_app-rfid-llrp-inventory_PR-227:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-227@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-09-20T18:00:24.162Z] $ docker top 80a780fcf1622ba15c7ef172f43f6081b554808fac6033b4b585272dba46f64c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T18:00:24.544Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T18:00:24.853Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T18:00:25.161Z] + ls /var/log/sa-host [2023-09-20T18:00:25.161Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T18:00:25.360Z] provisioning config files... [2023-09-20T18:00:25.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-227@tmp/config7408404808045465808tmp [Pipeline] { [Pipeline] echo [2023-09-20T18:00:25.421Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:25.729Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T18:00:25.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:26.145Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T18:00:26.176Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:26.486Z] ---> sudo-logs.sh [2023-09-20T18:00:26.486Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T18:00:26.565Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:26.874Z] ---> job-cost.sh [2023-09-20T18:00:26.874Z] lf-activate-venv: SKIPPING [2023-09-20T18:00:26.874Z] DEBUG: total: 0.2199999988079071 [2023-09-20T18:00:26.874Z] INFO: Retrieving Stack Cost... [2023-09-20T18:00:27.133Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T18:00:27.699Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T18:00:27.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T18:00:28.044Z] ---> logs-deploy.sh [2023-09-20T18:00:28.044Z] lf-activate-venv: SKIPPING [2023-09-20T18:00:28.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-227/1 [2023-09-20T18:00:28.044Z] INFO: archiving workspace using pattern(s): [2023-09-20T18:00:28.979Z] Archives upload complete. [2023-09-20T18:00:28.979Z] INFO: archiving logs to Nexus