Pull request #240 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from a8b902d9d3a4e1e32685e8f2f0788020ada894bd+920979eb692bae2a0718faef7cf991f1fc593de0 (29dc6fb1f9582854f4849891aad7ce75d895692f) 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-ssh7660152238904522424.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-ssh17709633734897727257.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-240/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-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17935772779188502292.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-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10548681894220939814.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-ssh386288885805713814.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-240/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-240/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8188895990655710437.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] ========================================================= [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-10313 in /w/workspace/y_app-rfid-llrp-inventory_PR-240 [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-240 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 920979eb692bae2a0718faef7cf991f1fc593de0 into PR head commit a8b902d9d3a4e1e32685e8f2f0788020ada894bd Merge succeeded, producing a8b902d9d3a4e1e32685e8f2f0788020ada894bd Checking out Revision a8b902d9d3a4e1e32685e8f2f0788020ada894bd (PR-240) > git config core.sparsecheckout # timeout=10 > git checkout -f a8b902d9d3a4e1e32685e8f2f0788020ada894bd # 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 920979eb692bae2a0718faef7cf991f1fc593de0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8b902d9d3a4e1e32685e8f2f0788020ada894bd # timeout=10 Commit message: "refactor: Remove obsolete comments from config file" 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-10-24T22:04:57.868Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T22:04:58.040Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T22:04:58.136Z] ========================================================= [2023-10-24T22:04:58.137Z] EdgeX Global Pipelines Version Info [2023-10-24T22:04:58.137Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:04:58.891Z] ------------------- [2023-10-24T22:04:58.891Z] stable info: [2023-10-24T22:04:58.891Z] ------------------- [2023-10-24T22:04:58.891Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T22:04:58.891Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T22:04:58.891Z] Message: update stable to v1.0.254 [2023-10-24T22:04:59.459Z] ------------------- [2023-10-24T22:04:59.459Z] experimental info: [2023-10-24T22:04:59.459Z] ------------------- [2023-10-24T22:04:59.459Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T22:04:59.459Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T22:04:59.459Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T22:04:59.772Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-10-24T22:04:59.818Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-10-24T22:04:59.858Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T22:04:59.899Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T22:04:59.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T22:04:59.993Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T22:05:00.033Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T22:05:00.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T22:05:00.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T22:05:00.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T22:05:00.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T22:05:00.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-10-24T22:05:00.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T22:05:00.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T22:05:00.347Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T22:05:00.393Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T22:05:00.438Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T22:05:00.484Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T22:05:00.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T22:05:00.567Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T22:05:00.607Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T22:05:00.651Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T22:05:00.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T22:05:00.733Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T22:05:00.778Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T22:05:00.821Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T22:05:00.875Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T22:05:00.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-240 [Pipeline] echo [2023-10-24T22:05:00.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-240 [Pipeline] echo [2023-10-24T22:05:00.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-240 [Pipeline] echo [2023-10-24T22:05:01.031Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8b902d9d3a4e1e32685e8f2f0788020ada894bd [Pipeline] echo [2023-10-24T22:05:01.078Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8b902d [Pipeline] echo [2023-10-24T22:05:01.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T22:05:01.255Z] provisioning config files... [2023-10-24T22:05:01.267Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/config1650708350440742286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:05:01.608Z] ---> docker-login.sh [2023-10-24T22:05:01.608Z] nexus3.edgexfoundry.org:10001 [2023-10-24T22:05:01.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:01.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:01.870Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:01.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:01.870Z] [2023-10-24T22:05:01.870Z] Login Succeeded [2023-10-24T22:05:01.870Z] nexus3.edgexfoundry.org:10002 [2023-10-24T22:05:01.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:01.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:01.870Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:01.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:01.870Z] [2023-10-24T22:05:01.870Z] Login Succeeded [2023-10-24T22:05:01.870Z] nexus3.edgexfoundry.org:10003 [2023-10-24T22:05:01.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:02.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:02.134Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:02.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:02.134Z] [2023-10-24T22:05:02.134Z] Login Succeeded [2023-10-24T22:05:02.134Z] nexus3.edgexfoundry.org:10004 [2023-10-24T22:05:02.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:02.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:02.134Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:02.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:02.134Z] [2023-10-24T22:05:02.134Z] Login Succeeded [2023-10-24T22:05:02.134Z] docker.io [2023-10-24T22:05:02.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:02.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:02.395Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:02.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:02.395Z] [2023-10-24T22:05:02.395Z] Login Succeeded [2023-10-24T22:05:02.395Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T22:05:02.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T22:05:03.063Z] + git rev-list -1 --merges a8b902d9d3a4e1e32685e8f2f0788020ada894bd~1..a8b902d9d3a4e1e32685e8f2f0788020ada894bd [Pipeline] echo [2023-10-24T22:05:03.125Z] -----------> git rev-list -1 --merges a8b902d9d3a4e1e32685e8f2f0788020ada894bd~1..a8b902d9d3a4e1e32685e8f2f0788020ada894bd a8b902d9d3a4e1e32685e8f2f0788020ada894bd [false] [Pipeline] sh [2023-10-24T22:05:03.432Z] + git log --format=format:%s -1 a8b902d9d3a4e1e32685e8f2f0788020ada894bd [Pipeline] echo [2023-10-24T22:05:03.464Z] ========================================================= [2023-10-24T22:05:03.464Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T22:05:03.464Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T22:05:03.899Z] + git log --format=format:%s -1 a8b902d9d3a4e1e32685e8f2f0788020ada894bd [Pipeline] echo [2023-10-24T22:05:03.933Z] [semverPrep] GIT_COMMIT: a8b902d9d3a4e1e32685e8f2f0788020ada894bd, Commit Message: refactor: Remove obsolete comments from config file [Pipeline] echo [2023-10-24T22:05:03.965Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T22:05:04.344Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T22:05:04.344Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T22:05:04.344Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T22:05:04.344Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T22:05:04.344Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T22:05:04.344Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T22:05:04.344Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:04.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:05:04.842Z] [2023-10-24T22:05:04.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:05.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:05:05.219Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T22:05:05.219Z] b85a868b505f: Pulling fs layer [2023-10-24T22:05:05.219Z] e2be974225ed: Pulling fs layer [2023-10-24T22:05:05.219Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T22:05:05.219Z] 988bab9f4d93: Pulling fs layer [2023-10-24T22:05:05.219Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T22:05:05.219Z] eaf3925da568: Pulling fs layer [2023-10-24T22:05:05.219Z] bab4dde63d76: Pulling fs layer [2023-10-24T22:05:05.219Z] bde34c3a00c8: Pulling fs layer [2023-10-24T22:05:05.219Z] b352a97aabf1: Pulling fs layer [2023-10-24T22:05:05.219Z] 4872d77fe225: Pulling fs layer [2023-10-24T22:05:05.219Z] 5851b861e8e6: Pulling fs layer [2023-10-24T22:05:05.219Z] eaf3925da568: Waiting [2023-10-24T22:05:05.219Z] bab4dde63d76: Waiting [2023-10-24T22:05:05.219Z] bde34c3a00c8: Waiting [2023-10-24T22:05:05.219Z] b352a97aabf1: Waiting [2023-10-24T22:05:05.219Z] 4872d77fe225: Waiting [2023-10-24T22:05:05.219Z] 5851b861e8e6: Waiting [2023-10-24T22:05:05.219Z] 988bab9f4d93: Waiting [2023-10-24T22:05:05.219Z] 1469e6f7b9e6: Waiting [2023-10-24T22:05:05.219Z] e2be974225ed: Download complete [2023-10-24T22:05:05.219Z] 988bab9f4d93: Verifying Checksum [2023-10-24T22:05:05.219Z] 988bab9f4d93: Download complete [2023-10-24T22:05:05.219Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T22:05:05.219Z] 339a4e72a1f5: Download complete [2023-10-24T22:05:05.219Z] eaf3925da568: Verifying Checksum [2023-10-24T22:05:05.219Z] eaf3925da568: Download complete [2023-10-24T22:05:05.477Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T22:05:05.477Z] 1469e6f7b9e6: Download complete [2023-10-24T22:05:05.477Z] bde34c3a00c8: Download complete [2023-10-24T22:05:05.477Z] b352a97aabf1: Verifying Checksum [2023-10-24T22:05:05.477Z] b352a97aabf1: Download complete [2023-10-24T22:05:05.477Z] 4872d77fe225: Verifying Checksum [2023-10-24T22:05:05.477Z] 4872d77fe225: Download complete [2023-10-24T22:05:05.477Z] 5851b861e8e6: Verifying Checksum [2023-10-24T22:05:05.477Z] 5851b861e8e6: Download complete [2023-10-24T22:05:05.477Z] b85a868b505f: Verifying Checksum [2023-10-24T22:05:05.477Z] b85a868b505f: Download complete [2023-10-24T22:05:05.735Z] bab4dde63d76: Verifying Checksum [2023-10-24T22:05:05.735Z] bab4dde63d76: Download complete [2023-10-24T22:05:06.672Z] b85a868b505f: Pull complete [2023-10-24T22:05:06.672Z] e2be974225ed: Pull complete [2023-10-24T22:05:07.237Z] 339a4e72a1f5: Pull complete [2023-10-24T22:05:07.237Z] 988bab9f4d93: Pull complete [2023-10-24T22:05:07.494Z] 1469e6f7b9e6: Pull complete [2023-10-24T22:05:07.494Z] eaf3925da568: Pull complete [2023-10-24T22:05:09.399Z] bab4dde63d76: Pull complete [2023-10-24T22:05:09.399Z] bde34c3a00c8: Pull complete [2023-10-24T22:05:09.399Z] b352a97aabf1: Pull complete [2023-10-24T22:05:09.399Z] 4872d77fe225: Pull complete [2023-10-24T22:05:09.399Z] 5851b861e8e6: Pull complete [2023-10-24T22:05:09.399Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T22:05:09.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:05:09.399Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:05:09.627Z] prd-ubuntu20.04-docker-8c-8g-10313 does not seem to be running inside a container [2023-10-24T22:05:09.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-240 -v /w/workspace/y_app-rfid-llrp-inventory_PR-240:/w/workspace/y_app-rfid-llrp-inventory_PR-240:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T22:05:12.402Z] $ docker top e4ce7661fa1a4a3baacfab7fb5d6625c4d9052282b3c1fe9d73c9c07f35b3345 -eo pid,comm [2023-10-24T22:05:12.455Z] 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-10-24T22:05:12.455Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T22:05:12.573Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:05:12.573Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:05:12.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:05:12.694Z] $ docker exec e4ce7661fa1a4a3baacfab7fb5d6625c4d9052282b3c1fe9d73c9c07f35b3345 ssh-agent [2023-10-24T22:05:12.806Z] SSH_AUTH_SOCK=/tmp/ssh-U1ByJRhAXWBx/agent.33 [2023-10-24T22:05:12.806Z] SSH_AGENT_PID=39 [2023-10-24T22:05:12.811Z] Running ssh-add (command line suppressed) [2023-10-24T22:05:12.898Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/private_key_6756236865852589358.key (/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/private_key_6756236865852589358.key) [2023-10-24T22:05:12.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:05:13.234Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T22:05:13.257Z] $ docker exec --env ******** --env ******** e4ce7661fa1a4a3baacfab7fb5d6625c4d9052282b3c1fe9d73c9c07f35b3345 ssh-agent -k [2023-10-24T22:05:13.358Z] unset SSH_AUTH_SOCK; [2023-10-24T22:05:13.359Z] unset SSH_AGENT_PID; [2023-10-24T22:05:13.359Z] echo Agent pid 39 killed; [2023-10-24T22:05:13.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T22:05:13.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:05:13.455Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:05:13.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:05:13.566Z] $ docker exec e4ce7661fa1a4a3baacfab7fb5d6625c4d9052282b3c1fe9d73c9c07f35b3345 ssh-agent [2023-10-24T22:05:13.672Z] SSH_AUTH_SOCK=/tmp/ssh-vXiSZoJLL8pq/agent.71 [2023-10-24T22:05:13.672Z] SSH_AGENT_PID=77 [2023-10-24T22:05:13.678Z] Running ssh-add (command line suppressed) [2023-10-24T22:05:13.782Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/private_key_15540564542428852911.key (/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/private_key_15540564542428852911.key) [2023-10-24T22:05:13.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:05:14.126Z] + git semver init [2023-10-24T22:05:14.394Z] 2023-10-24 22:05:14,273 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T22:05:14.394Z] 2023-10-24 22:05:14,274 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver [2023-10-24T22:05:14.394Z] 2023-10-24 22:05:14,275 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver [2023-10-24T22:05:14.394Z] 2023-10-24 22:05:14,275 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-240, universal_newlines=False, shell=None, istream=None) [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,344 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-240/.git/info/exclude [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,345 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver/PR-240 with force:False [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,345 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver/PR-240 [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,349 [execute] INFO git cat-file --batch-check [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,355 [execute] INFO git cat-file --batch [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,355 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:05:15.774Z] 2023-10-24 22:05:15,360 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-240/.semver/PR-240 [2023-10-24T22:05:15.774Z] 0.0.0 [Pipeline] } [2023-10-24T22:05:15.803Z] $ docker exec --env ******** --env ******** e4ce7661fa1a4a3baacfab7fb5d6625c4d9052282b3c1fe9d73c9c07f35b3345 ssh-agent -k [2023-10-24T22:05:15.898Z] unset SSH_AUTH_SOCK; [2023-10-24T22:05:15.898Z] unset SSH_AGENT_PID; [2023-10-24T22:05:15.899Z] echo Agent pid 77 killed; [2023-10-24T22:05:15.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T22:05:16.323Z] + git semver [Pipeline] } [2023-10-24T22:05:16.613Z] $ docker stop --time=1 e4ce7661fa1a4a3baacfab7fb5d6625c4d9052282b3c1fe9d73c9c07f35b3345 [2023-10-24T22:05:17.897Z] $ docker rm -f --volumes e4ce7661fa1a4a3baacfab7fb5d6625c4d9052282b3c1fe9d73c9c07f35b3345 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T22:05:18.298Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T22:05:18.567Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T22:05:18.585Z] [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-10-24T22:05:19.206Z] provisioning config files... [2023-10-24T22:05:19.219Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/config13595475808161383985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:05:19.560Z] ---> docker-login.sh [2023-10-24T22:05:19.560Z] nexus3.edgexfoundry.org:10001 [2023-10-24T22:05:19.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:19.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:19.560Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:19.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:19.560Z] [2023-10-24T22:05:19.560Z] Login Succeeded [2023-10-24T22:05:19.560Z] nexus3.edgexfoundry.org:10002 [2023-10-24T22:05:19.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:19.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:19.560Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:19.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:19.560Z] [2023-10-24T22:05:19.560Z] Login Succeeded [2023-10-24T22:05:19.560Z] nexus3.edgexfoundry.org:10003 [2023-10-24T22:05:19.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:19.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:19.820Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:19.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:19.820Z] [2023-10-24T22:05:19.820Z] Login Succeeded [2023-10-24T22:05:19.820Z] nexus3.edgexfoundry.org:10004 [2023-10-24T22:05:19.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:19.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:19.820Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:19.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:19.820Z] [2023-10-24T22:05:19.820Z] Login Succeeded [2023-10-24T22:05:19.820Z] docker.io [2023-10-24T22:05:20.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:20.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:20.079Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:20.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:20.079Z] [2023-10-24T22:05:20.079Z] Login Succeeded [2023-10-24T22:05:20.079Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T22:05:20.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T22:05:20.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T22:05:20.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T22:05:20.360Z] ========================================================= [2023-10-24T22:05:20.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T22:05:20.360Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:20.825Z] + 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-10-24T22:05:20.825Z] Sending build context to Docker daemon 12.73MB [2023-10-24T22:05:20.825Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T22:05:20.825Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T22:05:20.825Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T22:05:20.825Z] 7264a8db6415: Pulling fs layer [2023-10-24T22:05:20.825Z] c4d48a809fc2: Pulling fs layer [2023-10-24T22:05:20.825Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T22:05:20.825Z] ad3a456e5733: Pulling fs layer [2023-10-24T22:05:20.825Z] 33e27b845d1e: Pulling fs layer [2023-10-24T22:05:20.825Z] c68163c4e522: Pulling fs layer [2023-10-24T22:05:20.825Z] 50da416c3ac9: Pulling fs layer [2023-10-24T22:05:20.825Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T22:05:20.825Z] c68163c4e522: Waiting [2023-10-24T22:05:20.825Z] ad3a456e5733: Waiting [2023-10-24T22:05:20.825Z] 33e27b845d1e: Waiting [2023-10-24T22:05:20.825Z] 23d2d4c4bb30: Waiting [2023-10-24T22:05:20.825Z] c4d48a809fc2: Verifying Checksum [2023-10-24T22:05:20.825Z] c4d48a809fc2: Download complete [2023-10-24T22:05:21.084Z] ad3a456e5733: Verifying Checksum [2023-10-24T22:05:21.084Z] ad3a456e5733: Download complete [2023-10-24T22:05:21.084Z] 33e27b845d1e: Verifying Checksum [2023-10-24T22:05:21.084Z] 33e27b845d1e: Download complete [2023-10-24T22:05:21.084Z] 7264a8db6415: Download complete [2023-10-24T22:05:21.084Z] c68163c4e522: Verifying Checksum [2023-10-24T22:05:21.084Z] c68163c4e522: Download complete [2023-10-24T22:05:21.343Z] 7264a8db6415: Pull complete [2023-10-24T22:05:21.343Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T22:05:21.343Z] 23d2d4c4bb30: Download complete [2023-10-24T22:05:21.343Z] c4d48a809fc2: Pull complete [2023-10-24T22:05:21.343Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T22:05:21.343Z] 4f1c88b9dad5: Download complete [2023-10-24T22:05:21.911Z] 50da416c3ac9: Verifying Checksum [2023-10-24T22:05:21.911Z] 50da416c3ac9: Download complete [2023-10-24T22:05:24.436Z] 4f1c88b9dad5: Pull complete [2023-10-24T22:05:24.436Z] ad3a456e5733: Pull complete [2023-10-24T22:05:24.436Z] 33e27b845d1e: Pull complete [2023-10-24T22:05:24.436Z] c68163c4e522: Pull complete [2023-10-24T22:05:26.960Z] 50da416c3ac9: Pull complete [2023-10-24T22:05:26.960Z] 23d2d4c4bb30: Pull complete [2023-10-24T22:05:26.960Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T22:05:26.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T22:05:26.960Z] ---> 0786185ac409 [2023-10-24T22:05:26.960Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T22:05:31.180Z] ---> Running in 8f188edad514 [2023-10-24T22:05:31.180Z] Removing intermediate container 8f188edad514 [2023-10-24T22:05:31.180Z] ---> 2baf16297a77 [2023-10-24T22:05:31.180Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T22:05:31.180Z] ---> Running in ddb4691e58a5 [2023-10-24T22:05:31.180Z] Removing intermediate container ddb4691e58a5 [2023-10-24T22:05:31.180Z] ---> 0727f357f611 [2023-10-24T22:05:31.180Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T22:05:31.180Z] ---> Running in f461b56f68e5 [2023-10-24T22:05:31.180Z] Removing intermediate container f461b56f68e5 [2023-10-24T22:05:31.180Z] ---> 8f8bb06bfcb1 [2023-10-24T22:05:31.180Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T22:05:31.180Z] ---> Running in a83bdd30de67 [2023-10-24T22:05:31.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T22:05:31.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T22:05:31.694Z] OK: 264 MiB in 52 packages [2023-10-24T22:05:32.260Z] Removing intermediate container a83bdd30de67 [2023-10-24T22:05:32.260Z] ---> 055343e839c4 [2023-10-24T22:05:32.260Z] Step 7/12 : WORKDIR /app [2023-10-24T22:05:32.260Z] ---> Running in 6c757421e294 [2023-10-24T22:05:32.260Z] Removing intermediate container 6c757421e294 [2023-10-24T22:05:32.260Z] ---> 44ecdd6cfaf4 [2023-10-24T22:05:32.260Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T22:05:32.260Z] ---> f7375baf17c6 [2023-10-24T22:05:32.260Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T22:05:32.260Z] ---> Running in 14f49628c7b0 [2023-10-24T22:05:34.012Z] Still waiting to schedule task [2023-10-24T22:05:34.012Z] ‘prd-ubuntu20.04-docker-8c-8g-10314’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T22:05:34.012Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10315’ is offline [2023-10-24T22:06:18.932Z] Removing intermediate container 14f49628c7b0 [2023-10-24T22:06:18.932Z] ---> b468ec50a6ca [2023-10-24T22:06:18.932Z] Step 10/12 : COPY . . [2023-10-24T22:06:18.932Z] ---> e308e6592a03 [2023-10-24T22:06:18.932Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T22:06:18.932Z] ---> Running in 6bb46ad51d3c [2023-10-24T22:06:18.932Z] Removing intermediate container 6bb46ad51d3c [2023-10-24T22:06:18.932Z] ---> 271889427eba [2023-10-24T22:06:18.932Z] Step 12/12 : RUN $MAKE [2023-10-24T22:06:18.932Z] ---> Running in 6a7710ec233e [2023-10-24T22:06:18.932Z] noop [2023-10-24T22:06:18.932Z] Removing intermediate container 6a7710ec233e [2023-10-24T22:06:18.932Z] ---> f40d0d2ca4cc [2023-10-24T22:06:18.932Z] Successfully built f40d0d2ca4cc [2023-10-24T22:06:18.932Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:19.392Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T22:06:19.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:06:19.545Z] prd-ubuntu20.04-docker-8c-8g-10313 does not seem to be running inside a container [2023-10-24T22:06:19.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-240 -v /w/workspace/y_app-rfid-llrp-inventory_PR-240:/w/workspace/y_app-rfid-llrp-inventory_PR-240:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T22:06:19.904Z] $ docker top c168c408853e6656317b5c19025ea350862eb3fa4400c2f9c042e5a7e5dd7dae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T22:06:20.286Z] + go version [2023-10-24T22:06:20.286Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T22:06:20.318Z] $ docker stop --time=1 c168c408853e6656317b5c19025ea350862eb3fa4400c2f9c042e5a7e5dd7dae [2023-10-24T22:06:21.597Z] $ docker rm -f --volumes c168c408853e6656317b5c19025ea350862eb3fa4400c2f9c042e5a7e5dd7dae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:22.296Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T22:06:22.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:06:22.434Z] prd-ubuntu20.04-docker-8c-8g-10313 does not seem to be running inside a container [2023-10-24T22:06:22.466Z] $ 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-240 -v /w/workspace/y_app-rfid-llrp-inventory_PR-240:/w/workspace/y_app-rfid-llrp-inventory_PR-240:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T22:06:22.812Z] $ docker top 6c6a2613bc6408b1c08c2387ccfe11f7540c9e597677cc0ce4e4e0c92adb04a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T22:06:23.196Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-240 [Pipeline] fileExists [Pipeline] sh [2023-10-24T22:06:23.553Z] + make test [2023-10-24T22:06:23.554Z] go test -race ./... -coverprofile=coverage.out ./... [2023-10-24T22:06:41.634Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-10-24T22:06:41.634Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-10-24T22:06:42.205Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.122s coverage: 86.2% of statements [2023-10-24T22:06:44.736Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.710s coverage: 71.9% of statements [2023-10-24T22:07:02.803Z] go vet ./... [2023-10-24T22:07:06.098Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T22:07:06.098Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T22:07:06.098Z] ./bin/test-attribution.sh [2023-10-24T22:07:06.098Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-10-24T22:07:06.098Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-10-24T22:07:06.098Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-10-24T22:07:06.098Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-10-24T22:07:06.098Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-10-24T22:07:06.098Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-10-24T22:07:06.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T22:07:06.173Z] $ docker stop --time=1 6c6a2613bc6408b1c08c2387ccfe11f7540c9e597677cc0ce4e4e0c92adb04a5 [2023-10-24T22:07:09.592Z] $ docker rm -f --volumes 6c6a2613bc6408b1c08c2387ccfe11f7540c9e597677cc0ce4e4e0c92adb04a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T22:07:10.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T22:07:10.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T22:07:10.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T22:07:11.246Z] + ls -al . [2023-10-24T22:07:11.247Z] total 232 [2023-10-24T22:07:11.247Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 22:06 . [2023-10-24T22:07:11.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:04 .. [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 22:04 .dockerignore [2023-10-24T22:07:11.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:06 .git [2023-10-24T22:07:11.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:04 .github [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 701 Oct 24 22:04 .gitignore [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 22:04 .golangci.yml [2023-10-24T22:07:11.247Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 22:05 .semver [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 10232 Oct 24 22:04 Attribution.txt [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 9317 Oct 24 22:04 CHANGELOG.md [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 1659 Oct 24 22:04 Dockerfile [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 22:04 GOVERNANCE.md [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 665 Oct 24 22:04 Jenkinsfile [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 22:04 LICENSE [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 2497 Oct 24 22:04 Makefile [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 22:04 OWNERS.md [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 31446 Oct 24 22:04 README.md [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 22:05 VERSION [2023-10-24T22:07:11.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:04 bin [2023-10-24T22:07:11.247Z] -rw-r--r-- 1 jenkins jenkins 41317 Oct 24 22:06 coverage.out [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 3969 Oct 24 22:04 go.mod [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 35080 Oct 24 22:04 go.sum [2023-10-24T22:07:11.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:04 images [2023-10-24T22:07:11.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:04 internal [2023-10-24T22:07:11.247Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 22:04 main.go [2023-10-24T22:07:11.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:04 res [2023-10-24T22:07:11.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:04 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:07:11.643Z] + 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=a8b902d9d3a4e1e32685e8f2f0788020ada894bd --label arch=amd64 --label version=0.0.0 . [2023-10-24T22:07:11.643Z] Sending build context to Docker daemon 12.73MB [2023-10-24T22:07:11.643Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T22:07:11.643Z] Step 2/29 : FROM ${BASE} AS builder [2023-10-24T22:07:11.643Z] ---> f40d0d2ca4cc [2023-10-24T22:07:11.643Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T22:07:11.902Z] ---> Running in 47b33dd830a8 [2023-10-24T22:07:11.902Z] Removing intermediate container 47b33dd830a8 [2023-10-24T22:07:11.902Z] ---> a1a6f936d152 [2023-10-24T22:07:11.902Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T22:07:11.902Z] ---> Running in 3b89fa15e4fb [2023-10-24T22:07:11.902Z] Removing intermediate container 3b89fa15e4fb [2023-10-24T22:07:11.902Z] ---> 72d8112db821 [2023-10-24T22:07:11.902Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-10-24T22:07:12.161Z] ---> Running in cbdacb490f25 [2023-10-24T22:07:12.161Z] Removing intermediate container cbdacb490f25 [2023-10-24T22:07:12.161Z] ---> c615b3cf1eab [2023-10-24T22:07:12.161Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T22:07:12.161Z] ---> Running in 497fc1bc47eb [2023-10-24T22:07:12.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T22:07:12.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T22:07:12.943Z] OK: 264 MiB in 52 packages [2023-10-24T22:07:13.203Z] Removing intermediate container 497fc1bc47eb [2023-10-24T22:07:13.203Z] ---> 8f08222feece [2023-10-24T22:07:13.203Z] Step 7/29 : WORKDIR /app [2023-10-24T22:07:13.203Z] ---> Running in 821569f05817 [2023-10-24T22:07:13.203Z] Removing intermediate container 821569f05817 [2023-10-24T22:07:13.203Z] ---> 2fc82b7ab43b [2023-10-24T22:07:13.203Z] Step 8/29 : COPY go.mod vendor* ./ [2023-10-24T22:07:13.462Z] ---> 49d9ac29da71 [2023-10-24T22:07:13.462Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T22:07:13.462Z] ---> Running in e8862ee0f017 [2023-10-24T22:07:14.028Z] Removing intermediate container e8862ee0f017 [2023-10-24T22:07:14.028Z] ---> b8baa3f367c7 [2023-10-24T22:07:14.028Z] Step 10/29 : COPY . . [2023-10-24T22:07:14.287Z] ---> e95fa058d9e5 [2023-10-24T22:07:14.287Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T22:07:14.287Z] ---> Running in ef5793bf5f14 [2023-10-24T22:07:14.546Z] Removing intermediate container ef5793bf5f14 [2023-10-24T22:07:14.546Z] ---> c4a063777626 [2023-10-24T22:07:14.546Z] Step 12/29 : RUN $MAKE [2023-10-24T22:07:14.546Z] ---> Running in 84591ea5d275 [2023-10-24T22:07:14.803Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.47 -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-10-24T22:07:32.871Z] Removing intermediate container 84591ea5d275 [2023-10-24T22:07:32.871Z] ---> 04b5a1304b4e [2023-10-24T22:07:32.871Z] Step 13/29 : FROM alpine:3.18 [2023-10-24T22:07:32.871Z] 3.18: Pulling from library/alpine [2023-10-24T22:07:32.871Z] 96526aa774ef: Pulling fs layer [2023-10-24T22:07:33.129Z] 96526aa774ef: Verifying Checksum [2023-10-24T22:07:33.129Z] 96526aa774ef: Download complete [2023-10-24T22:07:33.389Z] 96526aa774ef: Pull complete [2023-10-24T22:07:33.389Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T22:07:33.389Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T22:07:33.389Z] ---> 8ca4688f4f35 [2023-10-24T22:07:33.389Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T22:07:33.389Z] ---> Running in c2848c60cfc8 [2023-10-24T22:07:33.647Z] Removing intermediate container c2848c60cfc8 [2023-10-24T22:07:33.647Z] ---> 9b822b9f0009 [2023-10-24T22:07:33.647Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-10-24T22:07:33.647Z] ---> Running in ca97d694a2ae [2023-10-24T22:07:33.647Z] Removing intermediate container ca97d694a2ae [2023-10-24T22:07:33.647Z] ---> eae17b3f503b [2023-10-24T22:07:33.647Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-10-24T22:07:33.647Z] ---> Running in 4eb3c080f041 [2023-10-24T22:07:33.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T22:07:34.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T22:07:34.424Z] (1/2) Installing ca-certificates (20230506-r0) [2023-10-24T22:07:34.424Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-10-24T22:07:34.424Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T22:07:34.424Z] Executing ca-certificates-20230506-r0.trigger [2023-10-24T22:07:34.424Z] OK: 8 MiB in 17 packages [2023-10-24T22:07:34.992Z] Removing intermediate container 4eb3c080f041 [2023-10-24T22:07:34.992Z] ---> 74757ce5a097 [2023-10-24T22:07:34.992Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-10-24T22:07:34.992Z] ---> 5581f30664fc [2023-10-24T22:07:34.992Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-10-24T22:07:34.992Z] ---> 506fc6a10357 [2023-10-24T22:07:34.992Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-10-24T22:07:35.251Z] ---> ac07cd2268dc [2023-10-24T22:07:35.251Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-10-24T22:07:35.251Z] ---> 2e65f253ddaa [2023-10-24T22:07:35.251Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-10-24T22:07:35.819Z] ---> c7779f3a09ca [2023-10-24T22:07:35.819Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-10-24T22:07:35.819Z] ---> Running in 8b5540e65221 [2023-10-24T22:07:36.384Z] Removing intermediate container 8b5540e65221 [2023-10-24T22:07:36.384Z] ---> 182bbcde6277 [2023-10-24T22:07:36.384Z] Step 23/29 : VOLUME /cache [2023-10-24T22:07:36.384Z] ---> Running in 114341b7f921 [2023-10-24T22:07:36.384Z] Removing intermediate container 114341b7f921 [2023-10-24T22:07:36.384Z] ---> 9dfa74c2c379 [2023-10-24T22:07:36.384Z] Step 24/29 : EXPOSE 59711 [2023-10-24T22:07:36.643Z] ---> Running in 349186fe8aae [2023-10-24T22:07:36.643Z] Removing intermediate container 349186fe8aae [2023-10-24T22:07:36.643Z] ---> f35701c912a9 [2023-10-24T22:07:36.643Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-10-24T22:07:36.643Z] ---> Running in 0ca60596500b [2023-10-24T22:07:36.643Z] Removing intermediate container 0ca60596500b [2023-10-24T22:07:36.643Z] ---> 111a49b63f54 [2023-10-24T22:07:36.643Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-10-24T22:07:36.643Z] ---> Running in 47259956dcbb [2023-10-24T22:07:36.902Z] Removing intermediate container 47259956dcbb [2023-10-24T22:07:36.902Z] ---> 16323f6f11ba [2023-10-24T22:07:36.902Z] Step 27/29 : LABEL arch=amd64 [2023-10-24T22:07:36.902Z] ---> Running in 830739b7d387 [2023-10-24T22:07:36.902Z] Removing intermediate container 830739b7d387 [2023-10-24T22:07:36.902Z] ---> 2afda81111af [2023-10-24T22:07:36.902Z] Step 28/29 : LABEL git_sha=a8b902d9d3a4e1e32685e8f2f0788020ada894bd [2023-10-24T22:07:36.902Z] ---> Running in f39ba4967575 [2023-10-24T22:07:36.902Z] Removing intermediate container f39ba4967575 [2023-10-24T22:07:36.902Z] ---> 16d7c8652510 [2023-10-24T22:07:36.902Z] Step 29/29 : LABEL version=0.0.0 [2023-10-24T22:07:36.902Z] ---> Running in 3f39c064ac58 [2023-10-24T22:07:37.162Z] Removing intermediate container 3f39c064ac58 [2023-10-24T22:07:37.162Z] ---> 008868af79b5 [2023-10-24T22:07:37.162Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T22:07:37.162Z] Successfully built 008868af79b5 [2023-10-24T22:07:37.162Z] 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-10-24T22:07:38.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T22:07:38.012Z] [2023-10-24T22:07:38.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:07:38.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T22:07:38.387Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T22:07:38.387Z] 5eb5b503b376: Pulling fs layer [2023-10-24T22:07:38.387Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T22:07:38.387Z] ec43610c2a17: Pulling fs layer [2023-10-24T22:07:38.387Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T22:07:38.387Z] 33b1e0a273af: Pulling fs layer [2023-10-24T22:07:38.387Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T22:07:38.387Z] 2f39f015ded8: Pulling fs layer [2023-10-24T22:07:38.387Z] 33b1e0a273af: Waiting [2023-10-24T22:07:38.387Z] 3a2ae6a8a46f: Waiting [2023-10-24T22:07:38.387Z] 5d3b04190fa2: Waiting [2023-10-24T22:07:38.387Z] 2f39f015ded8: Waiting [2023-10-24T22:07:38.387Z] 5c69ac0246d0: Download complete [2023-10-24T22:07:38.387Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T22:07:38.387Z] 3a2ae6a8a46f: Download complete [2023-10-24T22:07:38.387Z] 33b1e0a273af: Verifying Checksum [2023-10-24T22:07:38.387Z] 33b1e0a273af: Download complete [2023-10-24T22:07:38.387Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T22:07:38.387Z] 5d3b04190fa2: Download complete [2023-10-24T22:07:38.647Z] ec43610c2a17: Download complete [2023-10-24T22:07:38.647Z] 5eb5b503b376: Verifying Checksum [2023-10-24T22:07:38.647Z] 5eb5b503b376: Download complete [2023-10-24T22:07:39.212Z] 2f39f015ded8: Download complete [2023-10-24T22:07:39.777Z] 5eb5b503b376: Pull complete [2023-10-24T22:07:40.036Z] 5c69ac0246d0: Pull complete [2023-10-24T22:07:40.294Z] ec43610c2a17: Pull complete [2023-10-24T22:07:40.553Z] 3a2ae6a8a46f: Pull complete [2023-10-24T22:07:40.553Z] 33b1e0a273af: Pull complete [2023-10-24T22:07:40.812Z] 5d3b04190fa2: Pull complete [2023-10-24T22:07:44.991Z] 2f39f015ded8: Pull complete [2023-10-24T22:07:44.991Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T22:07:44.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T22:07:44.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:07:45.197Z] prd-ubuntu20.04-docker-8c-8g-10313 does not seem to be running inside a container [2023-10-24T22:07:45.227Z] $ 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-240 -v /w/workspace/y_app-rfid-llrp-inventory_PR-240:/w/workspace/y_app-rfid-llrp-inventory_PR-240:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T22:07:49.396Z] $ docker top 400f64750b11b0bc8ce3031fe92938b0e1ee2b2bd266f66240d848651d913316 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:49.846Z] ---> job-cost.sh [2023-10-24T22:07:49.847Z] lf-activate-venv: SKIPPING [2023-10-24T22:07:49.847Z] INFO: No Stack... [2023-10-24T22:07:50.105Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T22:07:50.672Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T22:07:50.980Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-240/archives/cost.csv [2023-10-24T22:07:50.980Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T22:07:51.016Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] [2023-10-24T22:07:51.020Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] did not exist. Created. [2023-10-24T22:07:51.020Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T22:07:51.407Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T22:07:51.456Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T22:07:51.484Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T22:07:51.563Z] $ docker stop --time=1 400f64750b11b0bc8ce3031fe92938b0e1ee2b2bd266f66240d848651d913316 [2023-10-24T22:07:52.721Z] $ docker rm -f --volumes 400f64750b11b0bc8ce3031fe92938b0e1ee2b2bd266f66240d848651d913316 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T22:08:17.514Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10316 in /w/workspace/y_app-rfid-llrp-inventory_PR-240 [Pipeline] { [Pipeline] ws [2023-10-24T22:08:17.565Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-10-24T22:08:17.661Z] The recommended git tool is: git [2023-10-24T22:08:27.932Z] using credential edgex-jenkins-ssh [2023-10-24T22:08:27.949Z] Cloning the remote Git repository [2023-10-24T22:08:28.028Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-24T22:08:28.224Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-10-24T22:08:28.609Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-24T22:08:28.611Z] > git --version # timeout=10 [2023-10-24T22:08:28.651Z] > git --version # 'git version 2.25.1' [2023-10-24T22:08:28.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T22:08:28.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T22:08:31.342Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-10-24T22:08:31.383Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T22:08:33.391Z] Merging remotes/origin/main commit 920979eb692bae2a0718faef7cf991f1fc593de0 into PR head commit a8b902d9d3a4e1e32685e8f2f0788020ada894bd [2023-10-24T22:08:32.597Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-10-24T22:08:32.658Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-24T22:08:32.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T22:08:32.681Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T22:08:33.416Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T22:08:33.773Z] Merge succeeded, producing a8b902d9d3a4e1e32685e8f2f0788020ada894bd [2023-10-24T22:08:33.774Z] Checking out Revision a8b902d9d3a4e1e32685e8f2f0788020ada894bd (PR-240) [2023-10-24T22:08:33.531Z] > git checkout -f a8b902d9d3a4e1e32685e8f2f0788020ada894bd # timeout=10 [2023-10-24T22:08:33.646Z] > git remote # timeout=10 [2023-10-24T22:08:33.670Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T22:08:33.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T22:08:33.709Z] > git merge 920979eb692bae2a0718faef7cf991f1fc593de0 # timeout=10 [2023-10-24T22:08:33.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T22:08:33.782Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T22:08:33.801Z] > git checkout -f a8b902d9d3a4e1e32685e8f2f0788020ada894bd # timeout=10 [2023-10-24T22:08:37.428Z] Commit message: "refactor: Remove obsolete comments from config file" [2023-10-24T22:08:37.489Z] > git --version # timeout=10 [2023-10-24T22:08:37.501Z] > git --version # 'git version 2.25.1' [2023-10-24T22:08:37.518Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T22:08:38.678Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T22:08:38.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T22:08:38.678Z] Dload Upload Total Spent Left Speed [2023-10-24T22:08:38.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-10-24T22:08:39.427Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T22:08:39.785Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T22:08:39.785Z] + sudo tee /etc/docker/daemon.new [2023-10-24T22:08:39.785Z] { [2023-10-24T22:08:39.785Z] "registry-mirrors": [ [2023-10-24T22:08:39.785Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T22:08:39.785Z] ], [2023-10-24T22:08:39.785Z] "bip": "10.250.0.254/24", [2023-10-24T22:08:39.785Z] "hosts": [ [2023-10-24T22:08:39.785Z] "tcp://0.0.0.0:5555", [2023-10-24T22:08:39.785Z] "unix:///var/run/docker.sock" [2023-10-24T22:08:39.785Z] ], [2023-10-24T22:08:39.785Z] "mtu": 1458, [2023-10-24T22:08:39.785Z] "selinux-enabled": true, [2023-10-24T22:08:39.785Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T22:08:39.785Z] } [Pipeline] sh [2023-10-24T22:08:40.141Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T22:08:40.513Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T22:08:58.871Z] provisioning config files... [2023-10-24T22:08:58.904Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config1083930412261111732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:08:59.311Z] ---> docker-login.sh [2023-10-24T22:08:59.311Z] nexus3.edgexfoundry.org:10001 [2023-10-24T22:08:59.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:09:00.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:09:00.179Z] Configure a credential helper to remove this warning. See [2023-10-24T22:09:00.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:09:00.179Z] [2023-10-24T22:09:00.179Z] Login Succeeded [2023-10-24T22:09:00.179Z] nexus3.edgexfoundry.org:10002 [2023-10-24T22:09:00.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:09:00.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:09:00.456Z] Configure a credential helper to remove this warning. See [2023-10-24T22:09:00.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:09:00.456Z] [2023-10-24T22:09:00.456Z] Login Succeeded [2023-10-24T22:09:00.456Z] nexus3.edgexfoundry.org:10003 [2023-10-24T22:09:00.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:09:01.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:09:01.001Z] Configure a credential helper to remove this warning. See [2023-10-24T22:09:01.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:09:01.001Z] [2023-10-24T22:09:01.001Z] Login Succeeded [2023-10-24T22:09:01.001Z] nexus3.edgexfoundry.org:10004 [2023-10-24T22:09:01.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:09:01.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:09:01.271Z] Configure a credential helper to remove this warning. See [2023-10-24T22:09:01.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:09:01.271Z] [2023-10-24T22:09:01.271Z] Login Succeeded [2023-10-24T22:09:01.271Z] docker.io [2023-10-24T22:09:01.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:09:01.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:09:01.814Z] Configure a credential helper to remove this warning. See [2023-10-24T22:09:01.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:09:01.814Z] [2023-10-24T22:09:01.814Z] Login Succeeded [2023-10-24T22:09:01.814Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T22:09:01.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T22:09:02.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T22:09:02.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T22:09:02.341Z] ========================================================= [2023-10-24T22:09:02.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T22:09:02.342Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:09:02.853Z] + 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-10-24T22:09:03.122Z] Sending build context to Docker daemon 662kB [2023-10-24T22:09:03.122Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T22:09:03.122Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T22:09:03.391Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T22:09:03.391Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T22:09:03.391Z] 5d54e960e981: Pulling fs layer [2023-10-24T22:09:03.391Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T22:09:03.391Z] f0e02332f6b5: Pulling fs layer [2023-10-24T22:09:03.391Z] cefa15bbcfad: Pulling fs layer [2023-10-24T22:09:03.391Z] 17808c966233: Pulling fs layer [2023-10-24T22:09:03.391Z] f4c1fc716caa: Pulling fs layer [2023-10-24T22:09:03.391Z] cefa15bbcfad: Waiting [2023-10-24T22:09:03.391Z] 17808c966233: Waiting [2023-10-24T22:09:03.391Z] f4c1fc716caa: Waiting [2023-10-24T22:09:03.391Z] f0e02332f6b5: Waiting [2023-10-24T22:09:03.391Z] 5d54e960e981: Verifying Checksum [2023-10-24T22:09:03.391Z] 5d54e960e981: Download complete [2023-10-24T22:09:03.391Z] f0e02332f6b5: Verifying Checksum [2023-10-24T22:09:03.391Z] f0e02332f6b5: Download complete [2023-10-24T22:09:03.391Z] cefa15bbcfad: Verifying Checksum [2023-10-24T22:09:03.391Z] cefa15bbcfad: Download complete [2023-10-24T22:09:03.391Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T22:09:03.391Z] 9fda8d8052c6: Download complete [2023-10-24T22:09:04.361Z] f4c1fc716caa: Verifying Checksum [2023-10-24T22:09:04.361Z] f4c1fc716caa: Download complete [2023-10-24T22:09:04.634Z] 9fda8d8052c6: Pull complete [2023-10-24T22:09:05.603Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T22:09:05.603Z] c4a7e357bf2a: Download complete [2023-10-24T22:09:06.572Z] 17808c966233: Download complete [2023-10-24T22:09:09.166Z] 5d54e960e981: Pull complete [2023-10-24T22:09:24.193Z] c4a7e357bf2a: Pull complete [2023-10-24T22:09:24.193Z] f0e02332f6b5: Pull complete [2023-10-24T22:09:24.193Z] cefa15bbcfad: Pull complete [2023-10-24T22:09:34.296Z] 17808c966233: Pull complete [2023-10-24T22:09:34.565Z] f4c1fc716caa: Pull complete [2023-10-24T22:09:34.565Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T22:09:34.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T22:09:34.565Z] ---> ea914061e18c [2023-10-24T22:09:34.565Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T22:09:36.535Z] ---> Running in 56a93f5e8e7f [2023-10-24T22:09:36.806Z] Removing intermediate container 56a93f5e8e7f [2023-10-24T22:09:36.806Z] ---> b2fd3400f7a0 [2023-10-24T22:09:36.806Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T22:09:37.078Z] ---> Running in 02391afa30c7 [2023-10-24T22:09:37.349Z] Removing intermediate container 02391afa30c7 [2023-10-24T22:09:37.349Z] ---> 6fc55afac96d [2023-10-24T22:09:37.349Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T22:09:37.349Z] ---> Running in 59f3e74c544a [2023-10-24T22:09:37.936Z] Removing intermediate container 59f3e74c544a [2023-10-24T22:09:37.936Z] ---> 3dc92f32834d [2023-10-24T22:09:37.936Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T22:09:37.936Z] ---> Running in c1d100a588b3 [2023-10-24T22:09:39.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T22:09:39.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T22:09:41.403Z] OK: 266 MiB in 52 packages [2023-10-24T22:09:42.406Z] Removing intermediate container c1d100a588b3 [2023-10-24T22:09:42.406Z] ---> 775cd9d9320c [2023-10-24T22:09:42.406Z] Step 7/12 : WORKDIR /app [2023-10-24T22:09:42.682Z] ---> Running in e3aff1308e09 [2023-10-24T22:09:42.954Z] Removing intermediate container e3aff1308e09 [2023-10-24T22:09:42.954Z] ---> 5f8f053532b9 [2023-10-24T22:09:42.954Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T22:09:43.551Z] ---> 5e6da181c634 [2023-10-24T22:09:43.551Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T22:09:43.551Z] ---> Running in c56bc7ff7d45 [2023-10-24T22:11:20.314Z] Removing intermediate container c56bc7ff7d45 [2023-10-24T22:11:20.314Z] ---> f93883a6a426 [2023-10-24T22:11:20.314Z] Step 10/12 : COPY . . [2023-10-24T22:11:20.314Z] ---> 4f88fcb5a207 [2023-10-24T22:11:20.314Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T22:11:20.314Z] ---> Running in 756f78431a03 [2023-10-24T22:11:20.314Z] Removing intermediate container 756f78431a03 [2023-10-24T22:11:20.314Z] ---> 844f9f1653d1 [2023-10-24T22:11:20.314Z] Step 12/12 : RUN $MAKE [2023-10-24T22:11:20.314Z] ---> Running in 57d3893615c7 [2023-10-24T22:11:20.314Z] noop [2023-10-24T22:11:20.913Z] Removing intermediate container 57d3893615c7 [2023-10-24T22:11:20.913Z] ---> 9e2de5ee51c7 [2023-10-24T22:11:21.188Z] Successfully built 9e2de5ee51c7 [2023-10-24T22:11:21.188Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:11:21.684Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T22:11:21.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:11:22.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-10316 does not seem to be running inside a container [2023-10-24T22:11:22.089Z] $ 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-10-24T22:11:23.512Z] $ docker top d954e4670d45bd5a7e88425d37b7ff72c1f9da9abeccaae621ff7a1c7ab1b201 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T22:11:24.431Z] + go version [2023-10-24T22:11:24.431Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T22:11:24.465Z] $ docker stop --time=1 d954e4670d45bd5a7e88425d37b7ff72c1f9da9abeccaae621ff7a1c7ab1b201 [2023-10-24T22:11:28.959Z] $ docker rm -f --volumes d954e4670d45bd5a7e88425d37b7ff72c1f9da9abeccaae621ff7a1c7ab1b201 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:11:29.839Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T22:11:29.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:11:30.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-10316 does not seem to be running inside a container [2023-10-24T22:11:30.206Z] $ 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-10-24T22:11:31.584Z] $ docker top e63643e75ad35e941d6250ed536ae7d19017f19916530cc130799e04383abd59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T22:11:32.498Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T22:11:33.241Z] + make test [2023-10-24T22:11:33.241Z] go test -race ./... -coverprofile=coverage.out ./... [2023-10-24T22:14:25.115Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-10-24T22:14:25.115Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-10-24T22:14:25.115Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.250s coverage: 86.2% of statements [2023-10-24T22:14:29.375Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.538s coverage: 71.9% of statements [2023-10-24T22:14:29.970Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T22:14:29.970Z] go vet ./... [2023-10-24T22:16:51.764Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T22:16:51.764Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T22:16:51.764Z] ./bin/test-attribution.sh [2023-10-24T22:16:51.764Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-10-24T22:16:51.764Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-10-24T22:16:51.764Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-10-24T22:16:51.764Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-10-24T22:16:51.764Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-10-24T22:16:51.764Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-10-24T22:16:51.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T22:16:51.829Z] $ docker stop --time=1 e63643e75ad35e941d6250ed536ae7d19017f19916530cc130799e04383abd59 [2023-10-24T22:16:53.850Z] $ docker rm -f --volumes e63643e75ad35e941d6250ed536ae7d19017f19916530cc130799e04383abd59 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T22:16:55.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T22:16:55.684Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T22:16:56.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T22:16:56.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T22:16:57.288Z] + ls -al . [2023-10-24T22:16:57.288Z] total 228 [2023-10-24T22:16:57.288Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:11 . [2023-10-24T22:16:57.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:08 .. [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 22:08 .dockerignore [2023-10-24T22:16:57.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:08 .git [2023-10-24T22:16:57.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:08 .github [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 701 Oct 24 22:08 .gitignore [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 22:08 .golangci.yml [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 10232 Oct 24 22:08 Attribution.txt [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 9317 Oct 24 22:08 CHANGELOG.md [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 1659 Oct 24 22:08 Dockerfile [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 22:08 GOVERNANCE.md [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 665 Oct 24 22:08 Jenkinsfile [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 22:08 LICENSE [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 2497 Oct 24 22:08 Makefile [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 22:08 OWNERS.md [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 31446 Oct 24 22:08 README.md [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 22:05 VERSION [2023-10-24T22:16:57.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:08 bin [2023-10-24T22:16:57.288Z] -rw-r--r-- 1 jenkins jenkins 41317 Oct 24 22:14 coverage.out [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 3969 Oct 24 22:08 go.mod [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 35080 Oct 24 22:08 go.sum [2023-10-24T22:16:57.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:08 images [2023-10-24T22:16:57.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 22:08 internal [2023-10-24T22:16:57.288Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 22:08 main.go [2023-10-24T22:16:57.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 22:08 res [2023-10-24T22:16:57.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 22:08 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:16:57.718Z] + 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=a8b902d9d3a4e1e32685e8f2f0788020ada894bd --label arch=arm64 --label version=0.0.0 . [2023-10-24T22:16:58.000Z] Sending build context to Docker daemon 662kB [2023-10-24T22:16:58.000Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T22:16:58.000Z] Step 2/29 : FROM ${BASE} AS builder [2023-10-24T22:16:58.000Z] ---> 9e2de5ee51c7 [2023-10-24T22:16:58.000Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T22:16:59.994Z] ---> Running in a534721d6489 [2023-10-24T22:17:00.267Z] Removing intermediate container a534721d6489 [2023-10-24T22:17:00.267Z] ---> 1114af7f10e9 [2023-10-24T22:17:00.267Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T22:17:00.267Z] ---> Running in 347b237c8bf0 [2023-10-24T22:17:00.537Z] Removing intermediate container 347b237c8bf0 [2023-10-24T22:17:00.537Z] ---> c22ba308aa68 [2023-10-24T22:17:00.537Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-10-24T22:17:00.810Z] ---> Running in 37ce491f1b2f [2023-10-24T22:17:01.081Z] Removing intermediate container 37ce491f1b2f [2023-10-24T22:17:01.081Z] ---> 21757efda18c [2023-10-24T22:17:01.081Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T22:17:01.081Z] ---> Running in d6c197956c38 [2023-10-24T22:17:02.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T22:17:02.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T22:17:04.180Z] OK: 266 MiB in 52 packages [2023-10-24T22:17:05.142Z] Removing intermediate container d6c197956c38 [2023-10-24T22:17:05.142Z] ---> f162a86367f1 [2023-10-24T22:17:05.142Z] Step 7/29 : WORKDIR /app [2023-10-24T22:17:05.415Z] ---> Running in d1affa0717e5 [2023-10-24T22:17:05.681Z] Removing intermediate container d1affa0717e5 [2023-10-24T22:17:05.681Z] ---> eb4b683b0385 [2023-10-24T22:17:05.681Z] Step 8/29 : COPY go.mod vendor* ./ [2023-10-24T22:17:06.266Z] ---> b677bda0877e [2023-10-24T22:17:06.267Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T22:17:06.267Z] ---> Running in 19f6b8d30901 [2023-10-24T22:17:08.850Z] Removing intermediate container 19f6b8d30901 [2023-10-24T22:17:08.850Z] ---> 9fa89e26d0ed [2023-10-24T22:17:08.850Z] Step 10/29 : COPY . . [2023-10-24T22:17:09.119Z] ---> bf688e983de6 [2023-10-24T22:17:09.119Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T22:17:09.389Z] ---> Running in 7110c845d39f [2023-10-24T22:17:09.662Z] Removing intermediate container 7110c845d39f [2023-10-24T22:17:09.662Z] ---> c678fdef2d8b [2023-10-24T22:17:09.662Z] Step 12/29 : RUN $MAKE [2023-10-24T22:17:09.662Z] ---> Running in c191e1926be8 [2023-10-24T22:17:11.075Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.47 -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-10-24T22:19:17.745Z] Removing intermediate container c191e1926be8 [2023-10-24T22:19:17.745Z] ---> 9ef3a725ef1e [2023-10-24T22:19:17.745Z] Step 13/29 : FROM alpine:3.18 [2023-10-24T22:19:17.745Z] 3.18: Pulling from library/alpine [2023-10-24T22:19:17.745Z] 579b34f0a95b: Pulling fs layer [2023-10-24T22:19:17.745Z] 579b34f0a95b: Verifying Checksum [2023-10-24T22:19:17.745Z] 579b34f0a95b: Download complete [2023-10-24T22:19:17.745Z] 579b34f0a95b: Pull complete [2023-10-24T22:19:17.745Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T22:19:17.745Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T22:19:17.745Z] ---> 3cc203321400 [2023-10-24T22:19:17.745Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T22:19:17.745Z] ---> Running in a274f242b492 [2023-10-24T22:19:17.745Z] Removing intermediate container a274f242b492 [2023-10-24T22:19:17.745Z] ---> aeca4898785e [2023-10-24T22:19:17.745Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-10-24T22:19:17.745Z] ---> Running in a8813fa7366f [2023-10-24T22:19:17.745Z] Removing intermediate container a8813fa7366f [2023-10-24T22:19:17.745Z] ---> 380347f6af05 [2023-10-24T22:19:17.745Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-10-24T22:19:17.745Z] ---> Running in 6b277db1a00d [2023-10-24T22:19:17.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T22:19:17.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T22:19:18.716Z] (1/2) Installing ca-certificates (20230506-r0) [2023-10-24T22:19:18.984Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-10-24T22:19:18.984Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T22:19:18.984Z] Executing ca-certificates-20230506-r0.trigger [2023-10-24T22:19:19.267Z] OK: 9 MiB in 17 packages [2023-10-24T22:19:20.684Z] Removing intermediate container 6b277db1a00d [2023-10-24T22:19:20.684Z] ---> 247d15438b91 [2023-10-24T22:19:20.684Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-10-24T22:19:20.955Z] ---> dbd7a8cd4146 [2023-10-24T22:19:20.955Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-10-24T22:19:21.539Z] ---> 4b8816090aec [2023-10-24T22:19:21.539Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-10-24T22:19:22.128Z] ---> 7ba6d95b520b [2023-10-24T22:19:22.128Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-10-24T22:19:22.711Z] ---> 4efbc35ed8de [2023-10-24T22:19:22.711Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-10-24T22:19:24.665Z] ---> a28674ee30dc [2023-10-24T22:19:24.665Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-10-24T22:19:24.665Z] ---> Running in 7971ffec895d [2023-10-24T22:19:26.070Z] Removing intermediate container 7971ffec895d [2023-10-24T22:19:26.070Z] ---> 084468c82206 [2023-10-24T22:19:26.070Z] Step 23/29 : VOLUME /cache [2023-10-24T22:19:26.070Z] ---> Running in f877ed7defe8 [2023-10-24T22:19:26.339Z] Removing intermediate container f877ed7defe8 [2023-10-24T22:19:26.339Z] ---> 84ead51f6a4a [2023-10-24T22:19:26.339Z] Step 24/29 : EXPOSE 59711 [2023-10-24T22:19:26.610Z] ---> Running in 40be23c93448 [2023-10-24T22:19:26.878Z] Removing intermediate container 40be23c93448 [2023-10-24T22:19:26.878Z] ---> 6103bac94552 [2023-10-24T22:19:26.878Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-10-24T22:19:26.878Z] ---> Running in fe7c61253e0d [2023-10-24T22:19:27.148Z] Removing intermediate container fe7c61253e0d [2023-10-24T22:19:27.148Z] ---> 0f12afbeff9e [2023-10-24T22:19:27.148Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-10-24T22:19:27.148Z] ---> Running in 9e278a15236b [2023-10-24T22:19:27.416Z] Removing intermediate container 9e278a15236b [2023-10-24T22:19:27.416Z] ---> 69573dbb0cb1 [2023-10-24T22:19:27.416Z] Step 27/29 : LABEL arch=arm64 [2023-10-24T22:19:27.681Z] ---> Running in 41c4112a365a [2023-10-24T22:19:27.947Z] Removing intermediate container 41c4112a365a [2023-10-24T22:19:27.947Z] ---> 62d9eaafc236 [2023-10-24T22:19:27.947Z] Step 28/29 : LABEL git_sha=a8b902d9d3a4e1e32685e8f2f0788020ada894bd [2023-10-24T22:19:27.947Z] ---> Running in 37cc3cd67418 [2023-10-24T22:19:28.215Z] Removing intermediate container 37cc3cd67418 [2023-10-24T22:19:28.215Z] ---> d46e5fc14fe0 [2023-10-24T22:19:28.215Z] Step 29/29 : LABEL version=0.0.0 [2023-10-24T22:19:28.215Z] ---> Running in 28c7c2cd4583 [2023-10-24T22:19:28.479Z] Removing intermediate container 28c7c2cd4583 [2023-10-24T22:19:28.479Z] ---> 42d9634093fc [2023-10-24T22:19:28.479Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T22:19:28.742Z] Successfully built 42d9634093fc [2023-10-24T22:19:28.742Z] 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-10-24T22:19:29.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:19:29.534Z] [2023-10-24T22:19:29.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:19:29.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:19:29.926Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T22:19:29.926Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T22:19:29.926Z] 04944245beec: Pulling fs layer [2023-10-24T22:19:29.926Z] 699f458cf7ca: Pulling fs layer [2023-10-24T22:19:29.926Z] 765212b225bb: Pulling fs layer [2023-10-24T22:19:29.926Z] f23df028b6ca: Pulling fs layer [2023-10-24T22:19:29.926Z] 765212b225bb: Waiting [2023-10-24T22:19:29.926Z] f23df028b6ca: Waiting [2023-10-24T22:19:29.926Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T22:19:29.926Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T22:19:29.926Z] 2437ff75d9bd: Waiting [2023-10-24T22:19:30.200Z] 04944245beec: Verifying Checksum [2023-10-24T22:19:30.200Z] 04944245beec: Download complete [2023-10-24T22:19:30.200Z] 765212b225bb: Download complete [2023-10-24T22:19:30.200Z] f23df028b6ca: Verifying Checksum [2023-10-24T22:19:30.200Z] f23df028b6ca: Download complete [2023-10-24T22:19:30.200Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T22:19:30.200Z] d65c8cfc05b1: Download complete [2023-10-24T22:19:30.468Z] 699f458cf7ca: Verifying Checksum [2023-10-24T22:19:30.468Z] 699f458cf7ca: Download complete [2023-10-24T22:19:30.734Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T22:19:30.734Z] 8998bd30e6a1: Download complete [2023-10-24T22:19:33.309Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T22:19:33.309Z] 2437ff75d9bd: Download complete [2023-10-24T22:19:35.252Z] 8998bd30e6a1: Pull complete [2023-10-24T22:19:35.835Z] 04944245beec: Pull complete [2023-10-24T22:19:37.778Z] 699f458cf7ca: Pull complete [2023-10-24T22:19:37.778Z] 765212b225bb: Pull complete [2023-10-24T22:19:38.370Z] f23df028b6ca: Pull complete [2023-10-24T22:19:38.637Z] d65c8cfc05b1: Pull complete [2023-10-24T22:19:56.847Z] 2437ff75d9bd: Pull complete [2023-10-24T22:19:56.847Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T22:19:56.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:19:56.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:19:57.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-10316 does not seem to be running inside a container [2023-10-24T22:19:57.250Z] $ 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-10-24T22:20:02.242Z] $ docker top 19c63fbfdfc512a440d55be2194a089347113c93d20892e40e110745707c155d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:03.210Z] ---> job-cost.sh [2023-10-24T22:20:03.210Z] lf-activate-venv: SKIPPING [2023-10-24T22:20:03.210Z] INFO: No Stack... [2023-10-24T22:20:03.791Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T22:20:04.746Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T22:20:05.412Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-10-24T22:20:05.412Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T22:20:05.514Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] [2023-10-24T22:20:05.519Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] did not exist. Created. [2023-10-24T22:20:05.519Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T22:20:06.250Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-bcc211bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T22:20:06.916Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T22:20:06.949Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T22:20:07.003Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T22:20:07.017Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T22:20:07.102Z] $ docker stop --time=1 19c63fbfdfc512a440d55be2194a089347113c93d20892e40e110745707c155d [2023-10-24T22:20:08.693Z] $ docker rm -f --volumes 19c63fbfdfc512a440d55be2194a089347113c93d20892e40e110745707c155d [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-10-24T22:20:09.709Z] provisioning config files... [2023-10-24T22:20:09.715Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/config2064500817337286626tmp [Pipeline] { [Pipeline] sh [2023-10-24T22:20:10.055Z] + set +x [2023-10-24T22:20:10.055Z] + + curl -s https://codecov.io/bash [2023-10-24T22:20:10.055Z] bash -s -- [2023-10-24T22:20:10.055Z] [2023-10-24T22:20:10.055Z] _____ _ [2023-10-24T22:20:10.055Z] / ____| | | [2023-10-24T22:20:10.055Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T22:20:10.055Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T22:20:10.055Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T22:20:10.055Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T22:20:10.055Z] Bash-1.0.6 [2023-10-24T22:20:10.055Z] [2023-10-24T22:20:10.055Z] [2023-10-24T22:20:10.055Z] ==> git version 2.25.1 found [2023-10-24T22:20:10.055Z] ==> 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-10-24T22:20:10.055Z] Release-Date: 2020-01-08 [2023-10-24T22:20:10.055Z] 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-10-24T22:20:10.055Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T22:20:10.055Z] ==> Jenkins CI detected. [2023-10-24T22:20:10.055Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-240 [2023-10-24T22:20:10.055Z] project root: . [2023-10-24T22:20:10.055Z] --> token set from env [2023-10-24T22:20:10.056Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T22:20:10.056Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T22:20:10.056Z] ==> Python coveragepy not found [2023-10-24T22:20:10.056Z] ==> Searching for coverage reports in: [2023-10-24T22:20:10.056Z] + . [2023-10-24T22:20:10.056Z] -> Found 1 reports [2023-10-24T22:20:10.056Z] ==> Detecting git/mercurial file structure [2023-10-24T22:20:10.056Z] ==> Reading reports [2023-10-24T22:20:10.056Z] + ./coverage.out bytes=41317 [2023-10-24T22:20:10.056Z] ==> Appending adjustments [2023-10-24T22:20:10.056Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T22:20:10.314Z] + Found adjustments [2023-10-24T22:20:10.314Z] ==> Gzipping contents [2023-10-24T22:20:10.314Z] 12K /tmp/codecov.dEwCeM.gz [2023-10-24T22:20:10.314Z] ==> Uploading reports [2023-10-24T22:20:10.314Z] url: https://codecov.io [2023-10-24T22:20:10.314Z] query: branch=PR-240&commit=a8b902d9d3a4e1e32685e8f2f0788020ada894bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-240%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=240&job=&cmd_args= [2023-10-24T22:20:10.314Z] -> Pinging Codecov [2023-10-24T22:20:10.314Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-240&commit=a8b902d9d3a4e1e32685e8f2f0788020ada894bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-240%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=240&job=&cmd_args= [2023-10-24T22:20:10.573Z] -> Uploading to [2023-10-24T22:20:10.573Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/581DD39554BDF9B6E22D074273EAD858/a8b902d9d3a4e1e32685e8f2f0788020ada894bd/15691714-f184-4cd7-bc8a-e480ab10821d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T222010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3211337b575f37906d2fb44590814823e18d505ecb0754cd89ddf55bb0488649 [2023-10-24T22:20:10.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T22:20:10.573Z] Dload Upload Total Spent Left Speed [2023-10-24T22:20:10.830Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11602 0 0 100 11602 0 36949 --:--:-- --:--:-- --:--:-- 36831 100 11602 0 0 100 11602 0 36949 --:--:-- --:--:-- --:--:-- 36831 [2023-10-24T22:20:10.830Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/a8b902d9d3a4e1e32685e8f2f0788020ada894bd [Pipeline] } [2023-10-24T22:20:10.863Z] 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-10-24T22:20:12.691Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-240/archives ] [2023-10-24T22:20:12.691Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-240/archives [2023-10-24T22:20:12.691Z] total 16 [2023-10-24T22:20:12.691Z] drwxr-xr-x 3 root root 4096 Oct 24 22:07 . [2023-10-24T22:20:12.691Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 22:07 .. [2023-10-24T22:20:12.691Z] drwxr-xr-x 2 root root 4096 Oct 24 22:07 cost [2023-10-24T22:20:12.691Z] -rw-r--r-- 1 root root 95 Oct 24 22:07 cost.csv [2023-10-24T22:20:12.691Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-240/archives [2023-10-24T22:20:12.691Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-240/archives [2023-10-24T22:20:12.691Z] total 16 [2023-10-24T22:20:12.691Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 22:07 . [2023-10-24T22:20:12.691Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 22:07 .. [2023-10-24T22:20:12.691Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 22:07 cost [2023-10-24T22:20:12.691Z] -rw-r--r-- 1 jenkins jenkins 95 Oct 24 22:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:13.014Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:13.904Z] ---> package-listing.sh [2023-10-24T22:20:13.904Z] ++ facter osfamily [2023-10-24T22:20:13.904Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T22:20:14.164Z] + OS_FAMILY=debian [2023-10-24T22:20:14.164Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-240 [2023-10-24T22:20:14.164Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T22:20:14.164Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T22:20:14.164Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T22:20:14.164Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T22:20:14.164Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-240 ']' [2023-10-24T22:20:14.164Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T22:20:14.164Z] + case "${OS_FAMILY}" in [2023-10-24T22:20:14.164Z] + dpkg -l [2023-10-24T22:20:14.164Z] + grep '^ii' [2023-10-24T22:20:14.164Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T22:20:14.164Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T22:20:14.164Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T22:20:14.164Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-240 ']' [2023-10-24T22:20:14.164Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-240/archives/ [2023-10-24T22:20:14.164Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-240/archives/ [Pipeline] echo [2023-10-24T22:20:14.196Z] 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-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T22:20:14.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:20:15.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T22:20:15.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:20:15.262Z] prd-ubuntu20.04-docker-8c-8g-10313 does not seem to be running inside a container [2023-10-24T22:20:15.292Z] $ 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-240/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-240 -v /w/workspace/y_app-rfid-llrp-inventory_PR-240:/w/workspace/y_app-rfid-llrp-inventory_PR-240:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-240@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-10-24T22:20:15.479Z] $ docker top c3dc87c76b7c123a1c409d84c535b37bb0e542fbcf28423e627f54f088284565 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T22:20:15.875Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T22:20:16.179Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T22:20:16.486Z] + ls /var/log/sa-host [2023-10-24T22:20:16.486Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T22:20:16.631Z] provisioning config files... [2023-10-24T22:20:16.639Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-240@tmp/config13542293740106307tmp [Pipeline] { [Pipeline] echo [2023-10-24T22:20:16.697Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:17.010Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T22:20:17.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:17.432Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T22:20:17.467Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:17.779Z] ---> sudo-logs.sh [2023-10-24T22:20:17.780Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T22:20:17.869Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:18.180Z] ---> job-cost.sh [2023-10-24T22:20:18.180Z] lf-activate-venv: SKIPPING [2023-10-24T22:20:18.181Z] DEBUG: total: 0.2199999988079071 [2023-10-24T22:20:18.181Z] INFO: Retrieving Stack Cost... [2023-10-24T22:20:18.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T22:20:19.009Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T22:20:19.046Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:20:19.358Z] ---> logs-deploy.sh [2023-10-24T22:20:19.359Z] lf-activate-venv: SKIPPING [2023-10-24T22:20:19.359Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-240/1 [2023-10-24T22:20:19.359Z] INFO: archiving workspace using pattern(s): [2023-10-24T22:20:20.295Z] Archives upload complete. [2023-10-24T22:20:20.295Z] INFO: archiving logs to Nexus