Pull request #206 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a+77aa89dd3ba985c44f4807dbd67e46bd9bc16e12 (a6e60668654361db912ce69bef7f7e658301e5c3) 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-ssh15381206608078291827.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh18206688939623584612.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-206/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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6586368347494499023.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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17271728523199311936.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh5183288582077088714.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-206/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-206/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17327422138720154273.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 ‘prd-centos7-blackbox-4c-2g-661’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-662’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1006’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1010’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1011 in /w/workspace/y_app-rfid-llrp-inventory_PR-206 [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-206 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 77aa89dd3ba985c44f4807dbd67e46bd9bc16e12 into PR head commit fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a Merge succeeded, producing fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a Checking out Revision fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a (PR-206) > 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/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a # 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 77aa89dd3ba985c44f4807dbd67e46bd9bc16e12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a # timeout=10 Commit message: "build: Update to latest SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T00:33:20.012Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T00:33:20.233Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T00:33:20.333Z] ========================================================= [2023-07-13T00:33:20.333Z] EdgeX Global Pipelines Version Info [2023-07-13T00:33:20.333Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:33:21.078Z] ------------------- [2023-07-13T00:33:21.078Z] stable info: [2023-07-13T00:33:21.078Z] ------------------- [2023-07-13T00:33:21.078Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T00:33:21.078Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T00:33:21.078Z] Message: update stable to v1.0.250 [2023-07-13T00:33:21.648Z] ------------------- [2023-07-13T00:33:21.648Z] experimental info: [2023-07-13T00:33:21.648Z] ------------------- [2023-07-13T00:33:21.648Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T00:33:21.648Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T00:33:21.648Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T00:33:21.917Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-07-13T00:33:21.962Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-07-13T00:33:22.006Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T00:33:22.049Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T00:33:22.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T00:33:22.138Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-13T00:33:22.181Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-13T00:33:22.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-13T00:33:22.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-13T00:33:22.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T00:33:22.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T00:33:22.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-07-13T00:33:22.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T00:33:22.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T00:33:22.501Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T00:33:22.539Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T00:33:22.583Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T00:33:22.627Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T00:33:22.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T00:33:22.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T00:33:22.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-13T00:33:22.799Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-13T00:33:22.858Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-13T00:33:22.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-13T00:33:22.952Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-13T00:33:22.991Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T00:33:23.047Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-13T00:33:23.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo [2023-07-13T00:33:23.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo [2023-07-13T00:33:23.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo [2023-07-13T00:33:23.278Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [Pipeline] echo [2023-07-13T00:33:23.322Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fdae7e2 [Pipeline] echo [2023-07-13T00:33:23.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T00:33:23.475Z] provisioning config files... [2023-07-13T00:33:23.487Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/config6472317786708852229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:33:23.848Z] ---> docker-login.sh [2023-07-13T00:33:23.848Z] nexus3.edgexfoundry.org:10001 [2023-07-13T00:33:24.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:24.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:24.107Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:24.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:24.107Z] [2023-07-13T00:33:24.107Z] Login Succeeded [2023-07-13T00:33:24.107Z] nexus3.edgexfoundry.org:10002 [2023-07-13T00:33:24.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:24.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:24.107Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:24.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:24.107Z] [2023-07-13T00:33:24.107Z] Login Succeeded [2023-07-13T00:33:24.107Z] nexus3.edgexfoundry.org:10003 [2023-07-13T00:33:24.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:24.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:24.367Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:24.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:24.367Z] [2023-07-13T00:33:24.367Z] Login Succeeded [2023-07-13T00:33:24.367Z] nexus3.edgexfoundry.org:10004 [2023-07-13T00:33:24.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:24.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:24.367Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:24.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:24.367Z] [2023-07-13T00:33:24.367Z] Login Succeeded [2023-07-13T00:33:24.367Z] docker.io [2023-07-13T00:33:24.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:24.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:24.626Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:24.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:24.626Z] [2023-07-13T00:33:24.626Z] Login Succeeded [2023-07-13T00:33:24.626Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T00:33:24.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-13T00:33:25.273Z] + git rev-list -1 --merges fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a~1..fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [Pipeline] echo [2023-07-13T00:33:25.338Z] -----------> git rev-list -1 --merges fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a~1..fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [false] [Pipeline] sh [2023-07-13T00:33:25.652Z] + git log --format=format:%s -1 fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [Pipeline] echo [2023-07-13T00:33:25.694Z] ========================================================= [2023-07-13T00:33:25.694Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T00:33:25.694Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T00:33:26.146Z] + git log --format=format:%s -1 fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [Pipeline] echo [2023-07-13T00:33:26.186Z] [semverPrep] GIT_COMMIT: fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a, Commit Message: build: Update to latest SDK [Pipeline] echo [2023-07-13T00:33:26.225Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-13T00:33:26.604Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T00:33:26.604Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T00:33:26.604Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T00:33:26.604Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T00:33:26.604Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T00:33:26.604Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T00:33:26.604Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:33:27.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T00:33:27.035Z] [2023-07-13T00:33:27.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:33:27.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T00:33:27.406Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T00:33:27.406Z] b85a868b505f: Pulling fs layer [2023-07-13T00:33:27.406Z] e2be974225ed: Pulling fs layer [2023-07-13T00:33:27.406Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T00:33:27.406Z] 988bab9f4d93: Pulling fs layer [2023-07-13T00:33:27.406Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T00:33:27.406Z] eaf3925da568: Pulling fs layer [2023-07-13T00:33:27.406Z] 1469e6f7b9e6: Waiting [2023-07-13T00:33:27.406Z] bab4dde63d76: Pulling fs layer [2023-07-13T00:33:27.406Z] bde34c3a00c8: Pulling fs layer [2023-07-13T00:33:27.406Z] eaf3925da568: Waiting [2023-07-13T00:33:27.406Z] b352a97aabf1: Pulling fs layer [2023-07-13T00:33:27.406Z] bab4dde63d76: Waiting [2023-07-13T00:33:27.406Z] 4872d77fe225: Pulling fs layer [2023-07-13T00:33:27.406Z] bde34c3a00c8: Waiting [2023-07-13T00:33:27.406Z] b352a97aabf1: Waiting [2023-07-13T00:33:27.406Z] 5851b861e8e6: Pulling fs layer [2023-07-13T00:33:27.406Z] 4872d77fe225: Waiting [2023-07-13T00:33:27.406Z] 5851b861e8e6: Waiting [2023-07-13T00:33:27.406Z] e2be974225ed: Download complete [2023-07-13T00:33:27.406Z] 988bab9f4d93: Verifying Checksum [2023-07-13T00:33:27.406Z] 988bab9f4d93: Download complete [2023-07-13T00:33:27.406Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T00:33:27.406Z] 1469e6f7b9e6: Download complete [2023-07-13T00:33:27.664Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T00:33:27.664Z] 339a4e72a1f5: Download complete [2023-07-13T00:33:27.664Z] eaf3925da568: Verifying Checksum [2023-07-13T00:33:27.664Z] eaf3925da568: Download complete [2023-07-13T00:33:27.664Z] bde34c3a00c8: Verifying Checksum [2023-07-13T00:33:27.664Z] bde34c3a00c8: Download complete [2023-07-13T00:33:27.664Z] b352a97aabf1: Verifying Checksum [2023-07-13T00:33:27.664Z] b352a97aabf1: Download complete [2023-07-13T00:33:27.664Z] 4872d77fe225: Download complete [2023-07-13T00:33:27.664Z] 5851b861e8e6: Verifying Checksum [2023-07-13T00:33:27.664Z] 5851b861e8e6: Download complete [2023-07-13T00:33:27.664Z] b85a868b505f: Verifying Checksum [2023-07-13T00:33:27.664Z] b85a868b505f: Download complete [2023-07-13T00:33:27.923Z] bab4dde63d76: Verifying Checksum [2023-07-13T00:33:27.923Z] bab4dde63d76: Download complete [2023-07-13T00:33:28.904Z] b85a868b505f: Pull complete [2023-07-13T00:33:28.904Z] e2be974225ed: Pull complete [2023-07-13T00:33:29.478Z] 339a4e72a1f5: Pull complete [2023-07-13T00:33:29.478Z] 988bab9f4d93: Pull complete [2023-07-13T00:33:29.738Z] 1469e6f7b9e6: Pull complete [2023-07-13T00:33:29.738Z] eaf3925da568: Pull complete [2023-07-13T00:33:31.641Z] bab4dde63d76: Pull complete [2023-07-13T00:33:31.641Z] bde34c3a00c8: Pull complete [2023-07-13T00:33:31.641Z] b352a97aabf1: Pull complete [2023-07-13T00:33:31.641Z] 4872d77fe225: Pull complete [2023-07-13T00:33:31.641Z] 5851b861e8e6: Pull complete [2023-07-13T00:33:31.641Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T00:33:31.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T00:33:31.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:33:31.864Z] prd-ubuntu20.04-docker-8c-8g-1011 does not seem to be running inside a container [2023-07-13T00:33:31.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-206 -v /w/workspace/y_app-rfid-llrp-inventory_PR-206:/w/workspace/y_app-rfid-llrp-inventory_PR-206:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-206@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-07-13T00:33:38.095Z] $ docker top 72fdaf88f446129640e5ff897582a55ff447667be114f3ed4dc00fc3b7da18a8 -eo pid,comm [2023-07-13T00:33:38.145Z] 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-07-13T00:33:38.145Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T00:33:38.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T00:33:38.332Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T00:33:38.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T00:33:38.445Z] $ docker exec 72fdaf88f446129640e5ff897582a55ff447667be114f3ed4dc00fc3b7da18a8 ssh-agent [2023-07-13T00:33:38.554Z] SSH_AUTH_SOCK=/tmp/ssh-eOKTKMPhgL3t/agent.31 [2023-07-13T00:33:38.554Z] SSH_AGENT_PID=37 [2023-07-13T00:33:38.559Z] Running ssh-add (command line suppressed) [2023-07-13T00:33:38.648Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/private_key_11289494239313313264.key (/w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/private_key_11289494239313313264.key) [2023-07-13T00:33:38.665Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T00:33:38.992Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T00:33:39.015Z] $ docker exec --env ******** --env ******** 72fdaf88f446129640e5ff897582a55ff447667be114f3ed4dc00fc3b7da18a8 ssh-agent -k [2023-07-13T00:33:39.114Z] unset SSH_AUTH_SOCK; [2023-07-13T00:33:39.114Z] unset SSH_AGENT_PID; [2023-07-13T00:33:39.114Z] echo Agent pid 37 killed; [2023-07-13T00:33:39.125Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T00:33:39.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T00:33:39.220Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T00:33:39.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T00:33:39.334Z] $ docker exec 72fdaf88f446129640e5ff897582a55ff447667be114f3ed4dc00fc3b7da18a8 ssh-agent [2023-07-13T00:33:39.434Z] SSH_AUTH_SOCK=/tmp/ssh-AqPn5istNESQ/agent.70 [2023-07-13T00:33:39.434Z] SSH_AGENT_PID=76 [2023-07-13T00:33:39.439Z] Running ssh-add (command line suppressed) [2023-07-13T00:33:39.541Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/private_key_18023736618520882171.key (/w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/private_key_18023736618520882171.key) [2023-07-13T00:33:39.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T00:33:39.886Z] + git semver init [2023-07-13T00:33:40.146Z] 2023-07-13 00:33:40,053 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T00:33:40.146Z] 2023-07-13 00:33:40,053 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver [2023-07-13T00:33:40.146Z] 2023-07-13 00:33:40,054 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver [2023-07-13T00:33:40.146Z] 2023-07-13 00:33:40,054 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-206, universal_newlines=False, shell=None, istream=None) [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,236 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-206/.git/info/exclude [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,237 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver/PR-206 with force:False [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,237 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver/PR-206 [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,241 [execute] INFO git cat-file --batch-check [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,247 [execute] INFO git cat-file --batch [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T00:33:41.523Z] 2023-07-13 00:33:41,252 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-206/.semver/PR-206 [2023-07-13T00:33:41.523Z] 0.0.0 [Pipeline] } [2023-07-13T00:33:41.550Z] $ docker exec --env ******** --env ******** 72fdaf88f446129640e5ff897582a55ff447667be114f3ed4dc00fc3b7da18a8 ssh-agent -k [2023-07-13T00:33:41.647Z] unset SSH_AUTH_SOCK; [2023-07-13T00:33:41.647Z] unset SSH_AGENT_PID; [2023-07-13T00:33:41.647Z] echo Agent pid 76 killed; [2023-07-13T00:33:41.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T00:33:42.124Z] + git semver [Pipeline] } [2023-07-13T00:33:42.427Z] $ docker stop --time=1 72fdaf88f446129640e5ff897582a55ff447667be114f3ed4dc00fc3b7da18a8 [2023-07-13T00:33:43.705Z] $ docker rm -f --volumes 72fdaf88f446129640e5ff897582a55ff447667be114f3ed4dc00fc3b7da18a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T00:33:44.115Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T00:33:44.389Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T00:33:44.407Z] [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-07-13T00:33:44.975Z] provisioning config files... [2023-07-13T00:33:44.985Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/config210553313664424419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:33:45.344Z] ---> docker-login.sh [2023-07-13T00:33:45.344Z] nexus3.edgexfoundry.org:10001 [2023-07-13T00:33:45.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:45.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:45.344Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:45.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:45.344Z] [2023-07-13T00:33:45.344Z] Login Succeeded [2023-07-13T00:33:45.344Z] nexus3.edgexfoundry.org:10002 [2023-07-13T00:33:45.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:45.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:45.344Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:45.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:45.344Z] [2023-07-13T00:33:45.344Z] Login Succeeded [2023-07-13T00:33:45.344Z] nexus3.edgexfoundry.org:10003 [2023-07-13T00:33:45.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:45.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:45.605Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:45.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:45.605Z] [2023-07-13T00:33:45.605Z] Login Succeeded [2023-07-13T00:33:45.605Z] nexus3.edgexfoundry.org:10004 [2023-07-13T00:33:45.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:45.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:45.605Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:45.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:45.605Z] [2023-07-13T00:33:45.605Z] Login Succeeded [2023-07-13T00:33:45.605Z] docker.io [2023-07-13T00:33:45.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:33:45.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:33:45.865Z] Configure a credential helper to remove this warning. See [2023-07-13T00:33:45.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:33:45.865Z] [2023-07-13T00:33:45.865Z] Login Succeeded [2023-07-13T00:33:45.865Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T00:33:45.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T00:33:46.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T00:33:46.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T00:33:46.176Z] ========================================================= [2023-07-13T00:33:46.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-13T00:33:46.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:33:46.650Z] + 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-07-13T00:33:46.650Z] Sending build context to Docker daemon 12.65MB [2023-07-13T00:33:46.650Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T00:33:46.650Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T00:33:46.650Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-13T00:33:46.650Z] 4db1b89c0bd1: Pulling fs layer [2023-07-13T00:33:46.650Z] 6911f1a30b25: Pulling fs layer [2023-07-13T00:33:46.650Z] e194b8c5c2a9: Pulling fs layer [2023-07-13T00:33:46.650Z] 6863d3e3a2b1: Pulling fs layer [2023-07-13T00:33:46.650Z] ec0bb842ea78: Pulling fs layer [2023-07-13T00:33:46.650Z] 40a00589a448: Pulling fs layer [2023-07-13T00:33:46.650Z] 6c08303d61cc: Pulling fs layer [2023-07-13T00:33:46.650Z] 798269fcf238: Pulling fs layer [2023-07-13T00:33:46.650Z] 6863d3e3a2b1: Waiting [2023-07-13T00:33:46.651Z] ec0bb842ea78: Waiting [2023-07-13T00:33:46.651Z] 6c08303d61cc: Waiting [2023-07-13T00:33:46.651Z] 40a00589a448: Waiting [2023-07-13T00:33:46.651Z] 798269fcf238: Waiting [2023-07-13T00:33:46.651Z] 6911f1a30b25: Verifying Checksum [2023-07-13T00:33:46.651Z] 6911f1a30b25: Download complete [2023-07-13T00:33:46.651Z] 6863d3e3a2b1: Verifying Checksum [2023-07-13T00:33:46.651Z] 6863d3e3a2b1: Download complete [2023-07-13T00:33:46.651Z] ec0bb842ea78: Verifying Checksum [2023-07-13T00:33:46.651Z] ec0bb842ea78: Download complete [2023-07-13T00:33:46.911Z] 4db1b89c0bd1: Verifying Checksum [2023-07-13T00:33:46.911Z] 4db1b89c0bd1: Download complete [2023-07-13T00:33:46.911Z] 40a00589a448: Verifying Checksum [2023-07-13T00:33:46.911Z] 40a00589a448: Download complete [2023-07-13T00:33:46.911Z] 4db1b89c0bd1: Pull complete [2023-07-13T00:33:47.173Z] 6911f1a30b25: Pull complete [2023-07-13T00:33:47.173Z] 798269fcf238: Verifying Checksum [2023-07-13T00:33:47.173Z] 798269fcf238: Download complete [2023-07-13T00:33:47.433Z] e194b8c5c2a9: Verifying Checksum [2023-07-13T00:33:47.433Z] e194b8c5c2a9: Download complete [2023-07-13T00:33:47.692Z] 6c08303d61cc: Verifying Checksum [2023-07-13T00:33:47.692Z] 6c08303d61cc: Download complete [2023-07-13T00:33:50.975Z] e194b8c5c2a9: Pull complete [2023-07-13T00:33:50.975Z] 6863d3e3a2b1: Pull complete [2023-07-13T00:33:50.975Z] ec0bb842ea78: Pull complete [2023-07-13T00:33:50.975Z] 40a00589a448: Pull complete [2023-07-13T00:33:52.875Z] 6c08303d61cc: Pull complete [2023-07-13T00:33:53.810Z] 798269fcf238: Pull complete [2023-07-13T00:33:53.810Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-13T00:33:53.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-13T00:33:53.810Z] ---> ec979cd7f677 [2023-07-13T00:33:53.810Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-13T00:33:59.796Z] Still waiting to schedule task [2023-07-13T00:33:59.796Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-07-13T00:34:00.424Z] ---> Running in d60f6e125577 [2023-07-13T00:34:00.424Z] Removing intermediate container d60f6e125577 [2023-07-13T00:34:00.424Z] ---> da1a10ead104 [2023-07-13T00:34:00.424Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T00:34:00.424Z] ---> Running in d1d6960a6dae [2023-07-13T00:34:00.424Z] Removing intermediate container d1d6960a6dae [2023-07-13T00:34:00.424Z] ---> 2b56b42f2769 [2023-07-13T00:34:00.424Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T00:34:00.424Z] ---> Running in 2a0cc9da1924 [2023-07-13T00:34:00.424Z] Removing intermediate container 2a0cc9da1924 [2023-07-13T00:34:00.424Z] ---> 4da475c89cd5 [2023-07-13T00:34:00.424Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T00:34:00.424Z] ---> Running in f143467a6b2c [2023-07-13T00:34:00.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T00:34:00.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T00:34:01.201Z] OK: 265 MiB in 53 packages [2023-07-13T00:34:01.461Z] Removing intermediate container f143467a6b2c [2023-07-13T00:34:01.461Z] ---> 8b9544e3830e [2023-07-13T00:34:01.461Z] Step 7/12 : WORKDIR /app [2023-07-13T00:34:01.461Z] ---> Running in 1a56dfffaf4d [2023-07-13T00:34:01.461Z] Removing intermediate container 1a56dfffaf4d [2023-07-13T00:34:01.461Z] ---> 30ae5a46aaea [2023-07-13T00:34:01.461Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T00:34:01.719Z] ---> af98e48c0ce1 [2023-07-13T00:34:01.719Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T00:34:01.719Z] ---> Running in 7fbc23fa4bbb [2023-07-13T00:35:09.453Z] Removing intermediate container 7fbc23fa4bbb [2023-07-13T00:35:09.453Z] ---> b637012ff642 [2023-07-13T00:35:09.453Z] Step 10/12 : COPY . . [2023-07-13T00:35:09.453Z] ---> aea9a54d6b1b [2023-07-13T00:35:09.453Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T00:35:09.453Z] ---> Running in 98a2f99eff29 [2023-07-13T00:35:09.453Z] Removing intermediate container 98a2f99eff29 [2023-07-13T00:35:09.453Z] ---> ea7a809b43a1 [2023-07-13T00:35:09.453Z] Step 12/12 : RUN $MAKE [2023-07-13T00:35:09.453Z] ---> Running in f813f47032ac [2023-07-13T00:35:09.453Z] noop [2023-07-13T00:35:09.453Z] Removing intermediate container f813f47032ac [2023-07-13T00:35:09.453Z] ---> 88d00acc5ee0 [2023-07-13T00:35:09.453Z] Successfully built 88d00acc5ee0 [2023-07-13T00:35:09.453Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:35:09.907Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T00:35:09.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:35:10.065Z] prd-ubuntu20.04-docker-8c-8g-1011 does not seem to be running inside a container [2023-07-13T00:35:10.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-206 -v /w/workspace/y_app-rfid-llrp-inventory_PR-206:/w/workspace/y_app-rfid-llrp-inventory_PR-206:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-206@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-07-13T00:35:10.414Z] $ docker top 99ee1eb9722a24d13c05eda698c014c3d502af1b337cb4ba826725168f44712c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T00:35:10.798Z] + go version [2023-07-13T00:35:10.798Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-13T00:35:10.840Z] $ docker stop --time=1 99ee1eb9722a24d13c05eda698c014c3d502af1b337cb4ba826725168f44712c [2023-07-13T00:35:12.069Z] $ docker rm -f --volumes 99ee1eb9722a24d13c05eda698c014c3d502af1b337cb4ba826725168f44712c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:35:12.767Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T00:35:12.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:35:12.918Z] prd-ubuntu20.04-docker-8c-8g-1011 does not seem to be running inside a container [2023-07-13T00:35:12.955Z] $ 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-206 -v /w/workspace/y_app-rfid-llrp-inventory_PR-206:/w/workspace/y_app-rfid-llrp-inventory_PR-206:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-206@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-07-13T00:35:13.263Z] $ docker top b066e99bc6d3bd7fa8852558a0a6c5aeef6ea5859b69aa673043a27bc8979f3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T00:35:13.658Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-206 [Pipeline] fileExists [Pipeline] sh [2023-07-13T00:35:14.024Z] + make test [2023-07-13T00:35:14.024Z] go test -race ./... -coverprofile=coverage.out ./... [2023-07-13T00:35:35.958Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-07-13T00:35:35.958Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-07-13T00:35:35.958Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.162s coverage: 86.2% of statements [2023-07-13T00:35:35.958Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.699s coverage: 71.9% of statements [2023-07-13T00:35:57.881Z] go vet ./... [2023-07-13T00:36:02.369Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-13T00:36:02.369Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-13T00:36:02.369Z] ./bin/test-attribution.sh [Pipeline] echo [2023-07-13T00:36:02.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-13T00:36:03.383Z] $ docker stop --time=1 b066e99bc6d3bd7fa8852558a0a6c5aeef6ea5859b69aa673043a27bc8979f3e [2023-07-13T00:36:09.576Z] $ docker rm -f --volumes b066e99bc6d3bd7fa8852558a0a6c5aeef6ea5859b69aa673043a27bc8979f3e [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T00:36:10.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-13T00:36:10.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-13T00:36:10.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T00:36:11.138Z] + ls -al . [2023-07-13T00:36:11.138Z] total 236 [2023-07-13T00:36:11.138Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 00:35 . [2023-07-13T00:36:11.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:33 .. [2023-07-13T00:36:11.138Z] -rw-rw-r-- 1 jenkins jenkins 262 Jul 13 00:33 .dockerignore [2023-07-13T00:36:11.138Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 00:33 .git [2023-07-13T00:36:11.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:33 .github [2023-07-13T00:36:11.138Z] -rw-rw-r-- 1 jenkins jenkins 788 Jul 13 00:33 .gitignore [2023-07-13T00:36:11.138Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 00:33 .golangci.yml [2023-07-13T00:36:11.138Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 00:33 .semver [2023-07-13T00:36:11.138Z] -rw-rw-r-- 1 jenkins jenkins 10332 Jul 13 00:33 Attribution.txt [2023-07-13T00:36:11.138Z] -rw-rw-r-- 1 jenkins jenkins 9042 Jul 13 00:33 CHANGELOG.md [2023-07-13T00:36:11.138Z] -rw-rw-r-- 1 jenkins jenkins 1659 Jul 13 00:33 Dockerfile [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 00:33 GOVERNANCE.md [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 687 Jul 13 00:33 Jenkinsfile [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 13 00:33 LICENSE [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 2497 Jul 13 00:33 Makefile [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 00:33 OWNERS.md [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 31516 Jul 13 00:33 README.md [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 00:33 VERSION [2023-07-13T00:36:11.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:33 bin [2023-07-13T00:36:11.139Z] -rw-r--r-- 1 jenkins jenkins 41317 Jul 13 00:35 coverage.out [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 3692 Jul 13 00:33 go.mod [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 32863 Jul 13 00:33 go.sum [2023-07-13T00:36:11.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:33 images [2023-07-13T00:36:11.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:33 internal [2023-07-13T00:36:11.139Z] -rw-rw-r-- 1 jenkins jenkins 531 Jul 13 00:33 main.go [2023-07-13T00:36:11.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:33 res [2023-07-13T00:36:11.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:33 snap [2023-07-13T00:36:11.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:33 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:36:11.527Z] + 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=fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a --label arch=amd64 --label version=0.0.0 . [2023-07-13T00:36:11.527Z] Sending build context to Docker daemon 12.65MB [2023-07-13T00:36:11.527Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T00:36:11.527Z] Step 2/29 : FROM ${BASE} AS builder [2023-07-13T00:36:11.527Z] ---> 88d00acc5ee0 [2023-07-13T00:36:11.527Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-07-13T00:36:12.472Z] ---> Running in 3b28a60b5431 [2023-07-13T00:36:12.472Z] Removing intermediate container 3b28a60b5431 [2023-07-13T00:36:12.472Z] ---> a019fc912108 [2023-07-13T00:36:12.472Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T00:36:12.733Z] ---> Running in 46883cc816cd [2023-07-13T00:36:12.992Z] Removing intermediate container 46883cc816cd [2023-07-13T00:36:12.992Z] ---> ecc4e2a83b7c [2023-07-13T00:36:12.992Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-07-13T00:36:13.560Z] ---> Running in 435396b4d51f [2023-07-13T00:36:13.560Z] Removing intermediate container 435396b4d51f [2023-07-13T00:36:13.560Z] ---> 76d57256153d [2023-07-13T00:36:13.560Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T00:36:13.560Z] ---> Running in 05f7595178db [2023-07-13T00:36:13.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T00:36:14.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T00:36:14.648Z] OK: 265 MiB in 53 packages [2023-07-13T00:36:14.906Z] Removing intermediate container 05f7595178db [2023-07-13T00:36:14.906Z] ---> a734230b7e2b [2023-07-13T00:36:14.906Z] Step 7/29 : WORKDIR /app [2023-07-13T00:36:14.906Z] ---> Running in 6e8720191a5a [2023-07-13T00:36:14.906Z] Removing intermediate container 6e8720191a5a [2023-07-13T00:36:14.906Z] ---> 9a7ecf0ce539 [2023-07-13T00:36:14.906Z] Step 8/29 : COPY go.mod vendor* ./ [2023-07-13T00:36:15.166Z] ---> ddc5b2e9a671 [2023-07-13T00:36:15.166Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T00:36:15.166Z] ---> Running in 8b6de73e70cc [2023-07-13T00:36:15.732Z] Removing intermediate container 8b6de73e70cc [2023-07-13T00:36:15.732Z] ---> 426681884e76 [2023-07-13T00:36:15.732Z] Step 10/29 : COPY . . [2023-07-13T00:36:16.299Z] ---> b0965b0b5d91 [2023-07-13T00:36:16.299Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T00:36:16.299Z] ---> Running in fb9c2363bf3a [2023-07-13T00:36:16.299Z] Removing intermediate container fb9c2363bf3a [2023-07-13T00:36:16.299Z] ---> 8411b9a9af41 [2023-07-13T00:36:16.299Z] Step 12/29 : RUN $MAKE [2023-07-13T00:36:16.299Z] ---> Running in 4fce3f515e00 [2023-07-13T00:36:16.559Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -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-07-13T00:36:38.500Z] Removing intermediate container 4fce3f515e00 [2023-07-13T00:36:38.500Z] ---> b56d9cd70139 [2023-07-13T00:36:38.500Z] Step 13/29 : FROM alpine:3.17 [2023-07-13T00:36:38.500Z] 3.17: Pulling from library/alpine [2023-07-13T00:36:38.500Z] 4db1b89c0bd1: Already exists [2023-07-13T00:36:38.760Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-13T00:36:38.760Z] Status: Downloaded newer image for alpine:3.17 [2023-07-13T00:36:38.760Z] ---> 1f73a9d63274 [2023-07-13T00:36:38.760Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-13T00:36:38.760Z] ---> Running in 8f93e0a0c1f0 [2023-07-13T00:36:38.760Z] Removing intermediate container 8f93e0a0c1f0 [2023-07-13T00:36:38.760Z] ---> fc519299c317 [2023-07-13T00:36:38.760Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-07-13T00:36:38.760Z] ---> Running in fb5dc129eb58 [2023-07-13T00:36:38.760Z] Removing intermediate container fb5dc129eb58 [2023-07-13T00:36:38.760Z] ---> fdac8bc4373b [2023-07-13T00:36:38.760Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-07-13T00:36:39.018Z] ---> Running in b7e165562feb [2023-07-13T00:36:39.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T00:36:39.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T00:36:39.794Z] (1/2) Installing ca-certificates (20230506-r0) [2023-07-13T00:36:39.794Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-07-13T00:36:39.794Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T00:36:39.794Z] Executing ca-certificates-20230506-r0.trigger [2023-07-13T00:36:39.794Z] OK: 8 MiB in 17 packages [2023-07-13T00:36:40.859Z] Removing intermediate container b7e165562feb [2023-07-13T00:36:40.859Z] ---> 0f24ad0ec24f [2023-07-13T00:36:40.859Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-07-13T00:36:40.859Z] ---> 63d729c3a1f0 [2023-07-13T00:36:40.859Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-07-13T00:36:40.859Z] ---> 6548c2eaca56 [2023-07-13T00:36:40.859Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-07-13T00:36:40.859Z] ---> da03fe6af0e1 [2023-07-13T00:36:40.859Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-07-13T00:36:40.859Z] ---> 1340ba26cb62 [2023-07-13T00:36:40.859Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-07-13T00:36:41.428Z] ---> e6902fa04fcf [2023-07-13T00:36:41.428Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-07-13T00:36:41.428Z] ---> Running in ddef60df5384 [2023-07-13T00:36:41.995Z] Removing intermediate container ddef60df5384 [2023-07-13T00:36:41.995Z] ---> 6540149b1747 [2023-07-13T00:36:41.995Z] Step 23/29 : VOLUME /cache [2023-07-13T00:36:41.995Z] ---> Running in 8fd5dbdb817c [2023-07-13T00:36:41.995Z] Removing intermediate container 8fd5dbdb817c [2023-07-13T00:36:41.996Z] ---> d56b9064d895 [2023-07-13T00:36:41.996Z] Step 24/29 : EXPOSE 59711 [2023-07-13T00:36:41.996Z] ---> Running in 38356419fe4a [2023-07-13T00:36:41.996Z] Removing intermediate container 38356419fe4a [2023-07-13T00:36:41.996Z] ---> 92f9ed756efc [2023-07-13T00:36:41.996Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-07-13T00:36:41.996Z] ---> Running in 95c71b0e109e [2023-07-13T00:36:42.255Z] Removing intermediate container 95c71b0e109e [2023-07-13T00:36:42.255Z] ---> 30a41e99baac [2023-07-13T00:36:42.255Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-07-13T00:36:42.255Z] ---> Running in 9e30634b273b [2023-07-13T00:36:42.255Z] Removing intermediate container 9e30634b273b [2023-07-13T00:36:42.255Z] ---> 2ed10849c71e [2023-07-13T00:36:42.255Z] Step 27/29 : LABEL arch=amd64 [2023-07-13T00:36:42.255Z] ---> Running in e3c994018239 [2023-07-13T00:36:42.255Z] Removing intermediate container e3c994018239 [2023-07-13T00:36:42.255Z] ---> 7c82688d345f [2023-07-13T00:36:42.255Z] Step 28/29 : LABEL git_sha=fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [2023-07-13T00:36:42.255Z] ---> Running in f61bdf206190 [2023-07-13T00:36:42.514Z] Removing intermediate container f61bdf206190 [2023-07-13T00:36:42.514Z] ---> 654e23c05f60 [2023-07-13T00:36:42.514Z] Step 29/29 : LABEL version=0.0.0 [2023-07-13T00:36:42.514Z] ---> Running in 104d9f411359 [2023-07-13T00:36:42.514Z] Removing intermediate container 104d9f411359 [2023-07-13T00:36:42.514Z] ---> fe6717ec588a [2023-07-13T00:36:42.514Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-13T00:36:42.514Z] Successfully built fe6717ec588a [2023-07-13T00:36:42.514Z] 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-07-13T00:36:43.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T00:36:43.400Z] [2023-07-13T00:36:43.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:36:43.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T00:36:43.882Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T00:36:43.882Z] 5eb5b503b376: Pulling fs layer [2023-07-13T00:36:43.882Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T00:36:43.882Z] ec43610c2a17: Pulling fs layer [2023-07-13T00:36:43.882Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T00:36:43.882Z] 33b1e0a273af: Pulling fs layer [2023-07-13T00:36:43.882Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T00:36:43.882Z] 2f39f015ded8: Pulling fs layer [2023-07-13T00:36:43.882Z] 3a2ae6a8a46f: Waiting [2023-07-13T00:36:43.882Z] 33b1e0a273af: Waiting [2023-07-13T00:36:43.882Z] 5d3b04190fa2: Waiting [2023-07-13T00:36:43.882Z] 5c69ac0246d0: Verifying Checksum [2023-07-13T00:36:43.882Z] 5c69ac0246d0: Download complete [2023-07-13T00:36:43.882Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T00:36:43.882Z] 3a2ae6a8a46f: Download complete [2023-07-13T00:36:43.882Z] 33b1e0a273af: Verifying Checksum [2023-07-13T00:36:43.882Z] 33b1e0a273af: Download complete [2023-07-13T00:36:43.882Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T00:36:43.882Z] 5d3b04190fa2: Download complete [2023-07-13T00:36:44.143Z] ec43610c2a17: Verifying Checksum [2023-07-13T00:36:44.143Z] ec43610c2a17: Download complete [2023-07-13T00:36:44.143Z] 5eb5b503b376: Download complete [2023-07-13T00:36:44.711Z] 2f39f015ded8: Verifying Checksum [2023-07-13T00:36:44.711Z] 2f39f015ded8: Download complete [2023-07-13T00:36:45.276Z] 5eb5b503b376: Pull complete [2023-07-13T00:36:45.534Z] 5c69ac0246d0: Pull complete [2023-07-13T00:36:45.796Z] ec43610c2a17: Pull complete [2023-07-13T00:36:46.056Z] 3a2ae6a8a46f: Pull complete [2023-07-13T00:36:46.056Z] 33b1e0a273af: Pull complete [2023-07-13T00:36:46.313Z] 5d3b04190fa2: Pull complete [2023-07-13T00:36:50.533Z] 2f39f015ded8: Pull complete [2023-07-13T00:36:50.533Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T00:36:50.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T00:36:50.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:36:50.759Z] prd-ubuntu20.04-docker-8c-8g-1011 does not seem to be running inside a container [2023-07-13T00:36:50.802Z] $ 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-206 -v /w/workspace/y_app-rfid-llrp-inventory_PR-206:/w/workspace/y_app-rfid-llrp-inventory_PR-206:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-206@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-07-13T00:37:04.011Z] $ docker top ce5f391967238442a8d574d5a76f51a3e525d50f7441e475b67f1583c9e65b51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:37:04.447Z] ---> job-cost.sh [2023-07-13T00:37:04.447Z] lf-activate-venv: SKIPPING [2023-07-13T00:37:04.447Z] INFO: No Stack... [2023-07-13T00:37:06.028Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T00:37:06.288Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T00:37:06.611Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-206/archives/cost.csv [2023-07-13T00:37:06.611Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T00:37:06.657Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] [2023-07-13T00:37:06.662Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] did not exist. Created. [2023-07-13T00:37:06.662Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T00:37:09.703Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T00:37:09.755Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T00:37:09.778Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T00:37:09.868Z] $ docker stop --time=1 ce5f391967238442a8d574d5a76f51a3e525d50f7441e475b67f1583c9e65b51 [2023-07-13T00:37:11.021Z] $ docker rm -f --volumes ce5f391967238442a8d574d5a76f51a3e525d50f7441e475b67f1583c9e65b51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T00:38:08.164Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1012 in /w/workspace/y_app-rfid-llrp-inventory_PR-206 [Pipeline] { [Pipeline] ws [2023-07-13T00:38:08.225Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-07-13T00:38:08.311Z] The recommended git tool is: git [2023-07-13T00:38:13.810Z] using credential edgex-jenkins-ssh [2023-07-13T00:38:13.830Z] Cloning the remote Git repository [2023-07-13T00:38:13.879Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-07-13T00:38:13.975Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-07-13T00:38:14.127Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-07-13T00:38:14.128Z] > git --version # timeout=10 [2023-07-13T00:38:14.150Z] > git --version # 'git version 2.25.1' [2023-07-13T00:38:14.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T00:38:14.329Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T00:38:16.297Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-07-13T00:38:16.316Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T00:38:17.736Z] Merging remotes/origin/main commit 77aa89dd3ba985c44f4807dbd67e46bd9bc16e12 into PR head commit fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [2023-07-13T00:38:18.017Z] Merge succeeded, producing fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [2023-07-13T00:38:18.017Z] Checking out Revision fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a (PR-206) [2023-07-13T00:38:17.147Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-07-13T00:38:17.193Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-07-13T00:38:17.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T00:38:17.209Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-13T00:38:17.757Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T00:38:17.831Z] > git checkout -f fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a # timeout=10 [2023-07-13T00:38:17.928Z] > git remote # timeout=10 [2023-07-13T00:38:17.945Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T00:38:17.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T00:38:17.979Z] > git merge 77aa89dd3ba985c44f4807dbd67e46bd9bc16e12 # timeout=10 [2023-07-13T00:38:18.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T00:38:18.026Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T00:38:18.040Z] > git checkout -f fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a # timeout=10 [2023-07-13T00:38:21.499Z] Commit message: "build: Update to latest SDK" [2023-07-13T00:38:21.546Z] > git --version # timeout=10 [2023-07-13T00:38:21.559Z] > git --version # 'git version 2.25.1' [2023-07-13T00:38:21.569Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T00:38:22.832Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T00:38:22.832Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T00:38:22.832Z] Dload Upload Total Spent Left Speed [2023-07-13T00:38:22.832Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-07-13T00:38:23.506Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T00:38:23.856Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T00:38:23.856Z] + sudo tee /etc/docker/daemon.new [2023-07-13T00:38:23.856Z] { [2023-07-13T00:38:23.856Z] "registry-mirrors": [ [2023-07-13T00:38:23.856Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T00:38:23.856Z] ], [2023-07-13T00:38:23.856Z] "bip": "10.250.0.254/24", [2023-07-13T00:38:23.856Z] "hosts": [ [2023-07-13T00:38:23.856Z] "tcp://0.0.0.0:5555", [2023-07-13T00:38:23.856Z] "unix:///var/run/docker.sock" [2023-07-13T00:38:23.856Z] ], [2023-07-13T00:38:23.856Z] "mtu": 1458, [2023-07-13T00:38:23.856Z] "selinux-enabled": true, [2023-07-13T00:38:23.856Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T00:38:23.856Z] } [Pipeline] sh [2023-07-13T00:38:24.201Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T00:38:24.544Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T00:38:42.953Z] provisioning config files... [2023-07-13T00:38:42.980Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config5409282574386978494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:38:43.375Z] ---> docker-login.sh [2023-07-13T00:38:43.375Z] nexus3.edgexfoundry.org:10001 [2023-07-13T00:38:43.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:38:44.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:38:44.230Z] Configure a credential helper to remove this warning. See [2023-07-13T00:38:44.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:38:44.230Z] [2023-07-13T00:38:44.230Z] Login Succeeded [2023-07-13T00:38:44.230Z] nexus3.edgexfoundry.org:10002 [2023-07-13T00:38:44.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:38:44.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:38:44.499Z] Configure a credential helper to remove this warning. See [2023-07-13T00:38:44.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:38:44.499Z] [2023-07-13T00:38:44.499Z] Login Succeeded [2023-07-13T00:38:44.499Z] nexus3.edgexfoundry.org:10003 [2023-07-13T00:38:44.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:38:44.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:38:44.768Z] Configure a credential helper to remove this warning. See [2023-07-13T00:38:44.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:38:44.768Z] [2023-07-13T00:38:44.768Z] Login Succeeded [2023-07-13T00:38:44.768Z] nexus3.edgexfoundry.org:10004 [2023-07-13T00:38:45.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:38:45.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:38:45.038Z] Configure a credential helper to remove this warning. See [2023-07-13T00:38:45.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:38:45.038Z] [2023-07-13T00:38:45.038Z] Login Succeeded [2023-07-13T00:38:45.038Z] docker.io [2023-07-13T00:38:45.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T00:38:45.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T00:38:45.575Z] Configure a credential helper to remove this warning. See [2023-07-13T00:38:45.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T00:38:45.575Z] [2023-07-13T00:38:45.575Z] Login Succeeded [2023-07-13T00:38:45.575Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T00:38:45.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T00:38:46.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T00:38:46.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T00:38:46.084Z] ========================================================= [2023-07-13T00:38:46.084Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-13T00:38:46.084Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:38:46.644Z] + 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-07-13T00:38:46.928Z] Sending build context to Docker daemon 684kB [2023-07-13T00:38:46.928Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T00:38:46.928Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T00:38:46.928Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-13T00:38:46.928Z] edb6bdbacee9: Pulling fs layer [2023-07-13T00:38:46.928Z] 5f9638ab2659: Pulling fs layer [2023-07-13T00:38:46.928Z] 8d51d6327a98: Pulling fs layer [2023-07-13T00:38:46.928Z] 8b374f2dd631: Pulling fs layer [2023-07-13T00:38:46.928Z] ec14aa9079de: Pulling fs layer [2023-07-13T00:38:46.928Z] 2f466654f4bb: Pulling fs layer [2023-07-13T00:38:46.928Z] 554e91adad29: Pulling fs layer [2023-07-13T00:38:46.928Z] 8b374f2dd631: Waiting [2023-07-13T00:38:46.928Z] ec14aa9079de: Waiting [2023-07-13T00:38:46.928Z] 554e91adad29: Waiting [2023-07-13T00:38:46.928Z] 2f466654f4bb: Waiting [2023-07-13T00:38:46.928Z] 5f9638ab2659: Verifying Checksum [2023-07-13T00:38:46.928Z] 5f9638ab2659: Download complete [2023-07-13T00:38:47.200Z] 8b374f2dd631: Verifying Checksum [2023-07-13T00:38:47.200Z] 8b374f2dd631: Download complete [2023-07-13T00:38:47.200Z] ec14aa9079de: Verifying Checksum [2023-07-13T00:38:47.200Z] ec14aa9079de: Download complete [2023-07-13T00:38:47.200Z] edb6bdbacee9: Verifying Checksum [2023-07-13T00:38:47.200Z] edb6bdbacee9: Download complete [2023-07-13T00:38:48.173Z] edb6bdbacee9: Pull complete [2023-07-13T00:38:48.451Z] 554e91adad29: Verifying Checksum [2023-07-13T00:38:48.451Z] 554e91adad29: Download complete [2023-07-13T00:38:48.719Z] 5f9638ab2659: Pull complete [2023-07-13T00:38:49.701Z] 2f466654f4bb: Verifying Checksum [2023-07-13T00:38:49.701Z] 2f466654f4bb: Download complete [2023-07-13T00:38:49.701Z] 8d51d6327a98: Verifying Checksum [2023-07-13T00:38:49.701Z] 8d51d6327a98: Download complete [2023-07-13T00:38:59.806Z] 8d51d6327a98: Pull complete [2023-07-13T00:39:00.074Z] 8b374f2dd631: Pull complete [2023-07-13T00:39:00.343Z] ec14aa9079de: Pull complete [2023-07-13T00:39:10.438Z] 2f466654f4bb: Pull complete [2023-07-13T00:39:11.400Z] 554e91adad29: Pull complete [2023-07-13T00:39:11.400Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-13T00:39:11.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-13T00:39:11.400Z] ---> 1e15ea492957 [2023-07-13T00:39:11.400Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-13T00:39:13.362Z] ---> Running in ef0fd5079804 [2023-07-13T00:39:13.629Z] Removing intermediate container ef0fd5079804 [2023-07-13T00:39:13.629Z] ---> 4dbb0872083d [2023-07-13T00:39:13.629Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T00:39:13.629Z] ---> Running in b5749791cb1f [2023-07-13T00:39:13.895Z] Removing intermediate container b5749791cb1f [2023-07-13T00:39:13.895Z] ---> b55d6e2fd557 [2023-07-13T00:39:13.895Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T00:39:13.895Z] ---> Running in a63664ace68b [2023-07-13T00:39:14.170Z] Removing intermediate container a63664ace68b [2023-07-13T00:39:14.170Z] ---> 2109578b4c7f [2023-07-13T00:39:14.170Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T00:39:14.170Z] ---> Running in 2f310882a823 [2023-07-13T00:39:15.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T00:39:15.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T00:39:17.250Z] OK: 263 MiB in 53 packages [2023-07-13T00:39:17.834Z] Removing intermediate container 2f310882a823 [2023-07-13T00:39:17.834Z] ---> 18e8bd19c17f [2023-07-13T00:39:17.834Z] Step 7/12 : WORKDIR /app [2023-07-13T00:39:18.105Z] ---> Running in 358cc8adb2d3 [2023-07-13T00:39:18.371Z] Removing intermediate container 358cc8adb2d3 [2023-07-13T00:39:18.371Z] ---> 0d4277e69ae6 [2023-07-13T00:39:18.371Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T00:39:18.639Z] ---> 502ec496776c [2023-07-13T00:39:18.639Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T00:39:18.926Z] ---> Running in 9184d20f7e1f [2023-07-13T00:40:26.824Z] Removing intermediate container 9184d20f7e1f [2023-07-13T00:40:26.824Z] ---> aa72571f3995 [2023-07-13T00:40:26.824Z] Step 10/12 : COPY . . [2023-07-13T00:40:26.824Z] ---> a992d8932724 [2023-07-13T00:40:26.824Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T00:40:26.824Z] ---> Running in 30dc86e4f0e9 [2023-07-13T00:40:26.824Z] Removing intermediate container 30dc86e4f0e9 [2023-07-13T00:40:26.824Z] ---> a14cf5e61807 [2023-07-13T00:40:26.824Z] Step 12/12 : RUN $MAKE [2023-07-13T00:40:26.824Z] ---> Running in 665a975ede34 [2023-07-13T00:40:26.824Z] noop [2023-07-13T00:40:26.824Z] Removing intermediate container 665a975ede34 [2023-07-13T00:40:26.824Z] ---> eba0ad220aef [2023-07-13T00:40:26.824Z] Successfully built eba0ad220aef [2023-07-13T00:40:26.824Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:40:27.300Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T00:40:27.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:40:27.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-1012 does not seem to be running inside a container [2023-07-13T00:40:27.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T00:40:29.390Z] $ docker top 8f3d4a1763aa96ef0d5abc23d1673f1e74ad74edb9f4eb25d4bb76184ac4652b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T00:40:30.261Z] + go version [2023-07-13T00:40:30.261Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-13T00:40:30.295Z] $ docker stop --time=1 8f3d4a1763aa96ef0d5abc23d1673f1e74ad74edb9f4eb25d4bb76184ac4652b [2023-07-13T00:40:31.909Z] $ docker rm -f --volumes 8f3d4a1763aa96ef0d5abc23d1673f1e74ad74edb9f4eb25d4bb76184ac4652b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:40:32.729Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T00:40:32.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:40:32.983Z] prd-ubuntu20.04-docker-arm64-4c-16g-1012 does not seem to be running inside a container [2023-07-13T00:40:33.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T00:40:34.166Z] $ docker top 8d0b8964d7816360618f69afb3abf0da0a9e5e64a9faff409d775d64365d3c36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T00:40:34.730Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-07-13T00:40:35.122Z] + make test [2023-07-13T00:40:35.392Z] go test -race ./... -coverprofile=coverage.out ./... [2023-07-13T00:43:27.148Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-07-13T00:43:27.148Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-07-13T00:43:28.574Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.469s coverage: 86.2% of statements [2023-07-13T00:43:43.574Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.510s coverage: 71.9% of statements [2023-07-13T00:43:43.574Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-13T00:43:43.574Z] go vet ./... [2023-07-13T00:46:05.267Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-13T00:46:05.267Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-13T00:46:05.267Z] ./bin/test-attribution.sh [Pipeline] echo [2023-07-13T00:46:05.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-13T00:46:05.338Z] $ docker stop --time=1 8d0b8964d7816360618f69afb3abf0da0a9e5e64a9faff409d775d64365d3c36 [2023-07-13T00:46:07.187Z] $ docker rm -f --volumes 8d0b8964d7816360618f69afb3abf0da0a9e5e64a9faff409d775d64365d3c36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T00:46:08.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-13T00:46:08.795Z] Warning: overwriting stash ‘coverage-report’ [2023-07-13T00:46:09.367Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T00:46:10.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T00:46:10.367Z] + ls -al . [2023-07-13T00:46:10.367Z] total 232 [2023-07-13T00:46:10.367Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 00:40 . [2023-07-13T00:46:10.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:38 .. [2023-07-13T00:46:10.367Z] -rw-rw-r-- 1 jenkins jenkins 262 Jul 13 00:38 .dockerignore [2023-07-13T00:46:10.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 00:38 .git [2023-07-13T00:46:10.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:38 .github [2023-07-13T00:46:10.367Z] -rw-rw-r-- 1 jenkins jenkins 788 Jul 13 00:38 .gitignore [2023-07-13T00:46:10.367Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 00:38 .golangci.yml [2023-07-13T00:46:10.367Z] -rw-rw-r-- 1 jenkins jenkins 10332 Jul 13 00:38 Attribution.txt [2023-07-13T00:46:10.367Z] -rw-rw-r-- 1 jenkins jenkins 9042 Jul 13 00:38 CHANGELOG.md [2023-07-13T00:46:10.367Z] -rw-rw-r-- 1 jenkins jenkins 1659 Jul 13 00:38 Dockerfile [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 00:38 GOVERNANCE.md [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 687 Jul 13 00:38 Jenkinsfile [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 13 00:38 LICENSE [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 2497 Jul 13 00:38 Makefile [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 13 00:38 OWNERS.md [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 31516 Jul 13 00:38 README.md [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 00:33 VERSION [2023-07-13T00:46:10.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:38 bin [2023-07-13T00:46:10.368Z] -rw-r--r-- 1 jenkins jenkins 41317 Jul 13 00:43 coverage.out [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 3692 Jul 13 00:38 go.mod [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 32863 Jul 13 00:38 go.sum [2023-07-13T00:46:10.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:38 images [2023-07-13T00:46:10.368Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:38 internal [2023-07-13T00:46:10.368Z] -rw-rw-r-- 1 jenkins jenkins 531 Jul 13 00:38 main.go [2023-07-13T00:46:10.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:38 res [2023-07-13T00:46:10.368Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:38 snap [2023-07-13T00:46:10.368Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:38 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:46:10.804Z] + 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=fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a --label arch=arm64 --label version=0.0.0 . [2023-07-13T00:46:11.076Z] Sending build context to Docker daemon 684kB [2023-07-13T00:46:11.076Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T00:46:11.076Z] Step 2/29 : FROM ${BASE} AS builder [2023-07-13T00:46:11.076Z] ---> eba0ad220aef [2023-07-13T00:46:11.076Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-07-13T00:46:11.076Z] ---> Running in fc5e0bbfd31c [2023-07-13T00:46:11.343Z] Removing intermediate container fc5e0bbfd31c [2023-07-13T00:46:11.343Z] ---> 166e377c82f6 [2023-07-13T00:46:11.343Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T00:46:11.614Z] ---> Running in c34394d33f02 [2023-07-13T00:46:11.884Z] Removing intermediate container c34394d33f02 [2023-07-13T00:46:11.884Z] ---> 9f009bd97cd8 [2023-07-13T00:46:11.884Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-07-13T00:46:11.884Z] ---> Running in 256ac94a2d71 [2023-07-13T00:46:12.153Z] Removing intermediate container 256ac94a2d71 [2023-07-13T00:46:12.153Z] ---> 5ac00b64caf8 [2023-07-13T00:46:12.153Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T00:46:12.153Z] ---> Running in 153186e727e6 [2023-07-13T00:46:13.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T00:46:13.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T00:46:14.650Z] OK: 263 MiB in 53 packages [2023-07-13T00:46:15.635Z] Removing intermediate container 153186e727e6 [2023-07-13T00:46:15.635Z] ---> c47a21d3a7e1 [2023-07-13T00:46:15.635Z] Step 7/29 : WORKDIR /app [2023-07-13T00:46:15.635Z] ---> Running in d55341c9e23d [2023-07-13T00:46:15.902Z] Removing intermediate container d55341c9e23d [2023-07-13T00:46:15.902Z] ---> 80ee7660bc9a [2023-07-13T00:46:15.902Z] Step 8/29 : COPY go.mod vendor* ./ [2023-07-13T00:46:16.486Z] ---> 65fd5cbefffb [2023-07-13T00:46:16.486Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T00:46:16.486Z] ---> Running in 74f4074a2a7c [2023-07-13T00:46:18.430Z] Removing intermediate container 74f4074a2a7c [2023-07-13T00:46:18.430Z] ---> d1f8cb7f47ee [2023-07-13T00:46:18.430Z] Step 10/29 : COPY . . [2023-07-13T00:46:19.015Z] ---> cd8e4685388c [2023-07-13T00:46:19.015Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T00:46:19.015Z] ---> Running in 19b742e9034a [2023-07-13T00:46:19.282Z] Removing intermediate container 19b742e9034a [2023-07-13T00:46:19.282Z] ---> 4cb5bf461d99 [2023-07-13T00:46:19.282Z] Step 12/29 : RUN $MAKE [2023-07-13T00:46:19.550Z] ---> Running in 753d71fde330 [2023-07-13T00:46:20.511Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -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-07-13T00:48:42.195Z] Removing intermediate container 753d71fde330 [2023-07-13T00:48:42.195Z] ---> 9eb20abd1596 [2023-07-13T00:48:42.195Z] Step 13/29 : FROM alpine:3.17 [2023-07-13T00:48:42.195Z] 3.17: Pulling from library/alpine [2023-07-13T00:48:42.195Z] edb6bdbacee9: Already exists [2023-07-13T00:48:42.195Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-13T00:48:42.195Z] Status: Downloaded newer image for alpine:3.17 [2023-07-13T00:48:42.195Z] ---> 779605e5fbc0 [2023-07-13T00:48:42.195Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-13T00:48:42.195Z] ---> Running in f2db984fee7c [2023-07-13T00:48:42.195Z] Removing intermediate container f2db984fee7c [2023-07-13T00:48:42.195Z] ---> 6b5d568b1271 [2023-07-13T00:48:42.195Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-07-13T00:48:42.195Z] ---> Running in dcd880bb488d [2023-07-13T00:48:42.195Z] Removing intermediate container dcd880bb488d [2023-07-13T00:48:42.195Z] ---> 129b7fc4c07a [2023-07-13T00:48:42.195Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-07-13T00:48:42.195Z] ---> Running in e3e328f74259 [2023-07-13T00:48:42.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T00:48:42.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T00:48:42.195Z] (1/2) Installing ca-certificates (20230506-r0) [2023-07-13T00:48:42.195Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-07-13T00:48:42.195Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T00:48:42.195Z] Executing ca-certificates-20230506-r0.trigger [2023-07-13T00:48:42.195Z] OK: 8 MiB in 17 packages [2023-07-13T00:48:42.195Z] Removing intermediate container e3e328f74259 [2023-07-13T00:48:42.195Z] ---> 9418278318f5 [2023-07-13T00:48:42.195Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-07-13T00:48:42.195Z] ---> 1bb267feb939 [2023-07-13T00:48:42.195Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-07-13T00:48:42.195Z] ---> 4ba65feaf2e7 [2023-07-13T00:48:42.195Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-07-13T00:48:42.195Z] ---> 4e3675782270 [2023-07-13T00:48:42.195Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-07-13T00:48:42.195Z] ---> 7e2992d9465b [2023-07-13T00:48:42.195Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-07-13T00:48:42.195Z] ---> 7285572c4bbb [2023-07-13T00:48:42.195Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-07-13T00:48:42.195Z] ---> Running in 642cb7e493e0 [2023-07-13T00:48:42.195Z] Removing intermediate container 642cb7e493e0 [2023-07-13T00:48:42.195Z] ---> 1aa90e3b063c [2023-07-13T00:48:42.195Z] Step 23/29 : VOLUME /cache [2023-07-13T00:48:42.195Z] ---> Running in bd5be3cdd723 [2023-07-13T00:48:42.195Z] Removing intermediate container bd5be3cdd723 [2023-07-13T00:48:42.195Z] ---> 39677486cf6c [2023-07-13T00:48:42.195Z] Step 24/29 : EXPOSE 59711 [2023-07-13T00:48:42.195Z] ---> Running in 695f9b9ea7b7 [2023-07-13T00:48:42.195Z] Removing intermediate container 695f9b9ea7b7 [2023-07-13T00:48:42.195Z] ---> 6ffdb2a2dcaa [2023-07-13T00:48:42.195Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-07-13T00:48:42.195Z] ---> Running in 69fcce08de8f [2023-07-13T00:48:42.195Z] Removing intermediate container 69fcce08de8f [2023-07-13T00:48:42.195Z] ---> 20237f9edf37 [2023-07-13T00:48:42.195Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-07-13T00:48:42.195Z] ---> Running in 7c876380e308 [2023-07-13T00:48:42.195Z] Removing intermediate container 7c876380e308 [2023-07-13T00:48:42.195Z] ---> decf616216bc [2023-07-13T00:48:42.195Z] Step 27/29 : LABEL arch=arm64 [2023-07-13T00:48:42.195Z] ---> Running in d265f2c12236 [2023-07-13T00:48:42.195Z] Removing intermediate container d265f2c12236 [2023-07-13T00:48:42.195Z] ---> 4c39617665cf [2023-07-13T00:48:42.195Z] Step 28/29 : LABEL git_sha=fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [2023-07-13T00:48:42.195Z] ---> Running in bcfc95b10a05 [2023-07-13T00:48:42.465Z] Removing intermediate container bcfc95b10a05 [2023-07-13T00:48:42.465Z] ---> 44c9ec8a4be9 [2023-07-13T00:48:42.465Z] Step 29/29 : LABEL version=0.0.0 [2023-07-13T00:48:42.465Z] ---> Running in 0e0058a5f3df [2023-07-13T00:48:42.733Z] Removing intermediate container 0e0058a5f3df [2023-07-13T00:48:42.733Z] ---> 0cbd4529114b [2023-07-13T00:48:42.733Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-13T00:48:42.733Z] Successfully built 0cbd4529114b [2023-07-13T00:48:42.733Z] 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-07-13T00:48:43.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T00:48:43.601Z] [2023-07-13T00:48:43.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:48:44.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T00:48:44.035Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T00:48:44.035Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T00:48:44.035Z] 04944245beec: Pulling fs layer [2023-07-13T00:48:44.035Z] 699f458cf7ca: Pulling fs layer [2023-07-13T00:48:44.035Z] 765212b225bb: Pulling fs layer [2023-07-13T00:48:44.035Z] f23df028b6ca: Pulling fs layer [2023-07-13T00:48:44.035Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T00:48:44.035Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T00:48:44.035Z] f23df028b6ca: Waiting [2023-07-13T00:48:44.035Z] 765212b225bb: Waiting [2023-07-13T00:48:44.035Z] d65c8cfc05b1: Waiting [2023-07-13T00:48:44.035Z] 2437ff75d9bd: Waiting [2023-07-13T00:48:44.305Z] 04944245beec: Verifying Checksum [2023-07-13T00:48:44.305Z] 04944245beec: Download complete [2023-07-13T00:48:44.305Z] 765212b225bb: Verifying Checksum [2023-07-13T00:48:44.305Z] 765212b225bb: Download complete [2023-07-13T00:48:44.305Z] f23df028b6ca: Verifying Checksum [2023-07-13T00:48:44.305Z] f23df028b6ca: Download complete [2023-07-13T00:48:44.305Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T00:48:44.305Z] d65c8cfc05b1: Download complete [2023-07-13T00:48:44.579Z] 699f458cf7ca: Verifying Checksum [2023-07-13T00:48:44.579Z] 699f458cf7ca: Download complete [2023-07-13T00:48:44.851Z] 8998bd30e6a1: Verifying Checksum [2023-07-13T00:48:44.851Z] 8998bd30e6a1: Download complete [2023-07-13T00:48:47.444Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T00:48:47.445Z] 2437ff75d9bd: Download complete [2023-07-13T00:48:48.854Z] 8998bd30e6a1: Pull complete [2023-07-13T00:48:49.437Z] 04944245beec: Pull complete [2023-07-13T00:48:50.847Z] 699f458cf7ca: Pull complete [2023-07-13T00:48:50.847Z] 765212b225bb: Pull complete [2023-07-13T00:48:52.795Z] f23df028b6ca: Pull complete [2023-07-13T00:48:53.063Z] d65c8cfc05b1: Pull complete [2023-07-13T00:49:08.049Z] 2437ff75d9bd: Pull complete [2023-07-13T00:49:08.049Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T00:49:08.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T00:49:08.049Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:49:08.379Z] prd-ubuntu20.04-docker-arm64-4c-16g-1012 does not seem to be running inside a container [2023-07-13T00:49:08.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-13T00:49:11.037Z] $ docker top 9af843d6165204e12a82cb07137f7f2f3f5bf4d8ad8be4b444e51eef09442c23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:11.634Z] ---> job-cost.sh [2023-07-13T00:49:11.903Z] lf-activate-venv: SKIPPING [2023-07-13T00:49:11.903Z] INFO: No Stack... [2023-07-13T00:49:12.487Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T00:49:13.447Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T00:49:14.104Z] + cut -d, -f6 [2023-07-13T00:49:14.104Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock [2023-07-13T00:49:14.187Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] [2023-07-13T00:49:14.191Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] did not exist. Created. [2023-07-13T00:49:14.192Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T00:49:14.672Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-cdc37b26/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T00:49:15.345Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T00:49:15.382Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T00:49:15.439Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T00:49:15.453Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-206-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T00:49:15.524Z] $ docker stop --time=1 9af843d6165204e12a82cb07137f7f2f3f5bf4d8ad8be4b444e51eef09442c23 [2023-07-13T00:49:17.044Z] $ docker rm -f --volumes 9af843d6165204e12a82cb07137f7f2f3f5bf4d8ad8be4b444e51eef09442c23 [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-07-13T00:49:21.788Z] provisioning config files... [2023-07-13T00:49:21.795Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/config12573911676317960769tmp [Pipeline] { [Pipeline] sh [2023-07-13T00:49:22.134Z] + set +x [2023-07-13T00:49:22.134Z] + curl -s+ https://codecov.io/bash [2023-07-13T00:49:22.134Z] bash -s -- [2023-07-13T00:49:22.134Z] [2023-07-13T00:49:22.134Z] _____ _ [2023-07-13T00:49:22.134Z] / ____| | | [2023-07-13T00:49:22.134Z] | | ___ __| | ___ ___ _____ __ [2023-07-13T00:49:22.134Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-13T00:49:22.134Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-13T00:49:22.134Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-13T00:49:22.134Z] Bash-1.0.6 [2023-07-13T00:49:22.134Z] [2023-07-13T00:49:22.134Z] [2023-07-13T00:49:22.134Z] ==> git version 2.25.1 found [2023-07-13T00:49:22.134Z] ==> 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-07-13T00:49:22.134Z] Release-Date: 2020-01-08 [2023-07-13T00:49:22.134Z] 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-07-13T00:49:22.134Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-13T00:49:22.134Z] ==> Jenkins CI detected. [2023-07-13T00:49:22.134Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-206 [2023-07-13T00:49:22.134Z] project root: . [2023-07-13T00:49:22.134Z] --> token set from env [2023-07-13T00:49:22.134Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-13T00:49:22.134Z] ==> Running gcov in . (disable via -X gcov) [2023-07-13T00:49:22.134Z] ==> Python coveragepy not found [2023-07-13T00:49:22.134Z] ==> Searching for coverage reports in: [2023-07-13T00:49:22.134Z] + . [2023-07-13T00:49:22.134Z] -> Found 1 reports [2023-07-13T00:49:22.134Z] ==> Detecting git/mercurial file structure [2023-07-13T00:49:22.394Z] ==> Reading reports [2023-07-13T00:49:22.394Z] + ./coverage.out bytes=41317 [2023-07-13T00:49:22.394Z] ==> Appending adjustments [2023-07-13T00:49:22.394Z] https://docs.codecov.io/docs/fixing-reports [2023-07-13T00:49:22.394Z] + Found adjustments [2023-07-13T00:49:22.394Z] ==> Gzipping contents [2023-07-13T00:49:22.394Z] 12K /tmp/codecov.iNu4aC.gz [2023-07-13T00:49:22.394Z] ==> Uploading reports [2023-07-13T00:49:22.394Z] url: https://codecov.io [2023-07-13T00:49:22.394Z] query: branch=PR-206&commit=fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=206&job=&cmd_args= [2023-07-13T00:49:22.394Z] -> Pinging Codecov [2023-07-13T00:49:22.394Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-206&commit=fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=206&job=&cmd_args= [2023-07-13T00:49:22.654Z] -> Uploading to [2023-07-13T00:49:22.654Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-13/581DD39554BDF9B6E22D074273EAD858/fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a/a24e2391-8aa0-439d-9a0d-c0c785201946.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230713T004922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ccf887b185c0ec6158b47f703ee2e88cd227ec053ef64a6065522c750c694fc [2023-07-13T00:49:22.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T00:49:22.654Z] Dload Upload Total Spent Left Speed [2023-07-13T00:49:22.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11800 0 0 100 11800 0 59296 --:--:-- --:--:-- --:--:-- 59595 [2023-07-13T00:49:22.914Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/fdae7e201a0f5b9544c7e45070c1c8dcc77e5d3a [Pipeline] } [2023-07-13T00:49:22.940Z] 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-07-13T00:49:24.697Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-206/archives ] [2023-07-13T00:49:24.698Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-206/archives [2023-07-13T00:49:24.698Z] total 16 [2023-07-13T00:49:24.698Z] drwxr-xr-x 3 root root 4096 Jul 13 00:37 . [2023-07-13T00:49:24.698Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 00:37 .. [2023-07-13T00:49:24.698Z] drwxr-xr-x 2 root root 4096 Jul 13 00:37 cost [2023-07-13T00:49:24.698Z] -rw-r--r-- 1 root root 95 Jul 13 00:37 cost.csv [2023-07-13T00:49:24.698Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-206/archives [2023-07-13T00:49:24.698Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-206/archives [2023-07-13T00:49:24.698Z] total 16 [2023-07-13T00:49:24.698Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 00:37 . [2023-07-13T00:49:24.698Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 00:37 .. [2023-07-13T00:49:24.698Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 00:37 cost [2023-07-13T00:49:24.698Z] -rw-r--r-- 1 jenkins jenkins 95 Jul 13 00:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:25.030Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:25.919Z] ---> package-listing.sh [2023-07-13T00:49:25.919Z] ++ facter osfamily [2023-07-13T00:49:25.919Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T00:49:26.182Z] + OS_FAMILY=debian [2023-07-13T00:49:26.182Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-206 [2023-07-13T00:49:26.182Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T00:49:26.182Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T00:49:26.182Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T00:49:26.182Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T00:49:26.182Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-206 ']' [2023-07-13T00:49:26.182Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T00:49:26.182Z] + case "${OS_FAMILY}" in [2023-07-13T00:49:26.182Z] + grep '^ii' [2023-07-13T00:49:26.182Z] + dpkg -l [2023-07-13T00:49:26.182Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T00:49:26.182Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T00:49:26.182Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T00:49:26.182Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-206 ']' [2023-07-13T00:49:26.182Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-206/archives/ [2023-07-13T00:49:26.182Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-206/archives/ [Pipeline] echo [2023-07-13T00:49:26.213Z] 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-206/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-13T00:49:26.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T00:49:27.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T00:49:27.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T00:49:27.277Z] prd-ubuntu20.04-docker-8c-8g-1011 does not seem to be running inside a container [2023-07-13T00:49:27.330Z] $ 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-206/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-206 -v /w/workspace/y_app-rfid-llrp-inventory_PR-206:/w/workspace/y_app-rfid-llrp-inventory_PR-206:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-206@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-07-13T00:49:27.549Z] $ docker top 43dd03480fad350fb514806c07c49d5470c813f022a612ab8d90630653968b0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T00:49:27.926Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T00:49:28.245Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T00:49:28.560Z] + ls /var/log/sa-host [2023-07-13T00:49:28.560Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T00:49:28.709Z] provisioning config files... [2023-07-13T00:49:28.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-206@tmp/config4511124220575669800tmp [Pipeline] { [Pipeline] echo [2023-07-13T00:49:28.769Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:29.082Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T00:49:29.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:29.507Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T00:49:29.539Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:29.850Z] ---> sudo-logs.sh [2023-07-13T00:49:29.850Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T00:49:29.932Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:30.245Z] ---> job-cost.sh [2023-07-13T00:49:30.245Z] lf-activate-venv: SKIPPING [2023-07-13T00:49:30.245Z] DEBUG: total: 0.2199999988079071 [2023-07-13T00:49:30.245Z] INFO: Retrieving Stack Cost... [2023-07-13T00:49:30.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T00:49:31.083Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T00:49:31.113Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T00:49:31.430Z] ---> logs-deploy.sh [2023-07-13T00:49:31.430Z] lf-activate-venv: SKIPPING [2023-07-13T00:49:31.430Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-206/1 [2023-07-13T00:49:31.430Z] INFO: archiving workspace using pattern(s): [2023-07-13T00:49:32.370Z] Archives upload complete. [2023-07-13T00:49:32.371Z] INFO: archiving logs to Nexus