Pull request #163 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954+0370fe2059bad325f9c903388f854f49bb598ddd (6b3103f1c06fdd6363f98b29aae5adc9f5599941) 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-ssh17551667345808797716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14661422274361233207.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-163/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-163/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12737174825416824896.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-163/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3510394298771434105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12443619863473218860.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-163/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-163/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13437292090783886344.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4408 in /w/workspace/y_app-rfid-llrp-inventory_PR-163 [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-163 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0370fe2059bad325f9c903388f854f49bb598ddd into PR head commit 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 Merge succeeded, producing 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 Checking out Revision 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 (PR-163) > git config core.sparsecheckout # timeout=10 > git checkout -f 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 # 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 0370fe2059bad325f9c903388f854f49bb598ddd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T14:40:35.884Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T14:40:36.043Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T14:40:36.127Z] ========================================================= [2023-03-17T14:40:36.127Z] EdgeX Global Pipelines Version Info [2023-03-17T14:40:36.127Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:40:36.858Z] ------------------- [2023-03-17T14:40:36.858Z] stable info: [2023-03-17T14:40:36.858Z] ------------------- [2023-03-17T14:40:36.858Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T14:40:36.858Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T14:40:36.858Z] Message: update stable to v1.0.245 [2023-03-17T14:40:37.430Z] ------------------- [2023-03-17T14:40:37.430Z] experimental info: [2023-03-17T14:40:37.430Z] ------------------- [2023-03-17T14:40:37.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T14:40:37.430Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T14:40:37.430Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T14:40:37.724Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-03-17T14:40:37.764Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-03-17T14:40:37.804Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T14:40:37.843Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T14:40:37.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T14:40:37.926Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T14:40:37.964Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T14:40:38.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T14:40:38.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T14:40:38.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T14:40:38.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T14:40:38.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-03-17T14:40:38.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T14:40:38.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T14:40:38.289Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T14:40:38.327Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T14:40:38.368Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T14:40:38.412Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T14:40:38.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T14:40:38.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T14:40:38.543Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-17T14:40:38.586Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-17T14:40:38.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T14:40:38.668Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T14:40:38.706Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T14:40:38.752Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T14:40:38.796Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T14:40:38.839Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-163 [Pipeline] echo [2023-03-17T14:40:38.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-163 [Pipeline] echo [2023-03-17T14:40:38.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-163 [Pipeline] echo [2023-03-17T14:40:38.967Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [Pipeline] echo [2023-03-17T14:40:39.013Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21a3fe4 [Pipeline] echo [2023-03-17T14:40:39.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T14:40:39.183Z] provisioning config files... [2023-03-17T14:40:39.198Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/config5918720667530527281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:40:39.559Z] ---> docker-login.sh [2023-03-17T14:40:39.559Z] nexus3.edgexfoundry.org:10001 [2023-03-17T14:40:39.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:39.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:39.820Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:39.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:39.820Z] [2023-03-17T14:40:39.820Z] Login Succeeded [2023-03-17T14:40:39.820Z] nexus3.edgexfoundry.org:10002 [2023-03-17T14:40:39.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:40.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:40.083Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:40.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:40.083Z] [2023-03-17T14:40:40.083Z] Login Succeeded [2023-03-17T14:40:40.083Z] nexus3.edgexfoundry.org:10003 [2023-03-17T14:40:40.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:40.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:40.083Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:40.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:40.083Z] [2023-03-17T14:40:40.083Z] Login Succeeded [2023-03-17T14:40:40.083Z] nexus3.edgexfoundry.org:10004 [2023-03-17T14:40:40.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:40.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:40.343Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:40.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:40.343Z] [2023-03-17T14:40:40.343Z] Login Succeeded [2023-03-17T14:40:40.343Z] docker.io [2023-03-17T14:40:40.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:40.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:40.605Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:40.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:40.605Z] [2023-03-17T14:40:40.605Z] Login Succeeded [2023-03-17T14:40:40.605Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T14:40:40.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T14:40:41.221Z] + git rev-list -1 --merges 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954~1..21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [Pipeline] echo [2023-03-17T14:40:41.291Z] -----------> git rev-list -1 --merges 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954~1..21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [false] [Pipeline] sh [2023-03-17T14:40:41.600Z] + git log --format=format:%s -1 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [Pipeline] echo [2023-03-17T14:40:41.636Z] ========================================================= [2023-03-17T14:40:41.636Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T14:40:41.636Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T14:40:42.054Z] + git log --format=format:%s -1 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [Pipeline] echo [2023-03-17T14:40:42.084Z] [semverPrep] GIT_COMMIT: 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo [2023-03-17T14:40:42.113Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T14:40:42.502Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T14:40:42.502Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T14:40:42.502Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T14:40:42.502Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T14:40:42.502Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T14:40:42.502Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T14:40:42.502Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:40:42.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T14:40:42.977Z] [2023-03-17T14:40:42.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:40:43.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T14:40:43.354Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T14:40:43.354Z] b85a868b505f: Pulling fs layer [2023-03-17T14:40:43.354Z] e2be974225ed: Pulling fs layer [2023-03-17T14:40:43.354Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T14:40:43.354Z] 988bab9f4d93: Pulling fs layer [2023-03-17T14:40:43.354Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T14:40:43.354Z] eaf3925da568: Pulling fs layer [2023-03-17T14:40:43.354Z] bab4dde63d76: Pulling fs layer [2023-03-17T14:40:43.354Z] bde34c3a00c8: Pulling fs layer [2023-03-17T14:40:43.354Z] 988bab9f4d93: Waiting [2023-03-17T14:40:43.354Z] b352a97aabf1: Pulling fs layer [2023-03-17T14:40:43.354Z] 1469e6f7b9e6: Waiting [2023-03-17T14:40:43.354Z] 4872d77fe225: Pulling fs layer [2023-03-17T14:40:43.354Z] 5851b861e8e6: Pulling fs layer [2023-03-17T14:40:43.354Z] eaf3925da568: Waiting [2023-03-17T14:40:43.354Z] bab4dde63d76: Waiting [2023-03-17T14:40:43.354Z] bde34c3a00c8: Waiting [2023-03-17T14:40:43.354Z] 4872d77fe225: Waiting [2023-03-17T14:40:43.354Z] 5851b861e8e6: Waiting [2023-03-17T14:40:43.354Z] e2be974225ed: Verifying Checksum [2023-03-17T14:40:43.354Z] e2be974225ed: Download complete [2023-03-17T14:40:43.354Z] 988bab9f4d93: Download complete [2023-03-17T14:40:43.630Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T14:40:43.630Z] 1469e6f7b9e6: Download complete [2023-03-17T14:40:43.630Z] eaf3925da568: Download complete [2023-03-17T14:40:43.630Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T14:40:43.630Z] 339a4e72a1f5: Download complete [2023-03-17T14:40:43.630Z] bde34c3a00c8: Download complete [2023-03-17T14:40:43.630Z] b352a97aabf1: Verifying Checksum [2023-03-17T14:40:43.630Z] b352a97aabf1: Download complete [2023-03-17T14:40:43.630Z] 4872d77fe225: Verifying Checksum [2023-03-17T14:40:43.630Z] 4872d77fe225: Download complete [2023-03-17T14:40:43.630Z] 5851b861e8e6: Download complete [2023-03-17T14:40:43.630Z] b85a868b505f: Verifying Checksum [2023-03-17T14:40:43.630Z] b85a868b505f: Download complete [2023-03-17T14:40:43.891Z] bab4dde63d76: Verifying Checksum [2023-03-17T14:40:43.891Z] bab4dde63d76: Download complete [2023-03-17T14:40:45.272Z] b85a868b505f: Pull complete [2023-03-17T14:40:45.272Z] e2be974225ed: Pull complete [2023-03-17T14:40:45.533Z] 339a4e72a1f5: Pull complete [2023-03-17T14:40:45.794Z] 988bab9f4d93: Pull complete [2023-03-17T14:40:45.794Z] 1469e6f7b9e6: Pull complete [2023-03-17T14:40:46.053Z] eaf3925da568: Pull complete [2023-03-17T14:40:47.429Z] bab4dde63d76: Pull complete [2023-03-17T14:40:47.687Z] bde34c3a00c8: Pull complete [2023-03-17T14:40:47.687Z] b352a97aabf1: Pull complete [2023-03-17T14:40:47.946Z] 4872d77fe225: Pull complete [2023-03-17T14:40:47.946Z] 5851b861e8e6: Pull complete [2023-03-17T14:40:48.206Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T14:40:48.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T14:40:48.206Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:40:48.428Z] prd-ubuntu20.04-docker-8c-8g-4408 does not seem to be running inside a container [2023-03-17T14:40:48.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-163 -v /w/workspace/y_app-rfid-llrp-inventory_PR-163:/w/workspace/y_app-rfid-llrp-inventory_PR-163:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T14:40:51.225Z] $ docker top a961b32dc06bda8f6f8c097ad29d4fc72861f94637d6a9150dcde0e22f1fa0ba -eo pid,comm [2023-03-17T14:40:51.277Z] 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-03-17T14:40:51.277Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T14:40:51.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T14:40:51.395Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T14:40:51.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T14:40:51.520Z] $ docker exec a961b32dc06bda8f6f8c097ad29d4fc72861f94637d6a9150dcde0e22f1fa0ba ssh-agent [2023-03-17T14:40:51.626Z] SSH_AUTH_SOCK=/tmp/ssh-YOcdksXzEoDV/agent.31 [2023-03-17T14:40:51.626Z] SSH_AGENT_PID=37 [2023-03-17T14:40:51.632Z] Running ssh-add (command line suppressed) [2023-03-17T14:40:51.736Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/private_key_11663337850766875768.key (/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/private_key_11663337850766875768.key) [2023-03-17T14:40:51.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T14:40:52.075Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T14:40:52.103Z] $ docker exec --env ******** --env ******** a961b32dc06bda8f6f8c097ad29d4fc72861f94637d6a9150dcde0e22f1fa0ba ssh-agent -k [2023-03-17T14:40:52.207Z] unset SSH_AUTH_SOCK; [2023-03-17T14:40:52.207Z] unset SSH_AGENT_PID; [2023-03-17T14:40:52.207Z] echo Agent pid 37 killed; [2023-03-17T14:40:52.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T14:40:52.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T14:40:52.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T14:40:52.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T14:40:52.412Z] $ docker exec a961b32dc06bda8f6f8c097ad29d4fc72861f94637d6a9150dcde0e22f1fa0ba ssh-agent [2023-03-17T14:40:52.510Z] SSH_AUTH_SOCK=/tmp/ssh-XAn2SdHEU9DL/agent.69 [2023-03-17T14:40:52.510Z] SSH_AGENT_PID=75 [2023-03-17T14:40:52.514Z] Running ssh-add (command line suppressed) [2023-03-17T14:40:52.627Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/private_key_12575309925688834442.key (/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/private_key_12575309925688834442.key) [2023-03-17T14:40:52.638Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T14:40:52.970Z] + git semver init [2023-03-17T14:40:53.229Z] 2023-03-17 14:40:53,138 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T14:40:53.229Z] 2023-03-17 14:40:53,139 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver [2023-03-17T14:40:53.229Z] 2023-03-17 14:40:53,139 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver [2023-03-17T14:40:53.229Z] 2023-03-17 14:40:53,140 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-163, universal_newlines=False, shell=None, istream=None) [2023-03-17T14:40:54.163Z] 2023-03-17 14:40:54,151 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-163/.git/info/exclude [2023-03-17T14:40:54.163Z] 2023-03-17 14:40:54,152 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver/PR-163 with force:False [2023-03-17T14:40:54.163Z] 2023-03-17 14:40:54,152 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver/PR-163 [2023-03-17T14:40:54.163Z] 2023-03-17 14:40:54,156 [execute] INFO git cat-file --batch-check [2023-03-17T14:40:54.163Z] 2023-03-17 14:40:54,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T14:40:54.163Z] 2023-03-17 14:40:54,163 [execute] INFO git cat-file --batch [2023-03-17T14:40:54.163Z] 2023-03-17 14:40:54,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T14:40:54.422Z] 2023-03-17 14:40:54,168 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-163/.semver/PR-163 [2023-03-17T14:40:54.422Z] 0.0.0 [Pipeline] } [2023-03-17T14:40:54.450Z] $ docker exec --env ******** --env ******** a961b32dc06bda8f6f8c097ad29d4fc72861f94637d6a9150dcde0e22f1fa0ba ssh-agent -k [2023-03-17T14:40:54.557Z] unset SSH_AUTH_SOCK; [2023-03-17T14:40:54.558Z] unset SSH_AGENT_PID; [2023-03-17T14:40:54.558Z] echo Agent pid 75 killed; [2023-03-17T14:40:54.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T14:40:54.988Z] + git semver [Pipeline] } [2023-03-17T14:40:55.277Z] $ docker stop --time=1 a961b32dc06bda8f6f8c097ad29d4fc72861f94637d6a9150dcde0e22f1fa0ba [2023-03-17T14:40:56.535Z] $ docker rm -f --volumes a961b32dc06bda8f6f8c097ad29d4fc72861f94637d6a9150dcde0e22f1fa0ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T14:40:56.921Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T14:40:57.193Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T14:40:57.211Z] [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-03-17T14:40:57.756Z] provisioning config files... [2023-03-17T14:40:57.766Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/config16979742671429997217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:40:58.104Z] ---> docker-login.sh [2023-03-17T14:40:58.104Z] nexus3.edgexfoundry.org:10001 [2023-03-17T14:40:58.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:58.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:58.104Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:58.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:58.104Z] [2023-03-17T14:40:58.104Z] Login Succeeded [2023-03-17T14:40:58.104Z] nexus3.edgexfoundry.org:10002 [2023-03-17T14:40:58.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:58.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:58.104Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:58.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:58.104Z] [2023-03-17T14:40:58.104Z] Login Succeeded [2023-03-17T14:40:58.104Z] nexus3.edgexfoundry.org:10003 [2023-03-17T14:40:58.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:58.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:58.364Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:58.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:58.364Z] [2023-03-17T14:40:58.364Z] Login Succeeded [2023-03-17T14:40:58.364Z] nexus3.edgexfoundry.org:10004 [2023-03-17T14:40:58.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:58.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:58.364Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:58.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:58.364Z] [2023-03-17T14:40:58.364Z] Login Succeeded [2023-03-17T14:40:58.364Z] docker.io [2023-03-17T14:40:58.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:40:58.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:40:58.623Z] Configure a credential helper to remove this warning. See [2023-03-17T14:40:58.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:40:58.623Z] [2023-03-17T14:40:58.623Z] Login Succeeded [2023-03-17T14:40:58.623Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T14:40:58.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T14:40:58.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T14:40:58.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T14:40:58.901Z] ========================================================= [2023-03-17T14:40:58.901Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T14:40:58.901Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:40:59.365Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T14:40:59.365Z] Sending build context to Docker daemon 12.59MB [2023-03-17T14:40:59.365Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T14:40:59.365Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-17T14:40:59.644Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T14:40:59.644Z] 63b65145d645: Pulling fs layer [2023-03-17T14:40:59.644Z] a2d21d5440eb: Pulling fs layer [2023-03-17T14:40:59.644Z] 935e6c44a52c: Pulling fs layer [2023-03-17T14:40:59.644Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T14:40:59.644Z] 30dea6a524f1: Pulling fs layer [2023-03-17T14:40:59.644Z] a2aff8979fd8: Pulling fs layer [2023-03-17T14:40:59.644Z] 6808be2612f2: Pulling fs layer [2023-03-17T14:40:59.644Z] f25807f1079a: Pulling fs layer [2023-03-17T14:40:59.644Z] 30dea6a524f1: Waiting [2023-03-17T14:40:59.644Z] a2aff8979fd8: Waiting [2023-03-17T14:40:59.644Z] 6808be2612f2: Waiting [2023-03-17T14:40:59.644Z] f25807f1079a: Waiting [2023-03-17T14:40:59.644Z] 94cc34f8dd06: Waiting [2023-03-17T14:40:59.644Z] a2d21d5440eb: Download complete [2023-03-17T14:40:59.644Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T14:40:59.644Z] 94cc34f8dd06: Download complete [2023-03-17T14:40:59.644Z] 30dea6a524f1: Verifying Checksum [2023-03-17T14:40:59.644Z] 30dea6a524f1: Download complete [2023-03-17T14:40:59.644Z] 63b65145d645: Verifying Checksum [2023-03-17T14:40:59.644Z] 63b65145d645: Download complete [2023-03-17T14:40:59.644Z] a2aff8979fd8: Verifying Checksum [2023-03-17T14:40:59.644Z] a2aff8979fd8: Download complete [2023-03-17T14:40:59.929Z] 63b65145d645: Pull complete [2023-03-17T14:40:59.929Z] a2d21d5440eb: Pull complete [2023-03-17T14:41:00.196Z] f25807f1079a: Verifying Checksum [2023-03-17T14:41:00.196Z] f25807f1079a: Download complete [2023-03-17T14:41:00.457Z] 935e6c44a52c: Verifying Checksum [2023-03-17T14:41:00.457Z] 935e6c44a52c: Download complete [2023-03-17T14:41:00.716Z] 6808be2612f2: Verifying Checksum [2023-03-17T14:41:00.716Z] 6808be2612f2: Download complete [2023-03-17T14:41:04.009Z] 935e6c44a52c: Pull complete [2023-03-17T14:41:04.009Z] 94cc34f8dd06: Pull complete [2023-03-17T14:41:04.009Z] 30dea6a524f1: Pull complete [2023-03-17T14:41:04.009Z] a2aff8979fd8: Pull complete [2023-03-17T14:41:06.542Z] 6808be2612f2: Pull complete [2023-03-17T14:41:07.108Z] f25807f1079a: Pull complete [2023-03-17T14:41:07.108Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T14:41:07.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T14:41:07.108Z] ---> 3b553350e43f [2023-03-17T14:41:07.108Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T14:41:11.296Z] ---> Running in 3be8d96b5181 [2023-03-17T14:41:11.296Z] Removing intermediate container 3be8d96b5181 [2023-03-17T14:41:11.296Z] ---> f26035dd75b9 [2023-03-17T14:41:11.296Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T14:41:11.296Z] ---> Running in dfdcc31e0677 [2023-03-17T14:41:11.555Z] Removing intermediate container dfdcc31e0677 [2023-03-17T14:41:11.555Z] ---> 9fbd1259e144 [2023-03-17T14:41:11.555Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-17T14:41:11.555Z] ---> Running in ef8c2d1a817c [2023-03-17T14:41:11.555Z] Removing intermediate container ef8c2d1a817c [2023-03-17T14:41:11.555Z] ---> 5338af0d7309 [2023-03-17T14:41:11.555Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T14:41:11.555Z] ---> Running in 3ed8eacba806 [2023-03-17T14:41:12.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T14:41:12.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T14:41:12.383Z] OK: 265 MiB in 53 packages [2023-03-17T14:41:12.596Z] Still waiting to schedule task [2023-03-17T14:41:12.596Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T14:41:12.643Z] Removing intermediate container 3ed8eacba806 [2023-03-17T14:41:12.643Z] ---> 082a5527a23f [2023-03-17T14:41:12.643Z] Step 7/12 : WORKDIR /app [2023-03-17T14:41:12.905Z] ---> Running in 3e878d44de3b [2023-03-17T14:41:12.905Z] Removing intermediate container 3e878d44de3b [2023-03-17T14:41:12.905Z] ---> 6df142e4d5f8 [2023-03-17T14:41:12.905Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-17T14:41:12.905Z] ---> bdf9271987a7 [2023-03-17T14:41:12.905Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T14:41:13.163Z] ---> Running in bd7c6175cc98 [2023-03-17T14:41:45.337Z] Removing intermediate container bd7c6175cc98 [2023-03-17T14:41:45.337Z] ---> 515a7a1dba94 [2023-03-17T14:41:45.337Z] Step 10/12 : COPY . . [2023-03-17T14:41:45.906Z] ---> 846f7d72289b [2023-03-17T14:41:45.906Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T14:41:45.906Z] ---> Running in 45e19ea8666a [2023-03-17T14:41:45.906Z] Removing intermediate container 45e19ea8666a [2023-03-17T14:41:45.906Z] ---> 9d047d757bed [2023-03-17T14:41:45.906Z] Step 12/12 : RUN $MAKE [2023-03-17T14:41:45.906Z] ---> Running in 9c3e20c595d7 [2023-03-17T14:41:46.165Z] noop [2023-03-17T14:41:46.424Z] Removing intermediate container 9c3e20c595d7 [2023-03-17T14:41:46.424Z] ---> 0581adf2b350 [2023-03-17T14:41:46.424Z] Successfully built 0581adf2b350 [2023-03-17T14:41:46.424Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:41:46.855Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T14:41:46.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:41:46.991Z] prd-ubuntu20.04-docker-8c-8g-4408 does not seem to be running inside a container [2023-03-17T14:41:47.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-163 -v /w/workspace/y_app-rfid-llrp-inventory_PR-163:/w/workspace/y_app-rfid-llrp-inventory_PR-163:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T14:41:47.487Z] $ docker top 4fe7934dea2c3bb676cd19af4e2a6e92a54bee30f756f36019464b6735c612fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T14:41:47.980Z] + go version [2023-03-17T14:41:47.980Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T14:41:48.017Z] $ docker stop --time=1 4fe7934dea2c3bb676cd19af4e2a6e92a54bee30f756f36019464b6735c612fa [2023-03-17T14:41:49.379Z] $ docker rm -f --volumes 4fe7934dea2c3bb676cd19af4e2a6e92a54bee30f756f36019464b6735c612fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:41:50.061Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T14:41:50.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:41:50.209Z] prd-ubuntu20.04-docker-8c-8g-4408 does not seem to be running inside a container [2023-03-17T14:41:50.254Z] $ 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-163 -v /w/workspace/y_app-rfid-llrp-inventory_PR-163:/w/workspace/y_app-rfid-llrp-inventory_PR-163:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T14:41:50.676Z] $ docker top 4b5c832d0c2a1e890c739b1fb5eab2448856030c973c01f04bc9392f3b9c1756 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T14:41:51.063Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-163 [Pipeline] fileExists [Pipeline] sh [2023-03-17T14:41:51.416Z] + make test [2023-03-17T14:41:51.416Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-17T14:42:13.367Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-17T14:42:13.367Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-17T14:42:13.367Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.210s coverage: 86.2% of statements [2023-03-17T14:42:13.367Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.711s coverage: 71.9% of statements [2023-03-17T14:42:35.283Z] go vet ./... [2023-03-17T14:42:37.180Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T14:42:37.180Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T14:42:37.180Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-17T14:42:37.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T14:42:37.249Z] $ docker stop --time=1 4b5c832d0c2a1e890c739b1fb5eab2448856030c973c01f04bc9392f3b9c1756 [2023-03-17T14:42:41.616Z] $ docker rm -f --volumes 4b5c832d0c2a1e890c739b1fb5eab2448856030c973c01f04bc9392f3b9c1756 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T14:42:42.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T14:42:42.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T14:42:43.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T14:42:43.270Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4410 in /w/workspace/y_app-rfid-llrp-inventory_PR-163 [Pipeline] { [Pipeline] ws [2023-03-17T14:42:43.345Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-03-17T14:42:43.417Z] The recommended git tool is: git [2023-03-17T14:42:43.514Z] + ls -al . [2023-03-17T14:42:43.514Z] total 228 [2023-03-17T14:42:43.514Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 14:41 . [2023-03-17T14:42:43.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:40 .. [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 17 14:40 .dockerignore [2023-03-17T14:42:43.514Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:40 .git [2023-03-17T14:42:43.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:40 .github [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 17 14:40 .gitignore [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 14:40 .golangci.yml [2023-03-17T14:42:43.514Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 14:40 .semver [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 17 14:40 Attribution.txt [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 17 14:40 CHANGELOG.md [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 17 14:40 Dockerfile [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:40 GOVERNANCE.md [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 17 14:40 Jenkinsfile [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 17 14:40 LICENSE [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 17 14:40 Makefile [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 17 14:40 OWNERS.md [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 17 14:40 README.md [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 14:40 VERSION [2023-03-17T14:42:43.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:40 bin [2023-03-17T14:42:43.514Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 17 14:42 coverage.out [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 17 14:40 go.mod [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 17 14:40 go.sum [2023-03-17T14:42:43.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:40 images [2023-03-17T14:42:43.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:40 internal [2023-03-17T14:42:43.514Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 17 14:40 main.go [2023-03-17T14:42:43.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:40 res [2023-03-17T14:42:43.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:40 snap [2023-03-17T14:42:43.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:40 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:42:43.912Z] + 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=21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 --label arch=amd64 --label version=0.0.0 . [2023-03-17T14:42:43.912Z] Sending build context to Docker daemon 12.59MB [2023-03-17T14:42:43.912Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T14:42:43.912Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-17T14:42:43.912Z] ---> 0581adf2b350 [2023-03-17T14:42:43.912Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T14:42:44.170Z] ---> Running in bd6d59c9945d [2023-03-17T14:42:44.170Z] Removing intermediate container bd6d59c9945d [2023-03-17T14:42:44.170Z] ---> 8d1552d9f7d9 [2023-03-17T14:42:44.170Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T14:42:44.170Z] ---> Running in c5250c50596a [2023-03-17T14:42:44.170Z] Removing intermediate container c5250c50596a [2023-03-17T14:42:44.170Z] ---> 2eef99a93406 [2023-03-17T14:42:44.170Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-17T14:42:44.170Z] ---> Running in fc1c086373c0 [2023-03-17T14:42:44.428Z] Removing intermediate container fc1c086373c0 [2023-03-17T14:42:44.428Z] ---> 8d627b8a5a49 [2023-03-17T14:42:44.428Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T14:42:44.428Z] ---> Running in ce58df78f2c8 [2023-03-17T14:42:44.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T14:42:44.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T14:42:44.945Z] OK: 265 MiB in 53 packages [2023-03-17T14:42:45.204Z] Removing intermediate container ce58df78f2c8 [2023-03-17T14:42:45.204Z] ---> 47a2827ae992 [2023-03-17T14:42:45.204Z] Step 7/29 : WORKDIR /app [2023-03-17T14:42:45.204Z] ---> Running in 7b51c9f5d5ea [2023-03-17T14:42:45.463Z] Removing intermediate container 7b51c9f5d5ea [2023-03-17T14:42:45.463Z] ---> cd3cf7629236 [2023-03-17T14:42:45.463Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-17T14:42:45.463Z] ---> e107002870ac [2023-03-17T14:42:45.463Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T14:42:45.463Z] ---> Running in a2cc1cb24b84 [2023-03-17T14:42:46.398Z] Removing intermediate container a2cc1cb24b84 [2023-03-17T14:42:46.398Z] ---> 69a32767a04b [2023-03-17T14:42:46.398Z] Step 10/29 : COPY . . [2023-03-17T14:42:46.986Z] ---> 25e4678c935e [2023-03-17T14:42:46.986Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T14:42:46.986Z] ---> Running in adc8e1394566 [2023-03-17T14:42:46.986Z] Removing intermediate container adc8e1394566 [2023-03-17T14:42:46.986Z] ---> 4103a12a9eb0 [2023-03-17T14:42:46.986Z] Step 12/29 : RUN $MAKE [2023-03-17T14:42:46.986Z] ---> Running in a7310326c2d9 [2023-03-17T14:42:47.252Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -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-03-17T14:42:48.116Z] using credential edgex-jenkins-ssh [2023-03-17T14:42:48.136Z] Cloning the remote Git repository [2023-03-17T14:42:48.179Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-17T14:42:48.266Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-03-17T14:42:48.393Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-17T14:42:48.394Z] > git --version # timeout=10 [2023-03-17T14:42:48.412Z] > git --version # 'git version 2.25.1' [2023-03-17T14:42:48.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T14:42:48.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T14:42:50.597Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-17T14:42:50.623Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T14:42:52.139Z] Merging remotes/origin/main commit 0370fe2059bad325f9c903388f854f49bb598ddd into PR head commit 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [2023-03-17T14:42:51.465Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-17T14:42:51.515Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-17T14:42:51.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T14:42:51.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T14:42:52.476Z] Merge succeeded, producing 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [2023-03-17T14:42:52.477Z] Checking out Revision 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 (PR-163) [2023-03-17T14:42:52.165Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T14:42:52.255Z] > git checkout -f 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 # timeout=10 [2023-03-17T14:42:52.351Z] > git remote # timeout=10 [2023-03-17T14:42:52.370Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T14:42:52.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T14:42:52.414Z] > git merge 0370fe2059bad325f9c903388f854f49bb598ddd # timeout=10 [2023-03-17T14:42:52.444Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T14:42:52.486Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T14:42:52.502Z] > git checkout -f 21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 # timeout=10 [2023-03-17T14:42:55.985Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [2023-03-17T14:42:56.032Z] > git --version # timeout=10 [2023-03-17T14:42:56.043Z] > git --version # 'git version 2.25.1' [2023-03-17T14:42:56.061Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T14:42:57.250Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T14:42:57.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T14:42:57.250Z] Dload Upload Total Spent Left Speed [2023-03-17T14:42:57.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-03-17T14:42:57.948Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T14:42:58.296Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T14:42:58.296Z] + sudo tee /etc/docker/daemon.new [2023-03-17T14:42:58.296Z] { [2023-03-17T14:42:58.296Z] "registry-mirrors": [ [2023-03-17T14:42:58.296Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T14:42:58.296Z] ], [2023-03-17T14:42:58.296Z] "bip": "10.250.0.254/24", [2023-03-17T14:42:58.296Z] "hosts": [ [2023-03-17T14:42:58.296Z] "tcp://0.0.0.0:5555", [2023-03-17T14:42:58.296Z] "unix:///var/run/docker.sock" [2023-03-17T14:42:58.296Z] ], [2023-03-17T14:42:58.296Z] "mtu": 1458, [2023-03-17T14:42:58.296Z] "selinux-enabled": true, [2023-03-17T14:42:58.296Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T14:42:58.296Z] } [Pipeline] sh [2023-03-17T14:42:58.646Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T14:42:59.001Z] + sudo service docker restart [2023-03-17T14:43:09.212Z] Removing intermediate container a7310326c2d9 [2023-03-17T14:43:09.212Z] ---> d0ddfed5c8b7 [2023-03-17T14:43:09.212Z] Step 13/29 : FROM alpine:3.17 [2023-03-17T14:43:09.212Z] 3.17: Pulling from library/alpine [2023-03-17T14:43:09.212Z] 63b65145d645: Already exists [2023-03-17T14:43:09.212Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T14:43:09.212Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T14:43:09.212Z] ---> b2aa39c304c2 [2023-03-17T14:43:09.212Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T14:43:09.212Z] ---> Running in 8fa0e966fd59 [2023-03-17T14:43:09.212Z] Removing intermediate container 8fa0e966fd59 [2023-03-17T14:43:09.212Z] ---> 97d4d9369838 [2023-03-17T14:43:09.212Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-17T14:43:09.212Z] ---> Running in 89e1d2fa87f8 [2023-03-17T14:43:09.212Z] Removing intermediate container 89e1d2fa87f8 [2023-03-17T14:43:09.212Z] ---> d9601642a0f5 [2023-03-17T14:43:09.212Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-17T14:43:09.212Z] ---> Running in f333149bfecf [2023-03-17T14:43:09.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T14:43:09.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T14:43:09.212Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-17T14:43:09.212Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-17T14:43:09.212Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T14:43:09.212Z] Executing ca-certificates-20220614-r4.trigger [2023-03-17T14:43:09.212Z] OK: 8 MiB in 17 packages [2023-03-17T14:43:09.212Z] Removing intermediate container f333149bfecf [2023-03-17T14:43:09.212Z] ---> 456c22eda1d3 [2023-03-17T14:43:09.212Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-17T14:43:09.212Z] ---> 3a3654ff67f9 [2023-03-17T14:43:09.212Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-17T14:43:09.212Z] ---> c82f8f293000 [2023-03-17T14:43:09.212Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-17T14:43:09.212Z] ---> e99d471ceca1 [2023-03-17T14:43:09.212Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-17T14:43:09.212Z] ---> 50c2b8d5c18d [2023-03-17T14:43:09.212Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-17T14:43:09.471Z] ---> 21daeec66e05 [2023-03-17T14:43:09.471Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-17T14:43:09.471Z] ---> Running in 90f4393f26b1 [2023-03-17T14:43:10.036Z] Removing intermediate container 90f4393f26b1 [2023-03-17T14:43:10.036Z] ---> d46df460eb8d [2023-03-17T14:43:10.036Z] Step 23/29 : VOLUME /cache [2023-03-17T14:43:10.036Z] ---> Running in ea5ec680cb10 [2023-03-17T14:43:10.036Z] Removing intermediate container ea5ec680cb10 [2023-03-17T14:43:10.036Z] ---> d9bf71fdc16a [2023-03-17T14:43:10.036Z] Step 24/29 : EXPOSE 59711 [2023-03-17T14:43:10.036Z] ---> Running in bee20e75902e [2023-03-17T14:43:10.300Z] Removing intermediate container bee20e75902e [2023-03-17T14:43:10.300Z] ---> 08b590b3062c [2023-03-17T14:43:10.300Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-17T14:43:10.300Z] ---> Running in dc0e13671108 [2023-03-17T14:43:10.300Z] Removing intermediate container dc0e13671108 [2023-03-17T14:43:10.300Z] ---> f788df58702c [2023-03-17T14:43:10.300Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-17T14:43:10.300Z] ---> Running in c48b4c2fe1d0 [2023-03-17T14:43:10.300Z] Removing intermediate container c48b4c2fe1d0 [2023-03-17T14:43:10.300Z] ---> b1d7f581e2d0 [2023-03-17T14:43:10.300Z] Step 27/29 : LABEL arch=amd64 [2023-03-17T14:43:11.234Z] ---> Running in 38d423b1495e [2023-03-17T14:43:11.235Z] Removing intermediate container 38d423b1495e [2023-03-17T14:43:11.235Z] ---> a0121937e923 [2023-03-17T14:43:11.235Z] Step 28/29 : LABEL git_sha=21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [2023-03-17T14:43:11.235Z] ---> Running in 77c70a9013e4 [2023-03-17T14:43:11.235Z] Removing intermediate container 77c70a9013e4 [2023-03-17T14:43:11.235Z] ---> 6cc3ba7b961f [2023-03-17T14:43:11.235Z] Step 29/29 : LABEL version=0.0.0 [2023-03-17T14:43:11.235Z] ---> Running in f655d85674e7 [2023-03-17T14:43:11.235Z] Removing intermediate container f655d85674e7 [2023-03-17T14:43:11.235Z] ---> c0d98a0252af [2023-03-17T14:43:11.235Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T14:43:11.235Z] Successfully built c0d98a0252af [2023-03-17T14:43:11.235Z] 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-03-17T14:43:12.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T14:43:12.072Z] [2023-03-17T14:43:12.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:43:12.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T14:43:12.458Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T14:43:12.458Z] 5eb5b503b376: Pulling fs layer [2023-03-17T14:43:12.458Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T14:43:12.458Z] ec43610c2a17: Pulling fs layer [2023-03-17T14:43:12.458Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T14:43:12.458Z] 33b1e0a273af: Pulling fs layer [2023-03-17T14:43:12.458Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T14:43:12.458Z] 3a2ae6a8a46f: Waiting [2023-03-17T14:43:12.458Z] 33b1e0a273af: Waiting [2023-03-17T14:43:12.458Z] 2f39f015ded8: Pulling fs layer [2023-03-17T14:43:12.458Z] 5d3b04190fa2: Waiting [2023-03-17T14:43:12.458Z] 2f39f015ded8: Waiting [2023-03-17T14:43:12.458Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T14:43:12.458Z] 5c69ac0246d0: Download complete [2023-03-17T14:43:12.458Z] 3a2ae6a8a46f: Download complete [2023-03-17T14:43:12.719Z] 33b1e0a273af: Verifying Checksum [2023-03-17T14:43:12.719Z] 33b1e0a273af: Download complete [2023-03-17T14:43:12.719Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T14:43:12.719Z] ec43610c2a17: Verifying Checksum [2023-03-17T14:43:12.719Z] ec43610c2a17: Download complete [2023-03-17T14:43:12.719Z] 5eb5b503b376: Verifying Checksum [2023-03-17T14:43:12.719Z] 5eb5b503b376: Download complete [2023-03-17T14:43:13.284Z] 2f39f015ded8: Download complete [2023-03-17T14:43:13.851Z] 5eb5b503b376: Pull complete [2023-03-17T14:43:14.109Z] 5c69ac0246d0: Pull complete [2023-03-17T14:43:14.675Z] ec43610c2a17: Pull complete [2023-03-17T14:43:14.675Z] 3a2ae6a8a46f: Pull complete [2023-03-17T14:43:14.933Z] 33b1e0a273af: Pull complete [2023-03-17T14:43:14.933Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T14:43:17.324Z] provisioning config files... [2023-03-17T14:43:17.352Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config13505382705980436658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:43:17.736Z] ---> docker-login.sh [2023-03-17T14:43:17.736Z] nexus3.edgexfoundry.org:10001 [2023-03-17T14:43:18.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:43:18.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:43:18.323Z] Configure a credential helper to remove this warning. See [2023-03-17T14:43:18.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:43:18.323Z] [2023-03-17T14:43:18.323Z] Login Succeeded [2023-03-17T14:43:18.323Z] nexus3.edgexfoundry.org:10002 [2023-03-17T14:43:18.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:43:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:43:18.860Z] Configure a credential helper to remove this warning. See [2023-03-17T14:43:18.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:43:18.860Z] [2023-03-17T14:43:18.860Z] Login Succeeded [2023-03-17T14:43:18.860Z] nexus3.edgexfoundry.org:10003 [2023-03-17T14:43:18.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:43:19.118Z] 2f39f015ded8: Pull complete [2023-03-17T14:43:19.118Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T14:43:19.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T14:43:19.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T14:43:19.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:43:19.130Z] Configure a credential helper to remove this warning. See [2023-03-17T14:43:19.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:43:19.130Z] [2023-03-17T14:43:19.130Z] Login Succeeded [2023-03-17T14:43:19.130Z] nexus3.edgexfoundry.org:10004 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:43:19.367Z] prd-ubuntu20.04-docker-8c-8g-4408 does not seem to be running inside a container [2023-03-17T14:43:19.403Z] $ 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-163 -v /w/workspace/y_app-rfid-llrp-inventory_PR-163:/w/workspace/y_app-rfid-llrp-inventory_PR-163:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T14:43:19.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:43:19.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:43:19.402Z] Configure a credential helper to remove this warning. See [2023-03-17T14:43:19.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:43:19.402Z] [2023-03-17T14:43:19.402Z] Login Succeeded [2023-03-17T14:43:19.402Z] docker.io [2023-03-17T14:43:19.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T14:43:19.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T14:43:19.938Z] Configure a credential helper to remove this warning. See [2023-03-17T14:43:19.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T14:43:19.938Z] [2023-03-17T14:43:19.938Z] Login Succeeded [2023-03-17T14:43:19.938Z] ---> docker-login.sh ends [2023-03-17T14:43:23.566Z] $ docker top 97c9b897756d25a05f9a76ef24f46c13ad9d6d89ba55c962b340d8385f2537da -eo pid,comm [Pipeline] { [Pipeline] } [2023-03-17T14:43:23.716Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-03-17T14:43:24.112Z] ---> job-cost.sh [2023-03-17T14:43:24.112Z] lf-activate-venv: SKIPPING [2023-03-17T14:43:24.112Z] INFO: No Stack... [Pipeline] echo [2023-03-17T14:43:24.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T14:43:24.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T14:43:24.253Z] ========================================================= [2023-03-17T14:43:24.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T14:43:24.253Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [2023-03-17T14:43:24.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:43:24.629Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T14:43:24.769Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T14:43:24.942Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-163/archives/cost.csv [2023-03-17T14:43:24.942Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T14:43:24.981Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] [2023-03-17T14:43:24.986Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] did not exist. Created. [2023-03-17T14:43:24.986Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-03-17T14:43:25.041Z] Sending build context to Docker daemon 677.9kB [2023-03-17T14:43:25.041Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T14:43:25.041Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-17T14:43:25.041Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T14:43:25.041Z] af6eaf76a39c: Pulling fs layer [2023-03-17T14:43:25.041Z] 55522c791124: Pulling fs layer [2023-03-17T14:43:25.041Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T14:43:25.041Z] 169dfbe0d373: Pulling fs layer [2023-03-17T14:43:25.041Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T14:43:25.041Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T14:43:25.041Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T14:43:25.041Z] 169dfbe0d373: Waiting [2023-03-17T14:43:25.041Z] e1ff8fa3b103: Waiting [2023-03-17T14:43:25.041Z] 5abe8eddf0d5: Waiting [2023-03-17T14:43:25.041Z] 52ebb69f0ebf: Waiting [Pipeline] sh [2023-03-17T14:43:25.310Z] 55522c791124: Download complete [2023-03-17T14:43:25.310Z] 169dfbe0d373: Verifying Checksum [2023-03-17T14:43:25.310Z] 169dfbe0d373: Download complete [2023-03-17T14:43:25.310Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T14:43:25.310Z] e1ff8fa3b103: Download complete [2023-03-17T14:43:25.310Z] af6eaf76a39c: Verifying Checksum [2023-03-17T14:43:25.310Z] af6eaf76a39c: Download complete [2023-03-17T14:43:25.405Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T14:43:25.483Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T14:43:25.528Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T14:43:25.615Z] $ docker stop --time=1 97c9b897756d25a05f9a76ef24f46c13ad9d6d89ba55c962b340d8385f2537da [2023-03-17T14:43:26.274Z] af6eaf76a39c: Pull complete [2023-03-17T14:43:26.550Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T14:43:26.550Z] 5abe8eddf0d5: Download complete [2023-03-17T14:43:26.820Z] $ docker rm -f --volumes 97c9b897756d25a05f9a76ef24f46c13ad9d6d89ba55c962b340d8385f2537da [2023-03-17T14:43:26.820Z] 55522c791124: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T14:43:27.783Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T14:43:27.783Z] ce5c4a1c91eb: Download complete [2023-03-17T14:43:27.783Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T14:43:27.783Z] 52ebb69f0ebf: Download complete [2023-03-17T14:43:40.144Z] ce5c4a1c91eb: Pull complete [2023-03-17T14:43:40.144Z] 169dfbe0d373: Pull complete [2023-03-17T14:43:40.144Z] e1ff8fa3b103: Pull complete [2023-03-17T14:43:46.811Z] 52ebb69f0ebf: Pull complete [2023-03-17T14:43:48.766Z] 5abe8eddf0d5: Pull complete [2023-03-17T14:43:48.767Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T14:43:48.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T14:43:48.767Z] ---> 6cb57ee374ae [2023-03-17T14:43:48.767Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T14:43:49.822Z] ---> Running in 096ea1e3ce7e [2023-03-17T14:43:50.089Z] Removing intermediate container 096ea1e3ce7e [2023-03-17T14:43:50.089Z] ---> cb231a6abd5c [2023-03-17T14:43:50.089Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T14:43:50.089Z] ---> Running in 23bcc61f1788 [2023-03-17T14:43:50.358Z] Removing intermediate container 23bcc61f1788 [2023-03-17T14:43:50.358Z] ---> 1ac98722260d [2023-03-17T14:43:50.358Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-17T14:43:50.627Z] ---> Running in 8e23ac443dbc [2023-03-17T14:43:50.896Z] Removing intermediate container 8e23ac443dbc [2023-03-17T14:43:50.896Z] ---> 8a2d40ffd9b5 [2023-03-17T14:43:50.896Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T14:43:50.896Z] ---> Running in 4a7a8a46dff3 [2023-03-17T14:43:51.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T14:43:52.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T14:43:53.405Z] OK: 263 MiB in 53 packages [2023-03-17T14:43:54.369Z] Removing intermediate container 4a7a8a46dff3 [2023-03-17T14:43:54.369Z] ---> cc82b740dd25 [2023-03-17T14:43:54.369Z] Step 7/12 : WORKDIR /app [2023-03-17T14:43:54.369Z] ---> Running in 2d984196c7ce [2023-03-17T14:43:54.639Z] Removing intermediate container 2d984196c7ce [2023-03-17T14:43:54.639Z] ---> b6241ba02f83 [2023-03-17T14:43:54.639Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-17T14:43:55.226Z] ---> 2e3b5ecc2600 [2023-03-17T14:43:55.226Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T14:43:55.226Z] ---> Running in 91c5af6d8d9a [2023-03-17T14:45:03.114Z] Removing intermediate container 91c5af6d8d9a [2023-03-17T14:45:03.114Z] ---> a2cca7b52028 [2023-03-17T14:45:03.114Z] Step 10/12 : COPY . . [2023-03-17T14:45:03.114Z] ---> 55f49f4d45f4 [2023-03-17T14:45:03.114Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T14:45:03.114Z] ---> Running in f3820c371378 [2023-03-17T14:45:03.114Z] Removing intermediate container f3820c371378 [2023-03-17T14:45:03.114Z] ---> a45c232a807b [2023-03-17T14:45:03.114Z] Step 12/12 : RUN $MAKE [2023-03-17T14:45:03.114Z] ---> Running in babbc4a10c87 [2023-03-17T14:45:03.114Z] noop [2023-03-17T14:45:03.114Z] Removing intermediate container babbc4a10c87 [2023-03-17T14:45:03.114Z] ---> b923627c75a1 [2023-03-17T14:45:03.114Z] Successfully built b923627c75a1 [2023-03-17T14:45:03.114Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:45:03.590Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T14:45:03.590Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:45:03.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-4410 does not seem to be running inside a container [2023-03-17T14:45:03.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T14:45:05.073Z] $ docker top a3a283c57a7db989da43c1f50a8742fa19b0b678b9127591975c00af613ce6df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T14:45:05.934Z] + go version [2023-03-17T14:45:05.934Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T14:45:05.974Z] $ docker stop --time=1 a3a283c57a7db989da43c1f50a8742fa19b0b678b9127591975c00af613ce6df [2023-03-17T14:45:07.508Z] $ docker rm -f --volumes a3a283c57a7db989da43c1f50a8742fa19b0b678b9127591975c00af613ce6df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:45:08.337Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T14:45:08.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:45:08.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-4410 does not seem to be running inside a container [2023-03-17T14:45:08.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T14:45:09.737Z] $ docker top e05801c20bb4cd66df9cfd556f808d980978645514d5cf5ef0519e5527d458a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T14:45:10.264Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-03-17T14:45:10.646Z] + make test [2023-03-17T14:45:10.646Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-17T14:47:47.357Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-17T14:47:57.430Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-17T14:47:58.019Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.155s coverage: 86.2% of statements [2023-03-17T14:48:10.343Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.568s coverage: 71.9% of statements [2023-03-17T14:48:10.343Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-17T14:48:10.343Z] go vet ./... [2023-03-17T14:50:32.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T14:50:32.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T14:50:32.069Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-17T14:50:32.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T14:50:32.146Z] $ docker stop --time=1 e05801c20bb4cd66df9cfd556f808d980978645514d5cf5ef0519e5527d458a2 [2023-03-17T14:50:33.992Z] $ docker rm -f --volumes e05801c20bb4cd66df9cfd556f808d980978645514d5cf5ef0519e5527d458a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T14:50:35.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T14:50:35.570Z] Warning: overwriting stash ‘coverage-report’ [2023-03-17T14:50:36.063Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T14:50:36.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T14:50:37.075Z] + ls -al . [2023-03-17T14:50:37.075Z] total 224 [2023-03-17T14:50:37.075Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 14:45 . [2023-03-17T14:50:37.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:42 .. [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 17 14:42 .dockerignore [2023-03-17T14:50:37.075Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:42 .git [2023-03-17T14:50:37.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:42 .github [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 17 14:42 .gitignore [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 14:42 .golangci.yml [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 17 14:42 Attribution.txt [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 17 14:42 CHANGELOG.md [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 17 14:42 Dockerfile [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:42 GOVERNANCE.md [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 17 14:42 Jenkinsfile [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 17 14:42 LICENSE [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 17 14:42 Makefile [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 17 14:42 OWNERS.md [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 17 14:42 README.md [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 14:40 VERSION [2023-03-17T14:50:37.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:42 bin [2023-03-17T14:50:37.075Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 17 14:48 coverage.out [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 17 14:42 go.mod [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 17 14:42 go.sum [2023-03-17T14:50:37.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:42 images [2023-03-17T14:50:37.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:42 internal [2023-03-17T14:50:37.075Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 17 14:42 main.go [2023-03-17T14:50:37.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:42 res [2023-03-17T14:50:37.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:42 snap [2023-03-17T14:50:37.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:42 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:50:37.526Z] + 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=21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 --label arch=arm64 --label version=0.0.0 . [2023-03-17T14:50:37.794Z] Sending build context to Docker daemon 677.9kB [2023-03-17T14:50:37.794Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T14:50:37.794Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-17T14:50:37.794Z] ---> b923627c75a1 [2023-03-17T14:50:37.794Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T14:50:37.794Z] ---> Running in 07fc10fe7fb4 [2023-03-17T14:50:38.072Z] Removing intermediate container 07fc10fe7fb4 [2023-03-17T14:50:38.072Z] ---> 4b97d034a047 [2023-03-17T14:50:38.072Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T14:50:38.072Z] ---> Running in 1f70e9c0970b [2023-03-17T14:50:38.340Z] Removing intermediate container 1f70e9c0970b [2023-03-17T14:50:38.340Z] ---> 6d59beaab49e [2023-03-17T14:50:38.340Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-17T14:50:38.604Z] ---> Running in 6fb8dbe9e15a [2023-03-17T14:50:38.604Z] Removing intermediate container 6fb8dbe9e15a [2023-03-17T14:50:38.605Z] ---> 4997f36a8193 [2023-03-17T14:50:38.605Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T14:50:38.873Z] ---> Running in 3bfc38226dc5 [2023-03-17T14:50:39.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T14:50:40.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T14:50:41.375Z] OK: 263 MiB in 53 packages [2023-03-17T14:50:43.307Z] Removing intermediate container 3bfc38226dc5 [2023-03-17T14:50:43.307Z] ---> 0e2ad87c0318 [2023-03-17T14:50:43.307Z] Step 7/29 : WORKDIR /app [2023-03-17T14:50:43.307Z] ---> Running in 54b0d8816a5e [2023-03-17T14:50:43.572Z] Removing intermediate container 54b0d8816a5e [2023-03-17T14:50:43.572Z] ---> 2e2ed65f2dfe [2023-03-17T14:50:43.572Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-17T14:50:44.151Z] ---> 7d8badbe7585 [2023-03-17T14:50:44.151Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T14:50:44.151Z] ---> Running in 213668e36ba9 [2023-03-17T14:50:46.730Z] Removing intermediate container 213668e36ba9 [2023-03-17T14:50:46.730Z] ---> 17fa2b21ffff [2023-03-17T14:50:46.730Z] Step 10/29 : COPY . . [2023-03-17T14:50:46.997Z] ---> 1dbafb7ad88f [2023-03-17T14:50:46.997Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T14:50:47.264Z] ---> Running in 50d41ef2038e [2023-03-17T14:50:47.530Z] Removing intermediate container 50d41ef2038e [2023-03-17T14:50:47.530Z] ---> 26f87e0050b1 [2023-03-17T14:50:47.530Z] Step 12/29 : RUN $MAKE [2023-03-17T14:50:47.530Z] ---> Running in 2530e8c9cfd9 [2023-03-17T14:50:48.488Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -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-03-17T14:52:55.149Z] Removing intermediate container 2530e8c9cfd9 [2023-03-17T14:52:55.149Z] ---> ce4f12a52ef8 [2023-03-17T14:52:55.149Z] Step 13/29 : FROM alpine:3.17 [2023-03-17T14:52:55.149Z] 3.17: Pulling from library/alpine [2023-03-17T14:52:55.149Z] af6eaf76a39c: Already exists [2023-03-17T14:52:55.149Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T14:52:55.149Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T14:52:55.149Z] ---> d74e625d9115 [2023-03-17T14:52:55.149Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T14:52:55.149Z] ---> Running in 18a30532c176 [2023-03-17T14:52:55.149Z] Removing intermediate container 18a30532c176 [2023-03-17T14:52:55.149Z] ---> 0d8e454eeb58 [2023-03-17T14:52:55.149Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-17T14:52:55.149Z] ---> Running in 62c0812ac0a6 [2023-03-17T14:52:55.149Z] Removing intermediate container 62c0812ac0a6 [2023-03-17T14:52:55.149Z] ---> 9917427944c9 [2023-03-17T14:52:55.149Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-17T14:52:55.149Z] ---> Running in ca274ee7a8cd [2023-03-17T14:52:55.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T14:52:55.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T14:52:55.149Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-17T14:52:55.149Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-17T14:52:55.149Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T14:52:55.149Z] Executing ca-certificates-20220614-r4.trigger [2023-03-17T14:52:55.149Z] OK: 8 MiB in 17 packages [2023-03-17T14:52:55.416Z] Removing intermediate container ca274ee7a8cd [2023-03-17T14:52:55.416Z] ---> e1dd60d02d7a [2023-03-17T14:52:55.416Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-17T14:52:55.998Z] ---> 84f0c6afdf3b [2023-03-17T14:52:55.998Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-17T14:52:56.579Z] ---> 478221082066 [2023-03-17T14:52:56.579Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-17T14:52:57.162Z] ---> b94f62735528 [2023-03-17T14:52:57.162Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-17T14:52:57.428Z] ---> 85ab4020288d [2023-03-17T14:52:57.428Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-17T14:52:58.859Z] ---> 7a1f0030c435 [2023-03-17T14:52:58.859Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-17T14:52:58.859Z] ---> Running in 6a6aa59863cd [2023-03-17T14:53:00.264Z] Removing intermediate container 6a6aa59863cd [2023-03-17T14:53:00.264Z] ---> 0a9ba5c750a5 [2023-03-17T14:53:00.264Z] Step 23/29 : VOLUME /cache [2023-03-17T14:53:00.264Z] ---> Running in b4358af68d2d [2023-03-17T14:53:00.530Z] Removing intermediate container b4358af68d2d [2023-03-17T14:53:00.530Z] ---> 36fb10386805 [2023-03-17T14:53:00.530Z] Step 24/29 : EXPOSE 59711 [2023-03-17T14:53:00.530Z] ---> Running in f01733749465 [2023-03-17T14:53:00.798Z] Removing intermediate container f01733749465 [2023-03-17T14:53:00.798Z] ---> 3a337e486084 [2023-03-17T14:53:00.798Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-17T14:53:00.798Z] ---> Running in caacab294bcf [2023-03-17T14:53:01.065Z] Removing intermediate container caacab294bcf [2023-03-17T14:53:01.065Z] ---> 55a738053532 [2023-03-17T14:53:01.065Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-17T14:53:01.337Z] ---> Running in 22e270bfe4ff [2023-03-17T14:53:01.602Z] Removing intermediate container 22e270bfe4ff [2023-03-17T14:53:01.602Z] ---> 164146a8c71e [2023-03-17T14:53:01.602Z] Step 27/29 : LABEL arch=arm64 [2023-03-17T14:53:01.602Z] ---> Running in 6df32d455ef0 [2023-03-17T14:53:01.869Z] Removing intermediate container 6df32d455ef0 [2023-03-17T14:53:01.869Z] ---> ad75fc7621d7 [2023-03-17T14:53:01.869Z] Step 28/29 : LABEL git_sha=21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [2023-03-17T14:53:01.869Z] ---> Running in 74ffa1660382 [2023-03-17T14:53:02.142Z] Removing intermediate container 74ffa1660382 [2023-03-17T14:53:02.142Z] ---> 191681266b44 [2023-03-17T14:53:02.142Z] Step 29/29 : LABEL version=0.0.0 [2023-03-17T14:53:02.408Z] ---> Running in d8a91a3381af [2023-03-17T14:53:02.673Z] Removing intermediate container d8a91a3381af [2023-03-17T14:53:02.673Z] ---> 8c11d2672f2c [2023-03-17T14:53:02.673Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T14:53:02.673Z] Successfully built 8c11d2672f2c [2023-03-17T14:53:02.673Z] 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-03-17T14:53:03.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T14:53:03.441Z] [2023-03-17T14:53:03.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:53:03.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T14:53:03.835Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T14:53:03.835Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T14:53:03.835Z] 04944245beec: Pulling fs layer [2023-03-17T14:53:03.835Z] 699f458cf7ca: Pulling fs layer [2023-03-17T14:53:03.835Z] 765212b225bb: Pulling fs layer [2023-03-17T14:53:03.835Z] f23df028b6ca: Pulling fs layer [2023-03-17T14:53:03.835Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T14:53:03.835Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T14:53:03.835Z] 765212b225bb: Waiting [2023-03-17T14:53:03.835Z] f23df028b6ca: Waiting [2023-03-17T14:53:03.835Z] d65c8cfc05b1: Waiting [2023-03-17T14:53:03.835Z] 2437ff75d9bd: Waiting [2023-03-17T14:53:04.105Z] 04944245beec: Verifying Checksum [2023-03-17T14:53:04.105Z] 04944245beec: Download complete [2023-03-17T14:53:04.105Z] 765212b225bb: Verifying Checksum [2023-03-17T14:53:04.105Z] 765212b225bb: Download complete [2023-03-17T14:53:04.105Z] f23df028b6ca: Download complete [2023-03-17T14:53:04.105Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T14:53:04.105Z] d65c8cfc05b1: Download complete [2023-03-17T14:53:04.105Z] 699f458cf7ca: Verifying Checksum [2023-03-17T14:53:04.689Z] 8998bd30e6a1: Download complete [2023-03-17T14:53:06.625Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T14:53:06.625Z] 2437ff75d9bd: Download complete [2023-03-17T14:53:08.043Z] 8998bd30e6a1: Pull complete [2023-03-17T14:53:08.626Z] 04944245beec: Pull complete [2023-03-17T14:53:09.581Z] 699f458cf7ca: Pull complete [2023-03-17T14:53:09.847Z] 765212b225bb: Pull complete [2023-03-17T14:53:10.429Z] f23df028b6ca: Pull complete [2023-03-17T14:53:10.695Z] d65c8cfc05b1: Pull complete [2023-03-17T14:53:25.692Z] 2437ff75d9bd: Pull complete [2023-03-17T14:53:25.692Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T14:53:25.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T14:53:25.692Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:53:25.998Z] prd-ubuntu20.04-docker-arm64-4c-16g-4410 does not seem to be running inside a container [2023-03-17T14:53:26.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T14:53:28.628Z] $ docker top 151ccf6a45da1b1fa3a227e7039ea34dfc3433669c16df69c985be18977e16d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:29.514Z] ---> job-cost.sh [2023-03-17T14:53:29.514Z] lf-activate-venv: SKIPPING [2023-03-17T14:53:29.514Z] INFO: No Stack... [2023-03-17T14:53:30.095Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T14:53:30.675Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T14:53:31.331Z] + cut -d,+ -f6 [2023-03-17T14:53:31.331Z] cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock [2023-03-17T14:53:31.411Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] [2023-03-17T14:53:31.416Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] did not exist. Created. [2023-03-17T14:53:31.416Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T14:53:32.140Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-cdd252ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T14:53:32.800Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T14:53:32.839Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T14:53:32.885Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T14:53:32.900Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T14:53:32.973Z] $ docker stop --time=1 151ccf6a45da1b1fa3a227e7039ea34dfc3433669c16df69c985be18977e16d3 [2023-03-17T14:53:34.445Z] $ docker rm -f --volumes 151ccf6a45da1b1fa3a227e7039ea34dfc3433669c16df69c985be18977e16d3 [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-03-17T14:53:35.407Z] provisioning config files... [2023-03-17T14:53:35.414Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/config11202854145908170053tmp [Pipeline] { [Pipeline] sh [2023-03-17T14:53:35.753Z] + set +x [2023-03-17T14:53:35.754Z] + curl -s https://codecov.io/bash [2023-03-17T14:53:35.754Z] + bash -s -- [2023-03-17T14:53:35.754Z] [2023-03-17T14:53:35.754Z] _____ _ [2023-03-17T14:53:35.754Z] / ____| | | [2023-03-17T14:53:35.754Z] | | ___ __| | ___ ___ _____ __ [2023-03-17T14:53:35.754Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-17T14:53:35.754Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-17T14:53:35.754Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-17T14:53:35.754Z] Bash-1.0.6 [2023-03-17T14:53:35.754Z] [2023-03-17T14:53:35.754Z] [2023-03-17T14:53:35.754Z] ==> git version 2.25.1 found [2023-03-17T14:53:35.754Z] ==> 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-03-17T14:53:35.754Z] Release-Date: 2020-01-08 [2023-03-17T14:53:35.754Z] 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-03-17T14:53:35.754Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-17T14:53:35.754Z] ==> Jenkins CI detected. [2023-03-17T14:53:35.754Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-163 [2023-03-17T14:53:35.754Z] project root: . [2023-03-17T14:53:35.754Z] --> token set from env [2023-03-17T14:53:35.754Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-17T14:53:35.754Z] ==> Running gcov in . (disable via -X gcov) [2023-03-17T14:53:35.754Z] ==> Python coveragepy not found [2023-03-17T14:53:35.754Z] ==> Searching for coverage reports in: [2023-03-17T14:53:35.754Z] + . [2023-03-17T14:53:35.754Z] -> Found 1 reports [2023-03-17T14:53:35.754Z] ==> Detecting git/mercurial file structure [2023-03-17T14:53:36.012Z] ==> Reading reports [2023-03-17T14:53:36.012Z] + ./coverage.out bytes=41317 [2023-03-17T14:53:36.012Z] ==> Appending adjustments [2023-03-17T14:53:36.012Z] https://docs.codecov.io/docs/fixing-reports [2023-03-17T14:53:36.012Z] + Found adjustments [2023-03-17T14:53:36.012Z] ==> Gzipping contents [2023-03-17T14:53:36.012Z] 12K /tmp/codecov.4n0Kpy.gz [2023-03-17T14:53:36.012Z] ==> Uploading reports [2023-03-17T14:53:36.012Z] url: https://codecov.io [2023-03-17T14:53:36.012Z] query: branch=PR-163&commit=21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=163&job=&cmd_args= [2023-03-17T14:53:36.012Z] -> Pinging Codecov [2023-03-17T14:53:36.012Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-163&commit=21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=163&job=&cmd_args= [2023-03-17T14:53:36.271Z] -> Uploading to [2023-03-17T14:53:36.271Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-17/581DD39554BDF9B6E22D074273EAD858/21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954/f466e6ed-e0fc-4029-b2c9-b1f630ea2464.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T145336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66e3f574ad7e4940698295780f9f0a34e641877c82072206ba74fddce1806734 [2023-03-17T14:53:36.271Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T14:53:36.271Z] Dload Upload Total Spent Left Speed [2023-03-17T14:53:36.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11808 0 0 100 11808 0 38714 --:--:-- --:--:-- --:--:-- 38714 [2023-03-17T14:53:36.529Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/21a3fe4aa8bf0e0c8dfdbbcd85a9fc617a1d1954 [Pipeline] } [2023-03-17T14:53:36.564Z] 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-03-17T14:53:38.744Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-163/archives ] [2023-03-17T14:53:38.744Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-163/archives [2023-03-17T14:53:38.744Z] total 16 [2023-03-17T14:53:38.744Z] drwxr-xr-x 3 root root 4096 Mar 17 14:43 . [2023-03-17T14:53:38.744Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 14:43 .. [2023-03-17T14:53:38.744Z] drwxr-xr-x 2 root root 4096 Mar 17 14:43 cost [2023-03-17T14:53:38.744Z] -rw-r--r-- 1 root root 95 Mar 17 14:43 cost.csv [2023-03-17T14:53:38.744Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-163/archives [2023-03-17T14:53:38.744Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-163/archives [2023-03-17T14:53:38.744Z] total 16 [2023-03-17T14:53:38.744Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 14:43 . [2023-03-17T14:53:38.744Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 14:43 .. [2023-03-17T14:53:38.744Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 14:43 cost [2023-03-17T14:53:38.744Z] -rw-r--r-- 1 jenkins jenkins 95 Mar 17 14:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:39.641Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:40.524Z] ---> package-listing.sh [2023-03-17T14:53:40.524Z] ++ facter osfamily [2023-03-17T14:53:40.524Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T14:53:40.783Z] + OS_FAMILY=debian [2023-03-17T14:53:40.783Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-163 [2023-03-17T14:53:40.783Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T14:53:40.783Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T14:53:40.783Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T14:53:40.783Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T14:53:40.783Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-163 ']' [2023-03-17T14:53:40.783Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T14:53:40.783Z] + case "${OS_FAMILY}" in [2023-03-17T14:53:40.783Z] + dpkg -l [2023-03-17T14:53:40.783Z] + grep '^ii' [2023-03-17T14:53:40.783Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T14:53:40.783Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T14:53:40.783Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T14:53:40.783Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-163 ']' [2023-03-17T14:53:40.783Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-163/archives/ [2023-03-17T14:53:40.783Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-163/archives/ [Pipeline] echo [2023-03-17T14:53:40.815Z] 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-163/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T14:53:41.106Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T14:53:41.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T14:53:41.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T14:53:41.849Z] prd-ubuntu20.04-docker-8c-8g-4408 does not seem to be running inside a container [2023-03-17T14:53:41.884Z] $ 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-163/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-163 -v /w/workspace/y_app-rfid-llrp-inventory_PR-163:/w/workspace/y_app-rfid-llrp-inventory_PR-163:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T14:53:42.057Z] $ docker top 75633e9d416ebdce382b25d49e4a7aa00fe38a282379033a66f57926f69ebb18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T14:53:42.431Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T14:53:42.740Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T14:53:43.047Z] + ls /var/log/sa-host [2023-03-17T14:53:43.047Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T14:53:43.254Z] provisioning config files... [2023-03-17T14:53:43.264Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-163@tmp/config13620298619846686869tmp [Pipeline] { [Pipeline] echo [2023-03-17T14:53:43.315Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:43.625Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T14:53:43.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:44.042Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T14:53:44.072Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:44.378Z] ---> sudo-logs.sh [2023-03-17T14:53:44.378Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T14:53:44.460Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:44.774Z] ---> job-cost.sh [2023-03-17T14:53:44.774Z] lf-activate-venv: SKIPPING [2023-03-17T14:53:44.774Z] DEBUG: total: 0.2199999988079071 [2023-03-17T14:53:44.774Z] INFO: Retrieving Stack Cost... [2023-03-17T14:53:45.344Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T14:53:45.605Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T14:53:45.639Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T14:53:45.959Z] ---> logs-deploy.sh [2023-03-17T14:53:45.959Z] lf-activate-venv: SKIPPING [2023-03-17T14:53:45.959Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-163/1 [2023-03-17T14:53:45.959Z] INFO: archiving workspace using pattern(s): [2023-03-17T14:53:46.898Z] Archives upload complete. [2023-03-17T14:53:46.898Z] INFO: archiving logs to Nexus