Pull request #77 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2032d8e70c3908fafaa2f44b9e57a305cf0974af+6dcf977bb9ee6a8be470f822dda7ba2d1a26fe3d (35d5e60107a19e5a47a2624ed24a58332914c656) 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-ssh1321165779979653128.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh15397594136224685235.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-77/workspace@libs/edgex-global-pipelines # 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-77/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2723312374197213872.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-77/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13530488948570096799.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh18072295811751778849.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-77/workspace@libs/lf-pipelines # 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-77/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2159363925770243745.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34478 in /w/workspace/ry_app-rfid-llrp-inventory_PR-77 [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/ry_app-rfid-llrp-inventory_PR-77 # 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 Merging remotes/origin/main commit 6dcf977bb9ee6a8be470f822dda7ba2d1a26fe3d into PR head commit 2032d8e70c3908fafaa2f44b9e57a305cf0974af Merge succeeded, producing 2032d8e70c3908fafaa2f44b9e57a305cf0974af Checking out Revision 2032d8e70c3908fafaa2f44b9e57a305cf0974af (PR-77) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2032d8e70c3908fafaa2f44b9e57a305cf0974af # 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 6dcf977bb9ee6a8be470f822dda7ba2d1a26fe3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2032d8e70c3908fafaa2f44b9e57a305cf0974af # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-02T13:14:29.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-02T13:14:30.028Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-02T13:14:30.132Z] ========================================================= [2022-05-02T13:14:30.132Z] EdgeX Global Pipelines Version Info [2022-05-02T13:14:30.132Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:14:30.922Z] ------------------- [2022-05-02T13:14:30.922Z] stable info: [2022-05-02T13:14:30.922Z] ------------------- [2022-05-02T13:14:30.922Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-02T13:14:30.922Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T13:14:30.922Z] Message: update stable to v1.0.227 [2022-05-02T13:14:31.496Z] ------------------- [2022-05-02T13:14:31.496Z] experimental info: [2022-05-02T13:14:31.496Z] ------------------- [2022-05-02T13:14:31.496Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-02T13:14:31.496Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T13:14:31.496Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-02T13:14:31.804Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-05-02T13:14:31.846Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-05-02T13:14:31.888Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-02T13:14:31.930Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-02T13:14:31.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-02T13:14:32.022Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-02T13:14:32.064Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-02T13:14:32.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-02T13:14:32.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-02T13:14:32.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-02T13:14:32.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-02T13:14:32.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-05-02T13:14:32.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-02T13:14:32.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-02T13:14:32.414Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T13:14:32.458Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T13:14:32.497Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T13:14:32.536Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T13:14:32.579Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-02T13:14:32.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-02T13:14:32.660Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-02T13:14:32.703Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-02T13:14:32.745Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-02T13:14:32.785Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-02T13:14:32.830Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-02T13:14:32.872Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-02T13:14:32.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2022-05-02T13:14:32.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2022-05-02T13:14:32.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2022-05-02T13:14:33.032Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2032d8e70c3908fafaa2f44b9e57a305cf0974af [Pipeline] echo [2022-05-02T13:14:33.067Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2032d8e [Pipeline] echo [2022-05-02T13:14:33.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T13:14:33.229Z] provisioning config files... [2022-05-02T13:14:33.243Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/config5560868516593744664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:14:33.611Z] ---> docker-login.sh [2022-05-02T13:14:33.611Z] nexus3.edgexfoundry.org:10001 [2022-05-02T13:14:33.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:34.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:34.134Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:34.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:34.134Z] [2022-05-02T13:14:34.134Z] Login Succeeded [2022-05-02T13:14:34.134Z] nexus3.edgexfoundry.org:10002 [2022-05-02T13:14:34.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:34.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:34.134Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:34.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:34.134Z] [2022-05-02T13:14:34.134Z] Login Succeeded [2022-05-02T13:14:34.134Z] nexus3.edgexfoundry.org:10003 [2022-05-02T13:14:34.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:34.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:34.396Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:34.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:34.396Z] [2022-05-02T13:14:34.396Z] Login Succeeded [2022-05-02T13:14:34.396Z] nexus3.edgexfoundry.org:10004 [2022-05-02T13:14:34.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:34.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:34.396Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:34.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:34.396Z] [2022-05-02T13:14:34.396Z] Login Succeeded [2022-05-02T13:14:34.396Z] docker.io [2022-05-02T13:14:34.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:34.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:34.921Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:34.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:34.921Z] [2022-05-02T13:14:34.921Z] Login Succeeded [2022-05-02T13:14:34.921Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T13:14:34.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-02T13:14:35.637Z] + git rev-list -1 --merges 2032d8e70c3908fafaa2f44b9e57a305cf0974af~1..2032d8e70c3908fafaa2f44b9e57a305cf0974af [Pipeline] echo [2022-05-02T13:14:35.689Z] -----------> git rev-list -1 --merges 2032d8e70c3908fafaa2f44b9e57a305cf0974af~1..2032d8e70c3908fafaa2f44b9e57a305cf0974af 2032d8e70c3908fafaa2f44b9e57a305cf0974af [false] [Pipeline] sh [2022-05-02T13:14:36.012Z] + git log --format=format:%s -1 2032d8e70c3908fafaa2f44b9e57a305cf0974af [Pipeline] echo [2022-05-02T13:14:36.046Z] ========================================================= [2022-05-02T13:14:36.046Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-02T13:14:36.046Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T13:14:36.489Z] + git log --format=format:%s -1 2032d8e70c3908fafaa2f44b9e57a305cf0974af [Pipeline] echo [2022-05-02T13:14:36.524Z] [semverPrep] GIT_COMMIT: 2032d8e70c3908fafaa2f44b9e57a305cf0974af, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-05-02T13:14:36.551Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-02T13:14:37.005Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-02T13:14:37.005Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-02T13:14:37.005Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-02T13:14:37.005Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-02T13:14:37.005Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-02T13:14:37.005Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-02T13:14:37.005Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:14:37.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T13:14:37.382Z] [2022-05-02T13:14:37.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:14:37.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T13:14:37.727Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-02T13:14:37.727Z] 1fe172e4850f: Pulling fs layer [2022-05-02T13:14:37.727Z] caf521ccaac6: Pulling fs layer [2022-05-02T13:14:37.727Z] 3ead6fa29328: Pulling fs layer [2022-05-02T13:14:37.727Z] 5c2a1cbceb83: Pulling fs layer [2022-05-02T13:14:37.727Z] a8d5f1318db7: Pulling fs layer [2022-05-02T13:14:37.727Z] c427282e49a2: Pulling fs layer [2022-05-02T13:14:37.727Z] 1827001aaf11: Pulling fs layer [2022-05-02T13:14:37.727Z] 0714d37db230: Pulling fs layer [2022-05-02T13:14:37.727Z] ac28cf19c067: Pulling fs layer [2022-05-02T13:14:37.727Z] ca983d60f3e2: Pulling fs layer [2022-05-02T13:14:37.727Z] 9f894cec8388: Pulling fs layer [2022-05-02T13:14:37.727Z] 0714d37db230: Waiting [2022-05-02T13:14:37.727Z] 5c2a1cbceb83: Waiting [2022-05-02T13:14:37.727Z] a8d5f1318db7: Waiting [2022-05-02T13:14:37.727Z] 9f894cec8388: Waiting [2022-05-02T13:14:37.727Z] c427282e49a2: Waiting [2022-05-02T13:14:37.727Z] 1827001aaf11: Waiting [2022-05-02T13:14:37.727Z] ac28cf19c067: Waiting [2022-05-02T13:14:37.727Z] ca983d60f3e2: Waiting [2022-05-02T13:14:37.727Z] caf521ccaac6: Verifying Checksum [2022-05-02T13:14:37.727Z] caf521ccaac6: Download complete [2022-05-02T13:14:37.727Z] 5c2a1cbceb83: Verifying Checksum [2022-05-02T13:14:37.727Z] 5c2a1cbceb83: Download complete [2022-05-02T13:14:37.988Z] a8d5f1318db7: Download complete [2022-05-02T13:14:37.988Z] 3ead6fa29328: Verifying Checksum [2022-05-02T13:14:37.988Z] 3ead6fa29328: Download complete [2022-05-02T13:14:37.988Z] c427282e49a2: Verifying Checksum [2022-05-02T13:14:37.988Z] c427282e49a2: Download complete [2022-05-02T13:14:37.988Z] 0714d37db230: Verifying Checksum [2022-05-02T13:14:37.988Z] 0714d37db230: Download complete [2022-05-02T13:14:37.988Z] ac28cf19c067: Download complete [2022-05-02T13:14:37.988Z] ca983d60f3e2: Verifying Checksum [2022-05-02T13:14:37.988Z] ca983d60f3e2: Download complete [2022-05-02T13:14:37.988Z] 9f894cec8388: Download complete [2022-05-02T13:14:37.988Z] 1fe172e4850f: Download complete [2022-05-02T13:14:38.249Z] 1827001aaf11: Verifying Checksum [2022-05-02T13:14:38.249Z] 1827001aaf11: Download complete [2022-05-02T13:14:39.637Z] 1fe172e4850f: Pull complete [2022-05-02T13:14:39.900Z] caf521ccaac6: Pull complete [2022-05-02T13:14:40.473Z] 3ead6fa29328: Pull complete [2022-05-02T13:14:40.473Z] 5c2a1cbceb83: Pull complete [2022-05-02T13:14:40.735Z] a8d5f1318db7: Pull complete [2022-05-02T13:14:41.000Z] c427282e49a2: Pull complete [2022-05-02T13:14:42.912Z] 1827001aaf11: Pull complete [2022-05-02T13:14:42.912Z] 0714d37db230: Pull complete [2022-05-02T13:14:42.912Z] ac28cf19c067: Pull complete [2022-05-02T13:14:43.173Z] ca983d60f3e2: Pull complete [2022-05-02T13:14:43.173Z] 9f894cec8388: Pull complete [2022-05-02T13:14:43.173Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-02T13:14:43.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T13:14:43.173Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-02T13:14:43.284Z] prd-ubuntu20.04-docker-8c-8g-34478 does not seem to be running inside a container [2022-05-02T13:14:43.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-77 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77:/w/workspace/ry_app-rfid-llrp-inventory_PR-77:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-02T13:14:44.828Z] $ docker top eab3adbf6dbd72d9ef456bebebe63db0a715fdac0466e9ef08fa3b1a04e254b4 -eo pid,comm [2022-05-02T13:14:44.902Z] 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). [2022-05-02T13:14:44.902Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-02T13:14:45.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T13:14:45.028Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T13:14:45.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T13:14:45.174Z] $ docker exec eab3adbf6dbd72d9ef456bebebe63db0a715fdac0466e9ef08fa3b1a04e254b4 ssh-agent [2022-05-02T13:14:45.292Z] SSH_AUTH_SOCK=/tmp/ssh-XtBiPHVESQm8/agent.33 [2022-05-02T13:14:45.292Z] SSH_AGENT_PID=39 [2022-05-02T13:14:45.300Z] Running ssh-add (command line suppressed) [2022-05-02T13:14:45.429Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/private_key_3916956663146649169.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/private_key_3916956663146649169.key) [2022-05-02T13:14:45.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T13:14:45.781Z] + git tag --points-at HEAD [Pipeline] } [2022-05-02T13:14:45.810Z] $ docker exec --env ******** --env ******** eab3adbf6dbd72d9ef456bebebe63db0a715fdac0466e9ef08fa3b1a04e254b4 ssh-agent -k [2022-05-02T13:14:45.931Z] unset SSH_AUTH_SOCK; [2022-05-02T13:14:45.931Z] unset SSH_AGENT_PID; [2022-05-02T13:14:45.931Z] echo Agent pid 39 killed; [2022-05-02T13:14:45.939Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-02T13:14:46.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T13:14:46.027Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T13:14:46.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T13:14:46.161Z] $ docker exec eab3adbf6dbd72d9ef456bebebe63db0a715fdac0466e9ef08fa3b1a04e254b4 ssh-agent [2022-05-02T13:14:46.284Z] SSH_AUTH_SOCK=/tmp/ssh-LkoCZ9oFjiOl/agent.72 [2022-05-02T13:14:46.284Z] SSH_AGENT_PID=78 [2022-05-02T13:14:46.289Z] Running ssh-add (command line suppressed) [2022-05-02T13:14:46.399Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/private_key_3724464318646705392.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/private_key_3724464318646705392.key) [2022-05-02T13:14:46.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T13:14:46.742Z] + git semver init [2022-05-02T13:14:47.004Z] 2022-05-02 13:14:46,936 [run_init] DEBUG init version:0.0.0 force:False [2022-05-02T13:14:47.004Z] 2022-05-02 13:14:46,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver [2022-05-02T13:14:47.004Z] 2022-05-02 13:14:46,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver [2022-05-02T13:14:47.004Z] 2022-05-02 13:14:46,937 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-77, universal_newlines=False, shell=None, istream=None) [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,125 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-77/.git/info/exclude [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver/PR-77 with force:False [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,125 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver/PR-77 [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,129 [execute] INFO git cat-file --batch-check [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,137 [execute] INFO git cat-file --batch [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T13:14:48.392Z] 2022-05-02 13:14:48,142 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-77/.semver/PR-77 [2022-05-02T13:14:48.392Z] 0.0.0 [Pipeline] } [2022-05-02T13:14:48.424Z] $ docker exec --env ******** --env ******** eab3adbf6dbd72d9ef456bebebe63db0a715fdac0466e9ef08fa3b1a04e254b4 ssh-agent -k [2022-05-02T13:14:48.544Z] unset SSH_AUTH_SOCK; [2022-05-02T13:14:48.544Z] unset SSH_AGENT_PID; [2022-05-02T13:14:48.545Z] echo Agent pid 78 killed; [2022-05-02T13:14:48.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-02T13:14:48.982Z] + git semver [Pipeline] } [2022-05-02T13:14:49.283Z] $ docker stop --time=1 eab3adbf6dbd72d9ef456bebebe63db0a715fdac0466e9ef08fa3b1a04e254b4 [2022-05-02T13:14:50.637Z] $ docker rm -f eab3adbf6dbd72d9ef456bebebe63db0a715fdac0466e9ef08fa3b1a04e254b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T13:14:51.047Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-02T13:14:51.388Z] Stashed 1 file(s) [Pipeline] echo [2022-05-02T13:14:51.405Z] [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 [2022-05-02T13:14:51.949Z] provisioning config files... [2022-05-02T13:14:51.963Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/config5237333118301736618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:14:52.310Z] ---> docker-login.sh [2022-05-02T13:14:52.310Z] nexus3.edgexfoundry.org:10001 [2022-05-02T13:14:52.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:52.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:52.310Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:52.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:52.310Z] [2022-05-02T13:14:52.310Z] Login Succeeded [2022-05-02T13:14:52.310Z] nexus3.edgexfoundry.org:10002 [2022-05-02T13:14:52.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:52.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:52.573Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:52.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:52.573Z] [2022-05-02T13:14:52.573Z] Login Succeeded [2022-05-02T13:14:52.573Z] nexus3.edgexfoundry.org:10003 [2022-05-02T13:14:52.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:52.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:52.573Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:52.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:52.574Z] [2022-05-02T13:14:52.574Z] Login Succeeded [2022-05-02T13:14:52.574Z] nexus3.edgexfoundry.org:10004 [2022-05-02T13:14:52.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:52.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:52.834Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:52.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:52.834Z] [2022-05-02T13:14:52.834Z] Login Succeeded [2022-05-02T13:14:52.834Z] docker.io [2022-05-02T13:14:52.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:14:53.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:14:53.408Z] Configure a credential helper to remove this warning. See [2022-05-02T13:14:53.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:14:53.408Z] [2022-05-02T13:14:53.408Z] Login Succeeded [2022-05-02T13:14:53.408Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T13:14:53.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T13:14:53.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T13:14:53.650Z] ========================================================= [2022-05-02T13:14:53.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-02T13:14:53.650Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:14:54.058Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T13:14:54.058Z] Sending build context to Docker daemon 12.43MB [2022-05-02T13:14:54.058Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T13:14:54.058Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-02T13:14:54.058Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-02T13:14:54.058Z] 59bf1c3509f3: Pulling fs layer [2022-05-02T13:14:54.058Z] 666ba61612fd: Pulling fs layer [2022-05-02T13:14:54.058Z] 8ed8ca486205: Pulling fs layer [2022-05-02T13:14:54.058Z] 4fe6c5a15a65: Pulling fs layer [2022-05-02T13:14:54.058Z] 22a0e8bec74d: Pulling fs layer [2022-05-02T13:14:54.058Z] ca2b28591e48: Pulling fs layer [2022-05-02T13:14:54.058Z] a51346096db8: Pulling fs layer [2022-05-02T13:14:54.058Z] daebc70d1ce1: Pulling fs layer [2022-05-02T13:14:54.058Z] 0e18a0eac166: Pulling fs layer [2022-05-02T13:14:54.058Z] 4fe6c5a15a65: Waiting [2022-05-02T13:14:54.058Z] 22a0e8bec74d: Waiting [2022-05-02T13:14:54.058Z] ca2b28591e48: Waiting [2022-05-02T13:14:54.058Z] a51346096db8: Waiting [2022-05-02T13:14:54.058Z] daebc70d1ce1: Waiting [2022-05-02T13:14:54.058Z] 0e18a0eac166: Waiting [2022-05-02T13:14:54.321Z] 8ed8ca486205: Verifying Checksum [2022-05-02T13:14:54.321Z] 8ed8ca486205: Download complete [2022-05-02T13:14:54.321Z] 666ba61612fd: Verifying Checksum [2022-05-02T13:14:54.321Z] 666ba61612fd: Download complete [2022-05-02T13:14:54.321Z] 22a0e8bec74d: Download complete [2022-05-02T13:14:54.321Z] ca2b28591e48: Verifying Checksum [2022-05-02T13:14:54.321Z] ca2b28591e48: Download complete [2022-05-02T13:14:54.321Z] 59bf1c3509f3: Verifying Checksum [2022-05-02T13:14:54.321Z] 59bf1c3509f3: Download complete [2022-05-02T13:14:54.321Z] a51346096db8: Verifying Checksum [2022-05-02T13:14:54.321Z] a51346096db8: Download complete [2022-05-02T13:14:54.321Z] daebc70d1ce1: Verifying Checksum [2022-05-02T13:14:54.321Z] daebc70d1ce1: Download complete [2022-05-02T13:14:54.321Z] 59bf1c3509f3: Pull complete [2022-05-02T13:14:54.581Z] 666ba61612fd: Pull complete [2022-05-02T13:14:54.581Z] 8ed8ca486205: Pull complete [2022-05-02T13:14:55.150Z] 4fe6c5a15a65: Verifying Checksum [2022-05-02T13:14:55.150Z] 4fe6c5a15a65: Download complete [2022-05-02T13:14:55.150Z] 0e18a0eac166: Verifying Checksum [2022-05-02T13:14:55.150Z] 0e18a0eac166: Download complete [2022-05-02T13:14:59.359Z] 4fe6c5a15a65: Pull complete [2022-05-02T13:14:59.359Z] 22a0e8bec74d: Pull complete [2022-05-02T13:14:59.359Z] ca2b28591e48: Pull complete [2022-05-02T13:14:59.359Z] a51346096db8: Pull complete [2022-05-02T13:14:59.359Z] daebc70d1ce1: Pull complete [2022-05-02T13:15:01.911Z] 0e18a0eac166: Pull complete [2022-05-02T13:15:01.911Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-02T13:15:01.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-02T13:15:01.911Z] ---> f018257e8ee9 [2022-05-02T13:15:01.911Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-05-02T13:15:03.320Z] ---> Running in af63054762da [2022-05-02T13:15:03.320Z] Removing intermediate container af63054762da [2022-05-02T13:15:03.320Z] ---> 99c5caadea4f [2022-05-02T13:15:03.321Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T13:15:03.582Z] ---> Running in e43d70a99566 [2022-05-02T13:15:03.583Z] Removing intermediate container e43d70a99566 [2022-05-02T13:15:03.583Z] ---> cd54ddfbd30a [2022-05-02T13:15:03.583Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T13:15:03.583Z] ---> Running in 06793459b8e8 [2022-05-02T13:15:03.844Z] Removing intermediate container 06793459b8e8 [2022-05-02T13:15:03.844Z] ---> 9ec41349d27b [2022-05-02T13:15:03.844Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T13:15:03.844Z] ---> Running in 9fffe4618f1b [2022-05-02T13:15:04.417Z] Removing intermediate container 9fffe4618f1b [2022-05-02T13:15:04.418Z] ---> 2efe615605a7 [2022-05-02T13:15:04.418Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T13:15:04.418Z] ---> Running in 759c22670c42 [2022-05-02T13:15:04.679Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T13:15:05.620Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T13:15:05.881Z] OK: 221 MiB in 52 packages [2022-05-02T13:15:06.454Z] Removing intermediate container 759c22670c42 [2022-05-02T13:15:06.454Z] ---> e5d134aced44 [2022-05-02T13:15:06.454Z] Step 8/13 : WORKDIR /app [2022-05-02T13:15:06.454Z] ---> Running in 865fb9af9607 [2022-05-02T13:15:06.454Z] Removing intermediate container 865fb9af9607 [2022-05-02T13:15:06.454Z] ---> 721a15e73652 [2022-05-02T13:15:06.454Z] Step 9/13 : COPY go.mod vendor* ./ [2022-05-02T13:15:06.716Z] ---> f71e1acad5ef [2022-05-02T13:15:06.716Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T13:15:06.716Z] ---> Running in 020db165034b [2022-05-02T13:15:06.787Z] Still waiting to schedule task [2022-05-02T13:15:06.788Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-02T13:15:28.694Z] Removing intermediate container 020db165034b [2022-05-02T13:15:28.694Z] ---> 4ea80b472dfe [2022-05-02T13:15:28.694Z] Step 11/13 : COPY . . [2022-05-02T13:15:28.694Z] ---> 930391039074 [2022-05-02T13:15:28.694Z] Step 12/13 : ARG MAKE="make build" [2022-05-02T13:15:28.694Z] ---> Running in 80c2e3fa9170 [2022-05-02T13:15:28.694Z] Removing intermediate container 80c2e3fa9170 [2022-05-02T13:15:28.694Z] ---> 9e8da309ccaa [2022-05-02T13:15:28.694Z] Step 13/13 : RUN $MAKE [2022-05-02T13:15:28.694Z] ---> Running in 16717d7e2c34 [2022-05-02T13:15:28.694Z] noop [2022-05-02T13:15:28.694Z] Removing intermediate container 16717d7e2c34 [2022-05-02T13:15:28.694Z] ---> ce6d4504ea84 [2022-05-02T13:15:28.694Z] Successfully built ce6d4504ea84 [2022-05-02T13:15:28.694Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:15:29.030Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T13:15:29.030Z] . [Pipeline] withDockerContainer [2022-05-02T13:15:29.123Z] prd-ubuntu20.04-docker-8c-8g-34478 does not seem to be running inside a container [2022-05-02T13:15:29.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-77 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77:/w/workspace/ry_app-rfid-llrp-inventory_PR-77:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@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 ******** ci-base-image-x86_64 cat [2022-05-02T13:15:29.589Z] $ docker top 112b7a9b3033b859451c3165a46720c3851b7fbe3761428a19ed545b3f5c9ac5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T13:15:30.009Z] + go version [2022-05-02T13:15:30.009Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-02T13:15:30.046Z] $ docker stop --time=1 112b7a9b3033b859451c3165a46720c3851b7fbe3761428a19ed545b3f5c9ac5 [2022-05-02T13:15:31.398Z] $ docker rm -f 112b7a9b3033b859451c3165a46720c3851b7fbe3761428a19ed545b3f5c9ac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:15:32.074Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T13:15:32.074Z] . [Pipeline] withDockerContainer [2022-05-02T13:15:32.167Z] prd-ubuntu20.04-docker-8c-8g-34478 does not seem to be running inside a container [2022-05-02T13:15:32.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-77 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77:/w/workspace/ry_app-rfid-llrp-inventory_PR-77:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@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 ******** ci-base-image-x86_64 cat [2022-05-02T13:15:32.640Z] $ docker top a7c680a8ae66ee9c882b0293f96d46b6de99136275b042d0df375ac17de2d39b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T13:15:33.121Z] + make test [2022-05-02T13:15:33.121Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-02T13:15:45.351Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-05-02T13:15:45.351Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.049s coverage: 86.2% of statements [2022-05-02T13:15:45.351Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-05-02T13:15:46.740Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.551s coverage: 71.9% of statements [2022-05-02T13:15:46.740Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2022-05-02T13:15:56.757Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T13:16:00.967Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T13:16:00.967Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T13:16:01.230Z] ./bin/test-attribution.sh [Pipeline] echo [2022-05-02T13:16:01.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T13:16:01.866Z] $ docker stop --time=1 a7c680a8ae66ee9c882b0293f96d46b6de99136275b042d0df375ac17de2d39b [2022-05-02T13:16:03.640Z] $ docker rm -f a7c680a8ae66ee9c882b0293f96d46b6de99136275b042d0df375ac17de2d39b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T13:16:04.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T13:16:04.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-02T13:16:05.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T13:16:05.406Z] + ls -al . [2022-05-02T13:16:05.406Z] total 228 [2022-05-02T13:16:05.406Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 13:16 . [2022-05-02T13:16:05.406Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:14 .. [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 262 May 2 13:14 .dockerignore [2022-05-02T13:16:05.406Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 13:14 .git [2022-05-02T13:16:05.406Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 13:14 .github [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 788 May 2 13:14 .gitignore [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 13:14 .golangci.yml [2022-05-02T13:16:05.406Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 13:14 .semver [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 9410 May 2 13:14 Attribution.txt [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 1678 May 2 13:14 CHANGELOG.md [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 1923 May 2 13:14 Dockerfile [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 13:14 GOVERNANCE.md [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 687 May 2 13:14 Jenkinsfile [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 11347 May 2 13:14 LICENSE [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 2949 May 2 13:14 Makefile [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 617 May 2 13:14 OWNERS.md [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 30131 May 2 13:14 README.md [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 13:14 VERSION [2022-05-02T13:16:05.406Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:14 bin [2022-05-02T13:16:05.406Z] -rw-r--r-- 1 jenkins jenkins 41008 May 2 13:15 coverage.out [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 3498 May 2 13:14 go.mod [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 35650 May 2 13:14 go.sum [2022-05-02T13:16:05.406Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:14 images [2022-05-02T13:16:05.406Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:14 internal [2022-05-02T13:16:05.406Z] -rw-rw-r-- 1 jenkins jenkins 531 May 2 13:14 main.go [2022-05-02T13:16:05.406Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:14 res [2022-05-02T13:16:05.406Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:14 snap [2022-05-02T13:16:05.406Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 13:14 static [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:16:05.741Z] + 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=2032d8e70c3908fafaa2f44b9e57a305cf0974af --label arch=amd64 --label version=0.0.0 . [2022-05-02T13:16:05.741Z] Sending build context to Docker daemon 12.43MB [2022-05-02T13:16:05.741Z] Step 1/31 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T13:16:05.741Z] Step 2/31 : FROM ${BASE} AS builder [2022-05-02T13:16:05.741Z] ---> ce6d4504ea84 [2022-05-02T13:16:05.741Z] Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-05-02T13:16:06.002Z] ---> Running in aa44fb3b3664 [2022-05-02T13:16:06.002Z] Removing intermediate container aa44fb3b3664 [2022-05-02T13:16:06.002Z] ---> 86d6905ea2fa [2022-05-02T13:16:06.002Z] Step 4/31 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T13:16:06.002Z] ---> Running in c072f8eb4cd3 [2022-05-02T13:16:06.268Z] Removing intermediate container c072f8eb4cd3 [2022-05-02T13:16:06.268Z] ---> 4c31d31c9045 [2022-05-02T13:16:06.268Z] Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T13:16:06.268Z] ---> Running in 7960fb36cce6 [2022-05-02T13:16:06.530Z] Removing intermediate container 7960fb36cce6 [2022-05-02T13:16:06.530Z] ---> d8f6c8284572 [2022-05-02T13:16:06.530Z] Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T13:16:06.530Z] ---> Running in 2f1603a98410 [2022-05-02T13:16:07.472Z] Removing intermediate container 2f1603a98410 [2022-05-02T13:16:07.472Z] ---> f8cd0542d54d [2022-05-02T13:16:07.472Z] Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T13:16:07.472Z] ---> Running in dca60c6ed849 [2022-05-02T13:16:07.734Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T13:16:08.676Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T13:16:08.676Z] OK: 221 MiB in 52 packages [2022-05-02T13:16:09.249Z] Removing intermediate container dca60c6ed849 [2022-05-02T13:16:09.249Z] ---> f391912f7f8a [2022-05-02T13:16:09.249Z] Step 8/31 : WORKDIR /app [2022-05-02T13:16:09.249Z] ---> Running in aad2bbd6bac5 [2022-05-02T13:16:09.249Z] Removing intermediate container aad2bbd6bac5 [2022-05-02T13:16:09.249Z] ---> 66dbb65049fa [2022-05-02T13:16:09.249Z] Step 9/31 : COPY go.mod vendor* ./ [2022-05-02T13:16:09.511Z] ---> 7f70c779ece9 [2022-05-02T13:16:09.511Z] Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T13:16:09.511Z] ---> Running in 0dab93d05f61 [2022-05-02T13:16:10.081Z] Removing intermediate container 0dab93d05f61 [2022-05-02T13:16:10.081Z] ---> 0d0b2d6a7f7d [2022-05-02T13:16:10.081Z] Step 11/31 : COPY . . [2022-05-02T13:16:10.658Z] ---> 763927937d31 [2022-05-02T13:16:10.658Z] Step 12/31 : ARG MAKE="make build" [2022-05-02T13:16:10.658Z] ---> Running in a82a7d863098 [2022-05-02T13:16:10.658Z] Removing intermediate container a82a7d863098 [2022-05-02T13:16:10.658Z] ---> b41b7943c02c [2022-05-02T13:16:10.658Z] Step 13/31 : RUN $MAKE [2022-05-02T13:16:10.658Z] ---> Running in 09d1545d129e [2022-05-02T13:16:10.918Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.53 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory [2022-05-02T13:16:33.099Z] Removing intermediate container 09d1545d129e [2022-05-02T13:16:33.099Z] ---> ca549241fd20 [2022-05-02T13:16:33.099Z] Step 14/31 : FROM alpine:3.14 [2022-05-02T13:16:33.670Z] 3.14: Pulling from library/alpine [2022-05-02T13:16:33.670Z] 8663204ce13b: Pulling fs layer [2022-05-02T13:16:33.986Z] 8663204ce13b: Verifying Checksum [2022-05-02T13:16:33.986Z] 8663204ce13b: Download complete [2022-05-02T13:16:33.986Z] 8663204ce13b: Pull complete [2022-05-02T13:16:33.986Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T13:16:33.986Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T13:16:33.986Z] ---> e04c818066af [2022-05-02T13:16:33.986Z] Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T13:16:34.249Z] ---> Running in 496bf1ce343d [2022-05-02T13:16:34.249Z] Removing intermediate container 496bf1ce343d [2022-05-02T13:16:34.249Z] ---> 7e3d6f9c5278 [2022-05-02T13:16:34.249Z] Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-05-02T13:16:34.249Z] ---> Running in 41422a803219 [2022-05-02T13:16:34.511Z] Removing intermediate container 41422a803219 [2022-05-02T13:16:34.511Z] ---> 7f80ed5e4972 [2022-05-02T13:16:34.511Z] Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T13:16:34.511Z] ---> Running in 14add3450211 [2022-05-02T13:16:35.087Z] Removing intermediate container 14add3450211 [2022-05-02T13:16:35.087Z] ---> 4fc22fdf2058 [2022-05-02T13:16:35.087Z] Step 18/31 : RUN apk --no-cache add ca-certificates zeromq [2022-05-02T13:16:35.087Z] ---> Running in 782d578b55e6 [2022-05-02T13:16:35.349Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-02T13:16:36.290Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-02T13:16:36.552Z] (1/6) Installing ca-certificates (20211220-r0) [2022-05-02T13:16:36.814Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T13:16:36.814Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T13:16:36.814Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T13:16:37.076Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T13:16:37.076Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T13:16:37.076Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T13:16:37.076Z] Executing ca-certificates-20211220-r0.trigger [2022-05-02T13:16:37.076Z] OK: 9 MiB in 20 packages [2022-05-02T13:16:37.652Z] Removing intermediate container 782d578b55e6 [2022-05-02T13:16:37.652Z] ---> aec3b3746d58 [2022-05-02T13:16:37.652Z] Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-05-02T13:16:37.913Z] ---> abad60ae4c34 [2022-05-02T13:16:37.913Z] Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE [2022-05-02T13:16:38.177Z] ---> 52ca0036faae [2022-05-02T13:16:38.177Z] Step 21/31 : COPY --from=builder /app/res/ /res/ [2022-05-02T13:16:38.177Z] ---> ee9943b88ade [2022-05-02T13:16:38.177Z] Step 22/31 : COPY --from=builder /app/static/ /static/ [2022-05-02T13:16:38.438Z] ---> 9b9bd079e8f1 [2022-05-02T13:16:38.438Z] Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-05-02T13:16:39.008Z] ---> 3072117dbcfa [2022-05-02T13:16:39.008Z] Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-05-02T13:16:39.269Z] ---> Running in 67c3b89cbf3a [2022-05-02T13:16:39.844Z] Removing intermediate container 67c3b89cbf3a [2022-05-02T13:16:39.844Z] ---> 15818de21fff [2022-05-02T13:16:39.844Z] Step 25/31 : VOLUME /cache [2022-05-02T13:16:39.844Z] ---> Running in 64dc284aa0ab [2022-05-02T13:16:39.844Z] Removing intermediate container 64dc284aa0ab [2022-05-02T13:16:39.844Z] ---> ed3fd29ae1fd [2022-05-02T13:16:39.844Z] Step 26/31 : EXPOSE 59711 [2022-05-02T13:16:40.108Z] ---> Running in 3e2c8a062277 [2022-05-02T13:16:40.108Z] Removing intermediate container 3e2c8a062277 [2022-05-02T13:16:40.108Z] ---> fb3b0957f450 [2022-05-02T13:16:40.108Z] Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-05-02T13:16:40.108Z] ---> Running in 67cb0529d911 [2022-05-02T13:16:40.368Z] Removing intermediate container 67cb0529d911 [2022-05-02T13:16:40.368Z] ---> a5253148ec88 [2022-05-02T13:16:40.368Z] Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-05-02T13:16:40.368Z] ---> Running in e80d404f425b [2022-05-02T13:16:40.368Z] Removing intermediate container e80d404f425b [2022-05-02T13:16:40.368Z] ---> 51d15a1f4db1 [2022-05-02T13:16:40.368Z] Step 29/31 : LABEL arch=amd64 [2022-05-02T13:16:40.368Z] ---> Running in bf89ca600db2 [2022-05-02T13:16:40.630Z] Removing intermediate container bf89ca600db2 [2022-05-02T13:16:40.630Z] ---> c46e54cc4c8d [2022-05-02T13:16:40.630Z] Step 30/31 : LABEL git_sha=2032d8e70c3908fafaa2f44b9e57a305cf0974af [2022-05-02T13:16:40.630Z] ---> Running in 62219c4a953e [2022-05-02T13:16:40.893Z] Removing intermediate container 62219c4a953e [2022-05-02T13:16:40.893Z] ---> 9ecd02265999 [2022-05-02T13:16:40.893Z] Step 31/31 : LABEL version=0.0.0 [2022-05-02T13:16:40.893Z] ---> Running in 8f4b9afdc49c [2022-05-02T13:16:40.893Z] Removing intermediate container 8f4b9afdc49c [2022-05-02T13:16:40.893Z] ---> ffc1c700d855 [2022-05-02T13:16:40.893Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T13:16:40.893Z] Successfully built ffc1c700d855 [2022-05-02T13:16:40.893Z] Successfully tagged app-rfid-llrp-inventory:latest [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] sh [2022-05-02T13:16:41.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T13:16:41.717Z] [2022-05-02T13:16:41.717Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:16:42.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T13:16:42.071Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-02T13:16:42.071Z] 5eb5b503b376: Pulling fs layer [2022-05-02T13:16:42.071Z] 5c69ac0246d0: Pulling fs layer [2022-05-02T13:16:42.071Z] ec43610c2a17: Pulling fs layer [2022-05-02T13:16:42.071Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-02T13:16:42.071Z] 33b1e0a273af: Pulling fs layer [2022-05-02T13:16:42.071Z] 5d3b04190fa2: Pulling fs layer [2022-05-02T13:16:42.071Z] 2f39f015ded8: Pulling fs layer [2022-05-02T13:16:42.071Z] 3a2ae6a8a46f: Waiting [2022-05-02T13:16:42.071Z] 33b1e0a273af: Waiting [2022-05-02T13:16:42.071Z] 5d3b04190fa2: Waiting [2022-05-02T13:16:42.071Z] 2f39f015ded8: Waiting [2022-05-02T13:16:42.071Z] 5c69ac0246d0: Verifying Checksum [2022-05-02T13:16:42.071Z] 5c69ac0246d0: Download complete [2022-05-02T13:16:42.071Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-02T13:16:42.071Z] 3a2ae6a8a46f: Download complete [2022-05-02T13:16:42.071Z] 33b1e0a273af: Verifying Checksum [2022-05-02T13:16:42.071Z] 33b1e0a273af: Download complete [2022-05-02T13:16:42.071Z] ec43610c2a17: Verifying Checksum [2022-05-02T13:16:42.071Z] ec43610c2a17: Download complete [2022-05-02T13:16:42.071Z] 5d3b04190fa2: Verifying Checksum [2022-05-02T13:16:42.071Z] 5d3b04190fa2: Download complete [2022-05-02T13:16:42.338Z] 5eb5b503b376: Verifying Checksum [2022-05-02T13:16:42.338Z] 5eb5b503b376: Download complete [2022-05-02T13:16:42.911Z] 2f39f015ded8: Download complete [2022-05-02T13:16:43.851Z] 5eb5b503b376: Pull complete [2022-05-02T13:16:43.851Z] 5c69ac0246d0: Pull complete [2022-05-02T13:16:44.421Z] ec43610c2a17: Pull complete [2022-05-02T13:16:44.680Z] 3a2ae6a8a46f: Pull complete [2022-05-02T13:16:44.940Z] 33b1e0a273af: Pull complete [2022-05-02T13:16:44.940Z] 5d3b04190fa2: Pull complete [2022-05-02T13:16:49.557Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34479 in /w/workspace/ry_app-rfid-llrp-inventory_PR-77 [Pipeline] { [Pipeline] ws [2022-05-02T13:16:49.599Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2022-05-02T13:16:50.222Z] 2f39f015ded8: Pull complete [2022-05-02T13:16:50.222Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-02T13:16:50.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T13:16:50.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T13:16:50.226Z] The recommended git tool is: git [Pipeline] withDockerContainer [2022-05-02T13:16:50.323Z] prd-ubuntu20.04-docker-8c-8g-34478 does not seem to be running inside a container [2022-05-02T13:16:50.367Z] $ 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/ry_app-rfid-llrp-inventory_PR-77 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77:/w/workspace/ry_app-rfid-llrp-inventory_PR-77:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-02T13:16:52.280Z] $ docker top a0c11ddb3279d092f8defb24fe75a1a4a967accf3e163171cb58dd6f8e6befb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:16:52.770Z] ---> job-cost.sh [2022-05-02T13:16:52.770Z] lf-activate-venv: SKIPPING [2022-05-02T13:16:52.770Z] INFO: No Stack... [2022-05-02T13:16:53.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T13:16:53.608Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T13:16:53.940Z] + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-77/archives/cost.csv [2022-05-02T13:16:53.940Z] + cut -d, -f6 [Pipeline] lock [2022-05-02T13:16:53.981Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] [2022-05-02T13:16:53.986Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] did not exist. Created. [2022-05-02T13:16:53.986Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T13:16:54.475Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-02T13:16:54.548Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T13:16:54.564Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T13:16:54.642Z] $ docker stop --time=1 a0c11ddb3279d092f8defb24fe75a1a4a967accf3e163171cb58dd6f8e6befb4 [2022-05-02T13:16:55.803Z] $ docker rm -f a0c11ddb3279d092f8defb24fe75a1a4a967accf3e163171cb58dd6f8e6befb4 [Pipeline] // withDockerContainer [Pipeline] } [2022-05-02T13:16:55.957Z] using credential edgex-jenkins-ssh [2022-05-02T13:16:55.971Z] Cloning the remote Git repository [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-02T13:16:56.034Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-05-02T13:16:56.101Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2022-05-02T13:16:56.219Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-05-02T13:16:56.220Z] > git --version # timeout=10 [2022-05-02T13:16:56.276Z] > git --version # 'git version 2.25.1' [2022-05-02T13:16:56.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T13:16:56.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T13:16:58.874Z] Merging remotes/origin/main commit 6dcf977bb9ee6a8be470f822dda7ba2d1a26fe3d into PR head commit 2032d8e70c3908fafaa2f44b9e57a305cf0974af [2022-05-02T13:16:59.096Z] Merge succeeded, producing 2032d8e70c3908fafaa2f44b9e57a305cf0974af [2022-05-02T13:16:59.096Z] Checking out Revision 2032d8e70c3908fafaa2f44b9e57a305cf0974af (PR-77) [2022-05-02T13:16:58.294Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-05-02T13:16:58.313Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T13:16:58.342Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-05-02T13:16:58.374Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-05-02T13:16:58.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T13:16:58.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-02T13:16:58.893Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T13:16:58.905Z] > git checkout -f 2032d8e70c3908fafaa2f44b9e57a305cf0974af # timeout=10 [2022-05-02T13:16:59.002Z] > git remote # timeout=10 [2022-05-02T13:16:59.021Z] > git config --get remote.origin.url # timeout=10 [2022-05-02T13:16:59.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T13:16:59.054Z] > git merge 6dcf977bb9ee6a8be470f822dda7ba2d1a26fe3d # timeout=10 [2022-05-02T13:16:59.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-02T13:16:59.105Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T13:16:59.117Z] > git checkout -f 2032d8e70c3908fafaa2f44b9e57a305cf0974af # timeout=10 [2022-05-02T13:17:03.239Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-05-02T13:17:03.302Z] > git --version # timeout=10 [2022-05-02T13:17:03.317Z] > git --version # 'git version 2.25.1' [2022-05-02T13:17:03.332Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T13:17:04.499Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-02T13:17:04.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T13:17:04.499Z] Dload Upload Total Spent Left Speed [2022-05-02T13:17:04.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 89719 [Pipeline] sh [2022-05-02T13:17:05.036Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-02T13:17:05.403Z] + sudo tee /etc/docker/daemon.new [2022-05-02T13:17:05.403Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-02T13:17:05.403Z] { [2022-05-02T13:17:05.403Z] "registry-mirrors": [ [2022-05-02T13:17:05.403Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-02T13:17:05.403Z] ], [2022-05-02T13:17:05.403Z] "bip": "10.250.0.254/24", [2022-05-02T13:17:05.403Z] "hosts": [ [2022-05-02T13:17:05.403Z] "tcp://0.0.0.0:5555", [2022-05-02T13:17:05.403Z] "unix:///var/run/docker.sock" [2022-05-02T13:17:05.403Z] ], [2022-05-02T13:17:05.403Z] "mtu": 1458, [2022-05-02T13:17:05.403Z] "selinux-enabled": true, [2022-05-02T13:17:05.403Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-02T13:17:05.403Z] } [Pipeline] sh [2022-05-02T13:17:05.768Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-02T13:17:06.141Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T13:17:24.559Z] provisioning config files... [2022-05-02T13:17:24.585Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config7542398783936469153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:17:24.993Z] ---> docker-login.sh [2022-05-02T13:17:24.993Z] nexus3.edgexfoundry.org:10001 [2022-05-02T13:17:25.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:17:25.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:17:25.873Z] Configure a credential helper to remove this warning. See [2022-05-02T13:17:25.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:17:25.873Z] [2022-05-02T13:17:25.873Z] Login Succeeded [2022-05-02T13:17:25.873Z] nexus3.edgexfoundry.org:10002 [2022-05-02T13:17:26.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:17:26.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:17:26.150Z] Configure a credential helper to remove this warning. See [2022-05-02T13:17:26.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:17:26.150Z] [2022-05-02T13:17:26.150Z] Login Succeeded [2022-05-02T13:17:26.150Z] nexus3.edgexfoundry.org:10003 [2022-05-02T13:17:26.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:17:26.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:17:26.760Z] Configure a credential helper to remove this warning. See [2022-05-02T13:17:26.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:17:26.760Z] [2022-05-02T13:17:26.760Z] Login Succeeded [2022-05-02T13:17:26.760Z] nexus3.edgexfoundry.org:10004 [2022-05-02T13:17:27.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:17:27.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:17:27.313Z] Configure a credential helper to remove this warning. See [2022-05-02T13:17:27.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:17:27.313Z] [2022-05-02T13:17:27.313Z] Login Succeeded [2022-05-02T13:17:27.313Z] docker.io [2022-05-02T13:17:27.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T13:17:27.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T13:17:27.862Z] Configure a credential helper to remove this warning. See [2022-05-02T13:17:27.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T13:17:27.862Z] [2022-05-02T13:17:27.862Z] Login Succeeded [2022-05-02T13:17:27.862Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T13:17:27.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T13:17:28.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T13:17:28.674Z] ========================================================= [2022-05-02T13:17:28.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-02T13:17:28.674Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:17:29.157Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T13:17:29.432Z] Sending build context to Docker daemon 699.4kB [2022-05-02T13:17:29.432Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T13:17:29.432Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-02T13:17:29.711Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-02T13:17:29.711Z] 9b3977197b4f: Pulling fs layer [2022-05-02T13:17:29.711Z] 1a89e8eeedd5: Pulling fs layer [2022-05-02T13:17:29.711Z] 94645a83ff95: Pulling fs layer [2022-05-02T13:17:29.711Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-02T13:17:29.711Z] 0c92f367c5e7: Pulling fs layer [2022-05-02T13:17:29.711Z] 3096ccb668a1: Pulling fs layer [2022-05-02T13:17:29.711Z] e8cf19c19ddd: Pulling fs layer [2022-05-02T13:17:29.711Z] a4caa8a26152: Pulling fs layer [2022-05-02T13:17:29.711Z] 3f3a8bcf1eab: Waiting [2022-05-02T13:17:29.711Z] 0c92f367c5e7: Waiting [2022-05-02T13:17:29.711Z] 3096ccb668a1: Waiting [2022-05-02T13:17:29.711Z] e8cf19c19ddd: Waiting [2022-05-02T13:17:29.711Z] a4caa8a26152: Waiting [2022-05-02T13:17:29.711Z] 94645a83ff95: Verifying Checksum [2022-05-02T13:17:29.711Z] 94645a83ff95: Download complete [2022-05-02T13:17:29.711Z] 1a89e8eeedd5: Verifying Checksum [2022-05-02T13:17:29.711Z] 1a89e8eeedd5: Download complete [2022-05-02T13:17:29.711Z] 0c92f367c5e7: Verifying Checksum [2022-05-02T13:17:29.711Z] 0c92f367c5e7: Download complete [2022-05-02T13:17:29.711Z] 3096ccb668a1: Verifying Checksum [2022-05-02T13:17:29.711Z] 3096ccb668a1: Download complete [2022-05-02T13:17:29.711Z] 9b3977197b4f: Verifying Checksum [2022-05-02T13:17:29.711Z] 9b3977197b4f: Download complete [2022-05-02T13:17:29.711Z] e8cf19c19ddd: Verifying Checksum [2022-05-02T13:17:29.711Z] e8cf19c19ddd: Download complete [2022-05-02T13:17:30.696Z] 9b3977197b4f: Pull complete [2022-05-02T13:17:30.978Z] 1a89e8eeedd5: Pull complete [2022-05-02T13:17:31.592Z] 94645a83ff95: Pull complete [2022-05-02T13:17:31.869Z] a4caa8a26152: Verifying Checksum [2022-05-02T13:17:31.869Z] a4caa8a26152: Download complete [2022-05-02T13:17:32.142Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-02T13:17:32.142Z] 3f3a8bcf1eab: Download complete [2022-05-02T13:17:44.548Z] 3f3a8bcf1eab: Pull complete [2022-05-02T13:17:44.548Z] 0c92f367c5e7: Pull complete [2022-05-02T13:17:44.548Z] 3096ccb668a1: Pull complete [2022-05-02T13:17:44.548Z] e8cf19c19ddd: Pull complete [2022-05-02T13:17:51.278Z] a4caa8a26152: Pull complete [2022-05-02T13:17:51.278Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-02T13:17:51.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-02T13:17:51.278Z] ---> 725f1c02e7f9 [2022-05-02T13:17:51.278Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-05-02T13:17:51.552Z] ---> Running in 2bf3cae4a74b [2022-05-02T13:17:51.835Z] Removing intermediate container 2bf3cae4a74b [2022-05-02T13:17:51.835Z] ---> 4018efcecc74 [2022-05-02T13:17:51.835Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T13:17:51.835Z] ---> Running in 2182b61a85f2 [2022-05-02T13:17:52.112Z] Removing intermediate container 2182b61a85f2 [2022-05-02T13:17:52.112Z] ---> ebdb207633a0 [2022-05-02T13:17:52.112Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T13:17:52.388Z] ---> Running in 177d56282776 [2022-05-02T13:17:52.666Z] Removing intermediate container 177d56282776 [2022-05-02T13:17:52.666Z] ---> f512aec69591 [2022-05-02T13:17:52.666Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T13:17:52.666Z] ---> Running in 302fc3ba9422 [2022-05-02T13:17:54.647Z] Removing intermediate container 302fc3ba9422 [2022-05-02T13:17:54.647Z] ---> 5eafb5f0a643 [2022-05-02T13:17:54.647Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T13:17:54.647Z] ---> Running in 13414d8b79de [2022-05-02T13:17:55.630Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T13:17:56.611Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T13:17:57.212Z] OK: 220 MiB in 52 packages [2022-05-02T13:17:58.194Z] Removing intermediate container 13414d8b79de [2022-05-02T13:17:58.194Z] ---> e955778fd7ce [2022-05-02T13:17:58.194Z] Step 8/13 : WORKDIR /app [2022-05-02T13:17:58.194Z] ---> Running in 4a3f69bf8664 [2022-05-02T13:17:58.471Z] Removing intermediate container 4a3f69bf8664 [2022-05-02T13:17:58.471Z] ---> 3a15594994b1 [2022-05-02T13:17:58.471Z] Step 9/13 : COPY go.mod vendor* ./ [2022-05-02T13:17:59.070Z] ---> 1c7049956c93 [2022-05-02T13:17:59.070Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T13:17:59.070Z] ---> Running in e4005fad27cf [2022-05-02T13:18:46.068Z] Removing intermediate container e4005fad27cf [2022-05-02T13:18:46.068Z] ---> ee986ef7404e [2022-05-02T13:18:46.068Z] Step 11/13 : COPY . . [2022-05-02T13:18:46.068Z] ---> 8fc114e773b4 [2022-05-02T13:18:46.068Z] Step 12/13 : ARG MAKE="make build" [2022-05-02T13:18:46.068Z] ---> Running in f9b7ad8cb898 [2022-05-02T13:18:46.068Z] Removing intermediate container f9b7ad8cb898 [2022-05-02T13:18:46.068Z] ---> 779a0959ea1c [2022-05-02T13:18:46.068Z] Step 13/13 : RUN $MAKE [2022-05-02T13:18:46.068Z] ---> Running in eb6d5056e29e [2022-05-02T13:18:46.068Z] noop [2022-05-02T13:18:46.068Z] Removing intermediate container eb6d5056e29e [2022-05-02T13:18:46.068Z] ---> ceb5b5548140 [2022-05-02T13:18:46.068Z] Successfully built ceb5b5548140 [2022-05-02T13:18:46.068Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:18:46.442Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T13:18:46.442Z] . [Pipeline] withDockerContainer [2022-05-02T13:18:46.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-34479 does not seem to be running inside a container [2022-05-02T13:18:46.780Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-02T13:18:48.057Z] $ docker top 80e7285bf769153dbdd44cc9eaf284d571d9bf8d6497af1cf0136df9f8d017b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T13:18:49.003Z] + go version [2022-05-02T13:18:49.003Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-02T13:18:49.041Z] $ docker stop --time=1 80e7285bf769153dbdd44cc9eaf284d571d9bf8d6497af1cf0136df9f8d017b3 [2022-05-02T13:18:50.630Z] $ docker rm -f 80e7285bf769153dbdd44cc9eaf284d571d9bf8d6497af1cf0136df9f8d017b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:18:51.466Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T13:18:51.466Z] . [Pipeline] withDockerContainer [2022-05-02T13:18:51.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-34479 does not seem to be running inside a container [2022-05-02T13:18:51.796Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-02T13:18:52.992Z] $ docker top b247b90d795bd1c56748750fd603086693d8a207bae418e5416a83146b027f7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T13:18:53.968Z] + make test [2022-05-02T13:18:53.968Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-02T13:20:15.836Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-05-02T13:20:15.836Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.189s coverage: 86.2% of statements [2022-05-02T13:20:15.836Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-05-02T13:20:17.264Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.685s coverage: 71.9% of statements [2022-05-02T13:20:17.264Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2022-05-02T13:20:17.541Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-02T13:20:17.541Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T13:20:49.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T13:20:49.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T13:20:49.925Z] ./bin/test-attribution.sh [Pipeline] echo [2022-05-02T13:20:49.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T13:20:49.999Z] $ docker stop --time=1 b247b90d795bd1c56748750fd603086693d8a207bae418e5416a83146b027f7d [2022-05-02T13:20:51.826Z] $ docker rm -f b247b90d795bd1c56748750fd603086693d8a207bae418e5416a83146b027f7d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T13:20:52.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T13:20:52.898Z] Warning: overwriting stash ‘coverage-report’ [2022-05-02T13:20:53.377Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T13:20:53.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T13:20:54.310Z] + ls -al . [2022-05-02T13:20:54.310Z] total 224 [2022-05-02T13:20:54.310Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 13:20 . [2022-05-02T13:20:54.310Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:16 .. [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 262 May 2 13:16 .dockerignore [2022-05-02T13:20:54.310Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 13:17 .git [2022-05-02T13:20:54.310Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 13:16 .github [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 788 May 2 13:16 .gitignore [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 13:16 .golangci.yml [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 9410 May 2 13:16 Attribution.txt [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 1678 May 2 13:16 CHANGELOG.md [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 1923 May 2 13:16 Dockerfile [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 13:16 GOVERNANCE.md [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 687 May 2 13:16 Jenkinsfile [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 11347 May 2 13:16 LICENSE [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 2949 May 2 13:16 Makefile [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 617 May 2 13:16 OWNERS.md [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 30131 May 2 13:16 README.md [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 13:14 VERSION [2022-05-02T13:20:54.310Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:16 bin [2022-05-02T13:20:54.310Z] -rw-r--r-- 1 jenkins jenkins 41008 May 2 13:20 coverage.out [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 3498 May 2 13:16 go.mod [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 35650 May 2 13:16 go.sum [2022-05-02T13:20:54.310Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:16 images [2022-05-02T13:20:54.310Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:16 internal [2022-05-02T13:20:54.310Z] -rw-rw-r-- 1 jenkins jenkins 531 May 2 13:16 main.go [2022-05-02T13:20:54.310Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:16 res [2022-05-02T13:20:54.310Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:16 snap [2022-05-02T13:20:54.310Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 13:16 static [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:20:54.682Z] + 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=2032d8e70c3908fafaa2f44b9e57a305cf0974af --label arch=arm64 --label version=0.0.0 . [2022-05-02T13:20:54.960Z] Sending build context to Docker daemon 699.4kB [2022-05-02T13:20:54.960Z] Step 1/31 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T13:20:54.960Z] Step 2/31 : FROM ${BASE} AS builder [2022-05-02T13:20:54.960Z] ---> ceb5b5548140 [2022-05-02T13:20:54.960Z] Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-05-02T13:20:55.245Z] ---> Running in 687c3b9d2095 [2022-05-02T13:20:55.521Z] Removing intermediate container 687c3b9d2095 [2022-05-02T13:20:55.521Z] ---> cb6a92c6143f [2022-05-02T13:20:55.521Z] Step 4/31 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T13:20:55.521Z] ---> Running in 68e1dc180e44 [2022-05-02T13:20:55.793Z] Removing intermediate container 68e1dc180e44 [2022-05-02T13:20:55.793Z] ---> 647d9baef942 [2022-05-02T13:20:55.793Z] Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T13:20:55.794Z] ---> Running in 472d6e91e6a0 [2022-05-02T13:20:56.068Z] Removing intermediate container 472d6e91e6a0 [2022-05-02T13:20:56.068Z] ---> 44f225c5dba5 [2022-05-02T13:20:56.068Z] Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T13:20:56.355Z] ---> Running in a2c18eb272e3 [2022-05-02T13:20:57.805Z] Removing intermediate container a2c18eb272e3 [2022-05-02T13:20:57.805Z] ---> 294b0b46b8a8 [2022-05-02T13:20:57.805Z] Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T13:20:58.085Z] ---> Running in ac5da7d71f5b [2022-05-02T13:20:59.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T13:20:59.667Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T13:21:00.648Z] OK: 220 MiB in 52 packages [2022-05-02T13:21:01.639Z] Removing intermediate container ac5da7d71f5b [2022-05-02T13:21:01.639Z] ---> 49570aec2ca2 [2022-05-02T13:21:01.639Z] Step 8/31 : WORKDIR /app [2022-05-02T13:21:01.639Z] ---> Running in 9715a2ead1ff [2022-05-02T13:21:01.915Z] Removing intermediate container 9715a2ead1ff [2022-05-02T13:21:01.915Z] ---> f313130b91a7 [2022-05-02T13:21:01.915Z] Step 9/31 : COPY go.mod vendor* ./ [2022-05-02T13:21:02.517Z] ---> c7fdd9d0efd7 [2022-05-02T13:21:02.517Z] Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T13:21:02.517Z] ---> Running in c69a7b54d2d7 [2022-05-02T13:21:04.500Z] Removing intermediate container c69a7b54d2d7 [2022-05-02T13:21:04.500Z] ---> a4331fd71b6a [2022-05-02T13:21:04.500Z] Step 11/31 : COPY . . [2022-05-02T13:21:05.097Z] ---> c51db9c1ed52 [2022-05-02T13:21:05.097Z] Step 12/31 : ARG MAKE="make build" [2022-05-02T13:21:05.097Z] ---> Running in ff0728fa9305 [2022-05-02T13:21:05.374Z] Removing intermediate container ff0728fa9305 [2022-05-02T13:21:05.374Z] ---> b4428e5e7c78 [2022-05-02T13:21:05.374Z] Step 13/31 : RUN $MAKE [2022-05-02T13:21:05.658Z] ---> Running in d2e2b8eb7cb4 [2022-05-02T13:21:06.643Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.53 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory [2022-05-02T13:23:13.512Z] Removing intermediate container d2e2b8eb7cb4 [2022-05-02T13:23:13.512Z] ---> 1bcc5f53d6fe [2022-05-02T13:23:13.512Z] Step 14/31 : FROM alpine:3.14 [2022-05-02T13:23:13.512Z] 3.14: Pulling from library/alpine [2022-05-02T13:23:13.512Z] 455c02918c45: Pulling fs layer [2022-05-02T13:23:13.512Z] 455c02918c45: Verifying Checksum [2022-05-02T13:23:13.512Z] 455c02918c45: Download complete [2022-05-02T13:23:13.512Z] 455c02918c45: Pull complete [2022-05-02T13:23:13.512Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T13:23:13.512Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T13:23:13.512Z] ---> ac73e934f311 [2022-05-02T13:23:13.512Z] Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-02T13:23:13.512Z] ---> Running in f01d558c67ea [2022-05-02T13:23:13.512Z] Removing intermediate container f01d558c67ea [2022-05-02T13:23:13.512Z] ---> 1d070a4665b7 [2022-05-02T13:23:13.512Z] Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-05-02T13:23:13.512Z] ---> Running in 6c2082c7e8d3 [2022-05-02T13:23:13.512Z] Removing intermediate container 6c2082c7e8d3 [2022-05-02T13:23:13.512Z] ---> c9fc5d3ca71c [2022-05-02T13:23:13.512Z] Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T13:23:13.512Z] ---> Running in 145406e7443e [2022-05-02T13:23:13.512Z] Removing intermediate container 145406e7443e [2022-05-02T13:23:13.512Z] ---> c7a16151d6a6 [2022-05-02T13:23:13.512Z] Step 18/31 : RUN apk --no-cache add ca-certificates zeromq [2022-05-02T13:23:13.512Z] ---> Running in 5de97955ef59 [2022-05-02T13:23:13.512Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-02T13:23:13.512Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-02T13:23:13.512Z] (1/6) Installing ca-certificates (20211220-r0) [2022-05-02T13:23:13.512Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T13:23:13.512Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T13:23:13.512Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T13:23:13.512Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T13:23:13.512Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T13:23:13.512Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T13:23:13.512Z] Executing ca-certificates-20211220-r0.trigger [2022-05-02T13:23:13.512Z] OK: 9 MiB in 20 packages [2022-05-02T13:23:13.512Z] Removing intermediate container 5de97955ef59 [2022-05-02T13:23:13.512Z] ---> bd46fb9f7b3a [2022-05-02T13:23:13.512Z] Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-05-02T13:23:13.512Z] ---> 653f820490a5 [2022-05-02T13:23:13.512Z] Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE [2022-05-02T13:23:13.512Z] ---> 997aca30b8a7 [2022-05-02T13:23:13.512Z] Step 21/31 : COPY --from=builder /app/res/ /res/ [2022-05-02T13:23:13.512Z] ---> bfd2bf59b88e [2022-05-02T13:23:13.512Z] Step 22/31 : COPY --from=builder /app/static/ /static/ [2022-05-02T13:23:13.512Z] ---> 06ddd264de5a [2022-05-02T13:23:13.512Z] Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-05-02T13:23:15.487Z] ---> ecc703e612b2 [2022-05-02T13:23:15.487Z] Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-05-02T13:23:15.487Z] ---> Running in 83107a26f550 [2022-05-02T13:23:16.921Z] Removing intermediate container 83107a26f550 [2022-05-02T13:23:16.921Z] ---> 2cc2f6004215 [2022-05-02T13:23:16.921Z] Step 25/31 : VOLUME /cache [2022-05-02T13:23:16.921Z] ---> Running in 64929e288779 [2022-05-02T13:23:17.196Z] Removing intermediate container 64929e288779 [2022-05-02T13:23:17.196Z] ---> 94c33d63a30c [2022-05-02T13:23:17.196Z] Step 26/31 : EXPOSE 59711 [2022-05-02T13:23:17.196Z] ---> Running in 2609c241c226 [2022-05-02T13:23:17.471Z] Removing intermediate container 2609c241c226 [2022-05-02T13:23:17.471Z] ---> acd2f6c5e1a3 [2022-05-02T13:23:17.471Z] Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-05-02T13:23:17.745Z] ---> Running in e87ef57db5de [2022-05-02T13:23:18.018Z] Removing intermediate container e87ef57db5de [2022-05-02T13:23:18.018Z] ---> 3f02924214ec [2022-05-02T13:23:18.018Z] Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-05-02T13:23:18.018Z] ---> Running in 8ce163a0cd2c [2022-05-02T13:23:18.292Z] Removing intermediate container 8ce163a0cd2c [2022-05-02T13:23:18.292Z] ---> 4b025a15c67a [2022-05-02T13:23:18.292Z] Step 29/31 : LABEL arch=arm64 [2022-05-02T13:23:18.292Z] ---> Running in 2a7083bd8849 [2022-05-02T13:23:18.887Z] Removing intermediate container 2a7083bd8849 [2022-05-02T13:23:18.887Z] ---> 33392626efd1 [2022-05-02T13:23:18.887Z] Step 30/31 : LABEL git_sha=2032d8e70c3908fafaa2f44b9e57a305cf0974af [2022-05-02T13:23:18.887Z] ---> Running in 380228cc76f2 [2022-05-02T13:23:19.159Z] Removing intermediate container 380228cc76f2 [2022-05-02T13:23:19.159Z] ---> bcb81e5db071 [2022-05-02T13:23:19.159Z] Step 31/31 : LABEL version=0.0.0 [2022-05-02T13:23:19.159Z] ---> Running in 94331e5f72f4 [2022-05-02T13:23:19.433Z] Removing intermediate container 94331e5f72f4 [2022-05-02T13:23:19.433Z] ---> c8b283af0539 [2022-05-02T13:23:19.433Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T13:23:19.433Z] Successfully built c8b283af0539 [2022-05-02T13:23:19.433Z] Successfully tagged app-rfid-llrp-inventory-arm64:latest [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] sh [2022-05-02T13:23:20.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T13:23:20.158Z] [2022-05-02T13:23:20.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:23:20.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T13:23:20.828Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-02T13:23:20.828Z] 8998bd30e6a1: Pulling fs layer [2022-05-02T13:23:20.828Z] 04944245beec: Pulling fs layer [2022-05-02T13:23:20.828Z] 699f458cf7ca: Pulling fs layer [2022-05-02T13:23:20.828Z] 765212b225bb: Pulling fs layer [2022-05-02T13:23:20.828Z] f23df028b6ca: Pulling fs layer [2022-05-02T13:23:20.828Z] d65c8cfc05b1: Pulling fs layer [2022-05-02T13:23:20.828Z] 2437ff75d9bd: Pulling fs layer [2022-05-02T13:23:20.828Z] 765212b225bb: Waiting [2022-05-02T13:23:20.828Z] f23df028b6ca: Waiting [2022-05-02T13:23:20.828Z] d65c8cfc05b1: Waiting [2022-05-02T13:23:20.828Z] 2437ff75d9bd: Waiting [2022-05-02T13:23:20.828Z] 04944245beec: Verifying Checksum [2022-05-02T13:23:20.828Z] 04944245beec: Download complete [2022-05-02T13:23:20.828Z] 765212b225bb: Download complete [2022-05-02T13:23:20.828Z] f23df028b6ca: Download complete [2022-05-02T13:23:20.828Z] d65c8cfc05b1: Verifying Checksum [2022-05-02T13:23:21.111Z] 699f458cf7ca: Verifying Checksum [2022-05-02T13:23:21.111Z] 699f458cf7ca: Download complete [2022-05-02T13:23:21.387Z] 8998bd30e6a1: Verifying Checksum [2022-05-02T13:23:21.387Z] 8998bd30e6a1: Download complete [2022-05-02T13:23:24.017Z] 2437ff75d9bd: Verifying Checksum [2022-05-02T13:23:24.017Z] 2437ff75d9bd: Download complete [2022-05-02T13:23:25.460Z] 8998bd30e6a1: Pull complete [2022-05-02T13:23:26.059Z] 04944245beec: Pull complete [2022-05-02T13:23:27.502Z] 699f458cf7ca: Pull complete [2022-05-02T13:23:27.778Z] 765212b225bb: Pull complete [2022-05-02T13:23:28.760Z] f23df028b6ca: Pull complete [2022-05-02T13:23:28.760Z] d65c8cfc05b1: Pull complete [2022-05-02T13:23:43.856Z] 2437ff75d9bd: Pull complete [2022-05-02T13:23:43.856Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-02T13:23:43.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T13:23:43.856Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-02T13:23:44.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-34479 does not seem to be running inside a container [2022-05-02T13:23:44.192Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-02T13:23:46.698Z] $ docker top 8707a7cf6271e0f197dd3d6cc6f131a612f0f3b41658ec2e5f517260e39ab8dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:23:47.687Z] ---> job-cost.sh [2022-05-02T13:23:47.687Z] lf-activate-venv: SKIPPING [2022-05-02T13:23:47.687Z] INFO: No Stack... [2022-05-02T13:23:48.282Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-02T13:23:48.877Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T13:23:49.570Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2022-05-02T13:23:49.570Z] + cut -d, -f6 [Pipeline] lock [2022-05-02T13:23:49.655Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] [2022-05-02T13:23:49.660Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] did not exist. Created. [2022-05-02T13:23:49.660Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T13:23:50.423Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-dfdfc5c2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-02T13:23:51.134Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-02T13:23:51.172Z] Warning: overwriting stash ‘stack-cost’ [2022-05-02T13:23:51.224Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T13:23:51.239Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-77-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T13:23:51.321Z] $ docker stop --time=1 8707a7cf6271e0f197dd3d6cc6f131a612f0f3b41658ec2e5f517260e39ab8dd [2022-05-02T13:23:52.819Z] $ docker rm -f 8707a7cf6271e0f197dd3d6cc6f131a612f0f3b41658ec2e5f517260e39ab8dd [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 [2022-05-02T13:23:53.872Z] provisioning config files... [2022-05-02T13:23:53.883Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/config8539554220734119591tmp [Pipeline] { [Pipeline] sh [2022-05-02T13:23:54.216Z] + set +x [2022-05-02T13:23:54.216Z] + + bash -s -- [2022-05-02T13:23:54.216Z] curl -s https://codecov.io/bash [2022-05-02T13:23:54.216Z] [2022-05-02T13:23:54.216Z] _____ _ [2022-05-02T13:23:54.216Z] / ____| | | [2022-05-02T13:23:54.216Z] | | ___ __| | ___ ___ _____ __ [2022-05-02T13:23:54.216Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-02T13:23:54.216Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-02T13:23:54.216Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-02T13:23:54.216Z] Bash-1.0.6 [2022-05-02T13:23:54.216Z] [2022-05-02T13:23:54.216Z] [2022-05-02T13:23:54.216Z] ==> git version 2.25.1 found [2022-05-02T13:23:54.216Z] ==> 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 [2022-05-02T13:23:54.216Z] Release-Date: 2020-01-08 [2022-05-02T13:23:54.216Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-02T13:23:54.216Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-02T13:23:54.216Z] ==> Jenkins CI detected. [2022-05-02T13:23:54.216Z] current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-77 [2022-05-02T13:23:54.216Z] project root: . [2022-05-02T13:23:54.216Z] --> token set from env [2022-05-02T13:23:54.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-02T13:23:54.216Z] ==> Running gcov in . (disable via -X gcov) [2022-05-02T13:23:54.216Z] ==> Python coveragepy not found [2022-05-02T13:23:54.216Z] ==> Searching for coverage reports in: [2022-05-02T13:23:54.216Z] + . [2022-05-02T13:23:54.216Z] -> Found 1 reports [2022-05-02T13:23:54.216Z] ==> Detecting git/mercurial file structure [2022-05-02T13:23:54.478Z] ==> Reading reports [2022-05-02T13:23:54.478Z] + ./coverage.out bytes=41008 [2022-05-02T13:23:54.478Z] ==> Appending adjustments [2022-05-02T13:23:54.478Z] https://docs.codecov.io/docs/fixing-reports [2022-05-02T13:23:54.478Z] + Found adjustments [2022-05-02T13:23:54.478Z] ==> Gzipping contents [2022-05-02T13:23:54.478Z] 12K /tmp/codecov.0NUaLx.gz [2022-05-02T13:23:54.478Z] ==> Uploading reports [2022-05-02T13:23:54.478Z] url: https://codecov.io [2022-05-02T13:23:54.478Z] query: branch=PR-77&commit=2032d8e70c3908fafaa2f44b9e57a305cf0974af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-77%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=77&job=&cmd_args= [2022-05-02T13:23:54.478Z] -> Pinging Codecov [2022-05-02T13:23:54.478Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-77&commit=2032d8e70c3908fafaa2f44b9e57a305cf0974af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-77%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=77&job=&cmd_args= [2022-05-02T13:23:54.740Z] -> Uploading to [2022-05-02T13:23:54.740Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-02/581DD39554BDF9B6E22D074273EAD858/2032d8e70c3908fafaa2f44b9e57a305cf0974af/8cc78d6a-f55d-458d-bb24-78932e670306.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T132354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c488b44aef649377092b3a1a39f21f0811b2d2c1dcfc084154cd6dc45df13103 [2022-05-02T13:23:54.740Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T13:23:54.740Z] Dload Upload Total Spent Left Speed [2022-05-02T13:23:55.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11560 0 0 100 11560 0 45333 --:--:-- --:--:-- --:--:-- 45333 [2022-05-02T13:23:55.002Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/2032d8e70c3908fafaa2f44b9e57a305cf0974af [Pipeline] } [2022-05-02T13:23:55.028Z] 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 [2022-05-02T13:23:56.851Z] + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-77/archives ] [2022-05-02T13:23:56.851Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-77/archives [2022-05-02T13:23:56.851Z] total 16 [2022-05-02T13:23:56.851Z] drwxr-xr-x 3 root root 4096 May 2 13:16 . [2022-05-02T13:23:56.851Z] drwxrwxr-x 12 jenkins jenkins 4096 May 2 13:16 .. [2022-05-02T13:23:56.851Z] drwxr-xr-x 2 root root 4096 May 2 13:16 cost [2022-05-02T13:23:56.851Z] -rw-r--r-- 1 root root 93 May 2 13:16 cost.csv [2022-05-02T13:23:56.851Z] + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-77/archives [2022-05-02T13:23:56.851Z] + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-77/archives [2022-05-02T13:23:56.851Z] total 16 [2022-05-02T13:23:56.851Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 13:16 . [2022-05-02T13:23:56.851Z] drwxrwxr-x 12 jenkins jenkins 4096 May 2 13:16 .. [2022-05-02T13:23:56.851Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 13:16 cost [2022-05-02T13:23:56.851Z] -rw-r--r-- 1 jenkins jenkins 93 May 2 13:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:23:57.190Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:23:58.087Z] ---> package-listing.sh [2022-05-02T13:23:58.087Z] ++ facter osfamily [2022-05-02T13:23:58.087Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-02T13:23:58.348Z] + OS_FAMILY=debian [2022-05-02T13:23:58.348Z] + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-77 [2022-05-02T13:23:58.348Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-02T13:23:58.348Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-02T13:23:58.348Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-02T13:23:58.348Z] + PACKAGES=/tmp/packages_start.txt [2022-05-02T13:23:58.348Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-77 ']' [2022-05-02T13:23:58.348Z] + PACKAGES=/tmp/packages_end.txt [2022-05-02T13:23:58.348Z] + case "${OS_FAMILY}" in [2022-05-02T13:23:58.348Z] + dpkg -l [2022-05-02T13:23:58.348Z] + grep '^ii' [2022-05-02T13:23:58.348Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-02T13:23:58.348Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-02T13:23:58.348Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-02T13:23:58.348Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-77 ']' [2022-05-02T13:23:58.348Z] + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-77/archives/ [2022-05-02T13:23:58.348Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-77/archives/ [Pipeline] echo [2022-05-02T13:23:58.384Z] 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/ry_app-rfid-llrp-inventory_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-02T13:23:58.680Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-02T13:23:59.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T13:23:59.260Z] . [Pipeline] withDockerContainer [2022-05-02T13:23:59.358Z] prd-ubuntu20.04-docker-8c-8g-34478 does not seem to be running inside a container [2022-05-02T13:23:59.405Z] $ 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/ry_app-rfid-llrp-inventory_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-77 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77:/w/workspace/ry_app-rfid-llrp-inventory_PR-77:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-02T13:23:59.663Z] $ docker top ec1871ef23fb8ff200ad3ac5b404aa0870f2942302e6313241e13d558485c517 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T13:24:00.073Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-02T13:24:00.387Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-02T13:24:00.704Z] + ls /var/log/sa-host [2022-05-02T13:24:00.704Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T13:24:00.860Z] provisioning config files... [2022-05-02T13:24:00.872Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-77@tmp/config1988724033605021716tmp [Pipeline] { [Pipeline] echo [2022-05-02T13:24:00.922Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:24:01.257Z] ---> create-netrc.sh [Pipeline] } [2022-05-02T13:24:01.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:24:01.703Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-02T13:24:01.733Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:24:02.049Z] ---> sudo-logs.sh [2022-05-02T13:24:02.049Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-02T13:24:02.129Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:24:02.449Z] ---> job-cost.sh [2022-05-02T13:24:02.449Z] lf-activate-venv: SKIPPING [2022-05-02T13:24:02.449Z] DEBUG: total: 0.2199999988079071 [2022-05-02T13:24:02.449Z] INFO: Retrieving Stack Cost... [2022-05-02T13:24:02.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T13:24:03.282Z] INFO: Archiving Costs [Pipeline] echo [2022-05-02T13:24:03.323Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T13:24:03.646Z] ---> logs-deploy.sh [2022-05-02T13:24:03.646Z] lf-activate-venv: SKIPPING [2022-05-02T13:24:03.646Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-77/1 [2022-05-02T13:24:03.646Z] INFO: archiving workspace using pattern(s): [2022-05-02T13:24:04.592Z] Archives upload complete. [2022-05-02T13:24:04.854Z] INFO: archiving logs to Nexus [2022-05-02T13:24:05.425Z] ---> uname -a: [2022-05-02T13:24:05.425Z] Linux prd-ubuntu20-04-docker-8c-8g-34478 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-05-02T13:24:05.425Z] [2022-05-02T13:24:05.425Z] [2022-05-02T13:24:05.425Z] ---> lscpu: [2022-05-02T13:24:05.425Z] Architecture: x86_64 [2022-05-02T13:24:05.425Z] CPU op-mode(s): 32-bit, 64-bit [2022-05-02T13:24:05.425Z] Byte Order: Little Endian [2022-05-02T13:24:05.425Z] Address sizes: 40 bits physical, 48 bits virtual [2022-05-02T13:24:05.425Z] CPU(s): 8 [2022-05-02T13:24:05.425Z] On-line CPU(s) list: 0-7 [2022-05-02T13:24:05.425Z] Thread(s) per core: 1 [2022-05-02T13:24:05.425Z] Core(s) per socket: 1 [2022-05-02T13:24:05.425Z] Socket(s): 8 [2022-05-02T13:24:05.425Z] NUMA node(s): 1 [2022-05-02T13:24:05.425Z] Vendor ID: AuthenticAMD [2022-05-02T13:24:05.425Z] CPU family: 23 [2022-05-02T13:24:05.425Z] Model: 49 [2022-05-02T13:24:05.425Z] Model name: AMD EPYC-Rome Processor [2022-05-02T13:24:05.425Z] Stepping: 0 [2022-05-02T13:24:05.425Z] CPU MHz: 2799.996 [2022-05-02T13:24:05.425Z] BogoMIPS: 5599.99 [2022-05-02T13:24:05.425Z] Virtualization: AMD-V [2022-05-02T13:24:05.425Z] Hypervisor vendor: KVM [2022-05-02T13:24:05.425Z] Virtualization type: full [2022-05-02T13:24:05.425Z] L1d cache: 256 KiB [2022-05-02T13:24:05.426Z] L1i cache: 256 KiB [2022-05-02T13:24:05.426Z] L2 cache: 4 MiB [2022-05-02T13:24:05.426Z] L3 cache: 128 MiB [2022-05-02T13:24:05.426Z] NUMA node0 CPU(s): 0-7 [2022-05-02T13:24:05.426Z] Vulnerability Itlb multihit: Not affected [2022-05-02T13:24:05.426Z] Vulnerability L1tf: Not affected [2022-05-02T13:24:05.426Z] Vulnerability Mds: Not affected [2022-05-02T13:24:05.426Z] Vulnerability Meltdown: Not affected [2022-05-02T13:24:05.426Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-05-02T13:24:05.426Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-05-02T13:24:05.426Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-05-02T13:24:05.426Z] Vulnerability Srbds: Not affected [2022-05-02T13:24:05.426Z] Vulnerability Tsx async abort: Not affected [2022-05-02T13:24:05.426Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-05-02T13:24:05.426Z] [2022-05-02T13:24:05.426Z] [2022-05-02T13:24:05.426Z] ---> nproc: [2022-05-02T13:24:05.426Z] 8 [2022-05-02T13:24:05.426Z] [2022-05-02T13:24:05.426Z] [2022-05-02T13:24:05.426Z] ---> df -h: [2022-05-02T13:24:05.426Z] Filesystem Size Used Avail Use% Mounted on [2022-05-02T13:24:05.426Z] overlay 155G 11G 145G 7% / [2022-05-02T13:24:05.426Z] tmpfs 64M 0 64M 0% /dev [2022-05-02T13:24:05.426Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-05-02T13:24:05.426Z] shm 64M 0 64M 0% /dev/shm [2022-05-02T13:24:05.426Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-05-02T13:24:05.426Z] [2022-05-02T13:24:05.426Z]