Push event to branch nats-jetstream-subject Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d1326288272724d6e47ba7ddcc651b32f9ea025f 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-ssh6762613087665718658.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-ssh14472408854575303225.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/nats-jetstream-subject/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/nats-jetstream-subject/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11250527918158926298.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/nats-jetstream-subject/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh463453563550719776.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3371324380474974316.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/nats-jetstream-subject/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/nats-jetstream-subject/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6957783335858582164.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-627’ Running on prd-ubuntu20.04-docker-8c-8g-636 in /w/workspace/inventory_nats-jetstream-subject [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/inventory_nats-jetstream-subject # 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 Avoid second fetch Checking out Revision d1326288272724d6e47ba7ddcc651b32f9ea025f (nats-jetstream-subject) Commit message: "refactor: Adjust NATS Subject to handle any data, not just events" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > 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 core.sparsecheckout # timeout=10 > git checkout -f d1326288272724d6e47ba7ddcc651b32f9ea025f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:49:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:49:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:49:28 ========================================================= 19:49:28 EdgeX Global Pipelines Version Info 19:49:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:49:29 ------------------- 19:49:29 stable info: 19:49:29 ------------------- 19:49:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:49:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:49:29 Message: update stable to v1.0.239 19:49:29 ------------------- 19:49:29 experimental info: 19:49:29 ------------------- 19:49:29 Commited By: **** collab-it+edgex@linuxfoundation.org 19:49:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:49:29 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:49:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = nats-jetstream-subject [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = nats-jetstream-subject [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = nats-jetstream-subject [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1326288272724d6e47ba7ddcc651b32f9ea025f [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d132628 [Pipeline] echo 19:49:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:49:31 provisioning config files... 19:49:31 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/inventory_nats-jetstream-subject@tmp/config2530520418822475785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:49:31 ---> docker-login.sh 19:49:31 nexus3.edgexfoundry.org:10001 19:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:32 Configure a credential helper to remove this warning. See 19:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:32 19:49:32 Login Succeeded 19:49:32 nexus3.edgexfoundry.org:10002 19:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:32 Configure a credential helper to remove this warning. See 19:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:32 19:49:32 Login Succeeded 19:49:32 nexus3.edgexfoundry.org:10003 19:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:32 Configure a credential helper to remove this warning. See 19:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:32 19:49:32 Login Succeeded 19:49:32 nexus3.edgexfoundry.org:10004 19:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:32 Configure a credential helper to remove this warning. See 19:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:32 19:49:32 Login Succeeded 19:49:32 docker.io 19:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:33 Configure a credential helper to remove this warning. See 19:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:33 19:49:33 Login Succeeded 19:49:33 ---> docker-login.sh ends [Pipeline] } 19:49:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:49:33 + git rev-list -1 --merges d1326288272724d6e47ba7ddcc651b32f9ea025f~1..d1326288272724d6e47ba7ddcc651b32f9ea025f [Pipeline] echo 19:49:33 -----------> git rev-list -1 --merges d1326288272724d6e47ba7ddcc651b32f9ea025f~1..d1326288272724d6e47ba7ddcc651b32f9ea025f d1326288272724d6e47ba7ddcc651b32f9ea025f [false] [Pipeline] sh 19:49:34 + git log --format=format:%s -1 d1326288272724d6e47ba7ddcc651b32f9ea025f [Pipeline] echo 19:49:34 ========================================================= 19:49:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:49:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:49:34 + git log --format=format:%s -1 d1326288272724d6e47ba7ddcc651b32f9ea025f [Pipeline] echo 19:49:34 [semverPrep] GIT_COMMIT: d1326288272724d6e47ba7ddcc651b32f9ea025f, Commit Message: refactor: Adjust NATS Subject to handle any data, not just events [Pipeline] echo 19:49:34 [semverPrep] This is not a build commit. [Pipeline] sh 19:49:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:49:35 + grep -v github /etc/ssh/ssh_known_hosts 19:49:35 + [ -e /tmp/ssh_known_hosts ] 19:49:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:49:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:49:35 + sudo tee -a /etc/ssh/ssh_known_hosts 19:49:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:49:35 19:49:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:49:36 0.1.4: Pulling from edgex-devops/py-git-semver 19:49:36 b85a868b505f: Pulling fs layer 19:49:36 e2be974225ed: Pulling fs layer 19:49:36 339a4e72a1f5: Pulling fs layer 19:49:36 988bab9f4d93: Pulling fs layer 19:49:36 1469e6f7b9e6: Pulling fs layer 19:49:36 eaf3925da568: Pulling fs layer 19:49:36 bab4dde63d76: Pulling fs layer 19:49:36 eaf3925da568: Waiting 19:49:36 1469e6f7b9e6: Waiting 19:49:36 bde34c3a00c8: Pulling fs layer 19:49:36 b352a97aabf1: Pulling fs layer 19:49:36 bab4dde63d76: Waiting 19:49:36 4872d77fe225: Pulling fs layer 19:49:36 5851b861e8e6: Pulling fs layer 19:49:36 b352a97aabf1: Waiting 19:49:36 5851b861e8e6: Waiting 19:49:36 e2be974225ed: Download complete 19:49:36 988bab9f4d93: Verifying Checksum 19:49:36 988bab9f4d93: Download complete 19:49:36 1469e6f7b9e6: Verifying Checksum 19:49:36 1469e6f7b9e6: Download complete 19:49:36 eaf3925da568: Verifying Checksum 19:49:36 eaf3925da568: Download complete 19:49:36 339a4e72a1f5: Verifying Checksum 19:49:36 339a4e72a1f5: Download complete 19:49:36 bde34c3a00c8: Download complete 19:49:36 b352a97aabf1: Download complete 19:49:36 4872d77fe225: Download complete 19:49:36 5851b861e8e6: Download complete 19:49:36 b85a868b505f: Verifying Checksum 19:49:36 b85a868b505f: Download complete 19:49:36 bab4dde63d76: Verifying Checksum 19:49:36 bab4dde63d76: Download complete 19:49:37 b85a868b505f: Pull complete 19:49:37 e2be974225ed: Pull complete 19:49:38 339a4e72a1f5: Pull complete 19:49:38 988bab9f4d93: Pull complete 19:49:38 1469e6f7b9e6: Pull complete 19:49:38 eaf3925da568: Pull complete 19:49:40 bab4dde63d76: Pull complete 19:49:40 bde34c3a00c8: Pull complete 19:49:40 b352a97aabf1: Pull complete 19:49:40 4872d77fe225: Pull complete 19:49:40 5851b861e8e6: Pull complete 19:49:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:49:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:49:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:40 prd-ubuntu20.04-docker-8c-8g-636 does not seem to be running inside a container 19:49:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/inventory_nats-jetstream-subject -v /w/workspace/inventory_nats-jetstream-subject:/w/workspace/inventory_nats-jetstream-subject:rw,z -v /w/workspace/inventory_nats-jetstream-subject@tmp:/w/workspace/inventory_nats-jetstream-subject@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:49:42 $ docker top dcaae0afcba395508b00219e74df58d9d98976073843fe0d2e2f1b1d54820224 -eo pid,comm 19:49:42 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). 19:49:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:49:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:49:42 [ssh-agent] Looking for ssh-agent implementation... 19:49:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:49:42 $ docker exec dcaae0afcba395508b00219e74df58d9d98976073843fe0d2e2f1b1d54820224 ssh-agent 19:49:42 SSH_AUTH_SOCK=/tmp/ssh-2Mvcyb9hSH58/agent.32 19:49:42 SSH_AGENT_PID=38 19:49:42 Running ssh-add (command line suppressed) 19:49:42 Identity added: /w/workspace/inventory_nats-jetstream-subject@tmp/private_key_1278910871640000853.key (/w/workspace/inventory_nats-jetstream-subject@tmp/private_key_1278910871640000853.key) 19:49:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:49:43 + git tag --points-at HEAD [Pipeline] } 19:49:43 $ docker exec --env ******** --env ******** dcaae0afcba395508b00219e74df58d9d98976073843fe0d2e2f1b1d54820224 ssh-agent -k 19:49:43 unset SSH_AUTH_SOCK; 19:49:43 unset SSH_AGENT_PID; 19:49:43 echo Agent pid 38 killed; 19:49:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:49:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:49:43 [ssh-agent] Looking for ssh-agent implementation... 19:49:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:49:43 $ docker exec dcaae0afcba395508b00219e74df58d9d98976073843fe0d2e2f1b1d54820224 ssh-agent 19:49:43 SSH_AUTH_SOCK=/tmp/ssh-jObaDi6eeUab/agent.70 19:49:43 SSH_AGENT_PID=76 19:49:43 Running ssh-add (command line suppressed) 19:49:43 Identity added: /w/workspace/inventory_nats-jetstream-subject@tmp/private_key_7918261455494223898.key (/w/workspace/inventory_nats-jetstream-subject@tmp/private_key_7918261455494223898.key) 19:49:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:49:44 + git semver init 19:49:44 2022-09-22 19:49:44,265 [run_init] DEBUG init version:0.0.0 force:False 19:49:44 2022-09-22 19:49:44,265 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/inventory_nats-jetstream-subject/.semver 19:49:44 2022-09-22 19:49:44,266 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/inventory_nats-jetstream-subject/.semver 19:49:44 2022-09-22 19:49:44,266 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/inventory_nats-jetstream-subject/.semver'], cwd=/w/workspace/inventory_nats-jetstream-subject, universal_newlines=False, shell=None, istream=None) 19:49:46 2022-09-22 19:49:45,856 [append_file] DEBUG append to file:/w/workspace/inventory_nats-jetstream-subject/.git/info/exclude 19:49:46 2022-09-22 19:49:45,857 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/inventory_nats-jetstream-subject/.semver/nats-jetstream-subject with force:False 19:49:46 2022-09-22 19:49:45,857 [write_file] DEBUG write to file:/w/workspace/inventory_nats-jetstream-subject/.semver/nats-jetstream-subject 19:49:46 2022-09-22 19:49:45,861 [execute] INFO git cat-file --batch-check 19:49:46 2022-09-22 19:49:45,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/inventory_nats-jetstream-subject/.semver, universal_newlines=False, shell=None, istream=) 19:49:46 2022-09-22 19:49:45,866 [execute] INFO git cat-file --batch 19:49:46 2022-09-22 19:49:45,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/inventory_nats-jetstream-subject/.semver, universal_newlines=False, shell=None, istream=) 19:49:46 2022-09-22 19:49:45,871 [read_version] DEBUG read version from /w/workspace/inventory_nats-jetstream-subject/.semver/nats-jetstream-subject 19:49:46 0.0.0 [Pipeline] } 19:49:46 $ docker exec --env ******** --env ******** dcaae0afcba395508b00219e74df58d9d98976073843fe0d2e2f1b1d54820224 ssh-agent -k 19:49:46 unset SSH_AUTH_SOCK; 19:49:46 unset SSH_AGENT_PID; 19:49:46 echo Agent pid 76 killed; 19:49:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:49:46 + git semver [Pipeline] } 19:49:47 $ docker stop --time=1 dcaae0afcba395508b00219e74df58d9d98976073843fe0d2e2f1b1d54820224 19:49:48 $ docker rm -f dcaae0afcba395508b00219e74df58d9d98976073843fe0d2e2f1b1d54820224 [Pipeline] // withDockerContainer [Pipeline] sh 19:49:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:49:49 Stashed 1 file(s) [Pipeline] echo 19:49:49 [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 19:49:49 provisioning config files... 19:49:49 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/inventory_nats-jetstream-subject@tmp/config16553666556779979634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:49:50 ---> docker-login.sh 19:49:50 nexus3.edgexfoundry.org:10001 19:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:50 Configure a credential helper to remove this warning. See 19:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:50 19:49:50 Login Succeeded 19:49:50 nexus3.edgexfoundry.org:10002 19:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:50 Configure a credential helper to remove this warning. See 19:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:50 19:49:50 Login Succeeded 19:49:50 nexus3.edgexfoundry.org:10003 19:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:50 Configure a credential helper to remove this warning. See 19:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:50 19:49:50 Login Succeeded 19:49:50 nexus3.edgexfoundry.org:10004 19:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:50 Configure a credential helper to remove this warning. See 19:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:50 19:49:50 Login Succeeded 19:49:50 docker.io 19:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:50 Configure a credential helper to remove this warning. See 19:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:50 19:49:50 Login Succeeded 19:49:50 ---> docker-login.sh ends [Pipeline] } 19:49:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:49:51 [edgeX.isLTS] Checking if [nats-jetstream-subject] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:49:51 [edgeX.isLTS] Checking if [nats-jetstream-subject] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:49:51 ========================================================= 19:49:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:49:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:51 + 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 . 19:49:51 Sending build context to Docker daemon 12.48MB 19:49:51 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:49:51 Step 2/14 : FROM ${BASE} AS builder 19:49:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:49:51 2408cc74d12b: Pulling fs layer 19:49:51 ea60b727a1ce: Pulling fs layer 19:49:51 30c4a7721957: Pulling fs layer 19:49:51 370296b7ddb6: Pulling fs layer 19:49:51 7c6cee850709: Pulling fs layer 19:49:51 39a5fcdaea64: Pulling fs layer 19:49:51 7c6cee850709: Waiting 19:49:51 370296b7ddb6: Waiting 19:49:51 39a5fcdaea64: Waiting 19:49:51 d94ebbe4e438: Pulling fs layer 19:49:51 bcfd1f05c69d: Pulling fs layer 19:49:51 d94ebbe4e438: Waiting 19:49:51 59ccb84bbe0f: Pulling fs layer 19:49:51 bcfd1f05c69d: Waiting 19:49:51 30c4a7721957: Verifying Checksum 19:49:51 30c4a7721957: Download complete 19:49:51 ea60b727a1ce: Verifying Checksum 19:49:51 ea60b727a1ce: Download complete 19:49:51 7c6cee850709: Verifying Checksum 19:49:51 7c6cee850709: Download complete 19:49:51 39a5fcdaea64: Verifying Checksum 19:49:51 2408cc74d12b: Download complete 19:49:51 d94ebbe4e438: Verifying Checksum 19:49:51 d94ebbe4e438: Download complete 19:49:51 2408cc74d12b: Pull complete 19:49:52 ea60b727a1ce: Pull complete 19:49:52 30c4a7721957: Pull complete 19:49:52 59ccb84bbe0f: Verifying Checksum 19:49:52 59ccb84bbe0f: Download complete 19:49:52 bcfd1f05c69d: Verifying Checksum 19:49:52 bcfd1f05c69d: Download complete 19:49:52 370296b7ddb6: Verifying Checksum 19:49:52 370296b7ddb6: Download complete 19:49:56 370296b7ddb6: Pull complete 19:49:56 7c6cee850709: Pull complete 19:49:56 39a5fcdaea64: Pull complete 19:49:56 d94ebbe4e438: Pull complete 19:49:58 bcfd1f05c69d: Pull complete 19:49:59 59ccb84bbe0f: Pull complete 19:49:59 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 19:49:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:49:59 ---> a4fb48ad2a94 19:49:59 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:50:01 ---> Running in 958a86afd335 19:50:01 Removing intermediate container 958a86afd335 19:50:01 ---> 17557e175d11 19:50:01 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 19:50:01 ---> Running in 6b87a8937610 19:50:01 Removing intermediate container 6b87a8937610 19:50:01 ---> aafca1653896 19:50:01 Step 5/14 : ARG ADD_BUILD_TAGS="" 19:50:01 ---> Running in b00b1ee4ab2b 19:50:01 Removing intermediate container b00b1ee4ab2b 19:50:01 ---> 67a24e2ce23d 19:50:01 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:50:01 ---> Running in 2c6d2ac45d49 19:50:01 Removing intermediate container 2c6d2ac45d49 19:50:01 ---> 3d0d7ce2cfc9 19:50:01 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:50:01 ---> Running in 7b87f611f6db 19:50:02 Removing intermediate container 7b87f611f6db 19:50:02 ---> d826e923ddf7 19:50:02 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:50:02 ---> Running in aa03a587d632 19:50:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:50:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:50:03 OK: 211 MiB in 51 packages 19:50:04 Removing intermediate container aa03a587d632 19:50:04 ---> 8fe7a80ee1a4 19:50:04 Step 9/14 : WORKDIR /app 19:50:04 ---> Running in 1d8de8e3931d 19:50:04 Removing intermediate container 1d8de8e3931d 19:50:04 ---> 5ae0319262fe 19:50:04 Step 10/14 : COPY go.mod vendor* ./ 19:50:04 Still waiting to schedule task 19:50:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-635’ 19:50:04 ---> ef03ef6e0068 19:50:04 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:50:04 ---> Running in 45620b1d63bf 19:50:26 Removing intermediate container 45620b1d63bf 19:50:26 ---> a26165933dc1 19:50:26 Step 12/14 : COPY . . 19:50:26 ---> 663d29b57949 19:50:26 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:50:26 ---> Running in edede4c8a69f 19:50:26 Removing intermediate container edede4c8a69f 19:50:26 ---> 86d81b90d86f 19:50:26 Step 14/14 : RUN $MAKE 19:50:26 ---> Running in b5b2a5a01637 19:50:26 noop 19:50:26 Removing intermediate container b5b2a5a01637 19:50:26 ---> 582680386f55 19:50:26 Successfully built 582680386f55 19:50:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:26 + docker inspect -f . ci-base-image-x86_64 19:50:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:50:27 prd-ubuntu20.04-docker-8c-8g-636 does not seem to be running inside a container 19:50:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/inventory_nats-jetstream-subject -v /w/workspace/inventory_nats-jetstream-subject:/w/workspace/inventory_nats-jetstream-subject:rw,z -v /w/workspace/inventory_nats-jetstream-subject@tmp:/w/workspace/inventory_nats-jetstream-subject@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 ******** ci-base-image-x86_64 cat 19:50:27 $ docker top 4872a67477f76eed3c8d286193c57369066b095818ead6841f1548722c95cf7a -eo pid,comm [Pipeline] { [Pipeline] sh 19:50:27 + go version 19:50:27 go version go1.18.3 linux/amd64 [Pipeline] } 19:50:27 $ docker stop --time=1 4872a67477f76eed3c8d286193c57369066b095818ead6841f1548722c95cf7a 19:50:29 $ docker rm -f 4872a67477f76eed3c8d286193c57369066b095818ead6841f1548722c95cf7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:29 + docker inspect -f . ci-base-image-x86_64 19:50:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:50:30 prd-ubuntu20.04-docker-8c-8g-636 does not seem to be running inside a container 19:50:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/inventory_nats-jetstream-subject -v /w/workspace/inventory_nats-jetstream-subject:/w/workspace/inventory_nats-jetstream-subject:rw,z -v /w/workspace/inventory_nats-jetstream-subject@tmp:/w/workspace/inventory_nats-jetstream-subject@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 ******** ci-base-image-x86_64 cat 19:50:30 $ docker top 76bb7c5a55bb558236891aeadffd8d439ad394717b3674c6b1126b57e0f61b1f -eo pid,comm [Pipeline] { [Pipeline] sh 19:50:31 + git config --global --add safe.directory /w/workspace/inventory_nats-jetstream-subject [Pipeline] fileExists [Pipeline] sh 19:50:31 + make test 19:50:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:50:41 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 19:50:41 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.040s coverage: 86.2% of statements 19:50:41 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 19:50:44 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.543s coverage: 71.9% of statements 19:50:53 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." 19:50:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:50:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:50:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:50:55 ./bin/test-attribution.sh 19:50:55 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 19:50:55 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 19:50:55 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 19:50:55 [edgeX.isLTS] Checking if [nats-jetstream-subject] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:50:55 $ docker stop --time=1 76bb7c5a55bb558236891aeadffd8d439ad394717b3674c6b1126b57e0f61b1f 19:50:57 $ docker rm -f 76bb7c5a55bb558236891aeadffd8d439ad394717b3674c6b1126b57e0f61b1f [Pipeline] // withDockerContainer [Pipeline] sh 19:50:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:50:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:50:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:50:59 + ls -al . 19:50:59 total 232 19:50:59 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 19:50 . 19:50:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:49 .. 19:50:59 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 19:49 .dockerignore 19:50:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:50 .git 19:50:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:49 .github 19:50:59 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 19:49 .gitignore 19:50:59 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 19:49 .golangci.yml 19:50:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 19:49 .semver 19:50:59 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 22 19:49 Attribution.txt 19:50:59 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 19:49 CHANGELOG.md 19:50:59 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 19:49 Dockerfile 19:50:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 19:49 GOVERNANCE.md 19:50:59 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 19:49 Jenkinsfile 19:50:59 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 19:49 LICENSE 19:50:59 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 19:49 Makefile 19:50:59 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 19:49 OWNERS.md 19:50:59 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 19:49 README.md 19:50:59 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 19:49 VERSION 19:50:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:49 bin 19:50:59 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 19:50 coverage.out 19:50:59 -rw-rw-r-- 1 jenkins jenkins 3678 Sep 22 19:49 go.mod 19:50:59 -rw-rw-r-- 1 jenkins jenkins 38059 Sep 22 19:49 go.sum 19:50:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:49 images 19:50:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:49 internal 19:50:59 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 19:49 main.go 19:50:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:49 res 19:50:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:49 snap 19:50:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:49 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:59 + 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=d1326288272724d6e47ba7ddcc651b32f9ea025f --label arch=amd64 --label version=0.0.0 . 19:50:59 Sending build context to Docker daemon 12.48MB 19:50:59 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 19:50:59 Step 2/32 : FROM ${BASE} AS builder 19:50:59 ---> 582680386f55 19:50:59 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:50:59 ---> Running in d7abb6da2efa 19:50:59 Removing intermediate container d7abb6da2efa 19:50:59 ---> b17922f06e49 19:50:59 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 19:50:59 ---> Running in 38b339e81bce 19:50:59 Removing intermediate container 38b339e81bce 19:50:59 ---> 20b8a0a927ec 19:50:59 Step 5/32 : ARG ADD_BUILD_TAGS="" 19:51:00 ---> Running in d6aa2be824b9 19:51:00 Removing intermediate container d6aa2be824b9 19:51:00 ---> a21c329ed073 19:51:00 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:51:00 ---> Running in 1b3078556ba4 19:51:00 Removing intermediate container 1b3078556ba4 19:51:00 ---> 9de358885c5c 19:51:00 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:00 ---> Running in 9c60b621baee 19:51:01 Removing intermediate container 9c60b621baee 19:51:01 ---> 7729fa5f83bc 19:51:01 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:01 ---> Running in 7c55e26fb810 19:51:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:51:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:51:02 OK: 211 MiB in 51 packages 19:51:02 Removing intermediate container 7c55e26fb810 19:51:02 ---> bdd02d015e20 19:51:02 Step 9/32 : WORKDIR /app 19:51:03 ---> Running in 094492321bed 19:51:03 Removing intermediate container 094492321bed 19:51:03 ---> dc1af5419cc0 19:51:03 Step 10/32 : COPY go.mod vendor* ./ 19:51:03 ---> a30739c8ad5f 19:51:03 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:03 ---> Running in fead1afb0928 19:51:03 Removing intermediate container fead1afb0928 19:51:03 ---> 2f7ebbc9b671 19:51:03 Step 12/32 : COPY . . 19:51:04 ---> 51c1011de65d 19:51:04 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:51:04 ---> Running in 03589535cbbb 19:51:04 Removing intermediate container 03589535cbbb 19:51:04 ---> 8427054214b5 19:51:04 Step 14/32 : RUN $MAKE 19:51:04 ---> Running in a1f36b760525 19:51:04 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 19:51:26 Removing intermediate container a1f36b760525 19:51:26 ---> bdd65b3d05a0 19:51:26 Step 15/32 : FROM alpine:3.14 19:51:26 3.14: Pulling from library/alpine 19:51:26 c7ed990a2339: Pulling fs layer 19:51:26 c7ed990a2339: Verifying Checksum 19:51:26 c7ed990a2339: Download complete 19:51:26 c7ed990a2339: Pull complete 19:51:26 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 19:51:26 Status: Downloaded newer image for alpine:3.14 19:51:26 ---> dd53f409bf0b 19:51:26 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:51:26 ---> Running in 5b30ab285a7e 19:51:26 Removing intermediate container 5b30ab285a7e 19:51:26 ---> 71b15b75722d 19:51:26 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 19:51:26 ---> Running in faacfffcbcc1 19:51:26 Removing intermediate container faacfffcbcc1 19:51:26 ---> a97adc73953a 19:51:26 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:26 ---> Running in ead44327d168 19:51:26 Removing intermediate container ead44327d168 19:51:26 ---> 755633e546e8 19:51:26 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 19:51:26 ---> Running in 72e8d5cb7e54 19:51:26 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:51:27 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:51:27 (1/7) Installing ca-certificates (20220614-r0) 19:51:27 (2/7) Installing dumb-init (1.2.5-r1) 19:51:27 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:51:28 (4/7) Installing libsodium (1.0.18-r0) 19:51:28 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:51:28 (6/7) Installing libzmq (4.3.4-r0) 19:51:28 (7/7) Installing zeromq (4.3.4-r0) 19:51:28 Executing busybox-1.33.1-r8.trigger 19:51:28 Executing ca-certificates-20220614-r0.trigger 19:51:28 OK: 9 MiB in 21 packages 19:51:29 Removing intermediate container 72e8d5cb7e54 19:51:29 ---> 7e2015484414 19:51:29 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:51:29 ---> d4df18d9ba30 19:51:29 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 19:51:29 ---> 8c3127c10646 19:51:29 Step 22/32 : COPY --from=builder /app/res/ /res/ 19:51:29 ---> f30f2b638520 19:51:29 Step 23/32 : COPY --from=builder /app/static/ /static/ 19:51:29 ---> 1374d6474dfc 19:51:29 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 19:51:30 ---> c3321bb919a4 19:51:30 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 19:51:30 ---> Running in e2d5affcf41d 19:51:30 Removing intermediate container e2d5affcf41d 19:51:30 ---> dac827a3c13b 19:51:30 Step 26/32 : VOLUME /cache 19:51:30 ---> Running in d091d33de6e0 19:51:30 Removing intermediate container d091d33de6e0 19:51:30 ---> 084017a6aa5b 19:51:30 Step 27/32 : EXPOSE 59711 19:51:30 ---> Running in 1c9919cf7427 19:51:30 Removing intermediate container 1c9919cf7427 19:51:30 ---> 849415436042 19:51:30 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 19:51:30 ---> Running in f0ac886f69ba 19:51:31 Removing intermediate container f0ac886f69ba 19:51:31 ---> 725fba1802f0 19:51:31 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 19:51:31 ---> Running in 6a897ea01676 19:51:31 Removing intermediate container 6a897ea01676 19:51:31 ---> 9e2b46768ffb 19:51:31 Step 30/32 : LABEL arch=amd64 19:51:31 ---> Running in d6e4431f0178 19:51:31 Removing intermediate container d6e4431f0178 19:51:31 ---> 3bed030c32c5 19:51:31 Step 31/32 : LABEL git_sha=d1326288272724d6e47ba7ddcc651b32f9ea025f 19:51:31 ---> Running in 8efb99a86a8b 19:51:31 Removing intermediate container 8efb99a86a8b 19:51:31 ---> bf4bc9977742 19:51:31 Step 32/32 : LABEL version=0.0.0 19:51:31 ---> Running in f6801d2a326c 19:51:31 Removing intermediate container f6801d2a326c 19:51:31 ---> fb2d84179461 19:51:31 [Warning] One or more build-args [ARCH] were not consumed 19:51:31 Successfully built fb2d84179461 19:51:31 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 19:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:51:32 19:51:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:51:32 latest: Pulling from edgex-lftools-log-publisher 19:51:32 5eb5b503b376: Pulling fs layer 19:51:32 5c69ac0246d0: Pulling fs layer 19:51:32 ec43610c2a17: Pulling fs layer 19:51:32 3a2ae6a8a46f: Pulling fs layer 19:51:32 33b1e0a273af: Pulling fs layer 19:51:32 5d3b04190fa2: Pulling fs layer 19:51:32 2f39f015ded8: Pulling fs layer 19:51:32 3a2ae6a8a46f: Waiting 19:51:32 33b1e0a273af: Waiting 19:51:32 2f39f015ded8: Waiting 19:51:32 5d3b04190fa2: Waiting 19:51:32 5c69ac0246d0: Verifying Checksum 19:51:32 5c69ac0246d0: Download complete 19:51:32 3a2ae6a8a46f: Verifying Checksum 19:51:32 3a2ae6a8a46f: Download complete 19:51:32 33b1e0a273af: Verifying Checksum 19:51:32 33b1e0a273af: Download complete 19:51:33 ec43610c2a17: Verifying Checksum 19:51:33 ec43610c2a17: Download complete 19:51:33 5d3b04190fa2: Verifying Checksum 19:51:33 5d3b04190fa2: Download complete 19:51:33 5eb5b503b376: Verifying Checksum 19:51:33 5eb5b503b376: Download complete 19:51:33 2f39f015ded8: Download complete 19:51:34 5eb5b503b376: Pull complete 19:51:34 5c69ac0246d0: Pull complete 19:51:34 ec43610c2a17: Pull complete 19:51:35 3a2ae6a8a46f: Pull complete 19:51:35 33b1e0a273af: Pull complete 19:51:35 5d3b04190fa2: Pull complete 19:51:39 2f39f015ded8: Pull complete 19:51:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:51:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:51:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:39 prd-ubuntu20.04-docker-8c-8g-636 does not seem to be running inside a container 19:51:39 $ 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/inventory_nats-jetstream-subject -v /w/workspace/inventory_nats-jetstream-subject:/w/workspace/inventory_nats-jetstream-subject:rw,z -v /w/workspace/inventory_nats-jetstream-subject@tmp:/w/workspace/inventory_nats-jetstream-subject@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:51:41 $ docker top 6c4802995e72414e77229aa3efbbbb10c328fd357df1c43990f7959322cd4a80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:41 ---> job-cost.sh 19:51:41 lf-activate-venv: SKIPPING 19:51:41 INFO: No Stack... 19:51:42 INFO: Retrieving Pricing Info for: v3-standard-8 19:51:42 INFO: Archiving Costs [Pipeline] sh 19:51:42 + cat /w/workspace/inventory_nats-jetstream-subject/archives/cost.csv 19:51:42 + cut -d, -f6 [Pipeline] lock 19:51:43 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] 19:51:43 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] did not exist. Created. 19:51:43 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:51:43 + echo total: 0.2199999988079071 [Pipeline] stash 19:51:43 Stashed 1 file(s) [Pipeline] } 19:51:43 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:51:43 $ docker stop --time=1 6c4802995e72414e77229aa3efbbbb10c328fd357df1c43990f7959322cd4a80 19:51:44 $ docker rm -f 6c4802995e72414e77229aa3efbbbb10c328fd357df1c43990f7959322cd4a80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:52:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-638 in /w/workspace/inventory_nats-jetstream-subject [Pipeline] { [Pipeline] ws 19:52:25 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 19:52:25 The recommended git tool is: git 19:52:30 using credential edgex-jenkins-ssh 19:52:30 Cloning the remote Git repository 19:52:30 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 19:52:31 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 19:52:31 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 19:52:31 > git --version # timeout=10 19:52:31 > git --version # 'git version 2.25.1' 19:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 19:52:31 Verifying host key using known hosts file 19:52:31 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. 19:52:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:52:34 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 19:52:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:52:35 Avoid second fetch 19:52:35 Checking out Revision d1326288272724d6e47ba7ddcc651b32f9ea025f (nats-jetstream-subject) 19:52:35 Commit message: "refactor: Adjust NATS Subject to handle any data, not just events" 19:52:35 > git --version # timeout=10 19:52:35 > git --version # 'git version 2.25.1' 19:52:35 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 19:52:35 > git config core.sparsecheckout # timeout=10 19:52:35 > git checkout -f d1326288272724d6e47ba7ddcc651b32f9ea025f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:52:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:52:36 % Total % Received % Xferd Average Speed Time Time Time Current 19:52:36 Dload Upload Total Spent Left Speed 19:52:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 89375 [Pipeline] sh 19:52:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:52:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:52:37 + sudo tee /etc/docker/daemon.new 19:52:37 { 19:52:37 "registry-mirrors": [ 19:52:37 "https://nexus3.edgexfoundry.org:10001" 19:52:37 ], 19:52:37 "bip": "10.250.0.254/24", 19:52:37 "hosts": [ 19:52:37 "tcp://0.0.0.0:5555", 19:52:37 "unix:///var/run/docker.sock" 19:52:37 ], 19:52:37 "mtu": 1458, 19:52:37 "selinux-enabled": true, 19:52:37 "seccomp-profile": "/etc/docker/seccomp.json" 19:52:37 } [Pipeline] sh 19:52:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:52:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:52:56 provisioning config files... 19:52:56 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config14497966229375377745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:52:57 ---> docker-login.sh 19:52:57 nexus3.edgexfoundry.org:10001 19:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:57 Configure a credential helper to remove this warning. See 19:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:57 19:52:57 Login Succeeded 19:52:57 nexus3.edgexfoundry.org:10002 19:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:58 Configure a credential helper to remove this warning. See 19:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:58 19:52:58 Login Succeeded 19:52:58 nexus3.edgexfoundry.org:10003 19:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:58 Configure a credential helper to remove this warning. See 19:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:58 19:52:58 Login Succeeded 19:52:58 nexus3.edgexfoundry.org:10004 19:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:58 Configure a credential helper to remove this warning. See 19:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:58 19:52:58 Login Succeeded 19:52:58 docker.io 19:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:59 Configure a credential helper to remove this warning. See 19:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:59 19:52:59 Login Succeeded 19:52:59 ---> docker-login.sh ends [Pipeline] } 19:52:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:52:59 [edgeX.isLTS] Checking if [nats-jetstream-subject] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:52:59 [edgeX.isLTS] Checking if [nats-jetstream-subject] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:52:59 ========================================================= 19:52:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:52:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:00 + 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 . 19:53:00 Sending build context to Docker daemon 683kB 19:53:00 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:53:00 Step 2/14 : FROM ${BASE} AS builder 19:53:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:53:00 b3c136eddcbf: Pulling fs layer 19:53:00 c0a3192eca97: Pulling fs layer 19:53:00 a050256f5b6f: Pulling fs layer 19:53:00 656be50a0ddc: Pulling fs layer 19:53:00 2bbca73fdf42: Pulling fs layer 19:53:00 46d945488cbd: Pulling fs layer 19:53:00 8a5474983e97: Pulling fs layer 19:53:00 329c88fbcd65: Pulling fs layer 19:53:00 656be50a0ddc: Waiting 19:53:00 2bbca73fdf42: Waiting 19:53:00 46d945488cbd: Waiting 19:53:00 8a5474983e97: Waiting 19:53:00 329c88fbcd65: Waiting 19:53:00 a050256f5b6f: Download complete 19:53:00 c0a3192eca97: Verifying Checksum 19:53:00 c0a3192eca97: Download complete 19:53:00 2bbca73fdf42: Verifying Checksum 19:53:00 2bbca73fdf42: Download complete 19:53:00 46d945488cbd: Download complete 19:53:00 b3c136eddcbf: Verifying Checksum 19:53:01 b3c136eddcbf: Pull complete 19:53:01 329c88fbcd65: Verifying Checksum 19:53:01 329c88fbcd65: Download complete 19:53:02 c0a3192eca97: Pull complete 19:53:02 a050256f5b6f: Pull complete 19:53:02 8a5474983e97: Download complete 19:53:03 656be50a0ddc: Verifying Checksum 19:53:03 656be50a0ddc: Download complete 19:53:16 656be50a0ddc: Pull complete 19:53:16 2bbca73fdf42: Pull complete 19:53:16 46d945488cbd: Pull complete 19:53:21 8a5474983e97: Pull complete 19:53:23 329c88fbcd65: Pull complete 19:53:23 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 19:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:53:23 ---> ff4287adb874 19:53:23 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:53:25 ---> Running in e0b83ed10da8 19:53:25 Removing intermediate container e0b83ed10da8 19:53:25 ---> 68d4f8ce838d 19:53:25 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 19:53:25 ---> Running in 3ff620b31129 19:53:26 Removing intermediate container 3ff620b31129 19:53:26 ---> 87c5d40d4f94 19:53:26 Step 5/14 : ARG ADD_BUILD_TAGS="" 19:53:26 ---> Running in 22a56411c708 19:53:26 Removing intermediate container 22a56411c708 19:53:26 ---> 826c2c9bee82 19:53:26 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:53:26 ---> Running in 90f93527b7b5 19:53:26 Removing intermediate container 90f93527b7b5 19:53:26 ---> fe6676a70a37 19:53:26 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:53:26 ---> Running in b8db3cde455d 19:53:28 Removing intermediate container b8db3cde455d 19:53:28 ---> 6b52dd301c73 19:53:28 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:53:28 ---> Running in 5eb058eb5c8b 19:53:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:53:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:53:31 OK: 221 MiB in 51 packages 19:53:32 Removing intermediate container 5eb058eb5c8b 19:53:32 ---> 7a2f6732e965 19:53:32 Step 9/14 : WORKDIR /app 19:53:32 ---> Running in 9c0a680c6db8 19:53:32 Removing intermediate container 9c0a680c6db8 19:53:32 ---> c3cbb7c3578d 19:53:32 Step 10/14 : COPY go.mod vendor* ./ 19:53:33 ---> 17980cfb6e66 19:53:33 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:53:33 ---> Running in ae13ce37482f 19:54:20 Removing intermediate container ae13ce37482f 19:54:20 ---> 3416dc4084b2 19:54:20 Step 12/14 : COPY . . 19:54:20 ---> 9004b5b6abbe 19:54:20 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:54:20 ---> Running in e44c5b15e416 19:54:20 Removing intermediate container e44c5b15e416 19:54:20 ---> 7356bec7eef1 19:54:20 Step 14/14 : RUN $MAKE 19:54:20 ---> Running in 764d9c096ffb 19:54:20 noop 19:54:21 Removing intermediate container 764d9c096ffb 19:54:21 ---> b50695d62c08 19:54:21 Successfully built b50695d62c08 19:54:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:21 + docker inspect -f . ci-base-image-arm64 19:54:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:21 prd-ubuntu20.04-docker-arm64-4c-16g-638 does not seem to be running inside a container 19:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:54:23 $ docker top 52fb15054e8d453765baedd0a9b164761f0355ef75b7d6c17ff86f0ea9e1728b -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:24 + go version 19:54:24 go version go1.18.3 linux/arm64 [Pipeline] } 19:54:24 $ docker stop --time=1 52fb15054e8d453765baedd0a9b164761f0355ef75b7d6c17ff86f0ea9e1728b 19:54:25 $ docker rm -f 52fb15054e8d453765baedd0a9b164761f0355ef75b7d6c17ff86f0ea9e1728b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:26 + docker inspect -f . ci-base-image-arm64 19:54:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:26 prd-ubuntu20.04-docker-arm64-4c-16g-638 does not seem to be running inside a container 19:54:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:54:28 $ docker top 11164f271f55ca630e384e57c033cda71e2b3b1baef3b85d4f21b6153ee01884 -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:29 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 19:54:29 + make test 19:54:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:56:06 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 19:56:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.149s coverage: 86.2% of statements 19:56:06 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 19:56:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.715s coverage: 71.9% of statements 19:56:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:56:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:56:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:56:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:56:33 ./bin/test-attribution.sh 19:56:33 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 19:56:33 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 19:56:33 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 19:56:33 [edgeX.isLTS] Checking if [nats-jetstream-subject] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:56:33 $ docker stop --time=1 11164f271f55ca630e384e57c033cda71e2b3b1baef3b85d4f21b6153ee01884 19:56:35 $ docker rm -f 11164f271f55ca630e384e57c033cda71e2b3b1baef3b85d4f21b6153ee01884 [Pipeline] // withDockerContainer [Pipeline] sh 19:56:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:56:36 Warning: overwriting stash ‘coverage-report’ 19:56:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:56:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:56:37 + ls -al . 19:56:37 total 228 19:56:37 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 19:54 . 19:56:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:52 .. 19:56:37 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 19:52 .dockerignore 19:56:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:52 .git 19:56:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:52 .github 19:56:37 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 19:52 .gitignore 19:56:37 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 19:52 .golangci.yml 19:56:37 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 22 19:52 Attribution.txt 19:56:37 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 19:52 CHANGELOG.md 19:56:37 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 19:52 Dockerfile 19:56:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 19:52 GOVERNANCE.md 19:56:37 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 19:52 Jenkinsfile 19:56:37 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 19:52 LICENSE 19:56:37 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 19:52 Makefile 19:56:37 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 19:52 OWNERS.md 19:56:37 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 19:52 README.md 19:56:37 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 19:49 VERSION 19:56:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:52 bin 19:56:37 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 19:56 coverage.out 19:56:37 -rw-rw-r-- 1 jenkins jenkins 3678 Sep 22 19:52 go.mod 19:56:37 -rw-rw-r-- 1 jenkins jenkins 38059 Sep 22 19:52 go.sum 19:56:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:52 images 19:56:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:52 internal 19:56:37 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 19:52 main.go 19:56:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:52 res 19:56:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:52 snap 19:56:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:52 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:38 + 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=d1326288272724d6e47ba7ddcc651b32f9ea025f --label arch=arm64 --label version=0.0.0 . 19:56:38 Sending build context to Docker daemon 683kB 19:56:38 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 19:56:38 Step 2/32 : FROM ${BASE} AS builder 19:56:38 ---> b50695d62c08 19:56:38 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:56:38 ---> Running in 89cd6274c09b 19:56:38 Removing intermediate container 89cd6274c09b 19:56:38 ---> 903b78da2056 19:56:38 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 19:56:38 ---> Running in 932a2698158d 19:56:39 Removing intermediate container 932a2698158d 19:56:39 ---> e031d1640108 19:56:39 Step 5/32 : ARG ADD_BUILD_TAGS="" 19:56:39 ---> Running in 2895ef457d06 19:56:39 Removing intermediate container 2895ef457d06 19:56:39 ---> a88a3e3dd5b3 19:56:39 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:56:39 ---> Running in 19f110d6313a 19:56:39 Removing intermediate container 19f110d6313a 19:56:39 ---> d445c2c24289 19:56:39 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:56:39 ---> Running in 75da51a5cbe2 19:56:41 Removing intermediate container 75da51a5cbe2 19:56:41 ---> 1821a3830ed2 19:56:41 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:56:41 ---> Running in 5e69caffaa71 19:56:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:56:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:56:44 OK: 221 MiB in 51 packages 19:56:45 Removing intermediate container 5e69caffaa71 19:56:45 ---> 4e7fbb5e6813 19:56:45 Step 9/32 : WORKDIR /app 19:56:45 ---> Running in 81216c2aad29 19:56:46 Removing intermediate container 81216c2aad29 19:56:46 ---> 4ef1b053144b 19:56:46 Step 10/32 : COPY go.mod vendor* ./ 19:56:48 ---> aee5464bd1fa 19:56:48 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:56:48 ---> Running in 4cef044a94e7 19:56:50 Removing intermediate container 4cef044a94e7 19:56:50 ---> 902e72c6b2dc 19:56:50 Step 12/32 : COPY . . 19:56:51 ---> 1a5d8325eab0 19:56:51 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:56:51 ---> Running in 5607a6b2bda2 19:56:51 Removing intermediate container 5607a6b2bda2 19:56:51 ---> e117c85beb19 19:56:51 Step 14/32 : RUN $MAKE 19:56:51 ---> Running in b0af64b9185f 19:56:52 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 19:59:29 Removing intermediate container b0af64b9185f 19:59:29 ---> 6b2e11d06ac3 19:59:29 Step 15/32 : FROM alpine:3.14 19:59:29 3.14: Pulling from library/alpine 19:59:29 90cda3b7c325: Pulling fs layer 19:59:29 90cda3b7c325: Verifying Checksum 19:59:29 90cda3b7c325: Download complete 19:59:29 90cda3b7c325: Pull complete 19:59:29 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 19:59:29 Status: Downloaded newer image for alpine:3.14 19:59:29 ---> 376ba31ae3da 19:59:29 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:59:29 ---> Running in d7e1f2c5c10b 19:59:29 Removing intermediate container d7e1f2c5c10b 19:59:29 ---> 8ffb797a32cf 19:59:29 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 19:59:29 ---> Running in ecb2537d21d3 19:59:29 Removing intermediate container ecb2537d21d3 19:59:29 ---> c1734833bd8d 19:59:29 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:59:29 ---> Running in 5540e5156080 19:59:30 Removing intermediate container 5540e5156080 19:59:30 ---> 0745440667bf 19:59:30 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 19:59:30 ---> Running in fa58a8702375 19:59:31 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:59:32 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:59:33 (1/7) Installing ca-certificates (20220614-r0) 19:59:33 (2/7) Installing dumb-init (1.2.5-r1) 19:59:33 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:59:33 (4/7) Installing libsodium (1.0.18-r0) 19:59:34 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:59:34 (6/7) Installing libzmq (4.3.4-r0) 19:59:34 (7/7) Installing zeromq (4.3.4-r0) 19:59:34 Executing busybox-1.33.1-r8.trigger 19:59:34 Executing ca-certificates-20220614-r0.trigger 19:59:34 OK: 9 MiB in 21 packages 19:59:35 Removing intermediate container fa58a8702375 19:59:35 ---> c27233597849 19:59:35 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:59:36 ---> 1110cfc58039 19:59:36 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 19:59:36 ---> 6cb1d2306bc8 19:59:36 Step 22/32 : COPY --from=builder /app/res/ /res/ 19:59:37 ---> 29219ab9ce3b 19:59:37 Step 23/32 : COPY --from=builder /app/static/ /static/ 19:59:37 ---> 42a010d858d9 19:59:37 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 19:59:38 ---> 8c97bdc9b8d4 19:59:38 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 19:59:38 ---> Running in 03608b940259 19:59:40 Removing intermediate container 03608b940259 19:59:40 ---> 4fe3c9e4ff6e 19:59:40 Step 26/32 : VOLUME /cache 19:59:40 ---> Running in 6a330b62d237 19:59:40 Removing intermediate container 6a330b62d237 19:59:40 ---> a66d0257bca4 19:59:40 Step 27/32 : EXPOSE 59711 19:59:40 ---> Running in ae3671091aa2 19:59:41 Removing intermediate container ae3671091aa2 19:59:41 ---> 52da8f986760 19:59:41 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 19:59:41 ---> Running in 196a6b21c9cf 19:59:41 Removing intermediate container 196a6b21c9cf 19:59:41 ---> b02af52f9aff 19:59:41 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 19:59:41 ---> Running in 88a26ba01b46 19:59:41 Removing intermediate container 88a26ba01b46 19:59:41 ---> d474a0e1c35d 19:59:41 Step 30/32 : LABEL arch=arm64 19:59:42 ---> Running in e73e6f1bc967 19:59:42 Removing intermediate container e73e6f1bc967 19:59:42 ---> 6428b3f81172 19:59:42 Step 31/32 : LABEL git_sha=d1326288272724d6e47ba7ddcc651b32f9ea025f 19:59:42 ---> Running in bde687730486 19:59:42 Removing intermediate container bde687730486 19:59:42 ---> e166a347720a 19:59:42 Step 32/32 : LABEL version=0.0.0 19:59:42 ---> Running in 9f8696b17643 19:59:42 Removing intermediate container 9f8696b17643 19:59:42 ---> c8040c66937d 19:59:42 [Warning] One or more build-args [ARCH] were not consumed 19:59:43 Successfully built c8040c66937d 19:59:43 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 19:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:59:43 19:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:59:44 arm64: Pulling from edgex-lftools-log-publisher 19:59:44 8998bd30e6a1: Pulling fs layer 19:59:44 04944245beec: Pulling fs layer 19:59:44 699f458cf7ca: Pulling fs layer 19:59:44 765212b225bb: Pulling fs layer 19:59:44 f23df028b6ca: Pulling fs layer 19:59:44 d65c8cfc05b1: Pulling fs layer 19:59:44 2437ff75d9bd: Pulling fs layer 19:59:44 f23df028b6ca: Waiting 19:59:44 d65c8cfc05b1: Waiting 19:59:44 2437ff75d9bd: Waiting 19:59:44 765212b225bb: Waiting 19:59:44 04944245beec: Verifying Checksum 19:59:44 04944245beec: Download complete 19:59:44 765212b225bb: Download complete 19:59:44 f23df028b6ca: Download complete 19:59:44 d65c8cfc05b1: Verifying Checksum 19:59:44 d65c8cfc05b1: Download complete 19:59:44 699f458cf7ca: Verifying Checksum 19:59:44 699f458cf7ca: Download complete 19:59:45 8998bd30e6a1: Verifying Checksum 19:59:45 8998bd30e6a1: Download complete 19:59:47 2437ff75d9bd: Verifying Checksum 19:59:47 2437ff75d9bd: Download complete 19:59:49 8998bd30e6a1: Pull complete 19:59:49 04944245beec: Pull complete 19:59:50 699f458cf7ca: Pull complete 19:59:50 765212b225bb: Pull complete 19:59:51 f23df028b6ca: Pull complete 19:59:51 d65c8cfc05b1: Pull complete 20:00:06 2437ff75d9bd: Pull complete 20:00:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:06 prd-ubuntu20.04-docker-arm64-4c-16g-638 does not seem to be running inside a container 20:00:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:00:09 $ docker top 4fea68d30dc336a7c71f89b56474a35672a94a218db5735011e1ec9443fc6d77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:10 ---> job-cost.sh 20:00:10 lf-activate-venv: SKIPPING 20:00:10 INFO: No Stack... 20:00:10 INFO: Retrieving Pricing Info for: v3-standard-4 20:00:11 INFO: Archiving Costs [Pipeline] sh 20:00:12 + cut -d, -f6 20:00:12 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock 20:00:12 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] 20:00:12 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] did not exist. Created. 20:00:12 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:00:12 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-5392b426/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:00:13 + echo total: 0.10999999940395355 [Pipeline] stash 20:00:13 Warning: overwriting stash ‘stack-cost’ 20:00:13 Stashed 1 file(s) [Pipeline] } 20:00:13 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-nats-jetstream-subject-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:00:13 $ docker stop --time=1 4fea68d30dc336a7c71f89b56474a35672a94a218db5735011e1ec9443fc6d77 20:00:14 $ docker rm -f 4fea68d30dc336a7c71f89b56474a35672a94a218db5735011e1ec9443fc6d77 [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 20:00:15 provisioning config files... 20:00:15 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/inventory_nats-jetstream-subject@tmp/config17777931583526877028tmp [Pipeline] { [Pipeline] sh 20:00:16 + set +x 20:00:16 + curl -s https://codecov.io/bash 20:00:16 + bash -s -- 20:00:16 20:00:16 _____ _ 20:00:16 / ____| | | 20:00:16 | | ___ __| | ___ ___ _____ __ 20:00:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:00:16 | |___| (_) | (_| | __/ (_| (_) \ V / 20:00:16 \_____\___/ \__,_|\___|\___\___/ \_/ 20:00:16 Bash-1.0.6 20:00:16 20:00:16 20:00:16 ==> git version 2.25.1 found 20:00:16 ==> 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 20:00:16 Release-Date: 2020-01-08 20:00:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:00:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:00:16 ==> Jenkins CI detected. 20:00:16 current dir:  /w/workspace/inventory_nats-jetstream-subject 20:00:16 project root: . 20:00:16 --> token set from env 20:00:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:00:16 ==> Running gcov in . (disable via -X gcov) 20:00:16 ==> Python coveragepy not found 20:00:16 ==> Searching for coverage reports in: 20:00:16 + . 20:00:16 -> Found 1 reports 20:00:16 ==> Detecting git/mercurial file structure 20:00:16 ==> Reading reports 20:00:16 + ./coverage.out bytes=41008 20:00:16 ==> Appending adjustments 20:00:16 https://docs.codecov.io/docs/fixing-reports 20:00:16 + Found adjustments 20:00:16 ==> Gzipping contents 20:00:16 12K /tmp/codecov.NEx9kb.gz 20:00:16 ==> Uploading reports 20:00:16 url: https://codecov.io 20:00:16 query: branch=nats-jetstream-subject&commit=d1326288272724d6e47ba7ddcc651b32f9ea025f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fnats-jetstream-subject%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 20:00:16 -> Pinging Codecov 20:00:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=nats-jetstream-subject&commit=d1326288272724d6e47ba7ddcc651b32f9ea025f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fnats-jetstream-subject%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 20:00:16 -> Uploading to 20:00:16 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/581DD39554BDF9B6E22D074273EAD858/d1326288272724d6e47ba7ddcc651b32f9ea025f/944c6893-8073-455b-aa5b-6187a0a87fd3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T200016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21377e66f4b6151ec2be22c6fae356a41dd78264a36b0026664d93e6a81a9673 20:00:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:00:16 Dload Upload Total Spent Left Speed 20:00:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11454 0 0 100 11454 0 45452 --:--:-- --:--:-- --:--:-- 45452 20:00:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/d1326288272724d6e47ba7ddcc651b32f9ea025f [Pipeline] } 20:00:16 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 20:00:18 + [ -d /w/workspace/inventory_nats-jetstream-subject/archives ] 20:00:18 + ls -al /w/workspace/inventory_nats-jetstream-subject/archives 20:00:18 total 16 20:00:18 drwxr-xr-x 3 root root 4096 Sep 22 19:51 . 20:00:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 19:51 .. 20:00:18 drwxr-xr-x 2 root root 4096 Sep 22 19:51 cost 20:00:18 -rw-r--r-- 1 root root 111 Sep 22 19:51 cost.csv 20:00:18 + sudo chown -R jenkins:jenkins /w/workspace/inventory_nats-jetstream-subject/archives 20:00:18 + ls -al /w/workspace/inventory_nats-jetstream-subject/archives 20:00:18 total 16 20:00:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 19:51 . 20:00:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 19:51 .. 20:00:18 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 19:51 cost 20:00:18 -rw-r--r-- 1 jenkins jenkins 111 Sep 22 19:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:00:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:00:19 ---> package-listing.sh 20:00:19 ++ tr '[:upper:]' '[:lower:]' 20:00:19 ++ facter osfamily 20:00:20 + OS_FAMILY=debian 20:00:20 + workspace=/w/workspace/inventory_nats-jetstream-subject 20:00:20 + START_PACKAGES=/tmp/packages_start.txt 20:00:20 + END_PACKAGES=/tmp/packages_end.txt 20:00:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:00:20 + PACKAGES=/tmp/packages_start.txt 20:00:20 + '[' /w/workspace/inventory_nats-jetstream-subject ']' 20:00:20 + PACKAGES=/tmp/packages_end.txt 20:00:20 + case "${OS_FAMILY}" in 20:00:20 + dpkg -l 20:00:20 + grep '^ii' 20:00:20 + '[' -f /tmp/packages_start.txt ']' 20:00:20 + '[' -f /tmp/packages_end.txt ']' 20:00:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:00:20 + '[' /w/workspace/inventory_nats-jetstream-subject ']' 20:00:20 + mkdir -p /w/workspace/inventory_nats-jetstream-subject/archives/ 20:00:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/inventory_nats-jetstream-subject/archives/ [Pipeline] echo 20:00:20 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/inventory_nats-jetstream-subject/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:00:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:21 prd-ubuntu20.04-docker-8c-8g-636 does not seem to be running inside a container 20:00:21 $ 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/inventory_nats-jetstream-subject/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/inventory_nats-jetstream-subject -v /w/workspace/inventory_nats-jetstream-subject:/w/workspace/inventory_nats-jetstream-subject:rw,z -v /w/workspace/inventory_nats-jetstream-subject@tmp:/w/workspace/inventory_nats-jetstream-subject@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:00:21 $ docker top b4521a8b901abd64bf1cbb2f1bb24f0028e1062e9b911e8ececd9206b345a4f2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:00:21 + touch /tmp/pre-build-complete [Pipeline] sh 20:00:22 + mkdir -p /var/log/sysstat [Pipeline] sh 20:00:22 + ls /var/log/sa-host 20:00:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:00:22 provisioning config files... 20:00:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/inventory_nats-jetstream-subject@tmp/config6035631347292479777tmp [Pipeline] { [Pipeline] echo 20:00:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:00:23 ---> create-netrc.sh [Pipeline] } 20:00:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:00:23 ---> python-tools-install.sh [Pipeline] echo 20:00:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:00:23 ---> sudo-logs.sh 20:00:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:00:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:00:24 ---> job-cost.sh 20:00:24 lf-activate-venv: SKIPPING 20:00:24 DEBUG: total: 0.2199999988079071 20:00:24 INFO: Retrieving Stack Cost... 20:00:24 INFO: Retrieving Pricing Info for: v3-standard-8 20:00:25 INFO: Archiving Costs [Pipeline] echo 20:00:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:00:25 ---> logs-deploy.sh 20:00:25 lf-activate-venv: SKIPPING 20:00:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/nats-jetstream-subject/1 20:00:25 INFO: archiving workspace using pattern(s): 20:00:26 Archives upload complete. 20:00:26 INFO: archiving logs to Nexus