Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c34f11e704d620f6173803248dedd1465f9bb0d+86354b634c9d0fc1eadff25359b9682d3f793e35 (2ff3bba795dc6efa684dc895ee9680b652815171) 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-ssh7393997698480789636.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8776612098112310956.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1732182059834258200.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3187241188515473137.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11777896757761789747.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-548 in /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-109 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 86354b634c9d0fc1eadff25359b9682d3f793e35 into PR head commit 4c34f11e704d620f6173803248dedd1465f9bb0d Merge succeeded, producing c523d270d3e7d5628c512a0aeb359f0ad0549b0b Checking out Revision c523d270d3e7d5628c512a0aeb359f0ad0549b0b (PR-109) > git config core.sparsecheckout # timeout=10 > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 86354b634c9d0fc1eadff25359b9682d3f793e35 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c523d270d3e7d5628c512a0aeb359f0ad0549b0b # timeout=10 Commit message: "Merge commit '86354b634c9d0fc1eadff25359b9682d3f793e35' into HEAD" > git rev-list --no-walk 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T07:58:24.470Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T07:58:24.524Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T07:58:24.543Z] ========================================================= [2022-09-22T07:58:24.544Z] EdgeX Global Pipelines Version Info [2022-09-22T07:58:24.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T07:58:25.248Z] ------------------- [2022-09-22T07:58:25.248Z] stable info: [2022-09-22T07:58:25.248Z] ------------------- [2022-09-22T07:58:25.248Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T07:58:25.248Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T07:58:25.248Z] Message: update stable to v1.0.239 [2022-09-22T07:58:25.818Z] ------------------- [2022-09-22T07:58:25.818Z] experimental info: [2022-09-22T07:58:25.818Z] ------------------- [2022-09-22T07:58:25.818Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T07:58:25.818Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T07:58:25.818Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T07:58:26.006Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-09-22T07:58:26.018Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-09-22T07:58:26.035Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T07:58:26.045Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T07:58:26.057Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T07:58:26.070Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T07:58:26.081Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T07:58:26.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T07:58:26.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T07:58:26.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T07:58:26.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T07:58:26.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-09-22T07:58:26.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T07:58:26.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T07:58:26.187Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T07:58:26.198Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T07:58:26.210Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T07:58:26.221Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T07:58:26.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T07:58:26.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T07:58:26.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T07:58:26.269Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T07:58:26.285Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T07:58:26.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T07:58:26.319Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T07:58:26.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T07:58:26.343Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T07:58:26.356Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-109 [Pipeline] echo [2022-09-22T07:58:26.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-109 [Pipeline] echo [2022-09-22T07:58:26.378Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-109 [Pipeline] echo [2022-09-22T07:58:26.389Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c523d270d3e7d5628c512a0aeb359f0ad0549b0b [Pipeline] echo [2022-09-22T07:58:26.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c523d27 [Pipeline] echo [2022-09-22T07:58:26.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T07:58:26.467Z] provisioning config files... [2022-09-22T07:58:26.482Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config3300606629725752669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T07:58:26.781Z] ---> docker-login.sh [2022-09-22T07:58:26.781Z] nexus3.edgexfoundry.org:10001 [2022-09-22T07:58:27.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:27.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:27.303Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:27.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:27.303Z] [2022-09-22T07:58:27.303Z] Login Succeeded [2022-09-22T07:58:27.303Z] nexus3.edgexfoundry.org:10002 [2022-09-22T07:58:27.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:27.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:27.303Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:27.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:27.303Z] [2022-09-22T07:58:27.303Z] Login Succeeded [2022-09-22T07:58:27.303Z] nexus3.edgexfoundry.org:10003 [2022-09-22T07:58:27.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:27.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:27.563Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:27.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:27.563Z] [2022-09-22T07:58:27.563Z] Login Succeeded [2022-09-22T07:58:27.563Z] nexus3.edgexfoundry.org:10004 [2022-09-22T07:58:27.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:27.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:27.563Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:27.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:27.563Z] [2022-09-22T07:58:27.563Z] Login Succeeded [2022-09-22T07:58:27.563Z] docker.io [2022-09-22T07:58:27.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:28.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:28.134Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:28.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:28.134Z] [2022-09-22T07:58:28.134Z] Login Succeeded [2022-09-22T07:58:28.134Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T07:58:28.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T07:58:28.519Z] + git rev-list -1 --merges c523d270d3e7d5628c512a0aeb359f0ad0549b0b~1..c523d270d3e7d5628c512a0aeb359f0ad0549b0b [Pipeline] echo [2022-09-22T07:58:28.547Z] -----------> git rev-list -1 --merges c523d270d3e7d5628c512a0aeb359f0ad0549b0b~1..c523d270d3e7d5628c512a0aeb359f0ad0549b0b c523d270d3e7d5628c512a0aeb359f0ad0549b0b [2022-09-22T07:58:28.547Z] c523d270d3e7d5628c512a0aeb359f0ad0549b0b [false] [Pipeline] sh [2022-09-22T07:58:28.835Z] + git log --format=format:%s -1 c523d270d3e7d5628c512a0aeb359f0ad0549b0b [Pipeline] echo [2022-09-22T07:58:28.850Z] ========================================================= [2022-09-22T07:58:28.850Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T07:58:28.850Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T07:58:29.182Z] + git log --format=format:%s -1 c523d270d3e7d5628c512a0aeb359f0ad0549b0b [Pipeline] echo [2022-09-22T07:58:29.193Z] [semverPrep] GIT_COMMIT: c523d270d3e7d5628c512a0aeb359f0ad0549b0b, Commit Message: Merge commit '86354b634c9d0fc1eadff25359b9682d3f793e35' into HEAD [Pipeline] echo [2022-09-22T07:58:29.201Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T07:58:29.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T07:58:29.567Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T07:58:29.567Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T07:58:29.567Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T07:58:29.567Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T07:58:29.567Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T07:58:29.567Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T07:58:29.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T07:58:29.976Z] [2022-09-22T07:58:29.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T07:58:30.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T07:58:30.279Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T07:58:30.279Z] b85a868b505f: Pulling fs layer [2022-09-22T07:58:30.279Z] e2be974225ed: Pulling fs layer [2022-09-22T07:58:30.279Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T07:58:30.279Z] 988bab9f4d93: Pulling fs layer [2022-09-22T07:58:30.279Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T07:58:30.279Z] eaf3925da568: Pulling fs layer [2022-09-22T07:58:30.279Z] bab4dde63d76: Pulling fs layer [2022-09-22T07:58:30.279Z] bde34c3a00c8: Pulling fs layer [2022-09-22T07:58:30.279Z] b352a97aabf1: Pulling fs layer [2022-09-22T07:58:30.279Z] 4872d77fe225: Pulling fs layer [2022-09-22T07:58:30.279Z] 5851b861e8e6: Pulling fs layer [2022-09-22T07:58:30.279Z] eaf3925da568: Waiting [2022-09-22T07:58:30.279Z] bab4dde63d76: Waiting [2022-09-22T07:58:30.279Z] bde34c3a00c8: Waiting [2022-09-22T07:58:30.279Z] b352a97aabf1: Waiting [2022-09-22T07:58:30.279Z] 4872d77fe225: Waiting [2022-09-22T07:58:30.279Z] 5851b861e8e6: Waiting [2022-09-22T07:58:30.279Z] 988bab9f4d93: Waiting [2022-09-22T07:58:30.279Z] 1469e6f7b9e6: Waiting [2022-09-22T07:58:30.279Z] e2be974225ed: Verifying Checksum [2022-09-22T07:58:30.279Z] e2be974225ed: Download complete [2022-09-22T07:58:30.279Z] 988bab9f4d93: Verifying Checksum [2022-09-22T07:58:30.279Z] 988bab9f4d93: Download complete [2022-09-22T07:58:30.539Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T07:58:30.539Z] 1469e6f7b9e6: Download complete [2022-09-22T07:58:30.539Z] eaf3925da568: Verifying Checksum [2022-09-22T07:58:30.539Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T07:58:30.539Z] 339a4e72a1f5: Download complete [2022-09-22T07:58:30.539Z] bde34c3a00c8: Verifying Checksum [2022-09-22T07:58:30.539Z] bde34c3a00c8: Download complete [2022-09-22T07:58:30.539Z] b352a97aabf1: Verifying Checksum [2022-09-22T07:58:30.539Z] b352a97aabf1: Download complete [2022-09-22T07:58:30.539Z] 4872d77fe225: Verifying Checksum [2022-09-22T07:58:30.539Z] 4872d77fe225: Download complete [2022-09-22T07:58:30.539Z] 5851b861e8e6: Verifying Checksum [2022-09-22T07:58:30.539Z] 5851b861e8e6: Download complete [2022-09-22T07:58:30.539Z] b85a868b505f: Download complete [2022-09-22T07:58:30.798Z] bab4dde63d76: Verifying Checksum [2022-09-22T07:58:30.798Z] bab4dde63d76: Download complete [2022-09-22T07:58:31.757Z] b85a868b505f: Pull complete [2022-09-22T07:58:32.020Z] e2be974225ed: Pull complete [2022-09-22T07:58:32.640Z] 339a4e72a1f5: Pull complete [2022-09-22T07:58:32.640Z] 988bab9f4d93: Pull complete [2022-09-22T07:58:32.918Z] 1469e6f7b9e6: Pull complete [2022-09-22T07:58:32.918Z] eaf3925da568: Pull complete [2022-09-22T07:58:34.824Z] bab4dde63d76: Pull complete [2022-09-22T07:58:34.824Z] bde34c3a00c8: Pull complete [2022-09-22T07:58:34.824Z] b352a97aabf1: Pull complete [2022-09-22T07:58:35.085Z] 4872d77fe225: Pull complete [2022-09-22T07:58:35.085Z] 5851b861e8e6: Pull complete [2022-09-22T07:58:35.085Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T07:58:35.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T07:58:35.085Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T07:58:35.161Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-09-22T07:58:35.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T07:58:38.212Z] $ docker top 1414b614dab0b3b97fdf1d3420c874bdb31adc973e1fef8fa4e475bcab2647b8 -eo pid,comm [2022-09-22T07:58:38.276Z] 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-09-22T07:58:38.276Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T07:58:38.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T07:58:38.313Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T07:58:38.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T07:58:38.422Z] $ docker exec 1414b614dab0b3b97fdf1d3420c874bdb31adc973e1fef8fa4e475bcab2647b8 ssh-agent [2022-09-22T07:58:38.525Z] SSH_AUTH_SOCK=/tmp/ssh-A3qygeHHBtvn/agent.32 [2022-09-22T07:58:38.525Z] SSH_AGENT_PID=38 [2022-09-22T07:58:38.531Z] Running ssh-add (command line suppressed) [2022-09-22T07:58:38.625Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_13516061693515232142.key (/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_13516061693515232142.key) [2022-09-22T07:58:38.640Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T07:58:38.927Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T07:58:38.940Z] $ docker exec --env ******** --env ******** 1414b614dab0b3b97fdf1d3420c874bdb31adc973e1fef8fa4e475bcab2647b8 ssh-agent -k [2022-09-22T07:58:39.043Z] unset SSH_AUTH_SOCK; [2022-09-22T07:58:39.044Z] unset SSH_AGENT_PID; [2022-09-22T07:58:39.044Z] echo Agent pid 38 killed; [2022-09-22T07:58:39.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T07:58:39.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T07:58:39.081Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T07:58:39.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T07:58:39.195Z] $ docker exec 1414b614dab0b3b97fdf1d3420c874bdb31adc973e1fef8fa4e475bcab2647b8 ssh-agent [2022-09-22T07:58:39.327Z] SSH_AUTH_SOCK=/tmp/ssh-mvH5khMWefDR/agent.70 [2022-09-22T07:58:39.327Z] SSH_AGENT_PID=76 [2022-09-22T07:58:39.332Z] Running ssh-add (command line suppressed) [2022-09-22T07:58:39.443Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_11446953588477042120.key (/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_11446953588477042120.key) [2022-09-22T07:58:39.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T07:58:39.747Z] + git semver init [2022-09-22T07:58:40.008Z] 2022-09-22 07:58:39,933 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T07:58:40.008Z] 2022-09-22 07:58:39,934 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver [2022-09-22T07:58:40.008Z] 2022-09-22 07:58:39,935 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver [2022-09-22T07:58:40.008Z] 2022-09-22 07:58:39,935 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109, universal_newlines=False, shell=None, istream=None) [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,228 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.git/info/exclude [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 with force:False [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,228 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,232 [execute] INFO git cat-file --batch-check [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,239 [execute] INFO git cat-file --batch [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T07:58:41.389Z] 2022-09-22 07:58:41,244 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 [2022-09-22T07:58:41.389Z] 0.0.0 [Pipeline] } [2022-09-22T07:58:41.397Z] $ docker exec --env ******** --env ******** 1414b614dab0b3b97fdf1d3420c874bdb31adc973e1fef8fa4e475bcab2647b8 ssh-agent -k [2022-09-22T07:58:41.502Z] unset SSH_AUTH_SOCK; [2022-09-22T07:58:41.503Z] unset SSH_AGENT_PID; [2022-09-22T07:58:41.503Z] echo Agent pid 76 killed; [2022-09-22T07:58:41.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T07:58:41.817Z] + git semver [Pipeline] } [2022-09-22T07:58:42.086Z] $ docker stop --time=1 1414b614dab0b3b97fdf1d3420c874bdb31adc973e1fef8fa4e475bcab2647b8 [2022-09-22T07:58:43.400Z] $ docker rm -f 1414b614dab0b3b97fdf1d3420c874bdb31adc973e1fef8fa4e475bcab2647b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T07:58:43.730Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T07:58:43.887Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T07:58:43.890Z] [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-09-22T07:58:44.027Z] provisioning config files... [2022-09-22T07:58:44.037Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config11877672467440985486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T07:58:44.342Z] ---> docker-login.sh [2022-09-22T07:58:44.342Z] nexus3.edgexfoundry.org:10001 [2022-09-22T07:58:44.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:44.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:44.342Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:44.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:44.342Z] [2022-09-22T07:58:44.342Z] Login Succeeded [2022-09-22T07:58:44.342Z] nexus3.edgexfoundry.org:10002 [2022-09-22T07:58:44.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:44.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:44.342Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:44.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:44.342Z] [2022-09-22T07:58:44.342Z] Login Succeeded [2022-09-22T07:58:44.342Z] nexus3.edgexfoundry.org:10003 [2022-09-22T07:58:44.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:44.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:44.601Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:44.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:44.601Z] [2022-09-22T07:58:44.601Z] Login Succeeded [2022-09-22T07:58:44.601Z] nexus3.edgexfoundry.org:10004 [2022-09-22T07:58:44.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:44.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:44.601Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:44.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:44.601Z] [2022-09-22T07:58:44.601Z] Login Succeeded [2022-09-22T07:58:44.601Z] docker.io [2022-09-22T07:58:44.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T07:58:45.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T07:58:45.121Z] Configure a credential helper to remove this warning. See [2022-09-22T07:58:45.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T07:58:45.121Z] [2022-09-22T07:58:45.121Z] Login Succeeded [2022-09-22T07:58:45.121Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T07:58:45.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T07:58:45.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T07:58:45.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T07:58:45.209Z] ========================================================= [2022-09-22T07:58:45.209Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T07:58:45.209Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T07:58:45.510Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T07:58:45.511Z] Sending build context to Docker daemon 12.48MB [2022-09-22T07:58:45.511Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T07:58:45.511Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-22T07:58:45.511Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T07:58:45.511Z] 2408cc74d12b: Pulling fs layer [2022-09-22T07:58:45.511Z] ea60b727a1ce: Pulling fs layer [2022-09-22T07:58:45.511Z] 30c4a7721957: Pulling fs layer [2022-09-22T07:58:45.511Z] 370296b7ddb6: Pulling fs layer [2022-09-22T07:58:45.511Z] 7c6cee850709: Pulling fs layer [2022-09-22T07:58:45.511Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T07:58:45.511Z] d94ebbe4e438: Pulling fs layer [2022-09-22T07:58:45.511Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T07:58:45.511Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T07:58:45.511Z] 370296b7ddb6: Waiting [2022-09-22T07:58:45.511Z] bcfd1f05c69d: Waiting [2022-09-22T07:58:45.511Z] 59ccb84bbe0f: Waiting [2022-09-22T07:58:45.511Z] 7c6cee850709: Waiting [2022-09-22T07:58:45.511Z] 39a5fcdaea64: Waiting [2022-09-22T07:58:45.511Z] d94ebbe4e438: Waiting [2022-09-22T07:58:45.511Z] 30c4a7721957: Download complete [2022-09-22T07:58:45.511Z] ea60b727a1ce: Download complete [2022-09-22T07:58:45.770Z] 7c6cee850709: Verifying Checksum [2022-09-22T07:58:45.770Z] 7c6cee850709: Download complete [2022-09-22T07:58:45.770Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T07:58:45.770Z] 39a5fcdaea64: Download complete [2022-09-22T07:58:45.770Z] 2408cc74d12b: Verifying Checksum [2022-09-22T07:58:45.770Z] d94ebbe4e438: Verifying Checksum [2022-09-22T07:58:45.770Z] d94ebbe4e438: Download complete [2022-09-22T07:58:45.770Z] 2408cc74d12b: Pull complete [2022-09-22T07:58:46.030Z] ea60b727a1ce: Pull complete [2022-09-22T07:58:46.030Z] 30c4a7721957: Pull complete [2022-09-22T07:58:46.607Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T07:58:46.607Z] 59ccb84bbe0f: Download complete [2022-09-22T07:58:46.607Z] 370296b7ddb6: Verifying Checksum [2022-09-22T07:58:46.607Z] 370296b7ddb6: Download complete [2022-09-22T07:58:46.607Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T07:58:46.607Z] bcfd1f05c69d: Download complete [2022-09-22T07:58:50.794Z] 370296b7ddb6: Pull complete [2022-09-22T07:58:50.794Z] 7c6cee850709: Pull complete [2022-09-22T07:58:50.794Z] 39a5fcdaea64: Pull complete [2022-09-22T07:58:50.794Z] d94ebbe4e438: Pull complete [2022-09-22T07:58:53.326Z] bcfd1f05c69d: Pull complete [2022-09-22T07:58:53.895Z] 59ccb84bbe0f: Pull complete [2022-09-22T07:58:53.895Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T07:58:53.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T07:58:53.895Z] ---> a4fb48ad2a94 [2022-09-22T07:58:53.895Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-22T07:58:58.998Z] Still waiting to schedule task [2022-09-22T07:58:58.999Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T07:58:59.173Z] ---> Running in 88145d1e2866 [2022-09-22T07:58:59.173Z] Removing intermediate container 88145d1e2866 [2022-09-22T07:58:59.173Z] ---> 5d1911d4bb7e [2022-09-22T07:58:59.173Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T07:58:59.173Z] ---> Running in 34522a3591fc [2022-09-22T07:58:59.173Z] Removing intermediate container 34522a3591fc [2022-09-22T07:58:59.173Z] ---> fc5bf51d693e [2022-09-22T07:58:59.173Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-09-22T07:58:59.173Z] ---> Running in b4a59988ef8a [2022-09-22T07:58:59.173Z] Removing intermediate container b4a59988ef8a [2022-09-22T07:58:59.173Z] ---> e5cd61fa0146 [2022-09-22T07:58:59.173Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T07:58:59.173Z] ---> Running in 4085963051ca [2022-09-22T07:58:59.173Z] Removing intermediate container 4085963051ca [2022-09-22T07:58:59.173Z] ---> 586b6422b0c2 [2022-09-22T07:58:59.173Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T07:58:59.173Z] ---> Running in 5254331ecaf3 [2022-09-22T07:58:59.173Z] Removing intermediate container 5254331ecaf3 [2022-09-22T07:58:59.173Z] ---> 514afe5e5996 [2022-09-22T07:58:59.173Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T07:58:59.436Z] ---> Running in 8dad0cdcea65 [2022-09-22T07:58:59.696Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T07:59:00.640Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T07:59:00.899Z] OK: 211 MiB in 51 packages [2022-09-22T07:59:01.158Z] Removing intermediate container 8dad0cdcea65 [2022-09-22T07:59:01.158Z] ---> bedd7ecf9ce4 [2022-09-22T07:59:01.158Z] Step 9/14 : WORKDIR /app [2022-09-22T07:59:01.158Z] ---> Running in 28490724a1d2 [2022-09-22T07:59:01.158Z] Removing intermediate container 28490724a1d2 [2022-09-22T07:59:01.158Z] ---> 1a4680cb111e [2022-09-22T07:59:01.158Z] Step 10/14 : COPY go.mod vendor* ./ [2022-09-22T07:59:01.417Z] ---> 4019fafc2211 [2022-09-22T07:59:01.417Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T07:59:01.417Z] ---> Running in 582752e9d37e [2022-09-22T07:59:28.004Z] Removing intermediate container 582752e9d37e [2022-09-22T07:59:28.004Z] ---> c2b9cfd05c4e [2022-09-22T07:59:28.004Z] Step 12/14 : COPY . . [2022-09-22T07:59:28.004Z] ---> 3cb902e329f3 [2022-09-22T07:59:28.004Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T07:59:28.004Z] ---> Running in 4e8b6d46eb05 [2022-09-22T07:59:28.004Z] Removing intermediate container 4e8b6d46eb05 [2022-09-22T07:59:28.004Z] ---> 5d0bf97693ba [2022-09-22T07:59:28.004Z] Step 14/14 : RUN $MAKE [2022-09-22T07:59:28.004Z] ---> Running in 5a5095fcf198 [2022-09-22T07:59:28.004Z] noop [2022-09-22T07:59:28.004Z] Removing intermediate container 5a5095fcf198 [2022-09-22T07:59:28.004Z] ---> 8c33b1859114 [2022-09-22T07:59:28.004Z] Successfully built 8c33b1859114 [2022-09-22T07:59:28.004Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T07:59:28.321Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T07:59:28.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T07:59:28.386Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-09-22T07:59:28.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T07:59:28.744Z] $ docker top 3e26a11ff20cd441098342ea881651db70642a91acb4806f2940b2f082758608 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T07:59:29.084Z] + go version [2022-09-22T07:59:29.084Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T07:59:29.091Z] $ docker stop --time=1 3e26a11ff20cd441098342ea881651db70642a91acb4806f2940b2f082758608 [2022-09-22T07:59:30.313Z] $ docker rm -f 3e26a11ff20cd441098342ea881651db70642a91acb4806f2940b2f082758608 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T07:59:30.686Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T07:59:30.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T07:59:30.750Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-09-22T07:59:30.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T07:59:31.087Z] $ docker top 6542a5ae3581f784628ebbf59b465f6f58ae87f8bd8d8cf279a9e8bc476bf9ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T07:59:31.422Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] fileExists [Pipeline] sh [2022-09-22T07:59:31.712Z] + make test [2022-09-22T07:59:31.712Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T07:59:41.686Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-09-22T07:59:41.686Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.058s coverage: 86.2% of statements [2022-09-22T07:59:41.686Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-09-22T07:59:43.590Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.549s coverage: 71.9% of statements [2022-09-22T07:59:50.145Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-22T07:59:50.145Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T07:59:53.422Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T07:59:53.422Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T07:59:53.422Z] ./bin/test-attribution.sh [2022-09-22T07:59:53.422Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T07:59:53.422Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T07:59:53.422Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T07:59:53.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T07:59:53.445Z] $ docker stop --time=1 6542a5ae3581f784628ebbf59b465f6f58ae87f8bd8d8cf279a9e8bc476bf9ae [2022-09-22T07:59:55.926Z] $ docker rm -f 6542a5ae3581f784628ebbf59b465f6f58ae87f8bd8d8cf279a9e8bc476bf9ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T07:59:56.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T07:59:56.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T07:59:56.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T07:59:57.185Z] + ls -al . [2022-09-22T07:59:57.185Z] total 232 [2022-09-22T07:59:57.185Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 07:59 . [2022-09-22T07:59:57.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 07:58 .. [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 07:58 .dockerignore [2022-09-22T07:59:57.185Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 07:59 .git [2022-09-22T07:59:57.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 07:58 .github [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 07:58 .gitignore [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 07:58 .golangci.yml [2022-09-22T07:59:57.185Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 07:58 .semver [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 9546 Sep 22 07:58 Attribution.txt [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 07:58 CHANGELOG.md [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 07:58 Dockerfile [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 07:58 GOVERNANCE.md [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 07:58 Jenkinsfile [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 07:58 LICENSE [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 07:58 Makefile [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 07:58 OWNERS.md [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 07:58 README.md [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 07:58 VERSION [2022-09-22T07:59:57.185Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 07:58 bin [2022-09-22T07:59:57.185Z] -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 07:59 coverage.out [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 3678 Sep 22 07:58 go.mod [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 38059 Sep 22 07:58 go.sum [2022-09-22T07:59:57.185Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 07:58 images [2022-09-22T07:59:57.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 07:58 internal [2022-09-22T07:59:57.185Z] -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 07:58 main.go [2022-09-22T07:59:57.185Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 07:58 res [2022-09-22T07:59:57.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 07:58 snap [2022-09-22T07:59:57.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 07:58 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T07:59:57.516Z] + 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=c523d270d3e7d5628c512a0aeb359f0ad0549b0b --label arch=amd64 --label version=0.0.0 . [2022-09-22T07:59:57.516Z] Sending build context to Docker daemon 12.48MB [2022-09-22T07:59:57.516Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T07:59:57.516Z] Step 2/32 : FROM ${BASE} AS builder [2022-09-22T07:59:57.516Z] ---> 8c33b1859114 [2022-09-22T07:59:57.516Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-22T07:59:57.775Z] ---> Running in 903fbb611d96 [2022-09-22T07:59:57.775Z] Removing intermediate container 903fbb611d96 [2022-09-22T07:59:57.775Z] ---> e48742caa795 [2022-09-22T07:59:57.775Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T07:59:57.775Z] ---> Running in 7d962c921951 [2022-09-22T07:59:57.775Z] Removing intermediate container 7d962c921951 [2022-09-22T07:59:57.775Z] ---> f7cd1dead533 [2022-09-22T07:59:57.775Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-09-22T07:59:57.775Z] ---> Running in 071612afe80d [2022-09-22T07:59:58.035Z] Removing intermediate container 071612afe80d [2022-09-22T07:59:58.035Z] ---> a2cce68a1b61 [2022-09-22T07:59:58.035Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T07:59:58.035Z] ---> Running in 04cc77d6b2aa [2022-09-22T07:59:58.035Z] Removing intermediate container 04cc77d6b2aa [2022-09-22T07:59:58.035Z] ---> 6fa4f6d9f369 [2022-09-22T07:59:58.035Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T07:59:58.035Z] ---> Running in cd184bf37d60 [2022-09-22T07:59:58.601Z] Removing intermediate container cd184bf37d60 [2022-09-22T07:59:58.601Z] ---> 376ff6aedf8a [2022-09-22T07:59:58.601Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T07:59:58.601Z] ---> Running in 68bc291b485f [2022-09-22T07:59:58.860Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T07:59:59.797Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T07:59:59.797Z] OK: 211 MiB in 51 packages [2022-09-22T08:00:00.362Z] Removing intermediate container 68bc291b485f [2022-09-22T08:00:00.362Z] ---> 159581abeaa1 [2022-09-22T08:00:00.362Z] Step 9/32 : WORKDIR /app [2022-09-22T08:00:00.362Z] ---> Running in 7fb8f2ef6f81 [2022-09-22T08:00:00.362Z] Removing intermediate container 7fb8f2ef6f81 [2022-09-22T08:00:00.362Z] ---> 81a4edb7df80 [2022-09-22T08:00:00.362Z] Step 10/32 : COPY go.mod vendor* ./ [2022-09-22T08:00:00.362Z] ---> ea5df9ff19ad [2022-09-22T08:00:00.362Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T08:00:00.362Z] ---> Running in 0768eb7d5a1e [2022-09-22T08:00:00.929Z] Removing intermediate container 0768eb7d5a1e [2022-09-22T08:00:00.929Z] ---> bddc72b12d77 [2022-09-22T08:00:00.929Z] Step 12/32 : COPY . . [2022-09-22T08:00:01.501Z] ---> dc972c7f2d31 [2022-09-22T08:00:01.501Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T08:00:01.501Z] ---> Running in a9407e07ec9b [2022-09-22T08:00:01.501Z] Removing intermediate container a9407e07ec9b [2022-09-22T08:00:01.501Z] ---> 969f262df094 [2022-09-22T08:00:01.501Z] Step 14/32 : RUN $MAKE [2022-09-22T08:00:01.501Z] ---> Running in 5d6bdc18bad1 [2022-09-22T08:00:01.761Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.35 -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-09-22T08:00:21.523Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-549 in /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] { [Pipeline] ws [2022-09-22T08:00:21.536Z] Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout [2022-09-22T08:00:21.572Z] The recommended git tool is: git [2022-09-22T08:00:23.674Z] Removing intermediate container 5d6bdc18bad1 [2022-09-22T08:00:23.674Z] ---> 92c6a1f654d8 [2022-09-22T08:00:23.674Z] Step 15/32 : FROM alpine:3.14 [2022-09-22T08:00:23.674Z] 3.14: Pulling from library/alpine [2022-09-22T08:00:23.674Z] c7ed990a2339: Pulling fs layer [2022-09-22T08:00:23.674Z] c7ed990a2339: Verifying Checksum [2022-09-22T08:00:23.674Z] c7ed990a2339: Download complete [2022-09-22T08:00:23.674Z] c7ed990a2339: Pull complete [2022-09-22T08:00:23.674Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-22T08:00:23.674Z] Status: Downloaded newer image for alpine:3.14 [2022-09-22T08:00:23.674Z] ---> dd53f409bf0b [2022-09-22T08:00:23.674Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T08:00:23.674Z] ---> Running in 3f6fd27e5963 [2022-09-22T08:00:23.674Z] Removing intermediate container 3f6fd27e5963 [2022-09-22T08:00:23.674Z] ---> 7c5b52df8ee2 [2022-09-22T08:00:23.674Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-09-22T08:00:23.674Z] ---> Running in a2e0d2897142 [2022-09-22T08:00:23.674Z] Removing intermediate container a2e0d2897142 [2022-09-22T08:00:23.674Z] ---> 4c96d239298b [2022-09-22T08:00:23.674Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T08:00:23.674Z] ---> Running in 8ee04b83696c [2022-09-22T08:00:23.674Z] Removing intermediate container 8ee04b83696c [2022-09-22T08:00:23.674Z] ---> c0024cb2d905 [2022-09-22T08:00:23.674Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-09-22T08:00:23.674Z] ---> Running in a4959f18547a [2022-09-22T08:00:23.933Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-22T08:00:24.874Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-22T08:00:25.133Z] (1/7) Installing ca-certificates (20220614-r0) [2022-09-22T08:00:25.133Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-09-22T08:00:25.393Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-09-22T08:00:25.393Z] (4/7) Installing libsodium (1.0.18-r0) [2022-09-22T08:00:25.393Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-22T08:00:25.652Z] (6/7) Installing libzmq (4.3.4-r0) [2022-09-22T08:00:25.652Z] (7/7) Installing zeromq (4.3.4-r0) [2022-09-22T08:00:25.652Z] Executing busybox-1.33.1-r8.trigger [2022-09-22T08:00:25.652Z] Executing ca-certificates-20220614-r0.trigger [2022-09-22T08:00:25.928Z] OK: 9 MiB in 21 packages [2022-09-22T08:00:26.102Z] using credential edgex-jenkins-ssh [2022-09-22T08:00:26.117Z] Cloning the remote Git repository [2022-09-22T08:00:26.186Z] Removing intermediate container a4959f18547a [2022-09-22T08:00:26.187Z] ---> 0256b3181fb1 [2022-09-22T08:00:26.187Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-09-22T08:00:26.155Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-09-22T08:00:26.221Z] > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 [2022-09-22T08:00:26.347Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-09-22T08:00:26.348Z] > git --version # timeout=10 [2022-09-22T08:00:26.367Z] > git --version # 'git version 2.25.1' [2022-09-22T08:00:26.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T08:00:26.429Z] Verifying host key using known hosts file [2022-09-22T08:00:26.444Z] ---> 813038af9b37 [2022-09-22T08:00:26.444Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-09-22T08:00:26.444Z] ---> 9063298ad12f [2022-09-22T08:00:26.444Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-09-22T08:00:26.702Z] ---> 069877fe5e12 [2022-09-22T08:00:26.702Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-09-22T08:00:26.702Z] ---> 7b87fcc551d3 [2022-09-22T08:00:26.702Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-09-22T08:00:27.636Z] ---> da4f83f7b752 [2022-09-22T08:00:27.637Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-09-22T08:00:27.637Z] ---> Running in da53e376afa0 [2022-09-22T08:00:26.611Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T08:00:26.624Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T08:00:27.894Z] Removing intermediate container da53e376afa0 [2022-09-22T08:00:27.894Z] ---> f0ddf598aac4 [2022-09-22T08:00:27.894Z] Step 26/32 : VOLUME /cache [2022-09-22T08:00:27.894Z] ---> Running in 728718fe5007 [2022-09-22T08:00:27.894Z] Removing intermediate container 728718fe5007 [2022-09-22T08:00:27.894Z] ---> 72c58e0646ba [2022-09-22T08:00:27.894Z] Step 27/32 : EXPOSE 59711 [2022-09-22T08:00:28.153Z] ---> Running in a09bb0df8547 [2022-09-22T08:00:28.153Z] Removing intermediate container a09bb0df8547 [2022-09-22T08:00:28.153Z] ---> 038026f0cc67 [2022-09-22T08:00:28.153Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-09-22T08:00:28.153Z] ---> Running in 1f0ec4f12846 [2022-09-22T08:00:28.153Z] Removing intermediate container 1f0ec4f12846 [2022-09-22T08:00:28.153Z] ---> 6c21b593a80f [2022-09-22T08:00:28.153Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-09-22T08:00:28.153Z] ---> Running in 440f7aaaacb1 [2022-09-22T08:00:28.413Z] Removing intermediate container 440f7aaaacb1 [2022-09-22T08:00:28.413Z] ---> 665f3741ed35 [2022-09-22T08:00:28.413Z] Step 30/32 : LABEL arch=amd64 [2022-09-22T08:00:28.413Z] ---> Running in 5995fdc9eb8c [2022-09-22T08:00:28.413Z] Removing intermediate container 5995fdc9eb8c [2022-09-22T08:00:28.413Z] ---> be0e0f9ee712 [2022-09-22T08:00:28.413Z] Step 31/32 : LABEL git_sha=c523d270d3e7d5628c512a0aeb359f0ad0549b0b [2022-09-22T08:00:28.413Z] ---> Running in c89b507c66ba [2022-09-22T08:00:28.413Z] Removing intermediate container c89b507c66ba [2022-09-22T08:00:28.413Z] ---> 88256c6852ab [2022-09-22T08:00:28.413Z] Step 32/32 : LABEL version=0.0.0 [2022-09-22T08:00:28.413Z] ---> Running in 961bae17ff6f [2022-09-22T08:00:28.671Z] Removing intermediate container 961bae17ff6f [2022-09-22T08:00:28.671Z] ---> d12dbdccea79 [2022-09-22T08:00:28.671Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T08:00:28.671Z] Successfully built d12dbdccea79 [2022-09-22T08:00:28.671Z] Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:00:28.658Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-09-22T08:00:28.676Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T08:00:29.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T08:00:29.114Z] [2022-09-22T08:00:29.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:00:29.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T08:00:29.412Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T08:00:29.412Z] 5eb5b503b376: Pulling fs layer [2022-09-22T08:00:29.412Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T08:00:29.412Z] ec43610c2a17: Pulling fs layer [2022-09-22T08:00:29.412Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T08:00:29.412Z] 33b1e0a273af: Pulling fs layer [2022-09-22T08:00:29.412Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T08:00:29.412Z] 2f39f015ded8: Pulling fs layer [2022-09-22T08:00:29.412Z] 33b1e0a273af: Waiting [2022-09-22T08:00:29.412Z] 5d3b04190fa2: Waiting [2022-09-22T08:00:29.412Z] 2f39f015ded8: Waiting [2022-09-22T08:00:29.412Z] 3a2ae6a8a46f: Waiting [2022-09-22T08:00:29.412Z] 5c69ac0246d0: Download complete [2022-09-22T08:00:29.412Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T08:00:29.412Z] 3a2ae6a8a46f: Download complete [2022-09-22T08:00:29.412Z] 33b1e0a273af: Verifying Checksum [2022-09-22T08:00:29.412Z] 33b1e0a273af: Download complete [2022-09-22T08:00:29.412Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T08:00:29.412Z] 5d3b04190fa2: Download complete [2022-09-22T08:00:29.412Z] ec43610c2a17: Verifying Checksum [2022-09-22T08:00:29.412Z] ec43610c2a17: Download complete [2022-09-22T08:00:29.671Z] 5eb5b503b376: Verifying Checksum [2022-09-22T08:00:29.671Z] 5eb5b503b376: Download complete [2022-09-22T08:00:30.079Z] Merging remotes/origin/main commit 86354b634c9d0fc1eadff25359b9682d3f793e35 into PR head commit 4c34f11e704d620f6173803248dedd1465f9bb0d [2022-09-22T08:00:30.237Z] 2f39f015ded8: Download complete [2022-09-22T08:00:29.435Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-09-22T08:00:29.479Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-09-22T08:00:29.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T08:00:29.486Z] Verifying host key using known hosts file [2022-09-22T08:00:29.493Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T08:00:29.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T08:00:30.096Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T08:00:30.112Z] > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 [2022-09-22T08:00:30.210Z] > git remote # timeout=10 [2022-09-22T08:00:30.230Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T08:00:30.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T08:00:30.250Z] Verifying host key using known hosts file [2022-09-22T08:00:30.255Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T08:00:30.367Z] Merge succeeded, producing 230584515fc3e9fadadeeadcb3ae331b8cdd133b [2022-09-22T08:00:30.368Z] Checking out Revision 230584515fc3e9fadadeeadcb3ae331b8cdd133b (PR-109) [2022-09-22T08:00:30.804Z] 5eb5b503b376: Pull complete [2022-09-22T08:00:30.804Z] 5c69ac0246d0: Pull complete [2022-09-22T08:00:31.368Z] ec43610c2a17: Pull complete [2022-09-22T08:00:31.368Z] 3a2ae6a8a46f: Pull complete [2022-09-22T08:00:31.625Z] 33b1e0a273af: Pull complete [2022-09-22T08:00:31.625Z] 5d3b04190fa2: Pull complete [2022-09-22T08:00:30.264Z] > git merge 86354b634c9d0fc1eadff25359b9682d3f793e35 # timeout=10 [2022-09-22T08:00:30.348Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T08:00:30.375Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T08:00:30.389Z] > git checkout -f 230584515fc3e9fadadeeadcb3ae331b8cdd133b # timeout=10 [2022-09-22T08:00:33.864Z] Commit message: "Merge commit '86354b634c9d0fc1eadff25359b9682d3f793e35' into HEAD" [2022-09-22T08:00:33.872Z] > git rev-list --no-walk 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 [2022-09-22T08:00:34.457Z] [2022-09-22T08:00:34.457Z] GitHub has been notified of this commit’s build result [2022-09-22T08:00:34.457Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T08:00:34.958Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T08:00:34.958Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T08:00:34.958Z] Dload Upload Total Spent Left Speed [2022-09-22T08:00:34.958Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 68863 0 --:--:-- --:--:-- --:--:-- 68863 [Pipeline] sh [2022-09-22T08:00:35.682Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T08:00:35.807Z] 2f39f015ded8: Pull complete [2022-09-22T08:00:35.807Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T08:00:35.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T08:00:35.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T08:00:35.882Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-09-22T08:00:35.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T08:00:36.002Z] + sudo tee /etc/docker/daemon.new [2022-09-22T08:00:36.002Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T08:00:36.002Z] { [2022-09-22T08:00:36.002Z] "registry-mirrors": [ [2022-09-22T08:00:36.002Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T08:00:36.002Z] ], [2022-09-22T08:00:36.002Z] "bip": "10.250.0.254/24", [2022-09-22T08:00:36.002Z] "hosts": [ [2022-09-22T08:00:36.002Z] "tcp://0.0.0.0:5555", [2022-09-22T08:00:36.002Z] "unix:///var/run/docker.sock" [2022-09-22T08:00:36.002Z] ], [2022-09-22T08:00:36.002Z] "mtu": 1458, [2022-09-22T08:00:36.002Z] "selinux-enabled": true, [2022-09-22T08:00:36.002Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T08:00:36.002Z] } [2022-09-22T08:00:39.213Z] $ docker top 12b1d8e730d879fe0fe083c9adad241a27465e78a7cd2114fae510cb6e68e93a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:00:39.578Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T08:00:39.655Z] ---> job-cost.sh [2022-09-22T08:00:39.655Z] lf-activate-venv: SKIPPING [2022-09-22T08:00:39.655Z] INFO: No Stack... [2022-09-22T08:00:39.892Z] + sudo service docker restart [2022-09-22T08:00:39.913Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T08:00:40.479Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T08:00:40.763Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/cost.csv [2022-09-22T08:00:40.763Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T08:00:40.776Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] [2022-09-22T08:00:40.782Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] did not exist. Created. [2022-09-22T08:00:40.782Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T08:00:41.080Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T08:00:41.110Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T08:00:41.116Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T08:00:41.128Z] $ docker stop --time=1 12b1d8e730d879fe0fe083c9adad241a27465e78a7cd2114fae510cb6e68e93a [2022-09-22T08:00:42.267Z] $ docker rm -f 12b1d8e730d879fe0fe083c9adad241a27465e78a7cd2114fae510cb6e68e93a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T08:00:58.129Z] provisioning config files... [2022-09-22T08:00:58.154Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config18388625146085414945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:00:58.492Z] ---> docker-login.sh [2022-09-22T08:00:58.492Z] nexus3.edgexfoundry.org:10001 [2022-09-22T08:00:58.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T08:00:59.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T08:00:59.035Z] Configure a credential helper to remove this warning. See [2022-09-22T08:00:59.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T08:00:59.035Z] [2022-09-22T08:00:59.035Z] Login Succeeded [2022-09-22T08:00:59.035Z] nexus3.edgexfoundry.org:10002 [2022-09-22T08:00:59.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T08:00:59.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T08:00:59.307Z] Configure a credential helper to remove this warning. See [2022-09-22T08:00:59.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T08:00:59.307Z] [2022-09-22T08:00:59.307Z] Login Succeeded [2022-09-22T08:00:59.307Z] nexus3.edgexfoundry.org:10003 [2022-09-22T08:00:59.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T08:00:59.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T08:00:59.844Z] Configure a credential helper to remove this warning. See [2022-09-22T08:00:59.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T08:00:59.844Z] [2022-09-22T08:00:59.844Z] Login Succeeded [2022-09-22T08:00:59.844Z] nexus3.edgexfoundry.org:10004 [2022-09-22T08:00:59.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T08:01:00.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T08:01:00.114Z] Configure a credential helper to remove this warning. See [2022-09-22T08:01:00.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T08:01:00.114Z] [2022-09-22T08:01:00.114Z] Login Succeeded [2022-09-22T08:01:00.114Z] docker.io [2022-09-22T08:01:00.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T08:01:00.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T08:01:00.652Z] Configure a credential helper to remove this warning. See [2022-09-22T08:01:00.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T08:01:00.652Z] [2022-09-22T08:01:00.652Z] Login Succeeded [2022-09-22T08:01:00.652Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T08:01:00.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T08:01:00.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T08:01:00.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T08:01:00.827Z] ========================================================= [2022-09-22T08:01:00.827Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T08:01:00.827Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:01:01.149Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T08:01:01.419Z] Sending build context to Docker daemon 683kB [2022-09-22T08:01:01.419Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T08:01:01.419Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-22T08:01:01.419Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T08:01:01.419Z] b3c136eddcbf: Pulling fs layer [2022-09-22T08:01:01.419Z] c0a3192eca97: Pulling fs layer [2022-09-22T08:01:01.419Z] a050256f5b6f: Pulling fs layer [2022-09-22T08:01:01.419Z] 656be50a0ddc: Pulling fs layer [2022-09-22T08:01:01.419Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T08:01:01.419Z] 46d945488cbd: Pulling fs layer [2022-09-22T08:01:01.419Z] 8a5474983e97: Pulling fs layer [2022-09-22T08:01:01.419Z] 329c88fbcd65: Pulling fs layer [2022-09-22T08:01:01.419Z] 46d945488cbd: Waiting [2022-09-22T08:01:01.419Z] 8a5474983e97: Waiting [2022-09-22T08:01:01.420Z] 329c88fbcd65: Waiting [2022-09-22T08:01:01.420Z] 656be50a0ddc: Waiting [2022-09-22T08:01:01.420Z] 2bbca73fdf42: Waiting [2022-09-22T08:01:01.420Z] a050256f5b6f: Verifying Checksum [2022-09-22T08:01:01.420Z] a050256f5b6f: Download complete [2022-09-22T08:01:01.688Z] c0a3192eca97: Verifying Checksum [2022-09-22T08:01:01.688Z] c0a3192eca97: Download complete [2022-09-22T08:01:01.688Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T08:01:01.688Z] 2bbca73fdf42: Download complete [2022-09-22T08:01:01.688Z] 46d945488cbd: Verifying Checksum [2022-09-22T08:01:01.688Z] 46d945488cbd: Download complete [2022-09-22T08:01:01.688Z] b3c136eddcbf: Verifying Checksum [2022-09-22T08:01:01.688Z] b3c136eddcbf: Download complete [2022-09-22T08:01:02.657Z] b3c136eddcbf: Pull complete [2022-09-22T08:01:02.657Z] 329c88fbcd65: Verifying Checksum [2022-09-22T08:01:02.657Z] 329c88fbcd65: Download complete [2022-09-22T08:01:03.250Z] c0a3192eca97: Pull complete [2022-09-22T08:01:03.519Z] a050256f5b6f: Pull complete [2022-09-22T08:01:03.787Z] 8a5474983e97: Verifying Checksum [2022-09-22T08:01:03.787Z] 8a5474983e97: Download complete [2022-09-22T08:01:04.370Z] 656be50a0ddc: Verifying Checksum [2022-09-22T08:01:04.370Z] 656be50a0ddc: Download complete [2022-09-22T08:01:16.687Z] 656be50a0ddc: Pull complete [2022-09-22T08:01:16.687Z] 2bbca73fdf42: Pull complete [2022-09-22T08:01:16.687Z] 46d945488cbd: Pull complete [2022-09-22T08:01:23.341Z] 8a5474983e97: Pull complete [2022-09-22T08:01:24.302Z] 329c88fbcd65: Pull complete [2022-09-22T08:01:24.302Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T08:01:24.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T08:01:24.571Z] ---> ff4287adb874 [2022-09-22T08:01:24.571Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-22T08:01:25.533Z] ---> Running in 3d05f0fc1c11 [2022-09-22T08:01:25.805Z] Removing intermediate container 3d05f0fc1c11 [2022-09-22T08:01:25.805Z] ---> 96584d1c4fce [2022-09-22T08:01:25.805Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T08:01:25.805Z] ---> Running in da6cf0b8033d [2022-09-22T08:01:26.077Z] Removing intermediate container da6cf0b8033d [2022-09-22T08:01:26.077Z] ---> 8c90c1250c77 [2022-09-22T08:01:26.077Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-09-22T08:01:26.344Z] ---> Running in 4971a9a63e1b [2022-09-22T08:01:26.611Z] Removing intermediate container 4971a9a63e1b [2022-09-22T08:01:26.611Z] ---> 1f07de2f2b6e [2022-09-22T08:01:26.611Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T08:01:26.611Z] ---> Running in 13a9cc8cc3d5 [2022-09-22T08:01:26.888Z] Removing intermediate container 13a9cc8cc3d5 [2022-09-22T08:01:26.888Z] ---> f31397f71388 [2022-09-22T08:01:26.888Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T08:01:26.888Z] ---> Running in d0992608e7f6 [2022-09-22T08:01:28.841Z] Removing intermediate container d0992608e7f6 [2022-09-22T08:01:28.841Z] ---> f9b8983ff328 [2022-09-22T08:01:28.841Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T08:01:28.841Z] ---> Running in 19ca97790f34 [2022-09-22T08:01:29.803Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T08:01:30.386Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T08:01:31.344Z] OK: 221 MiB in 51 packages [2022-09-22T08:01:32.312Z] Removing intermediate container 19ca97790f34 [2022-09-22T08:01:32.312Z] ---> a29e0c42c11c [2022-09-22T08:01:32.312Z] Step 9/14 : WORKDIR /app [2022-09-22T08:01:32.312Z] ---> Running in beadc0c656c5 [2022-09-22T08:01:32.312Z] Removing intermediate container beadc0c656c5 [2022-09-22T08:01:32.312Z] ---> 1385100030d5 [2022-09-22T08:01:32.312Z] Step 10/14 : COPY go.mod vendor* ./ [2022-09-22T08:01:32.892Z] ---> 05214e64b878 [2022-09-22T08:01:32.892Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T08:01:32.892Z] ---> Running in 2da6577ccf3c [2022-09-22T08:02:29.285Z] Removing intermediate container 2da6577ccf3c [2022-09-22T08:02:29.285Z] ---> 2ebbab336ecb [2022-09-22T08:02:29.285Z] Step 12/14 : COPY . . [2022-09-22T08:02:29.285Z] ---> 9be2557819f3 [2022-09-22T08:02:29.285Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T08:02:29.285Z] ---> Running in ea8129f40cce [2022-09-22T08:02:29.285Z] Removing intermediate container ea8129f40cce [2022-09-22T08:02:29.285Z] ---> 99314d02cd54 [2022-09-22T08:02:29.285Z] Step 14/14 : RUN $MAKE [2022-09-22T08:02:29.285Z] ---> Running in 86c494af4488 [2022-09-22T08:02:29.285Z] noop [2022-09-22T08:02:29.285Z] Removing intermediate container 86c494af4488 [2022-09-22T08:02:29.285Z] ---> 4349f670c086 [2022-09-22T08:02:29.285Z] Successfully built 4349f670c086 [2022-09-22T08:02:29.285Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:02:29.620Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T08:02:29.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T08:02:29.799Z] prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container [2022-09-22T08:02:29.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T08:02:31.078Z] $ docker top 61332bdeee3136af0edaf8591e123fdb7bec5540df02ff6ac36d2838bde93cab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T08:02:31.899Z] + go version [2022-09-22T08:02:31.899Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T08:02:31.916Z] $ docker stop --time=1 61332bdeee3136af0edaf8591e123fdb7bec5540df02ff6ac36d2838bde93cab [2022-09-22T08:02:33.512Z] $ docker rm -f 61332bdeee3136af0edaf8591e123fdb7bec5540df02ff6ac36d2838bde93cab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:02:34.041Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T08:02:34.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T08:02:34.209Z] prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container [2022-09-22T08:02:34.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T08:02:35.406Z] $ docker top 356c6b33eb9c97d6da278f9baeb3082a83f0e51702bed515aee874b3a3748e38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T08:02:35.918Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] fileExists [Pipeline] sh [2022-09-22T08:02:36.511Z] + make test [2022-09-22T08:02:36.511Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T08:03:58.166Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-09-22T08:03:58.166Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.146s coverage: 86.2% of statements [2022-09-22T08:03:58.166Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-09-22T08:04:04.808Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.692s coverage: 71.9% of statements [2022-09-22T08:04:04.808Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T08:04:04.808Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T08:04:26.889Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T08:04:26.889Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T08:04:26.889Z] ./bin/test-attribution.sh [2022-09-22T08:04:26.889Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T08:04:26.889Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T08:04:26.889Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T08:04:26.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T08:04:26.917Z] $ docker stop --time=1 356c6b33eb9c97d6da278f9baeb3082a83f0e51702bed515aee874b3a3748e38 [2022-09-22T08:04:28.672Z] $ docker rm -f 356c6b33eb9c97d6da278f9baeb3082a83f0e51702bed515aee874b3a3748e38 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T08:04:29.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T08:04:29.605Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T08:04:29.993Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T08:04:30.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T08:04:30.659Z] + ls -al . [2022-09-22T08:04:30.659Z] total 228 [2022-09-22T08:04:30.659Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 08:02 . [2022-09-22T08:04:30.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 08:00 .. [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 08:00 .dockerignore [2022-09-22T08:04:30.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 08:00 .git [2022-09-22T08:04:30.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 08:00 .github [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 08:00 .gitignore [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 08:00 .golangci.yml [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 9546 Sep 22 08:00 Attribution.txt [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 08:00 CHANGELOG.md [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 08:00 Dockerfile [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 08:00 GOVERNANCE.md [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 08:00 Jenkinsfile [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 08:00 LICENSE [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 08:00 Makefile [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 08:00 OWNERS.md [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 08:00 README.md [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 07:58 VERSION [2022-09-22T08:04:30.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 08:00 bin [2022-09-22T08:04:30.659Z] -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 08:04 coverage.out [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 3678 Sep 22 08:00 go.mod [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 38059 Sep 22 08:00 go.sum [2022-09-22T08:04:30.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 08:00 images [2022-09-22T08:04:30.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 08:00 internal [2022-09-22T08:04:30.659Z] -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 08:00 main.go [2022-09-22T08:04:30.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 08:00 res [2022-09-22T08:04:30.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 08:00 snap [2022-09-22T08:04:30.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 08:00 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:04:30.993Z] + 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=230584515fc3e9fadadeeadcb3ae331b8cdd133b --label arch=arm64 --label version=0.0.0 . [2022-09-22T08:04:31.259Z] Sending build context to Docker daemon 683kB [2022-09-22T08:04:31.259Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T08:04:31.259Z] Step 2/32 : FROM ${BASE} AS builder [2022-09-22T08:04:31.259Z] ---> 4349f670c086 [2022-09-22T08:04:31.259Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-22T08:04:31.259Z] ---> Running in da8ab7143c87 [2022-09-22T08:04:31.534Z] Removing intermediate container da8ab7143c87 [2022-09-22T08:04:31.534Z] ---> 298902aa60e7 [2022-09-22T08:04:31.534Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T08:04:31.534Z] ---> Running in 47fdca2f3f83 [2022-09-22T08:04:31.801Z] Removing intermediate container 47fdca2f3f83 [2022-09-22T08:04:31.801Z] ---> ea7189900802 [2022-09-22T08:04:31.801Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-09-22T08:04:32.067Z] ---> Running in 1930533ef5c8 [2022-09-22T08:04:32.335Z] Removing intermediate container 1930533ef5c8 [2022-09-22T08:04:32.335Z] ---> e79d24e5ca7e [2022-09-22T08:04:32.335Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T08:04:32.335Z] ---> Running in 1ce720fe5d22 [2022-09-22T08:04:32.602Z] Removing intermediate container 1ce720fe5d22 [2022-09-22T08:04:32.602Z] ---> 69452f638d70 [2022-09-22T08:04:32.602Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T08:04:32.602Z] ---> Running in 204c8b23c2d1 [2022-09-22T08:04:34.552Z] Removing intermediate container 204c8b23c2d1 [2022-09-22T08:04:34.552Z] ---> 191f3e8b796e [2022-09-22T08:04:34.552Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T08:04:34.552Z] ---> Running in a6d4a4d080b1 [2022-09-22T08:04:35.135Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T08:04:36.101Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T08:04:37.061Z] OK: 221 MiB in 51 packages [2022-09-22T08:04:37.648Z] Removing intermediate container a6d4a4d080b1 [2022-09-22T08:04:37.648Z] ---> cb4d9aaff1e6 [2022-09-22T08:04:37.648Z] Step 9/32 : WORKDIR /app [2022-09-22T08:04:37.914Z] ---> Running in 41cf574b3a82 [2022-09-22T08:04:38.180Z] Removing intermediate container 41cf574b3a82 [2022-09-22T08:04:38.180Z] ---> 47eb94d92fa6 [2022-09-22T08:04:38.180Z] Step 10/32 : COPY go.mod vendor* ./ [2022-09-22T08:04:38.447Z] ---> ac79b6f78a1d [2022-09-22T08:04:38.447Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T08:04:38.721Z] ---> Running in b89286730b31 [2022-09-22T08:04:40.681Z] Removing intermediate container b89286730b31 [2022-09-22T08:04:40.681Z] ---> af1a82a13acb [2022-09-22T08:04:40.681Z] Step 12/32 : COPY . . [2022-09-22T08:04:41.264Z] ---> f87ae8479683 [2022-09-22T08:04:41.264Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T08:04:41.264Z] ---> Running in 1849f1447407 [2022-09-22T08:04:41.539Z] Removing intermediate container 1849f1447407 [2022-09-22T08:04:41.539Z] ---> affda7eca3be [2022-09-22T08:04:41.539Z] Step 14/32 : RUN $MAKE [2022-09-22T08:04:41.806Z] ---> Running in 444f6c9eedd4 [2022-09-22T08:04:42.768Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.35 -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-09-22T08:07:04.854Z] Removing intermediate container 444f6c9eedd4 [2022-09-22T08:07:04.854Z] ---> 1f413806fa37 [2022-09-22T08:07:04.854Z] Step 15/32 : FROM alpine:3.14 [2022-09-22T08:07:04.854Z] 3.14: Pulling from library/alpine [2022-09-22T08:07:04.854Z] 90cda3b7c325: Pulling fs layer [2022-09-22T08:07:04.854Z] 90cda3b7c325: Verifying Checksum [2022-09-22T08:07:04.854Z] 90cda3b7c325: Pull complete [2022-09-22T08:07:04.854Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-22T08:07:04.854Z] Status: Downloaded newer image for alpine:3.14 [2022-09-22T08:07:04.854Z] ---> 376ba31ae3da [2022-09-22T08:07:04.854Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T08:07:04.854Z] ---> Running in a52e2c8eb566 [2022-09-22T08:07:05.124Z] Removing intermediate container a52e2c8eb566 [2022-09-22T08:07:05.124Z] ---> 1e4679970e5f [2022-09-22T08:07:05.124Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-09-22T08:07:05.395Z] ---> Running in d63b4683698a [2022-09-22T08:07:05.664Z] Removing intermediate container d63b4683698a [2022-09-22T08:07:05.664Z] ---> 37b0faec33dc [2022-09-22T08:07:05.664Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T08:07:05.664Z] ---> Running in 8d0a5b513139 [2022-09-22T08:07:07.078Z] Removing intermediate container 8d0a5b513139 [2022-09-22T08:07:07.078Z] ---> 27e42fac2e90 [2022-09-22T08:07:07.078Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-09-22T08:07:07.348Z] ---> Running in 121107a1551a [2022-09-22T08:07:08.308Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-22T08:07:08.888Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-22T08:07:09.842Z] (1/7) Installing ca-certificates (20220614-r0) [2022-09-22T08:07:09.842Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-09-22T08:07:10.110Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-09-22T08:07:10.110Z] (4/7) Installing libsodium (1.0.18-r0) [2022-09-22T08:07:10.110Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-22T08:07:10.375Z] (6/7) Installing libzmq (4.3.4-r0) [2022-09-22T08:07:10.375Z] (7/7) Installing zeromq (4.3.4-r0) [2022-09-22T08:07:10.642Z] Executing busybox-1.33.1-r8.trigger [2022-09-22T08:07:10.642Z] Executing ca-certificates-20220614-r0.trigger [2022-09-22T08:07:10.909Z] OK: 9 MiB in 21 packages [2022-09-22T08:07:11.869Z] Removing intermediate container 121107a1551a [2022-09-22T08:07:11.869Z] ---> 9859f1cad0ea [2022-09-22T08:07:11.869Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-09-22T08:07:12.452Z] ---> 77e1255d986d [2022-09-22T08:07:12.452Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-09-22T08:07:13.036Z] ---> e70879f88634 [2022-09-22T08:07:13.036Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-09-22T08:07:13.303Z] ---> 163addb35458 [2022-09-22T08:07:13.303Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-09-22T08:07:13.888Z] ---> a032f20c2bd5 [2022-09-22T08:07:13.888Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-09-22T08:07:15.296Z] ---> 09721243bcbc [2022-09-22T08:07:15.296Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-09-22T08:07:15.296Z] ---> Running in ca298951f85e [2022-09-22T08:07:17.236Z] Removing intermediate container ca298951f85e [2022-09-22T08:07:17.236Z] ---> d0befa5c472e [2022-09-22T08:07:17.236Z] Step 26/32 : VOLUME /cache [2022-09-22T08:07:17.236Z] ---> Running in 7e5b36992e09 [2022-09-22T08:07:17.236Z] Removing intermediate container 7e5b36992e09 [2022-09-22T08:07:17.236Z] ---> 5791f3014b2b [2022-09-22T08:07:17.236Z] Step 27/32 : EXPOSE 59711 [2022-09-22T08:07:17.236Z] ---> Running in 9d045ec00829 [2022-09-22T08:07:17.506Z] Removing intermediate container 9d045ec00829 [2022-09-22T08:07:17.506Z] ---> ba24599f6165 [2022-09-22T08:07:17.506Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-09-22T08:07:17.773Z] ---> Running in 2fac2e14effc [2022-09-22T08:07:18.040Z] Removing intermediate container 2fac2e14effc [2022-09-22T08:07:18.040Z] ---> a746dce16135 [2022-09-22T08:07:18.040Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-09-22T08:07:18.040Z] ---> Running in 570290a34e1f [2022-09-22T08:07:18.311Z] Removing intermediate container 570290a34e1f [2022-09-22T08:07:18.311Z] ---> 19bbc99c9071 [2022-09-22T08:07:18.311Z] Step 30/32 : LABEL arch=arm64 [2022-09-22T08:07:18.311Z] ---> Running in 1946f2d74d28 [2022-09-22T08:07:18.578Z] Removing intermediate container 1946f2d74d28 [2022-09-22T08:07:18.578Z] ---> 80f4835951e0 [2022-09-22T08:07:18.578Z] Step 31/32 : LABEL git_sha=230584515fc3e9fadadeeadcb3ae331b8cdd133b [2022-09-22T08:07:18.853Z] ---> Running in b10f5d29f692 [2022-09-22T08:07:19.120Z] Removing intermediate container b10f5d29f692 [2022-09-22T08:07:19.120Z] ---> 685880594150 [2022-09-22T08:07:19.120Z] Step 32/32 : LABEL version=0.0.0 [2022-09-22T08:07:19.120Z] ---> Running in df22da9b91b5 [2022-09-22T08:07:19.385Z] Removing intermediate container df22da9b91b5 [2022-09-22T08:07:19.385Z] ---> a337bf2a46a2 [2022-09-22T08:07:19.385Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T08:07:19.385Z] Successfully built a337bf2a46a2 [2022-09-22T08:07:19.385Z] Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:07:19.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T08:07:19.780Z] [2022-09-22T08:07:19.780Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:07:20.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T08:07:20.137Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T08:07:20.137Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T08:07:20.137Z] 04944245beec: Pulling fs layer [2022-09-22T08:07:20.137Z] 699f458cf7ca: Pulling fs layer [2022-09-22T08:07:20.137Z] 765212b225bb: Pulling fs layer [2022-09-22T08:07:20.137Z] f23df028b6ca: Pulling fs layer [2022-09-22T08:07:20.137Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T08:07:20.137Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T08:07:20.137Z] f23df028b6ca: Waiting [2022-09-22T08:07:20.137Z] d65c8cfc05b1: Waiting [2022-09-22T08:07:20.137Z] 2437ff75d9bd: Waiting [2022-09-22T08:07:20.137Z] 765212b225bb: Waiting [2022-09-22T08:07:20.410Z] 04944245beec: Verifying Checksum [2022-09-22T08:07:20.410Z] 04944245beec: Download complete [2022-09-22T08:07:20.410Z] 765212b225bb: Verifying Checksum [2022-09-22T08:07:20.410Z] 765212b225bb: Download complete [2022-09-22T08:07:20.410Z] f23df028b6ca: Verifying Checksum [2022-09-22T08:07:20.410Z] f23df028b6ca: Download complete [2022-09-22T08:07:20.410Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T08:07:20.410Z] d65c8cfc05b1: Download complete [2022-09-22T08:07:20.410Z] 699f458cf7ca: Verifying Checksum [2022-09-22T08:07:20.410Z] 699f458cf7ca: Download complete [2022-09-22T08:07:20.990Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T08:07:20.990Z] 8998bd30e6a1: Download complete [2022-09-22T08:07:22.927Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T08:07:22.927Z] 2437ff75d9bd: Download complete [2022-09-22T08:07:24.863Z] 8998bd30e6a1: Pull complete [2022-09-22T08:07:25.132Z] 04944245beec: Pull complete [2022-09-22T08:07:26.536Z] 699f458cf7ca: Pull complete [2022-09-22T08:07:26.803Z] 765212b225bb: Pull complete [2022-09-22T08:07:27.385Z] f23df028b6ca: Pull complete [2022-09-22T08:07:27.651Z] d65c8cfc05b1: Pull complete [2022-09-22T08:07:42.632Z] 2437ff75d9bd: Pull complete [2022-09-22T08:07:42.632Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T08:07:42.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T08:07:42.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T08:07:42.810Z] prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container [2022-09-22T08:07:42.861Z] $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T08:07:45.236Z] $ docker top 834e38005780e37cc2a9d77b8d7c4814825b3fd394843d6eb5b86380e436c1f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:45.742Z] ---> job-cost.sh [2022-09-22T08:07:46.007Z] lf-activate-venv: SKIPPING [2022-09-22T08:07:46.007Z] INFO: No Stack... [2022-09-22T08:07:46.273Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T08:07:47.226Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T08:07:47.855Z] + + cut -d,cat -f6 /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv [2022-09-22T08:07:47.855Z] [Pipeline] lock [2022-09-22T08:07:47.915Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] [2022-09-22T08:07:47.921Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] did not exist. Created. [2022-09-22T08:07:47.921Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T08:07:48.256Z] /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-3b137967/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T08:07:48.899Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T08:07:48.919Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T08:07:48.960Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T08:07:48.966Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T08:07:48.976Z] $ docker stop --time=1 834e38005780e37cc2a9d77b8d7c4814825b3fd394843d6eb5b86380e436c1f3 [2022-09-22T08:07:50.442Z] $ docker rm -f 834e38005780e37cc2a9d77b8d7c4814825b3fd394843d6eb5b86380e436c1f3 [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-09-22T08:07:50.799Z] provisioning config files... [2022-09-22T08:07:50.806Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config7921891592179169765tmp [Pipeline] { [Pipeline] sh [2022-09-22T08:07:51.093Z] + set +x [2022-09-22T08:07:51.093Z] + curl -s https://codecov.io/bash [2022-09-22T08:07:51.093Z] + bash -s -- [2022-09-22T08:07:51.093Z] [2022-09-22T08:07:51.093Z] _____ _ [2022-09-22T08:07:51.093Z] / ____| | | [2022-09-22T08:07:51.093Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T08:07:51.093Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T08:07:51.093Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T08:07:51.093Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T08:07:51.093Z] Bash-1.0.6 [2022-09-22T08:07:51.093Z] [2022-09-22T08:07:51.093Z] [2022-09-22T08:07:51.093Z] ==> git version 2.25.1 found [2022-09-22T08:07:51.093Z] ==> 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-09-22T08:07:51.093Z] Release-Date: 2020-01-08 [2022-09-22T08:07:51.093Z] 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-09-22T08:07:51.094Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T08:07:51.094Z] ==> Jenkins CI detected. [2022-09-22T08:07:51.094Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-109 [2022-09-22T08:07:51.094Z] project root: . [2022-09-22T08:07:51.094Z] --> token set from env [2022-09-22T08:07:51.094Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T08:07:51.094Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T08:07:51.094Z] ==> Python coveragepy not found [2022-09-22T08:07:51.094Z] ==> Searching for coverage reports in: [2022-09-22T08:07:51.094Z] + . [2022-09-22T08:07:51.094Z] -> Found 1 reports [2022-09-22T08:07:51.094Z] ==> Detecting git/mercurial file structure [2022-09-22T08:07:51.094Z] ==> Reading reports [2022-09-22T08:07:51.094Z] + ./coverage.out bytes=41008 [2022-09-22T08:07:51.094Z] ==> Appending adjustments [2022-09-22T08:07:51.094Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T08:07:51.353Z] + Found adjustments [2022-09-22T08:07:51.353Z] ==> Gzipping contents [2022-09-22T08:07:51.353Z] 12K /tmp/codecov.7NtleC.gz [2022-09-22T08:07:51.353Z] ==> Uploading reports [2022-09-22T08:07:51.353Z] url: https://codecov.io [2022-09-22T08:07:51.353Z] query: branch=PR-109&commit=c523d270d3e7d5628c512a0aeb359f0ad0549b0b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-109%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=109&job=&cmd_args= [2022-09-22T08:07:51.353Z] -> Pinging Codecov [2022-09-22T08:07:51.353Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-109&commit=c523d270d3e7d5628c512a0aeb359f0ad0549b0b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-109%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=109&job=&cmd_args= [2022-09-22T08:07:51.611Z] -> Uploading to [2022-09-22T08:07:51.611Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/581DD39554BDF9B6E22D074273EAD858/c523d270d3e7d5628c512a0aeb359f0ad0549b0b/b11fab8f-1670-4d67-abe9-1f25812e2688.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T080751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=61629b8c0b56a0988f7c7fd01a10b76c43b227c0110001447aa77a1c7b9dbfa9 [2022-09-22T08:07:51.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T08:07:51.611Z] Dload Upload Total Spent Left Speed [2022-09-22T08:07:51.870Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11469 0 0 100 11469 0 46433 --:--:-- --:--:-- --:--:-- 46433 [2022-09-22T08:07:51.870Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c523d270d3e7d5628c512a0aeb359f0ad0549b0b [Pipeline] } [2022-09-22T08:07:51.878Z] 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-09-22T08:07:52.549Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives ] [2022-09-22T08:07:52.549Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives [2022-09-22T08:07:52.549Z] total 16 [2022-09-22T08:07:52.549Z] drwxr-xr-x 3 root root 4096 Sep 22 08:00 . [2022-09-22T08:07:52.549Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 08:00 .. [2022-09-22T08:07:52.549Z] drwxr-xr-x 2 root root 4096 Sep 22 08:00 cost [2022-09-22T08:07:52.549Z] -rw-r--r-- 1 root root 95 Sep 22 08:00 cost.csv [2022-09-22T08:07:52.549Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives [2022-09-22T08:07:52.549Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives [2022-09-22T08:07:52.549Z] total 16 [2022-09-22T08:07:52.549Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 08:00 . [2022-09-22T08:07:52.549Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 08:00 .. [2022-09-22T08:07:52.549Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 08:00 cost [2022-09-22T08:07:52.549Z] -rw-r--r-- 1 jenkins jenkins 95 Sep 22 08:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:52.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:53.692Z] ---> package-listing.sh [2022-09-22T08:07:53.692Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T08:07:53.692Z] ++ facter osfamily [2022-09-22T08:07:53.951Z] + OS_FAMILY=debian [2022-09-22T08:07:53.951Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-109 [2022-09-22T08:07:53.951Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T08:07:53.951Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T08:07:53.951Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T08:07:53.951Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T08:07:53.951Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-109 ']' [2022-09-22T08:07:53.951Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T08:07:53.951Z] + case "${OS_FAMILY}" in [2022-09-22T08:07:53.951Z] + dpkg -l [2022-09-22T08:07:53.951Z] + grep '^ii' [2022-09-22T08:07:53.951Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T08:07:53.951Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T08:07:53.951Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T08:07:53.951Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-109 ']' [2022-09-22T08:07:53.951Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/ [2022-09-22T08:07:53.951Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/ [Pipeline] echo [2022-09-22T08:07:53.959Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T08:07:54.234Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T08:07:54.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T08:07:54.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T08:07:54.861Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-09-22T08:07:54.907Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T08:07:55.093Z] $ docker top 6dd9d52b165ef4200c1c65ef1fa1caceadf635ff35f5cdd9624dfeb9a697b384 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T08:07:55.429Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T08:07:55.711Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T08:07:55.996Z] + ls /var/log/sa-host [2022-09-22T08:07:55.996Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T08:07:56.134Z] provisioning config files... [2022-09-22T08:07:56.144Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config7808952312235054263tmp [Pipeline] { [Pipeline] echo [2022-09-22T08:07:56.155Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:56.439Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T08:07:56.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:56.776Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T08:07:56.784Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:57.065Z] ---> sudo-logs.sh [2022-09-22T08:07:57.066Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T08:07:57.097Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:57.380Z] ---> job-cost.sh [2022-09-22T08:07:57.380Z] lf-activate-venv: SKIPPING [2022-09-22T08:07:57.380Z] DEBUG: total: 0.2199999988079071 [2022-09-22T08:07:57.380Z] INFO: Retrieving Stack Cost... [2022-09-22T08:07:57.947Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T08:07:58.512Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T08:07:58.523Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T08:07:58.803Z] ---> logs-deploy.sh [2022-09-22T08:07:58.803Z] lf-activate-venv: SKIPPING [2022-09-22T08:07:58.803Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-109/2 [2022-09-22T08:07:58.803Z] INFO: archiving workspace using pattern(s): [2022-09-22T08:07:59.738Z] Archives upload complete. [2022-09-22T08:07:59.738Z] INFO: archiving logs to Nexus