Pull request #236 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522+381a687333ca9b0d1c51b9ef892fe4f7db09a865 (2636a25eb46763bb32059eaf62445adae4238079) 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-ssh15319244062935763461.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-ssh5124312489252356759.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-236/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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16123256228865102115.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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13239179168156844503.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-ssh14058252285786518669.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-236/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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15148082153544063350.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9801 in /w/workspace/y_app-rfid-llrp-inventory_PR-236 [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-236 # 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 Merging remotes/origin/main commit 381a687333ca9b0d1c51b9ef892fe4f7db09a865 into PR head commit e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 Merge succeeded, producing e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 Checking out Revision e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 (PR-236) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 # 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 381a687333ca9b0d1c51b9ef892fe4f7db09a865 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-23T13:12:31.869Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-23T13:12:32.057Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-23T13:12:32.167Z] ========================================================= [2023-10-23T13:12:32.167Z] EdgeX Global Pipelines Version Info [2023-10-23T13:12:32.167Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:12:32.888Z] ------------------- [2023-10-23T13:12:32.888Z] stable info: [2023-10-23T13:12:32.888Z] ------------------- [2023-10-23T13:12:32.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-23T13:12:32.888Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-23T13:12:32.888Z] Message: update stable to v1.0.254 [2023-10-23T13:12:33.457Z] ------------------- [2023-10-23T13:12:33.457Z] experimental info: [2023-10-23T13:12:33.457Z] ------------------- [2023-10-23T13:12:33.457Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-23T13:12:33.457Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-23T13:12:33.457Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-23T13:12:33.757Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-10-23T13:12:33.801Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-10-23T13:12:33.842Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-23T13:12:33.891Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-23T13:12:33.937Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-23T13:12:33.978Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-23T13:12:34.017Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-23T13:12:34.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-23T13:12:34.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-23T13:12:34.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-23T13:12:34.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-23T13:12:34.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-10-23T13:12:34.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-23T13:12:34.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-23T13:12:34.340Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-23T13:12:34.381Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-23T13:12:34.426Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-23T13:12:34.467Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-23T13:12:34.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-23T13:12:34.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-23T13:12:34.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-23T13:12:34.653Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-23T13:12:34.704Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-23T13:12:34.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-23T13:12:34.798Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-23T13:12:34.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-23T13:12:34.892Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-23T13:12:34.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo [2023-10-23T13:12:34.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo [2023-10-23T13:12:35.035Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo [2023-10-23T13:12:35.082Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [Pipeline] echo [2023-10-23T13:12:35.130Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6bbcb8 [Pipeline] echo [2023-10-23T13:12:35.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-23T13:12:35.300Z] provisioning config files... [2023-10-23T13:12:35.313Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/config7893200238137897563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:12:35.663Z] ---> docker-login.sh [2023-10-23T13:12:35.663Z] nexus3.edgexfoundry.org:10001 [2023-10-23T13:12:35.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:35.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:35.924Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:35.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:35.924Z] [2023-10-23T13:12:35.924Z] Login Succeeded [2023-10-23T13:12:35.924Z] nexus3.edgexfoundry.org:10002 [2023-10-23T13:12:35.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:35.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:35.924Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:35.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:35.924Z] [2023-10-23T13:12:35.924Z] Login Succeeded [2023-10-23T13:12:35.924Z] nexus3.edgexfoundry.org:10003 [2023-10-23T13:12:36.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:36.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:36.186Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:36.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:36.186Z] [2023-10-23T13:12:36.186Z] Login Succeeded [2023-10-23T13:12:36.186Z] nexus3.edgexfoundry.org:10004 [2023-10-23T13:12:36.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:36.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:36.186Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:36.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:36.186Z] [2023-10-23T13:12:36.186Z] Login Succeeded [2023-10-23T13:12:36.186Z] docker.io [2023-10-23T13:12:36.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:36.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:36.447Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:36.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:36.447Z] [2023-10-23T13:12:36.447Z] Login Succeeded [2023-10-23T13:12:36.447Z] ---> docker-login.sh ends [Pipeline] } [2023-10-23T13:12:36.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-23T13:12:37.149Z] + git rev-list -1 --merges e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522~1..e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [Pipeline] echo [2023-10-23T13:12:37.220Z] -----------> git rev-list -1 --merges e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522~1..e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [false] [Pipeline] sh [2023-10-23T13:12:37.535Z] + git log --format=format:%s -1 e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [Pipeline] echo [2023-10-23T13:12:37.571Z] ========================================================= [2023-10-23T13:12:37.571Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-23T13:12:37.571Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-23T13:12:38.015Z] + git log --format=format:%s -1 e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [Pipeline] echo [2023-10-23T13:12:38.051Z] [semverPrep] GIT_COMMIT: e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo [2023-10-23T13:12:38.082Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-23T13:12:38.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-23T13:12:38.474Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-23T13:12:38.474Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-23T13:12:38.474Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-23T13:12:38.474Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-23T13:12:38.474Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-23T13:12:38.474Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:12:38.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-23T13:12:38.910Z] [2023-10-23T13:12:38.910Z] 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-23T13:12:39.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-23T13:12:39.290Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-23T13:12:39.290Z] b85a868b505f: Pulling fs layer [2023-10-23T13:12:39.290Z] e2be974225ed: Pulling fs layer [2023-10-23T13:12:39.290Z] 339a4e72a1f5: Pulling fs layer [2023-10-23T13:12:39.290Z] 988bab9f4d93: Pulling fs layer [2023-10-23T13:12:39.290Z] 1469e6f7b9e6: Pulling fs layer [2023-10-23T13:12:39.290Z] eaf3925da568: Pulling fs layer [2023-10-23T13:12:39.290Z] bab4dde63d76: Pulling fs layer [2023-10-23T13:12:39.290Z] bde34c3a00c8: Pulling fs layer [2023-10-23T13:12:39.290Z] b352a97aabf1: Pulling fs layer [2023-10-23T13:12:39.290Z] 4872d77fe225: Pulling fs layer [2023-10-23T13:12:39.290Z] 5851b861e8e6: Pulling fs layer [2023-10-23T13:12:39.290Z] 1469e6f7b9e6: Waiting [2023-10-23T13:12:39.290Z] bde34c3a00c8: Waiting [2023-10-23T13:12:39.290Z] eaf3925da568: Waiting [2023-10-23T13:12:39.290Z] bab4dde63d76: Waiting [2023-10-23T13:12:39.290Z] b352a97aabf1: Waiting [2023-10-23T13:12:39.290Z] 4872d77fe225: Waiting [2023-10-23T13:12:39.290Z] 5851b861e8e6: Waiting [2023-10-23T13:12:39.290Z] 988bab9f4d93: Waiting [2023-10-23T13:12:39.290Z] e2be974225ed: Download complete [2023-10-23T13:12:39.290Z] 988bab9f4d93: Verifying Checksum [2023-10-23T13:12:39.290Z] 988bab9f4d93: Download complete [2023-10-23T13:12:39.551Z] 1469e6f7b9e6: Verifying Checksum [2023-10-23T13:12:39.551Z] 1469e6f7b9e6: Download complete [2023-10-23T13:12:39.551Z] 339a4e72a1f5: Verifying Checksum [2023-10-23T13:12:39.551Z] 339a4e72a1f5: Download complete [2023-10-23T13:12:39.551Z] eaf3925da568: Verifying Checksum [2023-10-23T13:12:39.551Z] eaf3925da568: Download complete [2023-10-23T13:12:39.551Z] bde34c3a00c8: Download complete [2023-10-23T13:12:39.551Z] b352a97aabf1: Verifying Checksum [2023-10-23T13:12:39.551Z] b352a97aabf1: Download complete [2023-10-23T13:12:39.551Z] 4872d77fe225: Verifying Checksum [2023-10-23T13:12:39.551Z] 4872d77fe225: Download complete [2023-10-23T13:12:39.551Z] 5851b861e8e6: Download complete [2023-10-23T13:12:39.551Z] b85a868b505f: Verifying Checksum [2023-10-23T13:12:39.551Z] b85a868b505f: Download complete [2023-10-23T13:12:39.810Z] bab4dde63d76: Verifying Checksum [2023-10-23T13:12:39.810Z] bab4dde63d76: Download complete [2023-10-23T13:12:40.744Z] b85a868b505f: Pull complete [2023-10-23T13:12:41.002Z] e2be974225ed: Pull complete [2023-10-23T13:12:41.571Z] 339a4e72a1f5: Pull complete [2023-10-23T13:12:41.571Z] 988bab9f4d93: Pull complete [2023-10-23T13:12:41.830Z] 1469e6f7b9e6: Pull complete [2023-10-23T13:12:41.830Z] eaf3925da568: Pull complete [2023-10-23T13:12:43.731Z] bab4dde63d76: Pull complete [2023-10-23T13:12:43.731Z] bde34c3a00c8: Pull complete [2023-10-23T13:12:43.731Z] b352a97aabf1: Pull complete [2023-10-23T13:12:43.731Z] 4872d77fe225: Pull complete [2023-10-23T13:12:43.990Z] 5851b861e8e6: Pull complete [2023-10-23T13:12:43.990Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-23T13:12:43.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-23T13:12:43.990Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:12:44.224Z] prd-ubuntu20.04-docker-8c-8g-9801 does not seem to be running inside a container [2023-10-23T13:12:44.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-236 -v /w/workspace/y_app-rfid-llrp-inventory_PR-236:/w/workspace/y_app-rfid-llrp-inventory_PR-236:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-236@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-23T13:12:47.741Z] $ docker top 59a2f7bde9c05217d39876eff9f4029674144e34640c3169b579f14ef6baa985 -eo pid,comm [2023-10-23T13:12:47.800Z] 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-23T13:12:47.800Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-23T13:12:47.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-23T13:12:47.930Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-23T13:12:48.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-23T13:12:48.044Z] $ docker exec 59a2f7bde9c05217d39876eff9f4029674144e34640c3169b579f14ef6baa985 ssh-agent [2023-10-23T13:12:48.157Z] SSH_AUTH_SOCK=/tmp/ssh-z80Y8sGKq8TI/agent.34 [2023-10-23T13:12:48.157Z] SSH_AGENT_PID=40 [2023-10-23T13:12:48.164Z] Running ssh-add (command line suppressed) [2023-10-23T13:12:48.262Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/private_key_11529660929121429592.key (/w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/private_key_11529660929121429592.key) [2023-10-23T13:12:48.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-23T13:12:48.621Z] + git tag --points-at HEAD [Pipeline] } [2023-10-23T13:12:48.639Z] $ docker exec --env ******** --env ******** 59a2f7bde9c05217d39876eff9f4029674144e34640c3169b579f14ef6baa985 ssh-agent -k [2023-10-23T13:12:48.735Z] unset SSH_AUTH_SOCK; [2023-10-23T13:12:48.736Z] unset SSH_AGENT_PID; [2023-10-23T13:12:48.736Z] echo Agent pid 40 killed; [2023-10-23T13:12:48.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-23T13:12:48.851Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-23T13:12:48.851Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-23T13:12:48.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-23T13:12:48.962Z] $ docker exec 59a2f7bde9c05217d39876eff9f4029674144e34640c3169b579f14ef6baa985 ssh-agent [2023-10-23T13:12:49.082Z] SSH_AUTH_SOCK=/tmp/ssh-z4eQnXivp33E/agent.72 [2023-10-23T13:12:49.082Z] SSH_AGENT_PID=78 [2023-10-23T13:12:49.087Z] Running ssh-add (command line suppressed) [2023-10-23T13:12:49.194Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/private_key_3413625210290827349.key (/w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/private_key_3413625210290827349.key) [2023-10-23T13:12:49.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-23T13:12:49.543Z] + git semver init [2023-10-23T13:12:49.802Z] 2023-10-23 13:12:49,712 [run_init] DEBUG init version:0.0.0 force:False [2023-10-23T13:12:49.802Z] 2023-10-23 13:12:49,713 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver [2023-10-23T13:12:49.802Z] 2023-10-23 13:12:49,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver [2023-10-23T13:12:49.802Z] 2023-10-23 13:12:49,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-236, universal_newlines=False, shell=None, istream=None) [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,952 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-236/.git/info/exclude [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,952 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver/PR-236 with force:False [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,953 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver/PR-236 [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,956 [execute] INFO git cat-file --batch-check [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,963 [execute] INFO git cat-file --batch [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-10-23T13:12:51.182Z] 2023-10-23 13:12:50,969 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-236/.semver/PR-236 [2023-10-23T13:12:51.182Z] 0.0.0 [Pipeline] } [2023-10-23T13:12:51.204Z] $ docker exec --env ******** --env ******** 59a2f7bde9c05217d39876eff9f4029674144e34640c3169b579f14ef6baa985 ssh-agent -k [2023-10-23T13:12:51.298Z] unset SSH_AUTH_SOCK; [2023-10-23T13:12:51.298Z] unset SSH_AGENT_PID; [2023-10-23T13:12:51.298Z] echo Agent pid 78 killed; [2023-10-23T13:12:51.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-23T13:12:51.739Z] + git semver [Pipeline] } [2023-10-23T13:12:52.020Z] $ docker stop --time=1 59a2f7bde9c05217d39876eff9f4029674144e34640c3169b579f14ef6baa985 [2023-10-23T13:12:53.318Z] $ docker rm -f --volumes 59a2f7bde9c05217d39876eff9f4029674144e34640c3169b579f14ef6baa985 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-23T13:12:53.728Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-23T13:12:53.982Z] Stashed 1 file(s) [Pipeline] echo [2023-10-23T13:12:54.000Z] [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-23T13:12:54.585Z] provisioning config files... [2023-10-23T13:12:54.594Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/config15777363882643628399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:12:54.946Z] ---> docker-login.sh [2023-10-23T13:12:54.946Z] nexus3.edgexfoundry.org:10001 [2023-10-23T13:12:54.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:54.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:54.946Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:54.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:54.946Z] [2023-10-23T13:12:54.947Z] Login Succeeded [2023-10-23T13:12:54.947Z] nexus3.edgexfoundry.org:10002 [2023-10-23T13:12:54.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:54.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:54.947Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:54.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:54.947Z] [2023-10-23T13:12:54.947Z] Login Succeeded [2023-10-23T13:12:54.947Z] nexus3.edgexfoundry.org:10003 [2023-10-23T13:12:55.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:55.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:55.207Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:55.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:55.207Z] [2023-10-23T13:12:55.207Z] Login Succeeded [2023-10-23T13:12:55.207Z] nexus3.edgexfoundry.org:10004 [2023-10-23T13:12:55.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:55.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:55.207Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:55.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:55.207Z] [2023-10-23T13:12:55.207Z] Login Succeeded [2023-10-23T13:12:55.207Z] docker.io [2023-10-23T13:12:55.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:12:55.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:12:55.467Z] Configure a credential helper to remove this warning. See [2023-10-23T13:12:55.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:12:55.467Z] [2023-10-23T13:12:55.467Z] Login Succeeded [2023-10-23T13:12:55.467Z] ---> docker-login.sh ends [Pipeline] } [2023-10-23T13:12:55.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-23T13:12:55.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-23T13:12:55.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-23T13:12:55.787Z] ========================================================= [2023-10-23T13:12:55.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-23T13:12:55.787Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:12:56.278Z] + 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-23T13:12:56.278Z] Sending build context to Docker daemon 12.76MB [2023-10-23T13:12:56.278Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-23T13:12:56.278Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-23T13:12:56.278Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-23T13:12:56.278Z] 7264a8db6415: Pulling fs layer [2023-10-23T13:12:56.278Z] c4d48a809fc2: Pulling fs layer [2023-10-23T13:12:56.278Z] 4f1c88b9dad5: Pulling fs layer [2023-10-23T13:12:56.278Z] ad3a456e5733: Pulling fs layer [2023-10-23T13:12:56.278Z] 33e27b845d1e: Pulling fs layer [2023-10-23T13:12:56.278Z] c68163c4e522: Pulling fs layer [2023-10-23T13:12:56.278Z] 50da416c3ac9: Pulling fs layer [2023-10-23T13:12:56.278Z] ad3a456e5733: Waiting [2023-10-23T13:12:56.278Z] 33e27b845d1e: Waiting [2023-10-23T13:12:56.278Z] 23d2d4c4bb30: Pulling fs layer [2023-10-23T13:12:56.278Z] 50da416c3ac9: Waiting [2023-10-23T13:12:56.278Z] 23d2d4c4bb30: Waiting [2023-10-23T13:12:56.539Z] c4d48a809fc2: Verifying Checksum [2023-10-23T13:12:56.539Z] c4d48a809fc2: Download complete [2023-10-23T13:12:56.539Z] ad3a456e5733: Download complete [2023-10-23T13:12:56.539Z] 7264a8db6415: Verifying Checksum [2023-10-23T13:12:56.539Z] 7264a8db6415: Download complete [2023-10-23T13:12:56.539Z] 33e27b845d1e: Verifying Checksum [2023-10-23T13:12:56.539Z] 33e27b845d1e: Download complete [2023-10-23T13:12:56.539Z] c68163c4e522: Verifying Checksum [2023-10-23T13:12:56.539Z] c68163c4e522: Download complete [2023-10-23T13:12:56.539Z] 7264a8db6415: Pull complete [2023-10-23T13:12:56.799Z] c4d48a809fc2: Pull complete [2023-10-23T13:12:56.799Z] 23d2d4c4bb30: Verifying Checksum [2023-10-23T13:12:56.799Z] 23d2d4c4bb30: Download complete [2023-10-23T13:12:56.799Z] 4f1c88b9dad5: Verifying Checksum [2023-10-23T13:12:56.799Z] 4f1c88b9dad5: Download complete [2023-10-23T13:12:57.366Z] 50da416c3ac9: Verifying Checksum [2023-10-23T13:12:57.366Z] 50da416c3ac9: Download complete [2023-10-23T13:13:00.643Z] 4f1c88b9dad5: Pull complete [2023-10-23T13:13:00.643Z] ad3a456e5733: Pull complete [2023-10-23T13:13:00.643Z] 33e27b845d1e: Pull complete [2023-10-23T13:13:00.643Z] c68163c4e522: Pull complete [2023-10-23T13:13:02.543Z] 50da416c3ac9: Pull complete [2023-10-23T13:13:03.113Z] 23d2d4c4bb30: Pull complete [2023-10-23T13:13:03.113Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-23T13:13:03.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-23T13:13:03.113Z] ---> 0786185ac409 [2023-10-23T13:13:03.113Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-10-23T13:13:07.315Z] ---> Running in c78d19b09001 [2023-10-23T13:13:07.315Z] Removing intermediate container c78d19b09001 [2023-10-23T13:13:07.315Z] ---> 07b678269b7a [2023-10-23T13:13:07.315Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-23T13:13:07.315Z] ---> Running in 43c50c1029c8 [2023-10-23T13:13:07.315Z] Removing intermediate container 43c50c1029c8 [2023-10-23T13:13:07.315Z] ---> 588fcc61b04b [2023-10-23T13:13:07.315Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-23T13:13:07.315Z] ---> Running in bd7d3e49dcd8 [2023-10-23T13:13:07.315Z] Removing intermediate container bd7d3e49dcd8 [2023-10-23T13:13:07.315Z] ---> e1119f9f46b4 [2023-10-23T13:13:07.315Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-23T13:13:07.315Z] ---> Running in 2123de1dceb0 [2023-10-23T13:13:07.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-23T13:13:08.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-23T13:13:09.080Z] OK: 264 MiB in 52 packages [2023-10-23T13:13:09.339Z] Removing intermediate container 2123de1dceb0 [2023-10-23T13:13:09.339Z] ---> 2840b13508c6 [2023-10-23T13:13:09.339Z] Step 7/12 : WORKDIR /app [2023-10-23T13:13:09.339Z] ---> Running in 118f2dcbf739 [2023-10-23T13:13:09.339Z] Removing intermediate container 118f2dcbf739 [2023-10-23T13:13:09.339Z] ---> a3361a89aabd [2023-10-23T13:13:09.339Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-23T13:13:09.415Z] Still waiting to schedule task [2023-10-23T13:13:09.416Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-23T13:13:09.598Z] ---> 867ea1c7c7ee [2023-10-23T13:13:09.598Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-23T13:13:09.598Z] ---> Running in 8cef3c59a8c6 [2023-10-23T13:14:31.102Z] Removing intermediate container 8cef3c59a8c6 [2023-10-23T13:14:31.102Z] ---> 22e732765726 [2023-10-23T13:14:31.102Z] Step 10/12 : COPY . . [2023-10-23T13:14:31.102Z] ---> 5f0f0ea9ecfc [2023-10-23T13:14:31.102Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-23T13:14:31.102Z] ---> Running in ffa16e42930f [2023-10-23T13:14:31.102Z] Removing intermediate container ffa16e42930f [2023-10-23T13:14:31.102Z] ---> e5d22c8c67ac [2023-10-23T13:14:31.102Z] Step 12/12 : RUN $MAKE [2023-10-23T13:14:31.102Z] ---> Running in 0519264d43f7 [2023-10-23T13:14:31.102Z] noop [2023-10-23T13:14:31.102Z] Removing intermediate container 0519264d43f7 [2023-10-23T13:14:31.102Z] ---> 2acc0604ee02 [2023-10-23T13:14:31.102Z] Successfully built 2acc0604ee02 [2023-10-23T13:14:31.102Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:14:31.559Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-23T13:14:31.559Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:14:31.714Z] prd-ubuntu20.04-docker-8c-8g-9801 does not seem to be running inside a container [2023-10-23T13:14:31.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-236 -v /w/workspace/y_app-rfid-llrp-inventory_PR-236:/w/workspace/y_app-rfid-llrp-inventory_PR-236:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-236@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 ******** ci-base-image-x86_64 cat [2023-10-23T13:14:32.071Z] $ docker top c5361406069f120f466f0b9886dd6d3ca10f5dbf53c80536c600341824c4a554 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-23T13:14:32.457Z] + go version [2023-10-23T13:14:32.457Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-23T13:14:32.492Z] $ docker stop --time=1 c5361406069f120f466f0b9886dd6d3ca10f5dbf53c80536c600341824c4a554 [2023-10-23T13:14:33.803Z] $ docker rm -f --volumes c5361406069f120f466f0b9886dd6d3ca10f5dbf53c80536c600341824c4a554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:14:34.498Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-23T13:14:34.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:14:34.646Z] prd-ubuntu20.04-docker-8c-8g-9801 does not seem to be running inside a container [2023-10-23T13:14:34.674Z] $ 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-236 -v /w/workspace/y_app-rfid-llrp-inventory_PR-236:/w/workspace/y_app-rfid-llrp-inventory_PR-236:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-236@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 ******** ci-base-image-x86_64 cat [2023-10-23T13:14:35.001Z] $ docker top 528e5b78eb725e262e4e09a3b494a13cf137b38808b7d94471c0d61f6a8e0d48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-23T13:14:35.388Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-236 [Pipeline] fileExists [Pipeline] sh [2023-10-23T13:14:35.749Z] + make test [2023-10-23T13:14:35.749Z] go test -race ./... -coverprofile=coverage.out ./... [2023-10-23T13:14:53.827Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-10-23T13:14:53.827Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-10-23T13:14:53.827Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.130s coverage: 86.2% of statements [2023-10-23T13:14:56.363Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.695s coverage: 71.9% of statements [2023-10-23T13:14:57.392Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9802 in /w/workspace/y_app-rfid-llrp-inventory_PR-236 [Pipeline] { [Pipeline] ws [2023-10-23T13:14:57.456Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-10-23T13:14:57.540Z] The recommended git tool is: git [2023-10-23T13:15:05.886Z] using credential edgex-jenkins-ssh [2023-10-23T13:15:05.900Z] Cloning the remote Git repository [2023-10-23T13:15:05.956Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-23T13:15:06.067Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-10-23T13:15:06.258Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-23T13:15:06.261Z] > git --version # timeout=10 [2023-10-23T13:15:06.293Z] > git --version # 'git version 2.25.1' [2023-10-23T13:15:06.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-23T13:15:06.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-23T13:15:08.854Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-10-23T13:15:08.892Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-23T13:15:10.903Z] Merging remotes/origin/main commit 381a687333ca9b0d1c51b9ef892fe4f7db09a865 into PR head commit e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [2023-10-23T13:15:10.266Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-10-23T13:15:10.349Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-10-23T13:15:10.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-23T13:15:10.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-23T13:15:10.925Z] > git config core.sparsecheckout # timeout=10 [2023-10-23T13:15:10.993Z] > git checkout -f e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 # timeout=10 [2023-10-23T13:15:11.091Z] > git remote # timeout=10 [2023-10-23T13:15:11.115Z] > git config --get remote.origin.url # timeout=10 [2023-10-23T13:15:11.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-23T13:15:11.145Z] > git merge 381a687333ca9b0d1c51b9ef892fe4f7db09a865 # timeout=10 [2023-10-23T13:15:11.196Z] Merge succeeded, producing e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [2023-10-23T13:15:11.196Z] Checking out Revision e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 (PR-236) [2023-10-23T13:15:11.728Z] Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [2023-10-23T13:15:11.781Z] > git --version # timeout=10 [2023-10-23T13:15:11.794Z] > git --version # 'git version 2.25.1' [2023-10-23T13:15:11.805Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-23T13:15:11.177Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-23T13:15:11.204Z] > git config core.sparsecheckout # timeout=10 [2023-10-23T13:15:11.227Z] > git checkout -f e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 # timeout=10 [2023-10-23T13:15:13.142Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-23T13:15:13.142Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-23T13:15:13.142Z] Dload Upload Total Spent Left Speed [2023-10-23T13:15:13.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-10-23T13:15:13.837Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-23T13:15:14.203Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-23T13:15:14.203Z] + sudo tee /etc/docker/daemon.new [2023-10-23T13:15:14.203Z] { [2023-10-23T13:15:14.203Z] "registry-mirrors": [ [2023-10-23T13:15:14.203Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-23T13:15:14.203Z] ], [2023-10-23T13:15:14.203Z] "bip": "10.250.0.254/24", [2023-10-23T13:15:14.203Z] "hosts": [ [2023-10-23T13:15:14.203Z] "tcp://0.0.0.0:5555", [2023-10-23T13:15:14.203Z] "unix:///var/run/docker.sock" [2023-10-23T13:15:14.203Z] ], [2023-10-23T13:15:14.203Z] "mtu": 1458, [2023-10-23T13:15:14.203Z] "selinux-enabled": true, [2023-10-23T13:15:14.203Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-23T13:15:14.203Z] } [Pipeline] sh [2023-10-23T13:15:14.438Z] go vet ./... [2023-10-23T13:15:14.546Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-23T13:15:14.888Z] + sudo service docker restart [2023-10-23T13:15:17.722Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-23T13:15:17.722Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-23T13:15:17.722Z] ./bin/test-attribution.sh [2023-10-23T13:15:17.722Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-10-23T13:15:17.722Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-10-23T13:15:17.722Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-10-23T13:15:17.722Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-10-23T13:15:17.722Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-10-23T13:15:17.722Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-10-23T13:15:17.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-23T13:15:17.802Z] $ docker stop --time=1 528e5b78eb725e262e4e09a3b494a13cf137b38808b7d94471c0d61f6a8e0d48 [2023-10-23T13:15:22.214Z] $ docker rm -f --volumes 528e5b78eb725e262e4e09a3b494a13cf137b38808b7d94471c0d61f6a8e0d48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-23T13:15:22.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-23T13:15:22.893Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-23T13:15:23.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-23T13:15:23.945Z] + ls -al . [2023-10-23T13:15:23.945Z] total 236 [2023-10-23T13:15:23.945Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 23 13:14 . [2023-10-23T13:15:23.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 13:12 .. [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 23 13:12 .dockerignore [2023-10-23T13:15:23.945Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 13:14 .git [2023-10-23T13:15:23.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 13:12 .github [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 788 Oct 23 13:12 .gitignore [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 23 13:12 .golangci.yml [2023-10-23T13:15:23.945Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 13:12 .semver [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 10232 Oct 23 13:12 Attribution.txt [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 9317 Oct 23 13:12 CHANGELOG.md [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 1659 Oct 23 13:12 Dockerfile [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 13:12 GOVERNANCE.md [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 687 Oct 23 13:12 Jenkinsfile [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 23 13:12 LICENSE [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 2497 Oct 23 13:12 Makefile [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 23 13:12 OWNERS.md [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 31516 Oct 23 13:12 README.md [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 13:12 VERSION [2023-10-23T13:15:23.945Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 13:12 bin [2023-10-23T13:15:23.945Z] -rw-r--r-- 1 jenkins jenkins 41317 Oct 23 13:14 coverage.out [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 3969 Oct 23 13:12 go.mod [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 35080 Oct 23 13:12 go.sum [2023-10-23T13:15:23.945Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 13:12 images [2023-10-23T13:15:23.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 13:12 internal [2023-10-23T13:15:23.945Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 23 13:12 main.go [2023-10-23T13:15:23.945Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 13:12 res [2023-10-23T13:15:23.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 13:12 snap [2023-10-23T13:15:23.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 13:12 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:15:24.343Z] + 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=e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 --label arch=amd64 --label version=0.0.0 . [2023-10-23T13:15:24.343Z] Sending build context to Docker daemon 12.76MB [2023-10-23T13:15:24.343Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-10-23T13:15:24.343Z] Step 2/29 : FROM ${BASE} AS builder [2023-10-23T13:15:24.343Z] ---> 2acc0604ee02 [2023-10-23T13:15:24.343Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-10-23T13:15:24.602Z] ---> Running in fb5f73b43341 [2023-10-23T13:15:24.602Z] Removing intermediate container fb5f73b43341 [2023-10-23T13:15:24.602Z] ---> 5c83beac7de3 [2023-10-23T13:15:24.602Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-10-23T13:15:24.602Z] ---> Running in ce0eb0fab0ef [2023-10-23T13:15:24.860Z] Removing intermediate container ce0eb0fab0ef [2023-10-23T13:15:24.860Z] ---> 0afe0abf1f94 [2023-10-23T13:15:24.860Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-10-23T13:15:24.860Z] ---> Running in 9d6b216909b4 [2023-10-23T13:15:24.860Z] Removing intermediate container 9d6b216909b4 [2023-10-23T13:15:24.860Z] ---> 58b228d67a34 [2023-10-23T13:15:24.860Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-23T13:15:24.860Z] ---> Running in 68b6094b0969 [2023-10-23T13:15:25.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-23T13:15:25.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-23T13:15:25.378Z] OK: 264 MiB in 52 packages [2023-10-23T13:15:25.637Z] Removing intermediate container 68b6094b0969 [2023-10-23T13:15:25.637Z] ---> 4277164f3c80 [2023-10-23T13:15:25.637Z] Step 7/29 : WORKDIR /app [2023-10-23T13:15:25.637Z] ---> Running in 6df1d0fb1c70 [2023-10-23T13:15:25.899Z] Removing intermediate container 6df1d0fb1c70 [2023-10-23T13:15:25.899Z] ---> e2fdc6f00a87 [2023-10-23T13:15:25.899Z] Step 8/29 : COPY go.mod vendor* ./ [2023-10-23T13:15:25.899Z] ---> 79667f7f4741 [2023-10-23T13:15:25.899Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-23T13:15:25.899Z] ---> Running in 8964014534f5 [2023-10-23T13:15:26.467Z] Removing intermediate container 8964014534f5 [2023-10-23T13:15:26.467Z] ---> 2c901d74ee79 [2023-10-23T13:15:26.467Z] Step 10/29 : COPY . . [2023-10-23T13:15:27.034Z] ---> de78f520f94a [2023-10-23T13:15:27.034Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-23T13:15:27.034Z] ---> Running in d9cf6d0378ba [2023-10-23T13:15:27.292Z] Removing intermediate container d9cf6d0378ba [2023-10-23T13:15:27.292Z] ---> 72e7badb4048 [2023-10-23T13:15:27.292Z] Step 12/29 : RUN $MAKE [2023-10-23T13:15:27.292Z] ---> Running in 1f4e79d21c06 [2023-10-23T13:15:27.551Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.45 -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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-23T13:15:33.219Z] provisioning config files... [2023-10-23T13:15:33.245Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config3288559448946104010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:15:33.634Z] ---> docker-login.sh [2023-10-23T13:15:33.634Z] nexus3.edgexfoundry.org:10001 [2023-10-23T13:15:34.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:15:34.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:15:34.498Z] Configure a credential helper to remove this warning. See [2023-10-23T13:15:34.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:15:34.498Z] [2023-10-23T13:15:34.498Z] Login Succeeded [2023-10-23T13:15:34.498Z] nexus3.edgexfoundry.org:10002 [2023-10-23T13:15:34.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:15:34.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:15:34.769Z] Configure a credential helper to remove this warning. See [2023-10-23T13:15:34.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:15:34.769Z] [2023-10-23T13:15:34.769Z] Login Succeeded [2023-10-23T13:15:34.769Z] nexus3.edgexfoundry.org:10003 [2023-10-23T13:15:35.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:15:35.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:15:35.311Z] Configure a credential helper to remove this warning. See [2023-10-23T13:15:35.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:15:35.311Z] [2023-10-23T13:15:35.311Z] Login Succeeded [2023-10-23T13:15:35.311Z] nexus3.edgexfoundry.org:10004 [2023-10-23T13:15:35.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:15:35.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:15:35.580Z] Configure a credential helper to remove this warning. See [2023-10-23T13:15:35.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:15:35.580Z] [2023-10-23T13:15:35.580Z] Login Succeeded [2023-10-23T13:15:35.580Z] docker.io [2023-10-23T13:15:35.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-23T13:15:36.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-23T13:15:36.121Z] Configure a credential helper to remove this warning. See [2023-10-23T13:15:36.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-23T13:15:36.121Z] [2023-10-23T13:15:36.121Z] Login Succeeded [2023-10-23T13:15:36.121Z] ---> docker-login.sh ends [Pipeline] } [2023-10-23T13:15:36.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-23T13:15:36.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-23T13:15:36.633Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-23T13:15:36.669Z] ========================================================= [2023-10-23T13:15:36.669Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-23T13:15:36.669Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:15:37.178Z] + 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-23T13:15:37.448Z] Sending build context to Docker daemon 685.1kB [2023-10-23T13:15:37.448Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-23T13:15:37.448Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-23T13:15:37.722Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-23T13:15:37.722Z] 9fda8d8052c6: Pulling fs layer [2023-10-23T13:15:37.722Z] 5d54e960e981: Pulling fs layer [2023-10-23T13:15:37.722Z] c4a7e357bf2a: Pulling fs layer [2023-10-23T13:15:37.722Z] f0e02332f6b5: Pulling fs layer [2023-10-23T13:15:37.722Z] cefa15bbcfad: Pulling fs layer [2023-10-23T13:15:37.722Z] 17808c966233: Pulling fs layer [2023-10-23T13:15:37.722Z] cefa15bbcfad: Waiting [2023-10-23T13:15:37.722Z] f0e02332f6b5: Waiting [2023-10-23T13:15:37.722Z] f4c1fc716caa: Pulling fs layer [2023-10-23T13:15:37.722Z] f4c1fc716caa: Waiting [2023-10-23T13:15:37.722Z] 5d54e960e981: Verifying Checksum [2023-10-23T13:15:37.722Z] 5d54e960e981: Download complete [2023-10-23T13:15:37.722Z] f0e02332f6b5: Verifying Checksum [2023-10-23T13:15:37.722Z] f0e02332f6b5: Download complete [2023-10-23T13:15:37.722Z] cefa15bbcfad: Verifying Checksum [2023-10-23T13:15:37.722Z] cefa15bbcfad: Download complete [2023-10-23T13:15:37.722Z] 9fda8d8052c6: Verifying Checksum [2023-10-23T13:15:37.722Z] 9fda8d8052c6: Download complete [2023-10-23T13:15:38.311Z] f4c1fc716caa: Verifying Checksum [2023-10-23T13:15:38.311Z] f4c1fc716caa: Download complete [2023-10-23T13:15:38.581Z] 9fda8d8052c6: Pull complete [2023-10-23T13:15:39.169Z] 5d54e960e981: Pull complete [2023-10-23T13:15:39.438Z] c4a7e357bf2a: Verifying Checksum [2023-10-23T13:15:39.438Z] c4a7e357bf2a: Download complete [2023-10-23T13:15:40.403Z] 17808c966233: Verifying Checksum [2023-10-23T13:15:40.403Z] 17808c966233: Download complete [2023-10-23T13:15:45.623Z] Removing intermediate container 1f4e79d21c06 [2023-10-23T13:15:45.623Z] ---> b2be08dbbc64 [2023-10-23T13:15:45.623Z] Step 13/29 : FROM alpine:3.18 [2023-10-23T13:15:45.623Z] 3.18: Pulling from library/alpine [2023-10-23T13:15:45.882Z] 96526aa774ef: Pulling fs layer [2023-10-23T13:15:45.882Z] 96526aa774ef: Verifying Checksum [2023-10-23T13:15:45.882Z] 96526aa774ef: Download complete [2023-10-23T13:15:46.209Z] 96526aa774ef: Pull complete [2023-10-23T13:15:46.209Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-23T13:15:46.209Z] Status: Downloaded newer image for alpine:3.18 [2023-10-23T13:15:46.209Z] ---> 8ca4688f4f35 [2023-10-23T13:15:46.209Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-23T13:15:46.471Z] ---> Running in 8adb38e9223f [2023-10-23T13:15:46.471Z] Removing intermediate container 8adb38e9223f [2023-10-23T13:15:46.471Z] ---> 484019f6bd8d [2023-10-23T13:15:46.471Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-10-23T13:15:46.471Z] ---> Running in 54470461e176 [2023-10-23T13:15:46.471Z] Removing intermediate container 54470461e176 [2023-10-23T13:15:46.471Z] ---> 9856d26b7582 [2023-10-23T13:15:46.471Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-10-23T13:15:46.471Z] ---> Running in d369af3b0ba0 [2023-10-23T13:15:46.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-23T13:15:46.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-23T13:15:46.990Z] (1/2) Installing ca-certificates (20230506-r0) [2023-10-23T13:15:46.990Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-10-23T13:15:47.249Z] Executing busybox-1.36.1-r2.trigger [2023-10-23T13:15:47.249Z] Executing ca-certificates-20230506-r0.trigger [2023-10-23T13:15:47.249Z] OK: 8 MiB in 17 packages [2023-10-23T13:15:47.507Z] Removing intermediate container d369af3b0ba0 [2023-10-23T13:15:47.507Z] ---> df51ea16b630 [2023-10-23T13:15:47.507Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-10-23T13:15:47.765Z] ---> 40c65212086c [2023-10-23T13:15:47.765Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-10-23T13:15:47.765Z] ---> 6fa5d73a7789 [2023-10-23T13:15:47.765Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-10-23T13:15:47.765Z] ---> 43a2c0fd8284 [2023-10-23T13:15:47.765Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-10-23T13:15:48.023Z] ---> 6e9f4abe6405 [2023-10-23T13:15:48.023Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-10-23T13:15:48.956Z] ---> 9dfdc1141d38 [2023-10-23T13:15:48.956Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-10-23T13:15:48.956Z] ---> Running in 13523f05acc0 [2023-10-23T13:15:49.521Z] Removing intermediate container 13523f05acc0 [2023-10-23T13:15:49.521Z] ---> 3b7d335119c5 [2023-10-23T13:15:49.521Z] Step 23/29 : VOLUME /cache [2023-10-23T13:15:49.521Z] ---> Running in a31006f1299e [2023-10-23T13:15:49.521Z] Removing intermediate container a31006f1299e [2023-10-23T13:15:49.521Z] ---> f9907134a7d0 [2023-10-23T13:15:49.521Z] Step 24/29 : EXPOSE 59711 [2023-10-23T13:15:49.521Z] ---> Running in 311b0a131a1c [2023-10-23T13:15:49.521Z] Removing intermediate container 311b0a131a1c [2023-10-23T13:15:49.521Z] ---> 311f30e6b2a4 [2023-10-23T13:15:49.521Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-10-23T13:15:49.521Z] ---> Running in 4f95857d7700 [2023-10-23T13:15:49.780Z] Removing intermediate container 4f95857d7700 [2023-10-23T13:15:49.780Z] ---> 4bb002914656 [2023-10-23T13:15:49.780Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-10-23T13:15:49.780Z] ---> Running in 716209d7768b [2023-10-23T13:15:49.780Z] Removing intermediate container 716209d7768b [2023-10-23T13:15:49.780Z] ---> 2a5ff219ce06 [2023-10-23T13:15:49.780Z] Step 27/29 : LABEL arch=amd64 [2023-10-23T13:15:49.780Z] ---> Running in 6116f781e74c [2023-10-23T13:15:50.039Z] Removing intermediate container 6116f781e74c [2023-10-23T13:15:50.039Z] ---> fce11193af36 [2023-10-23T13:15:50.039Z] Step 28/29 : LABEL git_sha=e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [2023-10-23T13:15:50.039Z] ---> Running in 0cba821c08ac [2023-10-23T13:15:50.039Z] Removing intermediate container 0cba821c08ac [2023-10-23T13:15:50.039Z] ---> 4122895da77a [2023-10-23T13:15:50.039Z] Step 29/29 : LABEL version=0.0.0 [2023-10-23T13:15:50.039Z] ---> Running in d959bda96ff1 [2023-10-23T13:15:50.039Z] Removing intermediate container d959bda96ff1 [2023-10-23T13:15:50.039Z] ---> 89df5f3e1632 [2023-10-23T13:15:50.039Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-23T13:15:50.039Z] Successfully built 89df5f3e1632 [2023-10-23T13:15:50.039Z] 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-23T13:15:50.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-23T13:15:50.953Z] [2023-10-23T13:15:50.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:15:51.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-23T13:15:51.337Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-23T13:15:51.337Z] 5eb5b503b376: Pulling fs layer [2023-10-23T13:15:51.337Z] 5c69ac0246d0: Pulling fs layer [2023-10-23T13:15:51.337Z] ec43610c2a17: Pulling fs layer [2023-10-23T13:15:51.337Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-23T13:15:51.337Z] 33b1e0a273af: Pulling fs layer [2023-10-23T13:15:51.337Z] 5d3b04190fa2: Pulling fs layer [2023-10-23T13:15:51.337Z] 2f39f015ded8: Pulling fs layer [2023-10-23T13:15:51.337Z] 3a2ae6a8a46f: Waiting [2023-10-23T13:15:51.337Z] 33b1e0a273af: Waiting [2023-10-23T13:15:51.337Z] 2f39f015ded8: Waiting [2023-10-23T13:15:51.337Z] 5d3b04190fa2: Waiting [2023-10-23T13:15:51.337Z] 5c69ac0246d0: Verifying Checksum [2023-10-23T13:15:51.337Z] 5c69ac0246d0: Download complete [2023-10-23T13:15:51.337Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-23T13:15:51.337Z] 3a2ae6a8a46f: Download complete [2023-10-23T13:15:51.337Z] 33b1e0a273af: Verifying Checksum [2023-10-23T13:15:51.337Z] 33b1e0a273af: Download complete [2023-10-23T13:15:51.337Z] 5d3b04190fa2: Verifying Checksum [2023-10-23T13:15:51.337Z] 5d3b04190fa2: Download complete [2023-10-23T13:15:51.337Z] ec43610c2a17: Verifying Checksum [2023-10-23T13:15:51.337Z] ec43610c2a17: Download complete [2023-10-23T13:15:51.596Z] 5eb5b503b376: Verifying Checksum [2023-10-23T13:15:51.596Z] 5eb5b503b376: Download complete [2023-10-23T13:15:52.163Z] 2f39f015ded8: Download complete [2023-10-23T13:15:52.730Z] 5eb5b503b376: Pull complete [2023-10-23T13:15:52.730Z] 5c69ac0246d0: Pull complete [2023-10-23T13:15:52.874Z] c4a7e357bf2a: Pull complete [2023-10-23T13:15:52.874Z] f0e02332f6b5: Pull complete [2023-10-23T13:15:52.874Z] cefa15bbcfad: Pull complete [2023-10-23T13:15:53.296Z] ec43610c2a17: Pull complete [2023-10-23T13:15:53.296Z] 3a2ae6a8a46f: Pull complete [2023-10-23T13:15:53.555Z] 33b1e0a273af: Pull complete [2023-10-23T13:15:53.555Z] 5d3b04190fa2: Pull complete [2023-10-23T13:15:57.737Z] 2f39f015ded8: Pull complete [2023-10-23T13:15:57.737Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-23T13:15:57.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-23T13:15:57.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:15:57.976Z] prd-ubuntu20.04-docker-8c-8g-9801 does not seem to be running inside a container [2023-10-23T13:15:58.014Z] $ 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-236 -v /w/workspace/y_app-rfid-llrp-inventory_PR-236:/w/workspace/y_app-rfid-llrp-inventory_PR-236:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-23T13:16:01.106Z] 17808c966233: Pull complete [2023-10-23T13:16:01.703Z] f4c1fc716caa: Pull complete [2023-10-23T13:16:01.703Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-23T13:16:01.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-23T13:16:01.703Z] ---> ea914061e18c [2023-10-23T13:16:01.703Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-10-23T13:16:02.248Z] $ docker top 073b3dd00694dab8228f3b584950a761e3f431df3bd771d910f27abe2cc68717 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:16:02.730Z] ---> job-cost.sh [2023-10-23T13:16:02.730Z] lf-activate-venv: SKIPPING [2023-10-23T13:16:02.730Z] INFO: No Stack... [2023-10-23T13:16:02.990Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-23T13:16:03.249Z] INFO: Archiving Costs [Pipeline] sh [2023-10-23T13:16:03.564Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-236/archives/cost.csv [2023-10-23T13:16:03.564Z] + cut -d, -f6 [Pipeline] lock [2023-10-23T13:16:03.606Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] [2023-10-23T13:16:03.611Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] did not exist. Created. [2023-10-23T13:16:03.611Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] [Pipeline] { [2023-10-23T13:16:03.666Z] ---> Running in 97080de40802 [2023-10-23T13:16:03.666Z] Removing intermediate container 97080de40802 [2023-10-23T13:16:03.666Z] ---> ad9269acbd5e [2023-10-23T13:16:03.666Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-23T13:16:03.666Z] ---> Running in bc61f4391670 [Pipeline] unstash [Pipeline] sh [2023-10-23T13:16:04.033Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-23T13:16:04.095Z] Stashed 1 file(s) [Pipeline] } [2023-10-23T13:16:04.123Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-23T13:16:04.221Z] $ docker stop --time=1 073b3dd00694dab8228f3b584950a761e3f431df3bd771d910f27abe2cc68717 [2023-10-23T13:16:04.256Z] Removing intermediate container bc61f4391670 [2023-10-23T13:16:04.256Z] ---> 6d060c72e980 [2023-10-23T13:16:04.256Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-23T13:16:04.256Z] ---> Running in 387fb4445e4d [2023-10-23T13:16:04.525Z] Removing intermediate container 387fb4445e4d [2023-10-23T13:16:04.525Z] ---> ed0abd01eaf6 [2023-10-23T13:16:04.525Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-23T13:16:04.525Z] ---> Running in 3aee265acf76 [2023-10-23T13:16:05.370Z] $ docker rm -f --volumes 073b3dd00694dab8228f3b584950a761e3f431df3bd771d910f27abe2cc68717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-23T13:16:05.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-23T13:16:06.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-23T13:16:07.175Z] OK: 266 MiB in 52 packages [2023-10-23T13:16:08.139Z] Removing intermediate container 3aee265acf76 [2023-10-23T13:16:08.139Z] ---> a21e996620d0 [2023-10-23T13:16:08.139Z] Step 7/12 : WORKDIR /app [2023-10-23T13:16:08.139Z] ---> Running in d81be163817a [2023-10-23T13:16:08.408Z] Removing intermediate container d81be163817a [2023-10-23T13:16:08.408Z] ---> e82aff9998ff [2023-10-23T13:16:08.408Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-23T13:16:11.024Z] ---> ebe5da7b6897 [2023-10-23T13:16:11.024Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-23T13:16:11.024Z] ---> Running in 9c4d652a0eeb [2023-10-23T13:17:47.716Z] Removing intermediate container 9c4d652a0eeb [2023-10-23T13:17:47.716Z] ---> 4df45dc17be5 [2023-10-23T13:17:47.716Z] Step 10/12 : COPY . . [2023-10-23T13:17:47.716Z] ---> 760452b17562 [2023-10-23T13:17:47.716Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-23T13:17:47.716Z] ---> Running in 1b2b4d38a76d [2023-10-23T13:17:47.716Z] Removing intermediate container 1b2b4d38a76d [2023-10-23T13:17:47.716Z] ---> a49c05506d5e [2023-10-23T13:17:47.716Z] Step 12/12 : RUN $MAKE [2023-10-23T13:17:47.716Z] ---> Running in 752c0926a0c2 [2023-10-23T13:17:47.716Z] noop [2023-10-23T13:17:47.716Z] Removing intermediate container 752c0926a0c2 [2023-10-23T13:17:47.716Z] ---> 0f12eb421647 [2023-10-23T13:17:47.716Z] Successfully built 0f12eb421647 [2023-10-23T13:17:47.716Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:17:48.219Z] + docker inspect -f . ci-base-image-arm64 [2023-10-23T13:17:48.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:17:48.501Z] prd-ubuntu20.04-docker-arm64-4c-16g-9802 does not seem to be running inside a container [2023-10-23T13:17:48.577Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-23T13:17:49.852Z] $ docker top 0d4cc755c6fc8aaba2cb74760493caaf936385e9535acc994d4345d47c46a4fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-23T13:17:50.763Z] + go version [2023-10-23T13:17:50.763Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-23T13:17:50.798Z] $ docker stop --time=1 0d4cc755c6fc8aaba2cb74760493caaf936385e9535acc994d4345d47c46a4fd [2023-10-23T13:17:52.431Z] $ docker rm -f --volumes 0d4cc755c6fc8aaba2cb74760493caaf936385e9535acc994d4345d47c46a4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:17:53.309Z] + docker inspect -f . ci-base-image-arm64 [2023-10-23T13:17:53.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:17:53.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-9802 does not seem to be running inside a container [2023-10-23T13:17:53.649Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-23T13:17:54.789Z] $ docker top 746ee3e525a73646af1b6cecd23e74870c18a8f9f278a4a4160bae701c8c432d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-23T13:17:55.666Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-10-23T13:17:56.058Z] + make test [2023-10-23T13:17:56.327Z] go test -race ./... -coverprofile=coverage.out ./... [2023-10-23T13:20:03.015Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-10-23T13:20:03.015Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-10-23T13:20:03.015Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.011s coverage: 86.2% of statements [2023-10-23T13:20:11.217Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.343s coverage: 71.9% of statements [2023-10-23T13:20:11.484Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-23T13:20:11.484Z] go vet ./... [2023-10-23T13:22:03.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-23T13:22:03.276Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-23T13:22:03.276Z] ./bin/test-attribution.sh [2023-10-23T13:22:03.276Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-10-23T13:22:03.276Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-10-23T13:22:03.276Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-10-23T13:22:03.276Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-10-23T13:22:03.276Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-10-23T13:22:03.276Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-10-23T13:22:03.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-23T13:22:03.353Z] $ docker stop --time=1 746ee3e525a73646af1b6cecd23e74870c18a8f9f278a4a4160bae701c8c432d [2023-10-23T13:22:05.281Z] $ docker rm -f --volumes 746ee3e525a73646af1b6cecd23e74870c18a8f9f278a4a4160bae701c8c432d [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-23T13:22:06.883Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-23T13:22:06.919Z] Warning: overwriting stash ‘coverage-report’ [2023-10-23T13:22:07.345Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-23T13:22:07.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-23T13:22:08.278Z] + ls -al . [2023-10-23T13:22:08.279Z] total 232 [2023-10-23T13:22:08.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 13:17 . [2023-10-23T13:22:08.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 13:15 .. [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 23 13:15 .dockerignore [2023-10-23T13:22:08.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 13:15 .git [2023-10-23T13:22:08.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 13:15 .github [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 788 Oct 23 13:15 .gitignore [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 23 13:15 .golangci.yml [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 10232 Oct 23 13:15 Attribution.txt [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 9317 Oct 23 13:15 CHANGELOG.md [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 1659 Oct 23 13:15 Dockerfile [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 13:15 GOVERNANCE.md [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 687 Oct 23 13:15 Jenkinsfile [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 23 13:15 LICENSE [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 2497 Oct 23 13:15 Makefile [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 23 13:15 OWNERS.md [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 31516 Oct 23 13:15 README.md [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 13:12 VERSION [2023-10-23T13:22:08.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 13:15 bin [2023-10-23T13:22:08.279Z] -rw-r--r-- 1 jenkins jenkins 41317 Oct 23 13:20 coverage.out [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 3969 Oct 23 13:15 go.mod [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 35080 Oct 23 13:15 go.sum [2023-10-23T13:22:08.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 13:15 images [2023-10-23T13:22:08.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 13:15 internal [2023-10-23T13:22:08.279Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 23 13:15 main.go [2023-10-23T13:22:08.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 13:15 res [2023-10-23T13:22:08.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 13:15 snap [2023-10-23T13:22:08.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 13:15 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:22:08.692Z] + 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=e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 --label arch=arm64 --label version=0.0.0 . [2023-10-23T13:22:08.965Z] Sending build context to Docker daemon 685.1kB [2023-10-23T13:22:08.965Z] Step 1/29 : ARG BASE=golang:1.21-alpine3.18 [2023-10-23T13:22:08.965Z] Step 2/29 : FROM ${BASE} AS builder [2023-10-23T13:22:08.965Z] ---> 0f12eb421647 [2023-10-23T13:22:08.965Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-10-23T13:22:09.233Z] ---> Running in cafaff618c50 [2023-10-23T13:22:09.499Z] Removing intermediate container cafaff618c50 [2023-10-23T13:22:09.499Z] ---> 0c9d49c218a3 [2023-10-23T13:22:09.499Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-10-23T13:22:09.499Z] ---> Running in daaa0f0d71b3 [2023-10-23T13:22:09.766Z] Removing intermediate container daaa0f0d71b3 [2023-10-23T13:22:09.766Z] ---> b79674ad5c7f [2023-10-23T13:22:09.766Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-10-23T13:22:10.035Z] ---> Running in 35cd3aded892 [2023-10-23T13:22:10.303Z] Removing intermediate container 35cd3aded892 [2023-10-23T13:22:10.303Z] ---> ae6845f6640a [2023-10-23T13:22:10.303Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-23T13:22:10.303Z] ---> Running in 29ccaeb48e8f [2023-10-23T13:22:11.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-23T13:22:11.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-23T13:22:12.806Z] OK: 266 MiB in 52 packages [2023-10-23T13:22:13.772Z] Removing intermediate container 29ccaeb48e8f [2023-10-23T13:22:13.772Z] ---> 788fc6014aa5 [2023-10-23T13:22:13.772Z] Step 7/29 : WORKDIR /app [2023-10-23T13:22:13.772Z] ---> Running in 1d90c5162adf [2023-10-23T13:22:14.039Z] Removing intermediate container 1d90c5162adf [2023-10-23T13:22:14.039Z] ---> 8546a208be11 [2023-10-23T13:22:14.039Z] Step 8/29 : COPY go.mod vendor* ./ [2023-10-23T13:22:14.624Z] ---> d0f31e3aac30 [2023-10-23T13:22:14.624Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-23T13:22:14.624Z] ---> Running in 1af3123f8527 [2023-10-23T13:22:17.208Z] Removing intermediate container 1af3123f8527 [2023-10-23T13:22:17.208Z] ---> ca1eaf721f05 [2023-10-23T13:22:17.208Z] Step 10/29 : COPY . . [2023-10-23T13:22:17.476Z] ---> 4f658f4f825b [2023-10-23T13:22:17.476Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-23T13:22:17.476Z] ---> Running in 1cedadee7f59 [2023-10-23T13:22:17.744Z] Removing intermediate container 1cedadee7f59 [2023-10-23T13:22:17.744Z] ---> 5e99038ead2f [2023-10-23T13:22:17.744Z] Step 12/29 : RUN $MAKE [2023-10-23T13:22:18.012Z] ---> Running in ddac91979db9 [2023-10-23T13:22:18.980Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.45 -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-23T13:24:10.652Z] Removing intermediate container ddac91979db9 [2023-10-23T13:24:10.652Z] ---> 89c1237b9ded [2023-10-23T13:24:10.652Z] Step 13/29 : FROM alpine:3.18 [2023-10-23T13:24:10.652Z] 3.18: Pulling from library/alpine [2023-10-23T13:24:10.652Z] 579b34f0a95b: Pulling fs layer [2023-10-23T13:24:10.652Z] 579b34f0a95b: Verifying Checksum [2023-10-23T13:24:10.652Z] 579b34f0a95b: Download complete [2023-10-23T13:24:10.652Z] 579b34f0a95b: Pull complete [2023-10-23T13:24:10.652Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-23T13:24:10.652Z] Status: Downloaded newer image for alpine:3.18 [2023-10-23T13:24:10.652Z] ---> 3cc203321400 [2023-10-23T13:24:10.652Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-23T13:24:10.652Z] ---> Running in 0501cdb96f3c [2023-10-23T13:24:10.652Z] Removing intermediate container 0501cdb96f3c [2023-10-23T13:24:10.652Z] ---> 17dacd16d236 [2023-10-23T13:24:10.652Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-10-23T13:24:10.652Z] ---> Running in 06b5e77f4711 [2023-10-23T13:24:10.652Z] Removing intermediate container 06b5e77f4711 [2023-10-23T13:24:10.652Z] ---> 4a15fcaee4c5 [2023-10-23T13:24:10.652Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-10-23T13:24:10.652Z] ---> Running in 2fa3b479180c [2023-10-23T13:24:10.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-23T13:24:10.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-23T13:24:10.652Z] (1/2) Installing ca-certificates (20230506-r0) [2023-10-23T13:24:10.652Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-10-23T13:24:10.652Z] Executing busybox-1.36.1-r2.trigger [2023-10-23T13:24:10.652Z] Executing ca-certificates-20230506-r0.trigger [2023-10-23T13:24:10.652Z] OK: 9 MiB in 17 packages [2023-10-23T13:24:10.652Z] Removing intermediate container 2fa3b479180c [2023-10-23T13:24:10.652Z] ---> 43b6cf0f6044 [2023-10-23T13:24:10.652Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-10-23T13:24:10.652Z] ---> 867091befef3 [2023-10-23T13:24:10.652Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-10-23T13:24:12.077Z] ---> 08a0faeaee23 [2023-10-23T13:24:12.077Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-10-23T13:24:12.347Z] ---> 8e2528d282b4 [2023-10-23T13:24:12.347Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-10-23T13:24:12.930Z] ---> 3a3c5f26824a [2023-10-23T13:24:12.930Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-10-23T13:24:14.343Z] ---> 6bb5db088a62 [2023-10-23T13:24:14.343Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-10-23T13:24:14.343Z] ---> Running in 756fddc8d442 [2023-10-23T13:24:16.289Z] Removing intermediate container 756fddc8d442 [2023-10-23T13:24:16.289Z] ---> bf8382510870 [2023-10-23T13:24:16.289Z] Step 23/29 : VOLUME /cache [2023-10-23T13:24:16.289Z] ---> Running in ddb61919ecec [2023-10-23T13:24:16.289Z] Removing intermediate container ddb61919ecec [2023-10-23T13:24:16.289Z] ---> 85fc4be6f836 [2023-10-23T13:24:16.289Z] Step 24/29 : EXPOSE 59711 [2023-10-23T13:24:16.289Z] ---> Running in 678d81192b5d [2023-10-23T13:24:16.556Z] Removing intermediate container 678d81192b5d [2023-10-23T13:24:16.556Z] ---> e65847530bf3 [2023-10-23T13:24:16.556Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-10-23T13:24:16.824Z] ---> Running in d87f2684101b [2023-10-23T13:24:17.091Z] Removing intermediate container d87f2684101b [2023-10-23T13:24:17.091Z] ---> 50848e8726d1 [2023-10-23T13:24:17.091Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-10-23T13:24:17.091Z] ---> Running in d711fdeb924c [2023-10-23T13:24:17.358Z] Removing intermediate container d711fdeb924c [2023-10-23T13:24:17.358Z] ---> 1a06c0ff3e4d [2023-10-23T13:24:17.358Z] Step 27/29 : LABEL arch=arm64 [2023-10-23T13:24:17.625Z] ---> Running in a30e765b0fed [2023-10-23T13:24:17.892Z] Removing intermediate container a30e765b0fed [2023-10-23T13:24:17.892Z] ---> ec8f1e251fcc [2023-10-23T13:24:17.892Z] Step 28/29 : LABEL git_sha=e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [2023-10-23T13:24:17.892Z] ---> Running in 88abf6eecd37 [2023-10-23T13:24:18.158Z] Removing intermediate container 88abf6eecd37 [2023-10-23T13:24:18.158Z] ---> d23e361bdf49 [2023-10-23T13:24:18.158Z] Step 29/29 : LABEL version=0.0.0 [2023-10-23T13:24:18.423Z] ---> Running in 5dd449abd39f [2023-10-23T13:24:18.689Z] Removing intermediate container 5dd449abd39f [2023-10-23T13:24:18.689Z] ---> 3b93dada707c [2023-10-23T13:24:18.689Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-23T13:24:18.689Z] Successfully built 3b93dada707c [2023-10-23T13:24:18.689Z] 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-23T13:24:19.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-23T13:24:19.508Z] [2023-10-23T13:24:19.508Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:24:19.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-23T13:24:19.902Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-23T13:24:19.902Z] 8998bd30e6a1: Pulling fs layer [2023-10-23T13:24:19.902Z] 04944245beec: Pulling fs layer [2023-10-23T13:24:19.902Z] 699f458cf7ca: Pulling fs layer [2023-10-23T13:24:19.902Z] 765212b225bb: Pulling fs layer [2023-10-23T13:24:19.902Z] f23df028b6ca: Pulling fs layer [2023-10-23T13:24:19.902Z] d65c8cfc05b1: Pulling fs layer [2023-10-23T13:24:19.902Z] 2437ff75d9bd: Pulling fs layer [2023-10-23T13:24:19.902Z] f23df028b6ca: Waiting [2023-10-23T13:24:19.902Z] d65c8cfc05b1: Waiting [2023-10-23T13:24:19.902Z] 2437ff75d9bd: Waiting [2023-10-23T13:24:19.902Z] 765212b225bb: Waiting [2023-10-23T13:24:20.171Z] 04944245beec: Verifying Checksum [2023-10-23T13:24:20.171Z] 04944245beec: Download complete [2023-10-23T13:24:20.171Z] 765212b225bb: Download complete [2023-10-23T13:24:20.171Z] f23df028b6ca: Download complete [2023-10-23T13:24:20.171Z] d65c8cfc05b1: Verifying Checksum [2023-10-23T13:24:20.171Z] d65c8cfc05b1: Download complete [2023-10-23T13:24:20.440Z] 699f458cf7ca: Verifying Checksum [2023-10-23T13:24:20.440Z] 699f458cf7ca: Download complete [2023-10-23T13:24:20.709Z] 8998bd30e6a1: Verifying Checksum [2023-10-23T13:24:20.709Z] 8998bd30e6a1: Download complete [2023-10-23T13:24:23.296Z] 2437ff75d9bd: Verifying Checksum [2023-10-23T13:24:23.296Z] 2437ff75d9bd: Download complete [2023-10-23T13:24:25.882Z] 8998bd30e6a1: Pull complete [2023-10-23T13:24:26.151Z] 04944245beec: Pull complete [2023-10-23T13:24:28.096Z] 699f458cf7ca: Pull complete [2023-10-23T13:24:28.097Z] 765212b225bb: Pull complete [2023-10-23T13:24:29.057Z] f23df028b6ca: Pull complete [2023-10-23T13:24:29.057Z] d65c8cfc05b1: Pull complete [2023-10-23T13:24:47.280Z] 2437ff75d9bd: Pull complete [2023-10-23T13:24:47.280Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-23T13:24:47.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-23T13:24:47.280Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:24:47.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-9802 does not seem to be running inside a container [2023-10-23T13:24:47.672Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-23T13:24:50.387Z] $ docker top 2c42f33903e2041891069613d82404d76911ad7a4da742f8b71345becd28c4dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:24:51.316Z] ---> job-cost.sh [2023-10-23T13:24:51.316Z] lf-activate-venv: SKIPPING [2023-10-23T13:24:51.316Z] INFO: No Stack... [2023-10-23T13:24:51.893Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-23T13:24:52.473Z] INFO: Archiving Costs [Pipeline] sh [2023-10-23T13:24:52.822Z] + cut -d, -f6 [2023-10-23T13:24:52.822Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock [2023-10-23T13:24:53.163Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] [2023-10-23T13:24:53.168Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] did not exist. Created. [2023-10-23T13:24:53.169Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-23T13:24:53.583Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-319b39ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-23T13:24:53.939Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-23T13:24:53.974Z] Warning: overwriting stash ‘stack-cost’ [2023-10-23T13:24:54.035Z] Stashed 1 file(s) [Pipeline] } [2023-10-23T13:24:54.050Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-23T13:24:54.130Z] $ docker stop --time=1 2c42f33903e2041891069613d82404d76911ad7a4da742f8b71345becd28c4dc [2023-10-23T13:24:55.617Z] $ docker rm -f --volumes 2c42f33903e2041891069613d82404d76911ad7a4da742f8b71345becd28c4dc [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-23T13:24:56.680Z] provisioning config files... [2023-10-23T13:24:56.687Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/config9011477834306404199tmp [Pipeline] { [Pipeline] sh [2023-10-23T13:24:57.014Z] + set +x [2023-10-23T13:24:57.014Z] + bash -s -- [2023-10-23T13:24:57.014Z] + curl -s https://codecov.io/bash [2023-10-23T13:24:57.014Z] [2023-10-23T13:24:57.014Z] _____ _ [2023-10-23T13:24:57.014Z] / ____| | | [2023-10-23T13:24:57.014Z] | | ___ __| | ___ ___ _____ __ [2023-10-23T13:24:57.014Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-23T13:24:57.014Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-23T13:24:57.014Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-23T13:24:57.014Z] Bash-1.0.6 [2023-10-23T13:24:57.014Z] [2023-10-23T13:24:57.014Z] [2023-10-23T13:24:57.014Z] ==> git version 2.25.1 found [2023-10-23T13:24:57.014Z] ==> 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-23T13:24:57.014Z] Release-Date: 2020-01-08 [2023-10-23T13:24:57.014Z] 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-23T13:24:57.014Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-23T13:24:57.014Z] ==> Jenkins CI detected. [2023-10-23T13:24:57.014Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-236 [2023-10-23T13:24:57.014Z] project root: . [2023-10-23T13:24:57.014Z] --> token set from env [2023-10-23T13:24:57.014Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-23T13:24:57.273Z] ==> Running gcov in . (disable via -X gcov) [2023-10-23T13:24:57.273Z] ==> Python coveragepy not found [2023-10-23T13:24:57.273Z] ==> Searching for coverage reports in: [2023-10-23T13:24:57.273Z] + . [2023-10-23T13:24:57.273Z] -> Found 1 reports [2023-10-23T13:24:57.273Z] ==> Detecting git/mercurial file structure [2023-10-23T13:24:57.273Z] ==> Reading reports [2023-10-23T13:24:57.273Z] + ./coverage.out bytes=41317 [2023-10-23T13:24:57.273Z] ==> Appending adjustments [2023-10-23T13:24:57.273Z] https://docs.codecov.io/docs/fixing-reports [2023-10-23T13:24:57.273Z] + Found adjustments [2023-10-23T13:24:57.273Z] ==> Gzipping contents [2023-10-23T13:24:57.273Z] 12K /tmp/codecov.6kn7BS.gz [2023-10-23T13:24:57.273Z] ==> Uploading reports [2023-10-23T13:24:57.273Z] url: https://codecov.io [2023-10-23T13:24:57.273Z] query: branch=PR-236&commit=e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=236&job=&cmd_args= [2023-10-23T13:24:57.273Z] -> Pinging Codecov [2023-10-23T13:24:57.273Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-236&commit=e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=236&job=&cmd_args= [2023-10-23T13:24:57.531Z] -> Uploading to [2023-10-23T13:24:57.531Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-23/581DD39554BDF9B6E22D074273EAD858/e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522/7fa78d48-6d2f-4780-8e97-6ffbca45c5f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231023%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231023T132457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1438bbd73c78efdbed22c3383192d4625f8ce299924a884f4a87d14902481bea [2023-10-23T13:24:57.531Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-23T13:24:57.531Z] Dload Upload Total Spent Left Speed [2023-10-23T13:24:57.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11811 0 0 100 11811 0 57614 --:--:-- --:--:-- --:--:-- 57334 100 11811 0 0 100 11811 0 37614 --:--:-- --:--:-- --:--:-- 37495 [2023-10-23T13:24:57.789Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/e6bbcb8d301aace4ee4c25be2e5a1a9f5c356522 [Pipeline] } [2023-10-23T13:24:57.826Z] 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-23T13:25:02.584Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-236/archives ] [2023-10-23T13:25:02.584Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-236/archives [2023-10-23T13:25:02.584Z] total 16 [2023-10-23T13:25:02.584Z] drwxr-xr-x 3 root root 4096 Oct 23 13:16 . [2023-10-23T13:25:02.584Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 23 13:16 .. [2023-10-23T13:25:02.584Z] drwxr-xr-x 2 root root 4096 Oct 23 13:16 cost [2023-10-23T13:25:02.584Z] -rw-r--r-- 1 root root 95 Oct 23 13:16 cost.csv [2023-10-23T13:25:02.584Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-236/archives [2023-10-23T13:25:02.584Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-236/archives [2023-10-23T13:25:02.584Z] total 16 [2023-10-23T13:25:02.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 13:16 . [2023-10-23T13:25:02.584Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 23 13:16 .. [2023-10-23T13:25:02.584Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 13:16 cost [2023-10-23T13:25:02.584Z] -rw-r--r-- 1 jenkins jenkins 95 Oct 23 13:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:25:02.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:25:03.811Z] ---> package-listing.sh [2023-10-23T13:25:03.811Z] ++ facter osfamily [2023-10-23T13:25:03.811Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-23T13:25:04.071Z] + OS_FAMILY=debian [2023-10-23T13:25:04.071Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-236 [2023-10-23T13:25:04.071Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-23T13:25:04.071Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-23T13:25:04.071Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-23T13:25:04.071Z] + PACKAGES=/tmp/packages_start.txt [2023-10-23T13:25:04.071Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-236 ']' [2023-10-23T13:25:04.071Z] + PACKAGES=/tmp/packages_end.txt [2023-10-23T13:25:04.071Z] + case "${OS_FAMILY}" in [2023-10-23T13:25:04.071Z] + dpkg -l [2023-10-23T13:25:04.071Z] + grep '^ii' [2023-10-23T13:25:04.071Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-23T13:25:04.071Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-23T13:25:04.071Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-23T13:25:04.071Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-236 ']' [2023-10-23T13:25:04.071Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-236/archives/ [2023-10-23T13:25:04.071Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-236/archives/ [Pipeline] echo [2023-10-23T13:25:04.110Z] 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-23T13:25:04.406Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-23T13:25:05.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-23T13:25:05.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-23T13:25:05.192Z] prd-ubuntu20.04-docker-8c-8g-9801 does not seem to be running inside a container [2023-10-23T13:25:05.236Z] $ 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-236/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-236 -v /w/workspace/y_app-rfid-llrp-inventory_PR-236:/w/workspace/y_app-rfid-llrp-inventory_PR-236:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-236@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-lftools-log-publisher:latest cat [2023-10-23T13:25:05.465Z] $ docker top f86a65408e5f4517b4569046495bbea62e5e104f7ec437404a7c4b556be1c1f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-23T13:25:05.849Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-23T13:25:06.166Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-23T13:25:06.475Z] + ls /var/log/sa-host [2023-10-23T13:25:06.475Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-23T13:25:06.618Z] provisioning config files... [2023-10-23T13:25:06.625Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-236@tmp/config13942526483499611176tmp [Pipeline] { [Pipeline] echo [2023-10-23T13:25:06.682Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:25:06.990Z] ---> create-netrc.sh [Pipeline] } [2023-10-23T13:25:07.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:25:07.435Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-23T13:25:07.465Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:25:07.773Z] ---> sudo-logs.sh [2023-10-23T13:25:07.773Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-23T13:25:07.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:25:08.162Z] ---> job-cost.sh [2023-10-23T13:25:08.163Z] lf-activate-venv: SKIPPING [2023-10-23T13:25:08.163Z] DEBUG: total: 0.2199999988079071 [2023-10-23T13:25:08.163Z] INFO: Retrieving Stack Cost... [2023-10-23T13:25:08.421Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-23T13:25:08.989Z] INFO: Archiving Costs [Pipeline] echo [2023-10-23T13:25:09.022Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-23T13:25:09.333Z] ---> logs-deploy.sh [2023-10-23T13:25:09.333Z] lf-activate-venv: SKIPPING [2023-10-23T13:25:09.333Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-236/1 [2023-10-23T13:25:09.333Z] INFO: archiving workspace using pattern(s): [2023-10-23T13:25:10.272Z] Archives upload complete. [2023-10-23T13:25:10.272Z] INFO: archiving logs to Nexus