Pull request #238 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 MonicaisHer for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954+2cf82822b8f5c4982b562185971b2840de0a3939 (e8a6f9a2ca81df5ea764ba210afe41890fa0cde4) 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-ssh15105536878052642415.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-ssh12768579832168262755.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-238/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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17617497166699802053.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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh531578945513718426.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-ssh10793441097258164548.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-238/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-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11714594318885678440.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-9971 in /w/workspace/y_app-rfid-llrp-inventory_PR-238 [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-238 # 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/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2cf82822b8f5c4982b562185971b2840de0a3939 into PR head commit 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 Merge succeeded, producing 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 Checking out Revision 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 (PR-238) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 # 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 2cf82822b8f5c4982b562185971b2840de0a3939 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 # timeout=10 Commit message: "feat!: Remove snap packaging" 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-24T17:05:32.423Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T17:05:32.601Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T17:05:32.699Z] ========================================================= [2023-10-24T17:05:32.699Z] EdgeX Global Pipelines Version Info [2023-10-24T17:05:32.699Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:05:33.439Z] ------------------- [2023-10-24T17:05:33.440Z] stable info: [2023-10-24T17:05:33.440Z] ------------------- [2023-10-24T17:05:33.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T17:05:33.440Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T17:05:33.440Z] Message: update stable to v1.0.254 [2023-10-24T17:05:34.012Z] ------------------- [2023-10-24T17:05:34.012Z] experimental info: [2023-10-24T17:05:34.012Z] ------------------- [2023-10-24T17:05:34.012Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T17:05:34.012Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T17:05:34.012Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T17:05:34.319Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-10-24T17:05:34.374Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-10-24T17:05:34.423Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T17:05:34.468Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T17:05:34.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T17:05:34.567Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T17:05:34.613Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T17:05:34.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T17:05:34.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T17:05:34.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T17:05:34.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T17:05:34.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-10-24T17:05:34.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T17:05:34.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T17:05:34.971Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T17:05:35.014Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T17:05:35.066Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T17:05:35.112Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T17:05:35.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T17:05:35.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T17:05:35.299Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T17:05:35.343Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T17:05:35.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T17:05:35.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T17:05:35.482Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T17:05:35.529Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T17:05:35.582Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T17:05:35.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo [2023-10-24T17:05:35.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo [2023-10-24T17:05:35.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo [2023-10-24T17:05:35.764Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [Pipeline] echo [2023-10-24T17:05:35.815Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ae53cc [Pipeline] echo [2023-10-24T17:05:35.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:05:35.996Z] provisioning config files... [2023-10-24T17:05:36.013Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/config1065005372085775994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:05:36.371Z] ---> docker-login.sh [2023-10-24T17:05:36.371Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:05:36.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:36.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:36.633Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:36.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:36.633Z] [2023-10-24T17:05:36.633Z] Login Succeeded [2023-10-24T17:05:36.633Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:05:36.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:36.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:36.898Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:36.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:36.898Z] [2023-10-24T17:05:36.898Z] Login Succeeded [2023-10-24T17:05:36.898Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:05:36.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:36.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:36.898Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:36.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:36.898Z] [2023-10-24T17:05:36.898Z] Login Succeeded [2023-10-24T17:05:36.898Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:05:36.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:36.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:36.898Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:36.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:36.898Z] [2023-10-24T17:05:36.898Z] Login Succeeded [2023-10-24T17:05:36.898Z] docker.io [2023-10-24T17:05:37.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:37.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:37.419Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:37.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:37.419Z] [2023-10-24T17:05:37.419Z] Login Succeeded [2023-10-24T17:05:37.419Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:05:37.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T17:05:38.072Z] + git rev-list -1 --merges 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954~1..5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [Pipeline] echo [2023-10-24T17:05:38.131Z] -----------> git rev-list -1 --merges 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954~1..5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [false] [Pipeline] sh [2023-10-24T17:05:38.438Z] + git log --format=format:%s -1 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [Pipeline] echo [2023-10-24T17:05:38.474Z] ========================================================= [2023-10-24T17:05:38.474Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T17:05:38.474Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:05:38.926Z] + git log --format=format:%s -1 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [Pipeline] echo [2023-10-24T17:05:38.956Z] [semverPrep] GIT_COMMIT: 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954, Commit Message: feat!: Remove snap packaging [Pipeline] echo [2023-10-24T17:05:38.989Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T17:05:39.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T17:05:39.365Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T17:05:39.365Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T17:05:39.365Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T17:05:39.365Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T17:05:39.365Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T17:05:39.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:05:39.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:05:39.796Z] [2023-10-24T17:05:39.796Z] 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-24T17:05:40.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:05:40.177Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T17:05:40.177Z] b85a868b505f: Pulling fs layer [2023-10-24T17:05:40.177Z] e2be974225ed: Pulling fs layer [2023-10-24T17:05:40.177Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T17:05:40.177Z] 988bab9f4d93: Pulling fs layer [2023-10-24T17:05:40.177Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T17:05:40.177Z] eaf3925da568: Pulling fs layer [2023-10-24T17:05:40.177Z] bab4dde63d76: Pulling fs layer [2023-10-24T17:05:40.177Z] bde34c3a00c8: Pulling fs layer [2023-10-24T17:05:40.177Z] 988bab9f4d93: Waiting [2023-10-24T17:05:40.177Z] b352a97aabf1: Pulling fs layer [2023-10-24T17:05:40.177Z] 4872d77fe225: Pulling fs layer [2023-10-24T17:05:40.177Z] 5851b861e8e6: Pulling fs layer [2023-10-24T17:05:40.177Z] 1469e6f7b9e6: Waiting [2023-10-24T17:05:40.177Z] eaf3925da568: Waiting [2023-10-24T17:05:40.177Z] bde34c3a00c8: Waiting [2023-10-24T17:05:40.177Z] 5851b861e8e6: Waiting [2023-10-24T17:05:40.177Z] bab4dde63d76: Waiting [2023-10-24T17:05:40.177Z] b352a97aabf1: Waiting [2023-10-24T17:05:40.177Z] 4872d77fe225: Waiting [2023-10-24T17:05:40.177Z] e2be974225ed: Download complete [2023-10-24T17:05:40.177Z] 988bab9f4d93: Verifying Checksum [2023-10-24T17:05:40.177Z] 988bab9f4d93: Download complete [2023-10-24T17:05:40.452Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T17:05:40.452Z] 1469e6f7b9e6: Download complete [2023-10-24T17:05:40.452Z] eaf3925da568: Download complete [2023-10-24T17:05:40.452Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T17:05:40.452Z] 339a4e72a1f5: Download complete [2023-10-24T17:05:40.452Z] bde34c3a00c8: Verifying Checksum [2023-10-24T17:05:40.452Z] bde34c3a00c8: Download complete [2023-10-24T17:05:40.452Z] b352a97aabf1: Download complete [2023-10-24T17:05:40.452Z] 4872d77fe225: Download complete [2023-10-24T17:05:40.452Z] 5851b861e8e6: Download complete [2023-10-24T17:05:40.452Z] b85a868b505f: Verifying Checksum [2023-10-24T17:05:40.452Z] b85a868b505f: Download complete [2023-10-24T17:05:40.710Z] bab4dde63d76: Verifying Checksum [2023-10-24T17:05:40.710Z] bab4dde63d76: Download complete [2023-10-24T17:05:41.643Z] b85a868b505f: Pull complete [2023-10-24T17:05:41.901Z] e2be974225ed: Pull complete [2023-10-24T17:05:42.470Z] 339a4e72a1f5: Pull complete [2023-10-24T17:05:42.470Z] 988bab9f4d93: Pull complete [2023-10-24T17:05:42.729Z] 1469e6f7b9e6: Pull complete [2023-10-24T17:05:42.729Z] eaf3925da568: Pull complete [2023-10-24T17:05:44.626Z] bab4dde63d76: Pull complete [2023-10-24T17:05:44.885Z] bde34c3a00c8: Pull complete [2023-10-24T17:05:44.885Z] b352a97aabf1: Pull complete [2023-10-24T17:05:45.144Z] 4872d77fe225: Pull complete [2023-10-24T17:05:45.144Z] 5851b861e8e6: Pull complete [2023-10-24T17:05:45.144Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T17:05:45.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:05:45.144Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:05:45.399Z] prd-ubuntu20.04-docker-8c-8g-9971 does not seem to be running inside a container [2023-10-24T17:05:45.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-238 -v /w/workspace/y_app-rfid-llrp-inventory_PR-238:/w/workspace/y_app-rfid-llrp-inventory_PR-238:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T17:05:48.639Z] $ docker top 5847cf2a6f7ccf27387751948f2d524733ac2a3997428b172b1cd1085f752549 -eo pid,comm [2023-10-24T17:05:48.693Z] 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-24T17:05:48.693Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T17:05:48.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T17:05:48.836Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T17:05:48.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T17:05:48.958Z] $ docker exec 5847cf2a6f7ccf27387751948f2d524733ac2a3997428b172b1cd1085f752549 ssh-agent [2023-10-24T17:05:49.068Z] SSH_AUTH_SOCK=/tmp/ssh-aKYCDqV3lgvB/agent.33 [2023-10-24T17:05:49.068Z] SSH_AGENT_PID=39 [2023-10-24T17:05:49.074Z] Running ssh-add (command line suppressed) [2023-10-24T17:05:49.174Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/private_key_2227105783050042740.key (/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/private_key_2227105783050042740.key) [2023-10-24T17:05:49.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T17:05:49.513Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T17:05:49.545Z] $ docker exec --env ******** --env ******** 5847cf2a6f7ccf27387751948f2d524733ac2a3997428b172b1cd1085f752549 ssh-agent -k [2023-10-24T17:05:49.669Z] unset SSH_AUTH_SOCK; [2023-10-24T17:05:49.669Z] unset SSH_AGENT_PID; [2023-10-24T17:05:49.669Z] echo Agent pid 39 killed; [2023-10-24T17:05:49.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T17:05:49.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T17:05:49.769Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T17:05:49.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T17:05:49.891Z] $ docker exec 5847cf2a6f7ccf27387751948f2d524733ac2a3997428b172b1cd1085f752549 ssh-agent [2023-10-24T17:05:50.007Z] SSH_AUTH_SOCK=/tmp/ssh-En184SXysUH6/agent.71 [2023-10-24T17:05:50.007Z] SSH_AGENT_PID=77 [2023-10-24T17:05:50.012Z] Running ssh-add (command line suppressed) [2023-10-24T17:05:50.130Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/private_key_2839447853457788357.key (/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/private_key_2839447853457788357.key) [2023-10-24T17:05:50.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T17:05:50.478Z] + git semver init [2023-10-24T17:05:50.738Z] 2023-10-24 17:05:50,703 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T17:05:50.738Z] 2023-10-24 17:05:50,703 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver [2023-10-24T17:05:50.738Z] 2023-10-24 17:05:50,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver [2023-10-24T17:05:50.738Z] 2023-10-24 17:05:50,704 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-238, universal_newlines=False, shell=None, istream=None) [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,564 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-238/.git/info/exclude [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,564 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver/PR-238 with force:False [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,564 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver/PR-238 [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,569 [execute] INFO git cat-file --batch-check [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,577 [execute] INFO git cat-file --batch [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T17:05:52.670Z] 2023-10-24 17:05:52,583 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-238/.semver/PR-238 [2023-10-24T17:05:52.670Z] 0.0.0 [Pipeline] } [2023-10-24T17:05:52.714Z] $ docker exec --env ******** --env ******** 5847cf2a6f7ccf27387751948f2d524733ac2a3997428b172b1cd1085f752549 ssh-agent -k [2023-10-24T17:05:52.814Z] unset SSH_AUTH_SOCK; [2023-10-24T17:05:52.815Z] unset SSH_AGENT_PID; [2023-10-24T17:05:52.815Z] echo Agent pid 77 killed; [2023-10-24T17:05:52.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T17:05:53.249Z] + git semver [Pipeline] } [2023-10-24T17:05:53.842Z] $ docker stop --time=1 5847cf2a6f7ccf27387751948f2d524733ac2a3997428b172b1cd1085f752549 [2023-10-24T17:05:55.944Z] $ docker rm -f --volumes 5847cf2a6f7ccf27387751948f2d524733ac2a3997428b172b1cd1085f752549 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:05:56.505Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T17:05:56.788Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T17:05:56.804Z] [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-24T17:05:57.388Z] provisioning config files... [2023-10-24T17:05:57.399Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/config9602582890474906025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:05:57.761Z] ---> docker-login.sh [2023-10-24T17:05:57.761Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:05:57.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:57.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:57.761Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:57.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:57.761Z] [2023-10-24T17:05:57.761Z] Login Succeeded [2023-10-24T17:05:57.761Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:05:57.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:57.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:57.761Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:57.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:57.761Z] [2023-10-24T17:05:57.761Z] Login Succeeded [2023-10-24T17:05:57.761Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:05:58.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:58.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:58.021Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:58.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:58.021Z] [2023-10-24T17:05:58.021Z] Login Succeeded [2023-10-24T17:05:58.021Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:05:58.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:58.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:58.021Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:58.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:58.021Z] [2023-10-24T17:05:58.021Z] Login Succeeded [2023-10-24T17:05:58.021Z] docker.io [2023-10-24T17:05:58.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:05:58.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:05:58.281Z] Configure a credential helper to remove this warning. See [2023-10-24T17:05:58.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:05:58.281Z] [2023-10-24T17:05:58.281Z] Login Succeeded [2023-10-24T17:05:58.281Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:05:58.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T17:05:58.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:05:58.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:05:58.602Z] ========================================================= [2023-10-24T17:05:58.602Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T17:05:58.602Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:05:59.089Z] + 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-24T17:05:59.089Z] Sending build context to Docker daemon 12.72MB [2023-10-24T17:05:59.089Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:05:59.089Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T17:05:59.089Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T17:05:59.089Z] 7264a8db6415: Pulling fs layer [2023-10-24T17:05:59.089Z] c4d48a809fc2: Pulling fs layer [2023-10-24T17:05:59.089Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T17:05:59.089Z] ad3a456e5733: Pulling fs layer [2023-10-24T17:05:59.089Z] 33e27b845d1e: Pulling fs layer [2023-10-24T17:05:59.089Z] c68163c4e522: Pulling fs layer [2023-10-24T17:05:59.089Z] 50da416c3ac9: Pulling fs layer [2023-10-24T17:05:59.089Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T17:05:59.089Z] ad3a456e5733: Waiting [2023-10-24T17:05:59.089Z] 50da416c3ac9: Waiting [2023-10-24T17:05:59.089Z] 33e27b845d1e: Waiting [2023-10-24T17:05:59.089Z] c68163c4e522: Waiting [2023-10-24T17:05:59.089Z] 23d2d4c4bb30: Waiting [2023-10-24T17:05:59.356Z] c4d48a809fc2: Verifying Checksum [2023-10-24T17:05:59.356Z] c4d48a809fc2: Download complete [2023-10-24T17:05:59.356Z] ad3a456e5733: Verifying Checksum [2023-10-24T17:05:59.356Z] ad3a456e5733: Download complete [2023-10-24T17:05:59.356Z] 33e27b845d1e: Verifying Checksum [2023-10-24T17:05:59.356Z] 33e27b845d1e: Download complete [2023-10-24T17:05:59.356Z] 7264a8db6415: Verifying Checksum [2023-10-24T17:05:59.356Z] 7264a8db6415: Download complete [2023-10-24T17:05:59.356Z] c68163c4e522: Verifying Checksum [2023-10-24T17:05:59.356Z] c68163c4e522: Download complete [2023-10-24T17:05:59.356Z] 7264a8db6415: Pull complete [2023-10-24T17:05:59.637Z] c4d48a809fc2: Pull complete [2023-10-24T17:05:59.637Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T17:05:59.637Z] 23d2d4c4bb30: Download complete [2023-10-24T17:05:59.902Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T17:05:59.902Z] 4f1c88b9dad5: Download complete [2023-10-24T17:06:00.162Z] 50da416c3ac9: Verifying Checksum [2023-10-24T17:06:00.162Z] 50da416c3ac9: Download complete [2023-10-24T17:06:03.448Z] 4f1c88b9dad5: Pull complete [2023-10-24T17:06:03.448Z] ad3a456e5733: Pull complete [2023-10-24T17:06:03.448Z] 33e27b845d1e: Pull complete [2023-10-24T17:06:03.448Z] c68163c4e522: Pull complete [2023-10-24T17:06:05.986Z] 50da416c3ac9: Pull complete [2023-10-24T17:06:06.253Z] 23d2d4c4bb30: Pull complete [2023-10-24T17:06:06.253Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T17:06:06.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T17:06:06.253Z] ---> 0786185ac409 [2023-10-24T17:06:06.253Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:06:10.447Z] ---> Running in fe0644f83692 [2023-10-24T17:06:10.447Z] Removing intermediate container fe0644f83692 [2023-10-24T17:06:10.447Z] ---> b9f2d681202c [2023-10-24T17:06:10.447Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:06:10.447Z] ---> Running in 0f77d0ea5481 [2023-10-24T17:06:10.447Z] Removing intermediate container 0f77d0ea5481 [2023-10-24T17:06:10.447Z] ---> a8c71e9e7de2 [2023-10-24T17:06:10.447Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:06:10.447Z] ---> Running in 79986fe3af56 [2023-10-24T17:06:10.447Z] Removing intermediate container 79986fe3af56 [2023-10-24T17:06:10.447Z] ---> 2de0cba9ddb3 [2023-10-24T17:06:10.447Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:06:10.447Z] ---> Running in fd10b9bfbd4c [2023-10-24T17:06:10.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:10.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:10.965Z] OK: 264 MiB in 52 packages [2023-10-24T17:06:11.535Z] Removing intermediate container fd10b9bfbd4c [2023-10-24T17:06:11.535Z] ---> 3d0101af8531 [2023-10-24T17:06:11.535Z] Step 7/12 : WORKDIR /app [2023-10-24T17:06:11.535Z] ---> Running in dd0548208ead [2023-10-24T17:06:11.535Z] Removing intermediate container dd0548208ead [2023-10-24T17:06:11.535Z] ---> 619d3787055d [2023-10-24T17:06:11.535Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T17:06:11.535Z] ---> d7a31f1e92d5 [2023-10-24T17:06:11.535Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:06:11.794Z] ---> Running in 9b4455b97f38 [2023-10-24T17:06:12.216Z] Still waiting to schedule task [2023-10-24T17:06:12.217Z] ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:06:12.217Z] ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:06:12.217Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9973’ is offline [2023-10-24T17:06:58.489Z] Removing intermediate container 9b4455b97f38 [2023-10-24T17:06:58.489Z] ---> 0c411386d6e4 [2023-10-24T17:06:58.489Z] Step 10/12 : COPY . . [2023-10-24T17:06:58.489Z] ---> f8331c29dc19 [2023-10-24T17:06:58.489Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:06:58.489Z] ---> Running in bbaff45d6f8d [2023-10-24T17:06:58.489Z] Removing intermediate container bbaff45d6f8d [2023-10-24T17:06:58.489Z] ---> cc130a19367c [2023-10-24T17:06:58.489Z] Step 12/12 : RUN $MAKE [2023-10-24T17:06:58.489Z] ---> Running in 4b816d96af8b [2023-10-24T17:06:58.489Z] noop [2023-10-24T17:06:58.489Z] Removing intermediate container 4b816d96af8b [2023-10-24T17:06:58.489Z] ---> 164cc96735b0 [2023-10-24T17:06:58.489Z] Successfully built 164cc96735b0 [2023-10-24T17:06:58.489Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:06:58.939Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T17:06:58.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:06:59.092Z] prd-ubuntu20.04-docker-8c-8g-9971 does not seem to be running inside a container [2023-10-24T17:06:59.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-238 -v /w/workspace/y_app-rfid-llrp-inventory_PR-238:/w/workspace/y_app-rfid-llrp-inventory_PR-238:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T17:06:59.452Z] $ docker top a5f5c4dd63ed91288c3d5c518e07092dea2c59ee8ca5eba41c964c1ffa0b7d14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:06:59.827Z] + go version [2023-10-24T17:06:59.827Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T17:06:59.868Z] $ docker stop --time=1 a5f5c4dd63ed91288c3d5c518e07092dea2c59ee8ca5eba41c964c1ffa0b7d14 [2023-10-24T17:07:01.154Z] $ docker rm -f --volumes a5f5c4dd63ed91288c3d5c518e07092dea2c59ee8ca5eba41c964c1ffa0b7d14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:07:01.831Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T17:07:01.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:07:01.974Z] prd-ubuntu20.04-docker-8c-8g-9971 does not seem to be running inside a container [2023-10-24T17:07:02.007Z] $ 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-238 -v /w/workspace/y_app-rfid-llrp-inventory_PR-238:/w/workspace/y_app-rfid-llrp-inventory_PR-238:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T17:07:02.364Z] $ docker top 969f8dd48c98fa6b13338c3d8f67ca39c3e1f2b6585e3e08a510b37b6b2c7565 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:07:02.747Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-238 [Pipeline] fileExists [Pipeline] sh [2023-10-24T17:07:03.106Z] + make test [2023-10-24T17:07:03.106Z] go test -race ./... -coverprofile=coverage.out ./... [2023-10-24T17:07:21.197Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-10-24T17:07:21.197Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-10-24T17:07:22.130Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.127s coverage: 86.2% of statements [2023-10-24T17:07:24.665Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.708s coverage: 71.9% of statements [2023-10-24T17:07:46.598Z] go vet ./... [2023-10-24T17:07:49.883Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T17:07:49.883Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T17:07:49.883Z] ./bin/test-attribution.sh [2023-10-24T17:07:49.883Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-10-24T17:07:49.883Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-10-24T17:07:49.883Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-10-24T17:07:49.883Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-10-24T17:07:49.883Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-10-24T17:07:49.883Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-10-24T17:07:49.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T17:07:49.958Z] $ docker stop --time=1 969f8dd48c98fa6b13338c3d8f67ca39c3e1f2b6585e3e08a510b37b6b2c7565 [2023-10-24T17:07:52.024Z] $ docker rm -f --volumes 969f8dd48c98fa6b13338c3d8f67ca39c3e1f2b6585e3e08a510b37b6b2c7565 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:07:52.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T17:07:52.710Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T17:07:53.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T17:07:53.599Z] + ls -al . [2023-10-24T17:07:53.599Z] total 232 [2023-10-24T17:07:53.599Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 17:07 . [2023-10-24T17:07:53.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:05 .. [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 17:05 .dockerignore [2023-10-24T17:07:53.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:07 .git [2023-10-24T17:07:53.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:05 .github [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 701 Oct 24 17:05 .gitignore [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 17:05 .golangci.yml [2023-10-24T17:07:53.599Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 17:05 .semver [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 10232 Oct 24 17:05 Attribution.txt [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 9317 Oct 24 17:05 CHANGELOG.md [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 1659 Oct 24 17:05 Dockerfile [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 17:05 GOVERNANCE.md [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 665 Oct 24 17:05 Jenkinsfile [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 17:05 LICENSE [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 2497 Oct 24 17:05 Makefile [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 17:05 OWNERS.md [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 31446 Oct 24 17:05 README.md [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 17:05 VERSION [2023-10-24T17:07:53.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:05 bin [2023-10-24T17:07:53.599Z] -rw-r--r-- 1 jenkins jenkins 41317 Oct 24 17:07 coverage.out [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 3969 Oct 24 17:05 go.mod [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 35080 Oct 24 17:05 go.sum [2023-10-24T17:07:53.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:05 images [2023-10-24T17:07:53.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:05 internal [2023-10-24T17:07:53.599Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 17:05 main.go [2023-10-24T17:07:53.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:05 res [2023-10-24T17:07:53.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:05 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:07:53.998Z] + 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=5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 --label arch=amd64 --label version=0.0.0 . [2023-10-24T17:07:53.998Z] Sending build context to Docker daemon 12.72MB [2023-10-24T17:07:53.998Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:07:53.998Z] Step 2/29 : FROM ${BASE} AS builder [2023-10-24T17:07:53.998Z] ---> 164cc96735b0 [2023-10-24T17:07:53.998Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:07:53.998Z] ---> Running in 1d1503381d16 [2023-10-24T17:07:54.258Z] Removing intermediate container 1d1503381d16 [2023-10-24T17:07:54.258Z] ---> abac5d0f6931 [2023-10-24T17:07:54.258Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:07:54.258Z] ---> Running in 2540f910d68a [2023-10-24T17:07:54.258Z] Removing intermediate container 2540f910d68a [2023-10-24T17:07:54.258Z] ---> 61f0fccf9513 [2023-10-24T17:07:54.258Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:07:54.258Z] ---> Running in bdc2c91f75c1 [2023-10-24T17:07:54.258Z] Removing intermediate container bdc2c91f75c1 [2023-10-24T17:07:54.258Z] ---> 66577df436f8 [2023-10-24T17:07:54.258Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:07:54.258Z] ---> Running in 5f41c4b1c44f [2023-10-24T17:07:54.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:07:54.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:07:54.834Z] OK: 264 MiB in 52 packages [2023-10-24T17:07:55.401Z] Removing intermediate container 5f41c4b1c44f [2023-10-24T17:07:55.401Z] ---> b09840e07aaf [2023-10-24T17:07:55.401Z] Step 7/29 : WORKDIR /app [2023-10-24T17:07:55.401Z] ---> Running in fda144fd9eb0 [2023-10-24T17:07:55.401Z] Removing intermediate container fda144fd9eb0 [2023-10-24T17:07:55.401Z] ---> 61c21b5487bd [2023-10-24T17:07:55.401Z] Step 8/29 : COPY go.mod vendor* ./ [2023-10-24T17:07:55.401Z] ---> 837ba130b68a [2023-10-24T17:07:55.401Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:07:55.401Z] ---> Running in cff0a2005cd8 [2023-10-24T17:07:56.336Z] Removing intermediate container cff0a2005cd8 [2023-10-24T17:07:56.336Z] ---> 1e1115cdd72b [2023-10-24T17:07:56.336Z] Step 10/29 : COPY . . [2023-10-24T17:07:56.595Z] ---> 344b6057a579 [2023-10-24T17:07:56.595Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:07:56.595Z] ---> Running in 1ba102799ec1 [2023-10-24T17:07:56.595Z] Removing intermediate container 1ba102799ec1 [2023-10-24T17:07:56.595Z] ---> e74435cc6dd5 [2023-10-24T17:07:56.595Z] Step 12/29 : RUN $MAKE [2023-10-24T17:07:56.595Z] ---> Running in 7beae36b8289 [2023-10-24T17:07:56.854Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.46 -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-24T17:08:14.928Z] Removing intermediate container 7beae36b8289 [2023-10-24T17:08:14.928Z] ---> cd0a7294811d [2023-10-24T17:08:14.928Z] Step 13/29 : FROM alpine:3.18 [2023-10-24T17:08:14.928Z] 3.18: Pulling from library/alpine [2023-10-24T17:08:14.928Z] 96526aa774ef: Pulling fs layer [2023-10-24T17:08:14.928Z] 96526aa774ef: Verifying Checksum [2023-10-24T17:08:14.928Z] 96526aa774ef: Download complete [2023-10-24T17:08:15.186Z] 96526aa774ef: Pull complete [2023-10-24T17:08:15.186Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T17:08:15.186Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T17:08:15.186Z] ---> 8ca4688f4f35 [2023-10-24T17:08:15.186Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T17:08:15.186Z] ---> Running in 2f95eb87e4d5 [2023-10-24T17:08:15.444Z] Removing intermediate container 2f95eb87e4d5 [2023-10-24T17:08:15.444Z] ---> f900e3e4381d [2023-10-24T17:08:15.444Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-10-24T17:08:15.444Z] ---> Running in 38a4df89f7de [2023-10-24T17:08:15.444Z] Removing intermediate container 38a4df89f7de [2023-10-24T17:08:15.444Z] ---> 06b327f3d98d [2023-10-24T17:08:15.444Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-10-24T17:08:15.444Z] ---> Running in 041512e809ca [2023-10-24T17:08:15.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:08:15.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:08:16.224Z] (1/2) Installing ca-certificates (20230506-r0) [2023-10-24T17:08:16.224Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-10-24T17:08:16.224Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:08:16.224Z] Executing ca-certificates-20230506-r0.trigger [2023-10-24T17:08:16.224Z] OK: 8 MiB in 17 packages [2023-10-24T17:08:16.795Z] Removing intermediate container 041512e809ca [2023-10-24T17:08:16.795Z] ---> b22be7d3d83f [2023-10-24T17:08:16.795Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-10-24T17:08:16.795Z] ---> 217bd833c24d [2023-10-24T17:08:16.795Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-10-24T17:08:17.053Z] ---> c6ac065e7c51 [2023-10-24T17:08:17.053Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-10-24T17:08:17.053Z] ---> a1f121696301 [2023-10-24T17:08:17.053Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-10-24T17:08:17.311Z] ---> 98a4ec2c2906 [2023-10-24T17:08:17.311Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-10-24T17:08:18.275Z] ---> 5efd41c5f3e8 [2023-10-24T17:08:18.275Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-10-24T17:08:18.275Z] ---> Running in b9e1ef8f5c2f [2023-10-24T17:08:18.358Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9976 in /w/workspace/y_app-rfid-llrp-inventory_PR-238 [Pipeline] { [Pipeline] ws [2023-10-24T17:08:18.416Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-10-24T17:08:18.500Z] The recommended git tool is: git [2023-10-24T17:08:18.840Z] Removing intermediate container b9e1ef8f5c2f [2023-10-24T17:08:18.840Z] ---> f4b2d86fbc99 [2023-10-24T17:08:18.840Z] Step 23/29 : VOLUME /cache [2023-10-24T17:08:18.840Z] ---> Running in 8eaaa291d645 [2023-10-24T17:08:18.840Z] Removing intermediate container 8eaaa291d645 [2023-10-24T17:08:18.840Z] ---> 92cb58f9d5ca [2023-10-24T17:08:18.840Z] Step 24/29 : EXPOSE 59711 [2023-10-24T17:08:18.840Z] ---> Running in 9cddd7da924c [2023-10-24T17:08:18.840Z] Removing intermediate container 9cddd7da924c [2023-10-24T17:08:18.840Z] ---> d2215f2b9e1b [2023-10-24T17:08:18.840Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-10-24T17:08:18.840Z] ---> Running in 12095e155b4a [2023-10-24T17:08:19.097Z] Removing intermediate container 12095e155b4a [2023-10-24T17:08:19.097Z] ---> 7454040e0580 [2023-10-24T17:08:19.097Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-10-24T17:08:19.097Z] ---> Running in 7fcbf89bfe0f [2023-10-24T17:08:19.097Z] Removing intermediate container 7fcbf89bfe0f [2023-10-24T17:08:19.097Z] ---> bc41bb160b5a [2023-10-24T17:08:19.097Z] Step 27/29 : LABEL arch=amd64 [2023-10-24T17:08:19.097Z] ---> Running in fb6ef5832b04 [2023-10-24T17:08:19.354Z] Removing intermediate container fb6ef5832b04 [2023-10-24T17:08:19.354Z] ---> be7dc2df7e41 [2023-10-24T17:08:19.354Z] Step 28/29 : LABEL git_sha=5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [2023-10-24T17:08:19.355Z] ---> Running in edc5e9c5ab22 [2023-10-24T17:08:19.355Z] Removing intermediate container edc5e9c5ab22 [2023-10-24T17:08:19.355Z] ---> c76086c60a28 [2023-10-24T17:08:19.355Z] Step 29/29 : LABEL version=0.0.0 [2023-10-24T17:08:19.355Z] ---> Running in e894aad13e7e [2023-10-24T17:08:19.355Z] Removing intermediate container e894aad13e7e [2023-10-24T17:08:19.355Z] ---> f02c439a7d9c [2023-10-24T17:08:19.355Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T17:08:19.355Z] Successfully built f02c439a7d9c [2023-10-24T17:08:19.355Z] 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-24T17:08:20.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:08:20.251Z] [2023-10-24T17:08:20.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:08:20.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:08:20.630Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T17:08:20.630Z] 5eb5b503b376: Pulling fs layer [2023-10-24T17:08:20.630Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T17:08:20.630Z] ec43610c2a17: Pulling fs layer [2023-10-24T17:08:20.630Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T17:08:20.630Z] 33b1e0a273af: Pulling fs layer [2023-10-24T17:08:20.630Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T17:08:20.630Z] 2f39f015ded8: Pulling fs layer [2023-10-24T17:08:20.630Z] 3a2ae6a8a46f: Waiting [2023-10-24T17:08:20.630Z] 33b1e0a273af: Waiting [2023-10-24T17:08:20.630Z] 5d3b04190fa2: Waiting [2023-10-24T17:08:20.630Z] 2f39f015ded8: Waiting [2023-10-24T17:08:20.630Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T17:08:20.630Z] 5c69ac0246d0: Download complete [2023-10-24T17:08:20.630Z] 3a2ae6a8a46f: Download complete [2023-10-24T17:08:20.630Z] 33b1e0a273af: Verifying Checksum [2023-10-24T17:08:20.630Z] 33b1e0a273af: Download complete [2023-10-24T17:08:20.891Z] ec43610c2a17: Verifying Checksum [2023-10-24T17:08:20.891Z] ec43610c2a17: Download complete [2023-10-24T17:08:20.891Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T17:08:20.891Z] 5d3b04190fa2: Download complete [2023-10-24T17:08:20.891Z] 5eb5b503b376: Verifying Checksum [2023-10-24T17:08:20.891Z] 5eb5b503b376: Download complete [2023-10-24T17:08:21.455Z] 2f39f015ded8: Verifying Checksum [2023-10-24T17:08:21.455Z] 2f39f015ded8: Download complete [2023-10-24T17:08:22.391Z] 5eb5b503b376: Pull complete [2023-10-24T17:08:22.391Z] 5c69ac0246d0: Pull complete [2023-10-24T17:08:22.650Z] ec43610c2a17: Pull complete [2023-10-24T17:08:22.907Z] 3a2ae6a8a46f: Pull complete [2023-10-24T17:08:23.164Z] 33b1e0a273af: Pull complete [2023-10-24T17:08:23.164Z] 5d3b04190fa2: Pull complete [2023-10-24T17:08:25.615Z] using credential edgex-jenkins-ssh [2023-10-24T17:08:25.637Z] Cloning the remote Git repository [2023-10-24T17:08:25.703Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-24T17:08:25.834Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-10-24T17:08:26.025Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-24T17:08:26.027Z] > git --version # timeout=10 [2023-10-24T17:08:26.057Z] > git --version # 'git version 2.25.1' [2023-10-24T17:08:26.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:08:26.273Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T17:08:28.422Z] 2f39f015ded8: Pull complete [2023-10-24T17:08:28.423Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T17:08:28.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:08:28.423Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:08:28.644Z] prd-ubuntu20.04-docker-8c-8g-9971 does not seem to be running inside a container [2023-10-24T17:08:28.674Z] $ 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-238 -v /w/workspace/y_app-rfid-llrp-inventory_PR-238:/w/workspace/y_app-rfid-llrp-inventory_PR-238:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-238@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-24T17:08:28.560Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-10-24T17:08:28.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T17:08:29.886Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-10-24T17:08:29.954Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-24T17:08:29.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:08:29.980Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T17:08:30.638Z] Merging remotes/origin/main commit 2cf82822b8f5c4982b562185971b2840de0a3939 into PR head commit 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [2023-10-24T17:08:31.033Z] Merge succeeded, producing 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [2023-10-24T17:08:31.034Z] Checking out Revision 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 (PR-238) [2023-10-24T17:08:30.665Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T17:08:30.770Z] > git checkout -f 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 # timeout=10 [2023-10-24T17:08:30.906Z] > git remote # timeout=10 [2023-10-24T17:08:30.933Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T17:08:30.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:08:30.974Z] > git merge 2cf82822b8f5c4982b562185971b2840de0a3939 # timeout=10 [2023-10-24T17:08:31.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T17:08:31.043Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T17:08:31.065Z] > git checkout -f 5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 # timeout=10 [2023-10-24T17:08:34.336Z] $ docker top e310d3909a4b2d56079d3a6f417b5a0ee0049ad6a379434d3236a10616e0e75f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:08:34.758Z] ---> job-cost.sh [2023-10-24T17:08:34.758Z] lf-activate-venv: SKIPPING [2023-10-24T17:08:34.758Z] INFO: No Stack... [2023-10-24T17:08:34.816Z] Commit message: "feat!: Remove snap packaging" [2023-10-24T17:08:34.894Z] > git --version # timeout=10 [2023-10-24T17:08:34.908Z] > git --version # 'git version 2.25.1' [2023-10-24T17:08:34.928Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T17:08:35.017Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T17:08:35.388Z] [2023-10-24T17:08:35.388Z] GitHub has been notified of this commit’s build result [2023-10-24T17:08:35.388Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-10-24T17:08:35.585Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:08:35.898Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-238/archives/cost.csv [2023-10-24T17:08:35.898Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T17:08:36.007Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] [2023-10-24T17:08:36.012Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] did not exist. Created. [2023-10-24T17:08:36.012Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T17:08:36.296Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T17:08:36.296Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T17:08:36.296Z] Dload Upload Total Spent Left Speed [2023-10-24T17:08:36.296Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [2023-10-24T17:08:36.396Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T17:08:36.448Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T17:08:36.475Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T17:08:36.559Z] $ docker stop --time=1 e310d3909a4b2d56079d3a6f417b5a0ee0049ad6a379434d3236a10616e0e75f [2023-10-24T17:08:37.717Z] $ docker rm -f --volumes e310d3909a4b2d56079d3a6f417b5a0ee0049ad6a379434d3236a10616e0e75f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T17:08:38.180Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T17:08:38.608Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-10-24T17:08:38.608Z] /etc/docker/daemon.json [2023-10-24T17:08:38.608Z] { [2023-10-24T17:08:38.608Z] "registry-mirrors": [ [2023-10-24T17:08:38.608Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T17:08:38.608Z] ], [2023-10-24T17:08:38.608Z] "bip": "10.250.0.254/24", [2023-10-24T17:08:38.608Z] "hosts": [ [2023-10-24T17:08:38.608Z] "tcp://0.0.0.0:5555", [2023-10-24T17:08:38.608Z] "unix:///var/run/docker.sock" [2023-10-24T17:08:38.608Z] ], [2023-10-24T17:08:38.608Z] "mtu": 1458, [2023-10-24T17:08:38.608Z] "selinux-enabled": true, [2023-10-24T17:08:38.608Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T17:08:38.608Z] } [Pipeline] sh [2023-10-24T17:08:38.963Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T17:08:39.327Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:08:57.737Z] provisioning config files... [2023-10-24T17:08:57.772Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config5753677109418866733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:08:58.213Z] ---> docker-login.sh [2023-10-24T17:08:58.213Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:08:58.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:59.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:59.101Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:59.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:59.101Z] [2023-10-24T17:08:59.101Z] Login Succeeded [2023-10-24T17:08:59.101Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:08:59.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:59.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:59.374Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:59.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:59.374Z] [2023-10-24T17:08:59.374Z] Login Succeeded [2023-10-24T17:08:59.374Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:08:59.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:59.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:59.941Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:59.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:59.941Z] [2023-10-24T17:08:59.941Z] Login Succeeded [2023-10-24T17:08:59.941Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:09:00.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:09:00.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:09:00.222Z] Configure a credential helper to remove this warning. See [2023-10-24T17:09:00.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:09:00.222Z] [2023-10-24T17:09:00.222Z] Login Succeeded [2023-10-24T17:09:00.222Z] docker.io [2023-10-24T17:09:00.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:09:01.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:09:01.107Z] Configure a credential helper to remove this warning. See [2023-10-24T17:09:01.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:09:01.107Z] [2023-10-24T17:09:01.107Z] Login Succeeded [2023-10-24T17:09:01.107Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:09:01.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T17:09:01.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:09:01.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:09:01.638Z] ========================================================= [2023-10-24T17:09:01.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T17:09:01.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:09:02.142Z] + 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-24T17:09:02.412Z] Sending build context to Docker daemon 662.5kB [2023-10-24T17:09:02.412Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:09:02.412Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T17:09:05.775Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T17:09:05.775Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T17:09:05.775Z] 5d54e960e981: Pulling fs layer [2023-10-24T17:09:05.775Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T17:09:05.775Z] f0e02332f6b5: Pulling fs layer [2023-10-24T17:09:05.775Z] cefa15bbcfad: Pulling fs layer [2023-10-24T17:09:05.775Z] 17808c966233: Pulling fs layer [2023-10-24T17:09:05.775Z] f4c1fc716caa: Pulling fs layer [2023-10-24T17:09:05.775Z] f0e02332f6b5: Waiting [2023-10-24T17:09:05.775Z] 17808c966233: Waiting [2023-10-24T17:09:05.775Z] f4c1fc716caa: Waiting [2023-10-24T17:09:05.775Z] cefa15bbcfad: Waiting [2023-10-24T17:09:05.775Z] 5d54e960e981: Download complete [2023-10-24T17:09:05.775Z] f0e02332f6b5: Verifying Checksum [2023-10-24T17:09:05.775Z] f0e02332f6b5: Download complete [2023-10-24T17:09:05.775Z] cefa15bbcfad: Verifying Checksum [2023-10-24T17:09:05.775Z] cefa15bbcfad: Download complete [2023-10-24T17:09:05.775Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T17:09:05.775Z] 9fda8d8052c6: Download complete [2023-10-24T17:09:06.052Z] f4c1fc716caa: Verifying Checksum [2023-10-24T17:09:06.052Z] f4c1fc716caa: Download complete [2023-10-24T17:09:06.900Z] 9fda8d8052c6: Pull complete [2023-10-24T17:09:07.172Z] 5d54e960e981: Pull complete [2023-10-24T17:09:07.767Z] c4a7e357bf2a: Download complete [2023-10-24T17:09:08.733Z] 17808c966233: Verifying Checksum [2023-10-24T17:09:08.733Z] 17808c966233: Download complete [2023-10-24T17:09:21.093Z] c4a7e357bf2a: Pull complete [2023-10-24T17:09:21.093Z] f0e02332f6b5: Pull complete [2023-10-24T17:09:21.366Z] cefa15bbcfad: Pull complete [2023-10-24T17:09:31.475Z] 17808c966233: Pull complete [2023-10-24T17:09:32.072Z] f4c1fc716caa: Pull complete [2023-10-24T17:09:32.346Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T17:09:32.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T17:09:32.346Z] ---> ea914061e18c [2023-10-24T17:09:32.346Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:09:33.777Z] ---> Running in 3cacd4d5eadc [2023-10-24T17:09:34.057Z] Removing intermediate container 3cacd4d5eadc [2023-10-24T17:09:34.057Z] ---> 62beb42d04f2 [2023-10-24T17:09:34.057Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:09:34.057Z] ---> Running in bed93f504b01 [2023-10-24T17:09:34.647Z] Removing intermediate container bed93f504b01 [2023-10-24T17:09:34.647Z] ---> d0c37187cef8 [2023-10-24T17:09:34.647Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:09:34.647Z] ---> Running in 276300cf3cfc [2023-10-24T17:09:34.921Z] Removing intermediate container 276300cf3cfc [2023-10-24T17:09:34.921Z] ---> 85ab86e1dacf [2023-10-24T17:09:34.921Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:09:35.193Z] ---> Running in 9673742217c6 [2023-10-24T17:09:36.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:09:37.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:09:38.661Z] OK: 266 MiB in 52 packages [2023-10-24T17:09:39.640Z] Removing intermediate container 9673742217c6 [2023-10-24T17:09:39.640Z] ---> fc0995e7f2e8 [2023-10-24T17:09:39.640Z] Step 7/12 : WORKDIR /app [2023-10-24T17:09:39.931Z] ---> Running in 30248e10a165 [2023-10-24T17:09:40.533Z] Removing intermediate container 30248e10a165 [2023-10-24T17:09:40.533Z] ---> b252babea7ce [2023-10-24T17:09:40.533Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T17:09:41.128Z] ---> 98ba46f379d3 [2023-10-24T17:09:41.128Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:09:41.128Z] ---> Running in 81a1167d31ee [2023-10-24T17:11:17.892Z] Removing intermediate container 81a1167d31ee [2023-10-24T17:11:17.892Z] ---> c295d9a9b157 [2023-10-24T17:11:17.892Z] Step 10/12 : COPY . . [2023-10-24T17:11:17.892Z] ---> 605d0b25ae17 [2023-10-24T17:11:17.892Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:11:17.892Z] ---> Running in 5589e390df7a [2023-10-24T17:11:17.892Z] Removing intermediate container 5589e390df7a [2023-10-24T17:11:17.892Z] ---> 9d90dc24902f [2023-10-24T17:11:17.892Z] Step 12/12 : RUN $MAKE [2023-10-24T17:11:17.892Z] ---> Running in e57e1f6e2090 [2023-10-24T17:11:17.892Z] noop [2023-10-24T17:11:17.892Z] Removing intermediate container e57e1f6e2090 [2023-10-24T17:11:17.892Z] ---> bb418a7815ce [2023-10-24T17:11:17.892Z] Successfully built bb418a7815ce [2023-10-24T17:11:17.892Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:11:18.379Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T17:11:18.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:11:18.737Z] prd-ubuntu20.04-docker-arm64-4c-16g-9976 does not seem to be running inside a container [2023-10-24T17:11:18.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T17:11:20.170Z] $ docker top 2792491ec2a1740ae1e28b9862e90ef337cd142ebf4429a63828aa65937bf1e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:11:21.125Z] + go version [2023-10-24T17:11:21.125Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T17:11:21.159Z] $ docker stop --time=1 2792491ec2a1740ae1e28b9862e90ef337cd142ebf4429a63828aa65937bf1e7 [2023-10-24T17:11:22.984Z] $ docker rm -f --volumes 2792491ec2a1740ae1e28b9862e90ef337cd142ebf4429a63828aa65937bf1e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:11:23.913Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T17:11:23.913Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:11:24.205Z] prd-ubuntu20.04-docker-arm64-4c-16g-9976 does not seem to be running inside a container [2023-10-24T17:11:24.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T17:11:25.667Z] $ docker top 7ef2b28e71e481c19350b44b3f3df5977a5fe1da9bef8fe9625642533fb9505f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:11:26.617Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T17:11:27.350Z] + make test [2023-10-24T17:11:27.350Z] go test -race ./... -coverprofile=coverage.out ./... [2023-10-24T17:14:34.208Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-10-24T17:14:34.208Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-10-24T17:14:34.208Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.165s coverage: 86.2% of statements [2023-10-24T17:14:40.864Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.480s coverage: 71.9% of statements [2023-10-24T17:14:40.864Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T17:14:40.864Z] go vet ./... [2023-10-24T17:17:02.679Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T17:17:02.679Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T17:17:02.679Z] ./bin/test-attribution.sh [2023-10-24T17:17:02.679Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-10-24T17:17:02.679Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-10-24T17:17:02.679Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-10-24T17:17:02.679Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-10-24T17:17:02.679Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-10-24T17:17:02.679Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-10-24T17:17:02.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T17:17:02.752Z] $ docker stop --time=1 7ef2b28e71e481c19350b44b3f3df5977a5fe1da9bef8fe9625642533fb9505f [2023-10-24T17:17:04.807Z] $ docker rm -f --volumes 7ef2b28e71e481c19350b44b3f3df5977a5fe1da9bef8fe9625642533fb9505f [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:17:06.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T17:17:06.682Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T17:17:07.314Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:17:07.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T17:17:08.323Z] + ls -al . [2023-10-24T17:17:08.323Z] total 228 [2023-10-24T17:17:08.323Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 17:11 . [2023-10-24T17:17:08.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:08 .. [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 17:08 .dockerignore [2023-10-24T17:17:08.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:08 .git [2023-10-24T17:17:08.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:08 .github [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 701 Oct 24 17:08 .gitignore [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 17:08 .golangci.yml [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 10232 Oct 24 17:08 Attribution.txt [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 9317 Oct 24 17:08 CHANGELOG.md [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 1659 Oct 24 17:08 Dockerfile [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 17:08 GOVERNANCE.md [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 665 Oct 24 17:08 Jenkinsfile [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 17:08 LICENSE [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 2497 Oct 24 17:08 Makefile [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 17:08 OWNERS.md [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 31446 Oct 24 17:08 README.md [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 17:05 VERSION [2023-10-24T17:17:08.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:08 bin [2023-10-24T17:17:08.323Z] -rw-r--r-- 1 jenkins jenkins 41317 Oct 24 17:14 coverage.out [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 3969 Oct 24 17:08 go.mod [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 35080 Oct 24 17:08 go.sum [2023-10-24T17:17:08.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:08 images [2023-10-24T17:17:08.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:08 internal [2023-10-24T17:17:08.323Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 17:08 main.go [2023-10-24T17:17:08.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:08 res [2023-10-24T17:17:08.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:08 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:17:08.848Z] + 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=5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 --label arch=arm64 --label version=0.0.0 . [2023-10-24T17:17:09.126Z] Sending build context to Docker daemon 662.5kB [2023-10-24T17:17:09.126Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:17:09.126Z] Step 2/29 : FROM ${BASE} AS builder [2023-10-24T17:17:09.126Z] ---> bb418a7815ce [2023-10-24T17:17:09.126Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-10-24T17:17:09.410Z] ---> Running in 90e8bc358672 [2023-10-24T17:17:09.685Z] Removing intermediate container 90e8bc358672 [2023-10-24T17:17:09.685Z] ---> 241fddc006dc [2023-10-24T17:17:09.685Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:17:09.685Z] ---> Running in 016faffdfb63 [2023-10-24T17:17:10.290Z] Removing intermediate container 016faffdfb63 [2023-10-24T17:17:10.290Z] ---> 55241d245343 [2023-10-24T17:17:10.290Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:17:10.290Z] ---> Running in 918e1dd0c46d [2023-10-24T17:17:10.592Z] Removing intermediate container 918e1dd0c46d [2023-10-24T17:17:10.592Z] ---> 96b56cff838e [2023-10-24T17:17:10.592Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:17:10.592Z] ---> Running in 8d8fc20cfc7f [2023-10-24T17:17:12.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:17:13.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:17:14.452Z] OK: 266 MiB in 52 packages [2023-10-24T17:17:15.434Z] Removing intermediate container 8d8fc20cfc7f [2023-10-24T17:17:15.434Z] ---> 057a9860678f [2023-10-24T17:17:15.434Z] Step 7/29 : WORKDIR /app [2023-10-24T17:17:15.434Z] ---> Running in 22cb3afe9b8f [2023-10-24T17:17:16.022Z] Removing intermediate container 22cb3afe9b8f [2023-10-24T17:17:16.022Z] ---> 84d2a0f760ba [2023-10-24T17:17:16.022Z] Step 8/29 : COPY go.mod vendor* ./ [2023-10-24T17:17:16.610Z] ---> 9d341e71a5cc [2023-10-24T17:17:16.610Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:17:16.610Z] ---> Running in 602ceb924324 [2023-10-24T17:17:19.227Z] Removing intermediate container 602ceb924324 [2023-10-24T17:17:19.227Z] ---> c8a618db4ff7 [2023-10-24T17:17:19.227Z] Step 10/29 : COPY . . [2023-10-24T17:17:19.816Z] ---> dd7dcf211403 [2023-10-24T17:17:19.816Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:17:19.816Z] ---> Running in 83e0c6f64fe1 [2023-10-24T17:17:20.096Z] Removing intermediate container 83e0c6f64fe1 [2023-10-24T17:17:20.096Z] ---> db424f423ee8 [2023-10-24T17:17:20.096Z] Step 12/29 : RUN $MAKE [2023-10-24T17:17:20.370Z] ---> Running in 0283c82f9d74 [2023-10-24T17:17:21.350Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.46 -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-24T17:19:28.050Z] Removing intermediate container 0283c82f9d74 [2023-10-24T17:19:28.050Z] ---> 90f1c59cc6a9 [2023-10-24T17:19:28.050Z] Step 13/29 : FROM alpine:3.18 [2023-10-24T17:19:28.050Z] 3.18: Pulling from library/alpine [2023-10-24T17:19:28.050Z] 579b34f0a95b: Pulling fs layer [2023-10-24T17:19:28.050Z] 579b34f0a95b: Verifying Checksum [2023-10-24T17:19:28.050Z] 579b34f0a95b: Download complete [2023-10-24T17:19:28.050Z] 579b34f0a95b: Pull complete [2023-10-24T17:19:28.050Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T17:19:28.050Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T17:19:28.050Z] ---> 3cc203321400 [2023-10-24T17:19:28.050Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T17:19:28.050Z] ---> Running in a164c32f36bf [2023-10-24T17:19:28.050Z] Removing intermediate container a164c32f36bf [2023-10-24T17:19:28.050Z] ---> e8d03813d927 [2023-10-24T17:19:28.050Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-10-24T17:19:28.050Z] ---> Running in d04c9f0c1300 [2023-10-24T17:19:28.050Z] Removing intermediate container d04c9f0c1300 [2023-10-24T17:19:28.050Z] ---> c530f698d525 [2023-10-24T17:19:28.050Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-10-24T17:19:28.050Z] ---> Running in a3208a72cdbd [2023-10-24T17:19:28.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:19:28.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:19:28.050Z] (1/2) Installing ca-certificates (20230506-r0) [2023-10-24T17:19:28.050Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-10-24T17:19:28.050Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:19:28.050Z] Executing ca-certificates-20230506-r0.trigger [2023-10-24T17:19:28.050Z] OK: 9 MiB in 17 packages [2023-10-24T17:19:28.050Z] Removing intermediate container a3208a72cdbd [2023-10-24T17:19:28.050Z] ---> 1875a1293dc5 [2023-10-24T17:19:28.050Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-10-24T17:19:28.050Z] ---> c75a421063df [2023-10-24T17:19:28.050Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-10-24T17:19:28.050Z] ---> 55eefa00915a [2023-10-24T17:19:28.050Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-10-24T17:19:28.050Z] ---> 7b71697cc85a [2023-10-24T17:19:28.050Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-10-24T17:19:28.050Z] ---> 9cfe438e1002 [2023-10-24T17:19:28.050Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-10-24T17:19:29.012Z] ---> 970d16f44e2a [2023-10-24T17:19:29.012Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-10-24T17:19:29.280Z] ---> Running in c364a6849aef [2023-10-24T17:19:34.624Z] Removing intermediate container c364a6849aef [2023-10-24T17:19:34.624Z] ---> b45d8b550157 [2023-10-24T17:19:34.624Z] Step 23/29 : VOLUME /cache [2023-10-24T17:19:34.624Z] ---> Running in 7638675e0ab5 [2023-10-24T17:19:34.891Z] Removing intermediate container 7638675e0ab5 [2023-10-24T17:19:34.891Z] ---> dc06e66901a0 [2023-10-24T17:19:34.891Z] Step 24/29 : EXPOSE 59711 [2023-10-24T17:19:34.891Z] ---> Running in 0a8b99f12f53 [2023-10-24T17:19:35.158Z] Removing intermediate container 0a8b99f12f53 [2023-10-24T17:19:35.158Z] ---> 56a58807ca2c [2023-10-24T17:19:35.158Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-10-24T17:19:35.424Z] ---> Running in 331f9ce1b57e [2023-10-24T17:19:35.690Z] Removing intermediate container 331f9ce1b57e [2023-10-24T17:19:35.690Z] ---> f7c3f9d42b02 [2023-10-24T17:19:35.690Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-10-24T17:19:35.690Z] ---> Running in 6d21e7963c86 [2023-10-24T17:19:35.961Z] Removing intermediate container 6d21e7963c86 [2023-10-24T17:19:35.961Z] ---> fb05e6fac6c2 [2023-10-24T17:19:35.961Z] Step 27/29 : LABEL arch=arm64 [2023-10-24T17:19:36.230Z] ---> Running in ba199d96110c [2023-10-24T17:19:36.496Z] Removing intermediate container ba199d96110c [2023-10-24T17:19:36.496Z] ---> bdb694629bf4 [2023-10-24T17:19:36.496Z] Step 28/29 : LABEL git_sha=5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [2023-10-24T17:19:36.496Z] ---> Running in edbfec6f7bf0 [2023-10-24T17:19:37.079Z] Removing intermediate container edbfec6f7bf0 [2023-10-24T17:19:37.079Z] ---> c3da9a135ed8 [2023-10-24T17:19:37.079Z] Step 29/29 : LABEL version=0.0.0 [2023-10-24T17:19:37.079Z] ---> Running in 475e5411c515 [2023-10-24T17:19:37.344Z] Removing intermediate container 475e5411c515 [2023-10-24T17:19:37.344Z] ---> d4b3af92c108 [2023-10-24T17:19:37.344Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T17:19:37.344Z] Successfully built d4b3af92c108 [2023-10-24T17:19:37.344Z] 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-24T17:19:38.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:19:38.170Z] [2023-10-24T17:19:38.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:19:38.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:19:38.576Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T17:19:38.576Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T17:19:38.576Z] 04944245beec: Pulling fs layer [2023-10-24T17:19:38.576Z] 699f458cf7ca: Pulling fs layer [2023-10-24T17:19:38.576Z] 765212b225bb: Pulling fs layer [2023-10-24T17:19:38.576Z] f23df028b6ca: Pulling fs layer [2023-10-24T17:19:38.576Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T17:19:38.576Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T17:19:38.576Z] 765212b225bb: Waiting [2023-10-24T17:19:38.576Z] f23df028b6ca: Waiting [2023-10-24T17:19:38.576Z] d65c8cfc05b1: Waiting [2023-10-24T17:19:38.844Z] 04944245beec: Verifying Checksum [2023-10-24T17:19:38.844Z] 04944245beec: Download complete [2023-10-24T17:19:38.844Z] 765212b225bb: Verifying Checksum [2023-10-24T17:19:38.844Z] 765212b225bb: Download complete [2023-10-24T17:19:38.844Z] f23df028b6ca: Verifying Checksum [2023-10-24T17:19:38.844Z] f23df028b6ca: Download complete [2023-10-24T17:19:38.844Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T17:19:38.844Z] d65c8cfc05b1: Download complete [2023-10-24T17:19:39.116Z] 699f458cf7ca: Verifying Checksum [2023-10-24T17:19:39.116Z] 699f458cf7ca: Download complete [2023-10-24T17:19:39.383Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T17:19:39.383Z] 8998bd30e6a1: Download complete [2023-10-24T17:19:41.969Z] 2437ff75d9bd: Download complete [2023-10-24T17:19:44.557Z] 8998bd30e6a1: Pull complete [2023-10-24T17:19:48.803Z] 04944245beec: Pull complete [2023-10-24T17:19:49.766Z] 699f458cf7ca: Pull complete [2023-10-24T17:19:50.034Z] 765212b225bb: Pull complete [2023-10-24T17:19:51.002Z] f23df028b6ca: Pull complete [2023-10-24T17:19:51.002Z] d65c8cfc05b1: Pull complete [2023-10-24T17:20:09.213Z] 2437ff75d9bd: Pull complete [2023-10-24T17:20:09.213Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T17:20:09.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:20:09.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:20:09.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-9976 does not seem to be running inside a container [2023-10-24T17:20:09.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T17:20:10.863Z] $ docker top e88e05150c6f54dfa7992f473bf2c3c197cb444829b2600cbc14bb7e8de96a84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:11.781Z] ---> job-cost.sh [2023-10-24T17:20:11.781Z] lf-activate-venv: SKIPPING [2023-10-24T17:20:11.781Z] INFO: No Stack... [2023-10-24T17:20:12.362Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T17:20:12.950Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T17:20:13.617Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-10-24T17:20:13.617Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T17:20:13.713Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] [2023-10-24T17:20:13.718Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] did not exist. Created. [2023-10-24T17:20:13.719Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T17:20:14.152Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-bab10491/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T17:20:14.825Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T17:20:14.860Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T17:20:14.921Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T17:20:14.941Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-238-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T17:20:15.016Z] $ docker stop --time=1 e88e05150c6f54dfa7992f473bf2c3c197cb444829b2600cbc14bb7e8de96a84 [2023-10-24T17:20:17.023Z] $ docker rm -f --volumes e88e05150c6f54dfa7992f473bf2c3c197cb444829b2600cbc14bb7e8de96a84 [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-24T17:20:18.025Z] provisioning config files... [2023-10-24T17:20:18.032Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/config9867715836162999722tmp [Pipeline] { [Pipeline] sh [2023-10-24T17:20:18.378Z] + set +x [2023-10-24T17:20:18.378Z] + bash -s -- [2023-10-24T17:20:18.378Z] + curl -s https://codecov.io/bash [2023-10-24T17:20:18.378Z] [2023-10-24T17:20:18.378Z] _____ _ [2023-10-24T17:20:18.378Z] / ____| | | [2023-10-24T17:20:18.378Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T17:20:18.378Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T17:20:18.378Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T17:20:18.378Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T17:20:18.378Z] Bash-1.0.6 [2023-10-24T17:20:18.378Z] [2023-10-24T17:20:18.378Z] [2023-10-24T17:20:18.378Z] ==> git version 2.25.1 found [2023-10-24T17:20:18.378Z] ==> 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-24T17:20:18.378Z] Release-Date: 2020-01-08 [2023-10-24T17:20:18.378Z] 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-24T17:20:18.378Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T17:20:18.378Z] ==> Jenkins CI detected. [2023-10-24T17:20:18.378Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-238 [2023-10-24T17:20:18.378Z] project root: . [2023-10-24T17:20:18.378Z] --> token set from env [2023-10-24T17:20:18.378Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T17:20:18.378Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T17:20:18.378Z] ==> Python coveragepy not found [2023-10-24T17:20:18.378Z] ==> Searching for coverage reports in: [2023-10-24T17:20:18.378Z] + . [2023-10-24T17:20:18.378Z] -> Found 1 reports [2023-10-24T17:20:18.378Z] ==> Detecting git/mercurial file structure [2023-10-24T17:20:18.378Z] ==> Reading reports [2023-10-24T17:20:18.378Z] + ./coverage.out bytes=41317 [2023-10-24T17:20:18.637Z] ==> Appending adjustments [2023-10-24T17:20:18.637Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T17:20:18.637Z] + Found adjustments [2023-10-24T17:20:18.637Z] ==> Gzipping contents [2023-10-24T17:20:18.637Z] 12K /tmp/codecov.zZdQ7N.gz [2023-10-24T17:20:18.637Z] ==> Uploading reports [2023-10-24T17:20:18.637Z] url: https://codecov.io [2023-10-24T17:20:18.637Z] query: branch=PR-238&commit=5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-238%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-10-24T17:20:18.637Z] -> Pinging Codecov [2023-10-24T17:20:18.637Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-238&commit=5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-238%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-10-24T17:20:18.902Z] -> Uploading to [2023-10-24T17:20:18.902Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/581DD39554BDF9B6E22D074273EAD858/5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954/c689515d-d207-4fa7-b578-ce79318a17ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T172018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b7f1668cbc5c35876482a167b2a960bb55096962b586eefd25e5a0f66236cef [2023-10-24T17:20:18.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T17:20:18.902Z] Dload Upload Total Spent Left Speed [2023-10-24T17:20:19.163Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11602 0 0 100 11602 0 37791 --:--:-- --:--:-- --:--:-- 37791 [2023-10-24T17:20:19.163Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5ae53cccb416f3edeb4d32e6aec7c5fd95d8f954 [Pipeline] } [2023-10-24T17:20:19.189Z] 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-24T17:20:20.912Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-238/archives ] [2023-10-24T17:20:20.913Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-238/archives [2023-10-24T17:20:20.913Z] total 16 [2023-10-24T17:20:20.913Z] drwxr-xr-x 3 root root 4096 Oct 24 17:08 . [2023-10-24T17:20:20.913Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 17:08 .. [2023-10-24T17:20:20.913Z] drwxr-xr-x 2 root root 4096 Oct 24 17:08 cost [2023-10-24T17:20:20.913Z] -rw-r--r-- 1 root root 95 Oct 24 17:08 cost.csv [2023-10-24T17:20:20.913Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-238/archives [2023-10-24T17:20:20.913Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-238/archives [2023-10-24T17:20:20.913Z] total 16 [2023-10-24T17:20:20.913Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 17:08 . [2023-10-24T17:20:20.913Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 17:08 .. [2023-10-24T17:20:20.913Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 17:08 cost [2023-10-24T17:20:20.913Z] -rw-r--r-- 1 jenkins jenkins 95 Oct 24 17:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:21.243Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:22.128Z] ---> package-listing.sh [2023-10-24T17:20:22.128Z] ++ facter osfamily [2023-10-24T17:20:22.128Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T17:20:22.387Z] + OS_FAMILY=debian [2023-10-24T17:20:22.387Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-238 [2023-10-24T17:20:22.387Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T17:20:22.387Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T17:20:22.387Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T17:20:22.387Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T17:20:22.387Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-238 ']' [2023-10-24T17:20:22.387Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T17:20:22.387Z] + case "${OS_FAMILY}" in [2023-10-24T17:20:22.387Z] + dpkg -l [2023-10-24T17:20:22.387Z] + grep '^ii' [2023-10-24T17:20:22.387Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T17:20:22.387Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T17:20:22.387Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T17:20:22.387Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-238 ']' [2023-10-24T17:20:22.387Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-238/archives/ [2023-10-24T17:20:22.387Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-238/archives/ [Pipeline] echo [2023-10-24T17:20:22.420Z] 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T17:20:22.713Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:20:23.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:20:23.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:20:23.488Z] prd-ubuntu20.04-docker-8c-8g-9971 does not seem to be running inside a container [2023-10-24T17:20:23.524Z] $ 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-238/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-238 -v /w/workspace/y_app-rfid-llrp-inventory_PR-238:/w/workspace/y_app-rfid-llrp-inventory_PR-238:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T17:20:23.738Z] $ docker top f5dfa125c696327430c3e91096402740f6cd11c612723fb356c470351bfc3c14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:20:24.126Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T17:20:24.434Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T17:20:24.737Z] + ls /var/log/sa-host [2023-10-24T17:20:24.737Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:20:24.874Z] provisioning config files... [2023-10-24T17:20:24.884Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-238@tmp/config6949906044936941923tmp [Pipeline] { [Pipeline] echo [2023-10-24T17:20:24.938Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:25.248Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T17:20:25.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:25.678Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T17:20:25.709Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:26.017Z] ---> sudo-logs.sh [2023-10-24T17:20:26.017Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T17:20:26.104Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:26.422Z] ---> job-cost.sh [2023-10-24T17:20:26.422Z] lf-activate-venv: SKIPPING [2023-10-24T17:20:26.422Z] DEBUG: total: 0.2199999988079071 [2023-10-24T17:20:26.422Z] INFO: Retrieving Stack Cost... [2023-10-24T17:20:26.992Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T17:20:27.253Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T17:20:27.286Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:20:27.595Z] ---> logs-deploy.sh [2023-10-24T17:20:27.595Z] lf-activate-venv: SKIPPING [2023-10-24T17:20:27.595Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-238/1 [2023-10-24T17:20:27.595Z] INFO: archiving workspace using pattern(s): [2023-10-24T17:20:28.533Z] Archives upload complete. [2023-10-24T17:20:28.533Z] INFO: archiving logs to Nexus