Pull request #109 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c34f11e704d620f6173803248dedd1465f9bb0d+072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea (b9ca8a338f9e6a32b6844f353f08b3de79807365) 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-ssh1846567895493922420.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-ssh8077091659771329026.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/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14444783767966205494.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/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11848631428427625722.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-ssh17595765115386656689.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/PR-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12658606501408254468.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-478’ Running on prd-ubuntu20.04-docker-8c-8g-482 in /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-109 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea into PR head commit 4c34f11e704d620f6173803248dedd1465f9bb0d Merge succeeded, producing 4c34f11e704d620f6173803248dedd1465f9bb0d Checking out Revision 4c34f11e704d620f6173803248dedd1465f9bb0d (PR-109) Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:25:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 [Pipeline] withCredentials 22:25:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:25:59 ========================================================= 22:25:59 EdgeX Global Pipelines Version Info 22:25:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:26:00 ------------------- 22:26:00 stable info: 22:26:00 ------------------- 22:26:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:26:00 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:26:00 Message: update stable to v1.0.239 22:26:00 ------------------- 22:26:00 experimental info: 22:26:00 ------------------- 22:26:00 Commited By: **** collab-it+edgex@linuxfoundation.org 22:26:00 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:26:00 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:26:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-109 [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-109 [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-109 [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c34f11 [Pipeline] echo 22:26:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:26:02 provisioning config files... 22:26:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config6014472348922392741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:02 ---> docker-login.sh 22:26:02 nexus3.edgexfoundry.org:10001 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 nexus3.edgexfoundry.org:10002 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 nexus3.edgexfoundry.org:10003 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 nexus3.edgexfoundry.org:10004 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 docker.io 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 ---> docker-login.sh ends [Pipeline] } 22:26:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:26:04 + git rev-list -1 --merges 4c34f11e704d620f6173803248dedd1465f9bb0d~1..4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo 22:26:04 -----------> git rev-list -1 --merges 4c34f11e704d620f6173803248dedd1465f9bb0d~1..4c34f11e704d620f6173803248dedd1465f9bb0d 4c34f11e704d620f6173803248dedd1465f9bb0d [false] [Pipeline] sh 22:26:04 + git log --format=format:%s -1 4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo 22:26:05 ========================================================= 22:26:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:26:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:26:05 + git log --format=format:%s -1 4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo 22:26:05 [semverPrep] GIT_COMMIT: 4c34f11e704d620f6173803248dedd1465f9bb0d, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 22:26:05 [semverPrep] This is not a build commit. [Pipeline] sh 22:26:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:05 + grep -v github /etc/ssh/ssh_known_hosts 22:26:05 + [ -e /tmp/ssh_known_hosts ] 22:26:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:26:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:26:05 + sudo tee -a /etc/ssh/ssh_known_hosts 22:26:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:06 22:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:06 0.1.4: Pulling from edgex-devops/py-git-semver 22:26:06 b85a868b505f: Pulling fs layer 22:26:06 e2be974225ed: Pulling fs layer 22:26:06 339a4e72a1f5: Pulling fs layer 22:26:06 988bab9f4d93: Pulling fs layer 22:26:06 1469e6f7b9e6: Pulling fs layer 22:26:06 eaf3925da568: Pulling fs layer 22:26:06 bab4dde63d76: Pulling fs layer 22:26:06 bde34c3a00c8: Pulling fs layer 22:26:06 b352a97aabf1: Pulling fs layer 22:26:06 4872d77fe225: Pulling fs layer 22:26:06 5851b861e8e6: Pulling fs layer 22:26:06 988bab9f4d93: Waiting 22:26:06 1469e6f7b9e6: Waiting 22:26:06 eaf3925da568: Waiting 22:26:06 bab4dde63d76: Waiting 22:26:06 bde34c3a00c8: Waiting 22:26:06 b352a97aabf1: Waiting 22:26:06 4872d77fe225: Waiting 22:26:06 5851b861e8e6: Waiting 22:26:06 e2be974225ed: Download complete 22:26:06 988bab9f4d93: Download complete 22:26:06 1469e6f7b9e6: Verifying Checksum 22:26:06 1469e6f7b9e6: Download complete 22:26:06 339a4e72a1f5: Verifying Checksum 22:26:06 339a4e72a1f5: Download complete 22:26:06 eaf3925da568: Verifying Checksum 22:26:06 eaf3925da568: Download complete 22:26:06 bde34c3a00c8: Verifying Checksum 22:26:06 bde34c3a00c8: Download complete 22:26:06 b352a97aabf1: Verifying Checksum 22:26:06 b352a97aabf1: Download complete 22:26:06 4872d77fe225: Verifying Checksum 22:26:06 4872d77fe225: Download complete 22:26:06 5851b861e8e6: Verifying Checksum 22:26:06 5851b861e8e6: Download complete 22:26:07 b85a868b505f: Verifying Checksum 22:26:07 b85a868b505f: Download complete 22:26:07 bab4dde63d76: Verifying Checksum 22:26:07 bab4dde63d76: Download complete 22:26:08 b85a868b505f: Pull complete 22:26:08 e2be974225ed: Pull complete 22:26:09 339a4e72a1f5: Pull complete 22:26:09 988bab9f4d93: Pull complete 22:26:09 1469e6f7b9e6: Pull complete 22:26:09 eaf3925da568: Pull complete 22:26:11 bab4dde63d76: Pull complete 22:26:11 bde34c3a00c8: Pull complete 22:26:11 b352a97aabf1: Pull complete 22:26:11 4872d77fe225: Pull complete 22:26:11 5851b861e8e6: Pull complete 22:26:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:26:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:12 prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container 22:26:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:26:13 $ docker top d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 -eo pid,comm 22:26:13 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). 22:26:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:26:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:13 [ssh-agent] Looking for ssh-agent implementation... 22:26:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:13 $ docker exec d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent 22:26:13 SSH_AUTH_SOCK=/tmp/ssh-aV4YSgPY06Sr/agent.33 22:26:13 SSH_AGENT_PID=39 22:26:13 Running ssh-add (command line suppressed) 22:26:14 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_10941345994076210043.key (/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_10941345994076210043.key) 22:26:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:14 + git tag --points-at HEAD [Pipeline] } 22:26:14 $ docker exec --env ******** --env ******** d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent -k 22:26:14 unset SSH_AUTH_SOCK; 22:26:14 unset SSH_AGENT_PID; 22:26:14 echo Agent pid 39 killed; 22:26:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:26:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:14 [ssh-agent] Looking for ssh-agent implementation... 22:26:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:14 $ docker exec d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent 22:26:14 SSH_AUTH_SOCK=/tmp/ssh-iDTSVVvsF80C/agent.72 22:26:14 SSH_AGENT_PID=78 22:26:14 Running ssh-add (command line suppressed) 22:26:14 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_1260615413952803693.key (/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_1260615413952803693.key) 22:26:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:15 + git semver init 22:26:15 2022-09-21 22:26:15,485 [run_init] DEBUG init version:0.0.0 force:False 22:26:15 2022-09-21 22:26:15,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver 22:26:15 2022-09-21 22:26:15,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver 22:26:15 2022-09-21 22:26:15,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109, universal_newlines=False, shell=None, istream=None) 22:26:16 2022-09-21 22:26:16,585 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.git/info/exclude 22:26:16 2022-09-21 22:26:16,585 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 with force:False 22:26:16 2022-09-21 22:26:16,585 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 22:26:16 2022-09-21 22:26:16,588 [execute] INFO git cat-file --batch-check 22:26:16 2022-09-21 22:26:16,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver, universal_newlines=False, shell=None, istream=) 22:26:16 2022-09-21 22:26:16,596 [execute] INFO git cat-file --batch 22:26:16 2022-09-21 22:26:16,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver, universal_newlines=False, shell=None, istream=) 22:26:16 2022-09-21 22:26:16,602 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 22:26:16 0.0.0 [Pipeline] } 22:26:16 $ docker exec --env ******** --env ******** d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent -k 22:26:17 unset SSH_AUTH_SOCK; 22:26:17 unset SSH_AGENT_PID; 22:26:17 echo Agent pid 78 killed; 22:26:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:17 + git semver [Pipeline] } 22:26:17 $ docker stop --time=1 d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 22:26:19 $ docker rm -f d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 [Pipeline] // withDockerContainer [Pipeline] sh 22:26:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:26:19 Stashed 1 file(s) [Pipeline] echo 22:26:19 [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 22:26:20 provisioning config files... 22:26:20 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config6339415725079304887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:20 ---> docker-login.sh 22:26:20 nexus3.edgexfoundry.org:10001 22:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:20 Configure a credential helper to remove this warning. See 22:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:20 22:26:20 Login Succeeded 22:26:20 nexus3.edgexfoundry.org:10002 22:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:20 Configure a credential helper to remove this warning. See 22:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:20 22:26:20 Login Succeeded 22:26:20 nexus3.edgexfoundry.org:10003 22:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:20 Configure a credential helper to remove this warning. See 22:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:20 22:26:20 Login Succeeded 22:26:20 nexus3.edgexfoundry.org:10004 22:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:20 Configure a credential helper to remove this warning. See 22:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:20 22:26:20 Login Succeeded 22:26:20 docker.io 22:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:21 Configure a credential helper to remove this warning. See 22:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:21 22:26:21 Login Succeeded 22:26:21 ---> docker-login.sh ends [Pipeline] } 22:26:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:26:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:21 ========================================================= 22:26:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:26:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:22 + 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 . 22:26:22 Sending build context to Docker daemon 12.47MB 22:26:22 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 22:26:22 Step 2/14 : FROM ${BASE} AS builder 22:26:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:26:22 2408cc74d12b: Pulling fs layer 22:26:22 ea60b727a1ce: Pulling fs layer 22:26:22 30c4a7721957: Pulling fs layer 22:26:22 370296b7ddb6: Pulling fs layer 22:26:22 7c6cee850709: Pulling fs layer 22:26:22 370296b7ddb6: Waiting 22:26:22 39a5fcdaea64: Pulling fs layer 22:26:22 d94ebbe4e438: Pulling fs layer 22:26:22 7c6cee850709: Waiting 22:26:22 bcfd1f05c69d: Pulling fs layer 22:26:22 59ccb84bbe0f: Pulling fs layer 22:26:22 39a5fcdaea64: Waiting 22:26:22 bcfd1f05c69d: Waiting 22:26:22 59ccb84bbe0f: Waiting 22:26:22 d94ebbe4e438: Waiting 22:26:22 30c4a7721957: Verifying Checksum 22:26:22 30c4a7721957: Download complete 22:26:22 ea60b727a1ce: Download complete 22:26:22 7c6cee850709: Verifying Checksum 22:26:22 7c6cee850709: Download complete 22:26:22 39a5fcdaea64: Verifying Checksum 22:26:22 2408cc74d12b: Verifying Checksum 22:26:22 2408cc74d12b: Download complete 22:26:22 d94ebbe4e438: Download complete 22:26:22 2408cc74d12b: Pull complete 22:26:22 ea60b727a1ce: Pull complete 22:26:22 30c4a7721957: Pull complete 22:26:23 370296b7ddb6: Verifying Checksum 22:26:23 370296b7ddb6: Download complete 22:26:23 59ccb84bbe0f: Verifying Checksum 22:26:23 59ccb84bbe0f: Download complete 22:26:23 bcfd1f05c69d: Verifying Checksum 22:26:23 bcfd1f05c69d: Download complete 22:26:27 370296b7ddb6: Pull complete 22:26:27 7c6cee850709: Pull complete 22:26:27 39a5fcdaea64: Pull complete 22:26:27 d94ebbe4e438: Pull complete 22:26:30 bcfd1f05c69d: Pull complete 22:26:30 59ccb84bbe0f: Pull complete 22:26:30 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:26:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:26:30 ---> a4fb48ad2a94 22:26:30 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:26:32 ---> Running in 61680bf96866 22:26:32 Removing intermediate container 61680bf96866 22:26:32 ---> 140db1bc0c6a 22:26:32 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 22:26:32 ---> Running in 435187da8199 22:26:32 Removing intermediate container 435187da8199 22:26:32 ---> 66996123af58 22:26:32 Step 5/14 : ARG ADD_BUILD_TAGS="" 22:26:32 ---> Running in 62f1b72b70ad 22:26:32 Removing intermediate container 62f1b72b70ad 22:26:32 ---> b5e05f34b1b4 22:26:32 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:26:32 ---> Running in 41dab685a780 22:26:32 Removing intermediate container 41dab685a780 22:26:32 ---> 7bdc2d8d3931 22:26:32 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:26:32 ---> Running in 7546a37c1747 22:26:33 Removing intermediate container 7546a37c1747 22:26:33 ---> c9ccc23a15e7 22:26:33 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:33 ---> Running in 4a9646fc1fd7 22:26:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:26:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:26:34 OK: 211 MiB in 51 packages 22:26:35 Still waiting to schedule task 22:26:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-479’ is offline 22:26:35 Removing intermediate container 4a9646fc1fd7 22:26:35 ---> 778fb5f0eac5 22:26:35 Step 9/14 : WORKDIR /app 22:26:35 ---> Running in 264b6c38118d 22:26:35 Removing intermediate container 264b6c38118d 22:26:35 ---> aa9e1750bb5e 22:26:35 Step 10/14 : COPY go.mod vendor* ./ 22:26:35 ---> 35a298d4a875 22:26:35 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:35 ---> Running in fc6f06c8194c 22:26:50 Removing intermediate container fc6f06c8194c 22:26:50 ---> 135bc2f49cd8 22:26:50 Step 12/14 : COPY . . 22:26:50 ---> 19f3a379a3fe 22:26:50 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:50 ---> Running in 1e8e4aaa529c 22:26:51 Removing intermediate container 1e8e4aaa529c 22:26:51 ---> f00ebf8b3836 22:26:51 Step 14/14 : RUN $MAKE 22:26:51 ---> Running in 4646259ae3b1 22:26:51 noop 22:26:51 Removing intermediate container 4646259ae3b1 22:26:51 ---> f4c4affb018e 22:26:51 Successfully built f4c4affb018e 22:26:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:52 + docker inspect -f . ci-base-image-x86_64 22:26:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:52 prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container 22:26:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:26:52 $ docker top 2529e17bdcdebe47e2db41555d4343d379ab059e6f5c2f589f746339161dab38 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:52 + go version 22:26:52 go version go1.18.3 linux/amd64 [Pipeline] } 22:26:53 $ docker stop --time=1 2529e17bdcdebe47e2db41555d4343d379ab059e6f5c2f589f746339161dab38 22:26:54 $ docker rm -f 2529e17bdcdebe47e2db41555d4343d379ab059e6f5c2f589f746339161dab38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:54 + docker inspect -f . ci-base-image-x86_64 22:26:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:55 prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container 22:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:26:55 $ docker top e317b03498c7c5eaf49667bd6c858ab3ad93211fd4727c27a983a6516fffbec2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:55 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] fileExists [Pipeline] sh 22:26:56 + make test 22:26:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:27:08 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:27:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.027s coverage: 86.2% of statements 22:27:08 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:27:09 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.555s coverage: 71.9% of statements 22:27:18 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." 22:27:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:27:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:22 ./bin/test-attribution.sh 22:27:22 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:27:22 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:27:22 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:27:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:22 $ docker stop --time=1 e317b03498c7c5eaf49667bd6c858ab3ad93211fd4727c27a983a6516fffbec2 22:27:24 $ docker rm -f e317b03498c7c5eaf49667bd6c858ab3ad93211fd4727c27a983a6516fffbec2 [Pipeline] // withDockerContainer [Pipeline] sh 22:27:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:25 + ls -al . 22:27:25 total 232 22:27:25 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 22:26 . 22:27:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:25 .. 22:27:25 -rw-rw-r-- 1 jenkins jenkins 262 Sep 21 22:25 .dockerignore 22:27:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 22:27 .git 22:27:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:25 .github 22:27:25 -rw-rw-r-- 1 jenkins jenkins 788 Sep 21 22:25 .gitignore 22:27:25 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 22:25 .golangci.yml 22:27:25 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 22:26 .semver 22:27:25 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 21 22:25 Attribution.txt 22:27:25 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 21 22:25 CHANGELOG.md 22:27:25 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 21 22:25 Dockerfile 22:27:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 22:25 GOVERNANCE.md 22:27:25 -rw-rw-r-- 1 jenkins jenkins 687 Sep 21 22:25 Jenkinsfile 22:27:25 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 21 22:25 LICENSE 22:27:25 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 21 22:25 Makefile 22:27:25 -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 22:25 OWNERS.md 22:27:25 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 21 22:25 README.md 22:27:25 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 22:26 VERSION 22:27:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:25 bin 22:27:25 -rw-r--r-- 1 jenkins jenkins 41008 Sep 21 22:27 coverage.out 22:27:25 -rw-rw-r-- 1 jenkins jenkins 3677 Sep 21 22:25 go.mod 22:27:25 -rw-rw-r-- 1 jenkins jenkins 37565 Sep 21 22:25 go.sum 22:27:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:25 images 22:27:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:25 internal 22:27:25 -rw-rw-r-- 1 jenkins jenkins 531 Sep 21 22:25 main.go 22:27:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:25 res 22:27:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:25 snap 22:27:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:25 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:26 + 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=4c34f11e704d620f6173803248dedd1465f9bb0d --label arch=amd64 --label version=0.0.0 . 22:27:26 Sending build context to Docker daemon 12.47MB 22:27:26 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 22:27:26 Step 2/32 : FROM ${BASE} AS builder 22:27:26 ---> f4c4affb018e 22:27:26 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:27:26 ---> Running in 019cf66b8ecc 22:27:26 Removing intermediate container 019cf66b8ecc 22:27:26 ---> 994dcc1b1387 22:27:26 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 22:27:26 ---> Running in 819312ce5f50 22:27:26 Removing intermediate container 819312ce5f50 22:27:26 ---> 98212925b249 22:27:26 Step 5/32 : ARG ADD_BUILD_TAGS="" 22:27:26 ---> Running in 9b8aa94f5260 22:27:26 Removing intermediate container 9b8aa94f5260 22:27:26 ---> d35ea752b0c8 22:27:26 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:27:26 ---> Running in 8e434ca04d73 22:27:26 Removing intermediate container 8e434ca04d73 22:27:26 ---> c6fc129074ea 22:27:26 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:27:26 ---> Running in d481ac5b4314 22:27:27 Removing intermediate container d481ac5b4314 22:27:27 ---> de6f4b10528e 22:27:27 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:27:27 ---> Running in 2bc107b2e17c 22:27:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:27:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:27:28 OK: 211 MiB in 51 packages 22:27:29 Removing intermediate container 2bc107b2e17c 22:27:29 ---> 798a78c94119 22:27:29 Step 9/32 : WORKDIR /app 22:27:29 ---> Running in cdee2ab85b93 22:27:29 Removing intermediate container cdee2ab85b93 22:27:29 ---> c76923c3b0ce 22:27:29 Step 10/32 : COPY go.mod vendor* ./ 22:27:29 ---> 3bc3f8b97487 22:27:29 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:29 ---> Running in e93df4dec3bf 22:27:30 Removing intermediate container e93df4dec3bf 22:27:30 ---> 0f3c7c444e0a 22:27:30 Step 12/32 : COPY . . 22:27:30 ---> ca12d4d1084d 22:27:30 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:27:30 ---> Running in ff50a8b087b4 22:27:30 Removing intermediate container ff50a8b087b4 22:27:30 ---> dc79da2aab8a 22:27:30 Step 14/32 : RUN $MAKE 22:27:30 ---> Running in f251ca3ce4be 22:27:30 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.30 -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 22:27:52 Removing intermediate container f251ca3ce4be 22:27:52 ---> e5c950bfbb24 22:27:52 Step 15/32 : FROM alpine:3.14 22:27:52 3.14: Pulling from library/alpine 22:27:52 c7ed990a2339: Pulling fs layer 22:27:52 c7ed990a2339: Download complete 22:27:52 c7ed990a2339: Pull complete 22:27:52 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:27:52 Status: Downloaded newer image for alpine:3.14 22:27:52 ---> dd53f409bf0b 22:27:52 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:27:52 ---> Running in a0fc60a3934f 22:27:52 Removing intermediate container a0fc60a3934f 22:27:52 ---> e1610369503f 22:27:52 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:27:52 ---> Running in 9da6d7951815 22:27:52 Removing intermediate container 9da6d7951815 22:27:52 ---> d4130252e987 22:27:52 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:27:52 ---> Running in 59e84bf66c7d 22:27:52 Removing intermediate container 59e84bf66c7d 22:27:52 ---> 740cd8acfa74 22:27:52 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:27:52 ---> Running in f12a55cf65e4 22:27:52 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:27:53 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:27:53 (1/7) Installing ca-certificates (20220614-r0) 22:27:53 (2/7) Installing dumb-init (1.2.5-r1) 22:27:53 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:27:54 (4/7) Installing libsodium (1.0.18-r0) 22:27:54 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:27:54 (6/7) Installing libzmq (4.3.4-r0) 22:27:54 (7/7) Installing zeromq (4.3.4-r0) 22:27:54 Executing busybox-1.33.1-r8.trigger 22:27:54 Executing ca-certificates-20220614-r0.trigger 22:27:54 OK: 9 MiB in 21 packages 22:27:55 Removing intermediate container f12a55cf65e4 22:27:55 ---> d4b6e326ef7f 22:27:55 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:27:55 ---> 3155139b4952 22:27:55 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 22:27:55 ---> 83707e2d7b84 22:27:55 Step 22/32 : COPY --from=builder /app/res/ /res/ 22:27:55 ---> 88db77c465bd 22:27:55 Step 23/32 : COPY --from=builder /app/static/ /static/ 22:27:55 ---> b09b315f4a71 22:27:55 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:27:56 ---> a72b5bc9c186 22:27:56 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:27:56 ---> Running in 67173f794816 22:27:56 Removing intermediate container 67173f794816 22:27:56 ---> 40811a2cd4a9 22:27:56 Step 26/32 : VOLUME /cache 22:27:56 ---> Running in 65ee2690c5da 22:27:56 Removing intermediate container 65ee2690c5da 22:27:56 ---> b18d0c709a36 22:27:56 Step 27/32 : EXPOSE 59711 22:27:57 ---> Running in 0d53e2ab1851 22:27:57 Removing intermediate container 0d53e2ab1851 22:27:57 ---> 4c624df28c4f 22:27:57 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:27:57 ---> Running in 8e272f69c875 22:27:57 Removing intermediate container 8e272f69c875 22:27:57 ---> 7059b9661a10 22:27:57 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:27:57 ---> Running in ee5c228470ce 22:27:57 Removing intermediate container ee5c228470ce 22:27:57 ---> 1cf71e910bb2 22:27:57 Step 30/32 : LABEL arch=amd64 22:27:57 ---> Running in 54d715668b74 22:27:57 Removing intermediate container 54d715668b74 22:27:57 ---> 8877fc0cd3b7 22:27:57 Step 31/32 : LABEL git_sha=4c34f11e704d620f6173803248dedd1465f9bb0d 22:27:57 ---> Running in 965cae41ea19 22:27:57 Removing intermediate container 965cae41ea19 22:27:57 ---> 436e7b437c8b 22:27:57 Step 32/32 : LABEL version=0.0.0 22:27:57 ---> Running in 4b0306a55b04 22:27:57 Removing intermediate container 4b0306a55b04 22:27:57 ---> 56b11a5b487e 22:27:57 [Warning] One or more build-args [ARCH] were not consumed 22:27:57 Successfully built 56b11a5b487e 22:27:57 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 22:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:58 22:27:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:59 latest: Pulling from edgex-lftools-log-publisher 22:27:59 5eb5b503b376: Pulling fs layer 22:27:59 5c69ac0246d0: Pulling fs layer 22:27:59 ec43610c2a17: Pulling fs layer 22:27:59 3a2ae6a8a46f: Pulling fs layer 22:27:59 33b1e0a273af: Pulling fs layer 22:27:59 5d3b04190fa2: Pulling fs layer 22:27:59 2f39f015ded8: Pulling fs layer 22:27:59 3a2ae6a8a46f: Waiting 22:27:59 33b1e0a273af: Waiting 22:27:59 5d3b04190fa2: Waiting 22:27:59 5c69ac0246d0: Verifying Checksum 22:27:59 5c69ac0246d0: Download complete 22:27:59 3a2ae6a8a46f: Download complete 22:27:59 33b1e0a273af: Verifying Checksum 22:27:59 33b1e0a273af: Download complete 22:27:59 5d3b04190fa2: Verifying Checksum 22:27:59 5d3b04190fa2: Download complete 22:27:59 ec43610c2a17: Verifying Checksum 22:27:59 ec43610c2a17: Download complete 22:27:59 5eb5b503b376: Verifying Checksum 22:27:59 5eb5b503b376: Download complete 22:27:59 2f39f015ded8: Verifying Checksum 22:27:59 2f39f015ded8: Download complete 22:28:00 5eb5b503b376: Pull complete 22:28:00 5c69ac0246d0: Pull complete 22:28:01 ec43610c2a17: Pull complete 22:28:01 3a2ae6a8a46f: Pull complete 22:28:01 33b1e0a273af: Pull complete 22:28:01 5d3b04190fa2: Pull complete 22:28:05 2f39f015ded8: Pull complete 22:28:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:05 prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container 22:28:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:28:07 $ docker top 0ec6b6f24210b7c93c24d9df263c4d597bdf9fc7c23c4243c37c5bb0ea12d777 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:08 ---> job-cost.sh 22:28:08 lf-activate-venv: SKIPPING 22:28:08 INFO: No Stack... 22:28:08 INFO: Retrieving Pricing Info for: v3-standard-8 22:28:09 INFO: Archiving Costs [Pipeline] sh 22:28:09 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/cost.csv 22:28:09 + cut -d, -f6 [Pipeline] lock 22:28:09 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] 22:28:09 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] did not exist. Created. 22:28:09 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:09 + echo total: 0.2199999988079071 [Pipeline] stash 22:28:09 Stashed 1 file(s) [Pipeline] } 22:28:09 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:09 $ docker stop --time=1 0ec6b6f24210b7c93c24d9df263c4d597bdf9fc7c23c4243c37c5bb0ea12d777 22:28:11 $ docker rm -f 0ec6b6f24210b7c93c24d9df263c4d597bdf9fc7c23c4243c37c5bb0ea12d777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:28:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-485 in /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] { [Pipeline] ws 22:28:42 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 22:28:42 The recommended git tool is: git 22:28:47 using credential edgex-jenkins-ssh 22:28:47 Cloning the remote Git repository 22:28:47 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:28:47 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 22:28:48 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:28:48 > git --version # timeout=10 22:28:48 > git --version # 'git version 2.25.1' 22:28:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:48 Verifying host key using known hosts file 22:28:48 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. 22:28:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:50 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:28:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:51 Merging remotes/origin/main commit 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea into PR head commit 4c34f11e704d620f6173803248dedd1465f9bb0d 22:28:52 Merge succeeded, producing 4c34f11e704d620f6173803248dedd1465f9bb0d 22:28:52 Checking out Revision 4c34f11e704d620f6173803248dedd1465f9bb0d (PR-109) 22:28:52 Commit message: "build: Add option to build Service with NATS Capability" 22:28:51 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:28:51 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:28:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:51 Verifying host key using known hosts file 22:28:51 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. 22:28:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:28:51 > git config core.sparsecheckout # timeout=10 22:28:51 > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 22:28:52 > git remote # timeout=10 22:28:52 > git config --get remote.origin.url # timeout=10 22:28:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:52 Verifying host key using known hosts file 22:28:52 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. 22:28:52 > git merge 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea # timeout=10 22:28:52 > git rev-parse HEAD^{commit} # timeout=10 22:28:52 > git config core.sparsecheckout # timeout=10 22:28:52 > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 22:28:52 > git --version # timeout=10 22:28:52 > git --version # 'git version 2.25.1' 22:28:52 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:28:53 % Total % Received % Xferd Average Speed Time Time Time Current 22:28:53 Dload Upload Total Spent Left Speed 22:28:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 22:28:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:28:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:28:54 + sudo tee /etc/docker/daemon.new 22:28:54 { 22:28:54 "registry-mirrors": [ 22:28:54 "https://nexus3.edgexfoundry.org:10001" 22:28:54 ], 22:28:54 "bip": "10.250.0.254/24", 22:28:54 "hosts": [ 22:28:54 "tcp://0.0.0.0:5555", 22:28:54 "unix:///var/run/docker.sock" 22:28:54 ], 22:28:54 "mtu": 1458, 22:28:54 "selinux-enabled": true, 22:28:54 "seccomp-profile": "/etc/docker/seccomp.json" 22:28:54 } [Pipeline] sh 22:28:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:28:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:13 provisioning config files... 22:29:13 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config1550061357281319998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:14 ---> docker-login.sh 22:29:14 nexus3.edgexfoundry.org:10001 22:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:14 Configure a credential helper to remove this warning. See 22:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:14 22:29:14 Login Succeeded 22:29:14 nexus3.edgexfoundry.org:10002 22:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:15 Configure a credential helper to remove this warning. See 22:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:15 22:29:15 Login Succeeded 22:29:15 nexus3.edgexfoundry.org:10003 22:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:15 Configure a credential helper to remove this warning. See 22:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:15 22:29:15 Login Succeeded 22:29:15 nexus3.edgexfoundry.org:10004 22:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:15 Configure a credential helper to remove this warning. See 22:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:15 22:29:15 Login Succeeded 22:29:15 docker.io 22:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:16 Configure a credential helper to remove this warning. See 22:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:16 22:29:16 Login Succeeded 22:29:16 ---> docker-login.sh ends [Pipeline] } 22:29:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:29:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:16 ========================================================= 22:29:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:29:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:17 + 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 . 22:29:17 Sending build context to Docker daemon 683kB 22:29:17 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 22:29:17 Step 2/14 : FROM ${BASE} AS builder 22:29:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:29:17 b3c136eddcbf: Pulling fs layer 22:29:17 c0a3192eca97: Pulling fs layer 22:29:17 a050256f5b6f: Pulling fs layer 22:29:17 656be50a0ddc: Pulling fs layer 22:29:17 2bbca73fdf42: Pulling fs layer 22:29:17 46d945488cbd: Pulling fs layer 22:29:17 8a5474983e97: Pulling fs layer 22:29:17 329c88fbcd65: Pulling fs layer 22:29:17 656be50a0ddc: Waiting 22:29:17 2bbca73fdf42: Waiting 22:29:17 46d945488cbd: Waiting 22:29:17 8a5474983e97: Waiting 22:29:17 329c88fbcd65: Waiting 22:29:17 a050256f5b6f: Verifying Checksum 22:29:17 a050256f5b6f: Download complete 22:29:17 c0a3192eca97: Verifying Checksum 22:29:17 c0a3192eca97: Download complete 22:29:17 2bbca73fdf42: Verifying Checksum 22:29:17 2bbca73fdf42: Download complete 22:29:17 46d945488cbd: Verifying Checksum 22:29:17 46d945488cbd: Download complete 22:29:17 b3c136eddcbf: Verifying Checksum 22:29:18 b3c136eddcbf: Pull complete 22:29:18 329c88fbcd65: Verifying Checksum 22:29:18 329c88fbcd65: Download complete 22:29:19 c0a3192eca97: Pull complete 22:29:19 a050256f5b6f: Pull complete 22:29:20 8a5474983e97: Verifying Checksum 22:29:20 8a5474983e97: Download complete 22:29:20 656be50a0ddc: Verifying Checksum 22:29:20 656be50a0ddc: Download complete 22:29:33 656be50a0ddc: Pull complete 22:29:33 2bbca73fdf42: Pull complete 22:29:33 46d945488cbd: Pull complete 22:29:39 8a5474983e97: Pull complete 22:29:41 329c88fbcd65: Pull complete 22:29:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:29:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:29:41 ---> ff4287adb874 22:29:41 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:29:43 ---> Running in 5a6bd6b16a36 22:29:43 Removing intermediate container 5a6bd6b16a36 22:29:43 ---> d087340b1e25 22:29:43 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 22:29:43 ---> Running in b833749aa19a 22:29:43 Removing intermediate container b833749aa19a 22:29:43 ---> ac6271adcdcc 22:29:43 Step 5/14 : ARG ADD_BUILD_TAGS="" 22:29:43 ---> Running in a51b48a9c15c 22:29:43 Removing intermediate container a51b48a9c15c 22:29:43 ---> 8cfdbb824abd 22:29:43 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:29:43 ---> Running in 9e731852d592 22:29:44 Removing intermediate container 9e731852d592 22:29:44 ---> 84ef62b82ddc 22:29:44 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:29:44 ---> Running in 8574f3e26bdb 22:29:46 Removing intermediate container 8574f3e26bdb 22:29:46 ---> 875149eb37ef 22:29:46 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:46 ---> Running in 9ab5ccad859b 22:29:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:29:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:29:48 OK: 221 MiB in 51 packages 22:29:49 Removing intermediate container 9ab5ccad859b 22:29:49 ---> 5194c700a83b 22:29:49 Step 9/14 : WORKDIR /app 22:29:49 ---> Running in eaf760e533bb 22:29:49 Removing intermediate container eaf760e533bb 22:29:49 ---> 9b948a08cfd9 22:29:49 Step 10/14 : COPY go.mod vendor* ./ 22:29:50 ---> 1da7d00d988f 22:29:50 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:50 ---> Running in be555e8b233c 22:30:37 Removing intermediate container be555e8b233c 22:30:37 ---> 1ac21534805d 22:30:37 Step 12/14 : COPY . . 22:30:37 ---> 82df10b662f4 22:30:37 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:30:37 ---> Running in ec686fdef2f3 22:30:37 Removing intermediate container ec686fdef2f3 22:30:37 ---> 02c6a6ff8a1c 22:30:37 Step 14/14 : RUN $MAKE 22:30:37 ---> Running in 3d5d7b240037 22:30:37 noop 22:30:37 Removing intermediate container 3d5d7b240037 22:30:37 ---> 831e304be9ac 22:30:37 Successfully built 831e304be9ac 22:30:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:37 + docker inspect -f . ci-base-image-arm64 22:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:37 prd-ubuntu20.04-docker-arm64-4c-16g-485 does not seem to be running inside a container 22:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:30:39 $ docker top d391a002a9269c782c1851f3df44c29e0eba5c2e8e40194cefdc6084b05096d5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:40 + go version 22:30:40 go version go1.18.3 linux/arm64 [Pipeline] } 22:30:40 $ docker stop --time=1 d391a002a9269c782c1851f3df44c29e0eba5c2e8e40194cefdc6084b05096d5 22:30:41 $ docker rm -f d391a002a9269c782c1851f3df44c29e0eba5c2e8e40194cefdc6084b05096d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:42 + docker inspect -f . ci-base-image-arm64 22:30:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:42 prd-ubuntu20.04-docker-arm64-4c-16g-485 does not seem to be running inside a container 22:30:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:30:43 $ docker top 8b5167bf450c7dbb1bf3eaf00326984f1903c43b4b910413c7b00c00f16c2b02 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:44 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 22:30:45 + make test 22:30:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:32:21 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:32:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.161s coverage: 86.2% of statements 22:32:21 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:32:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.731s coverage: 71.9% of statements 22:32:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:32:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:32:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:32:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:32:48 ./bin/test-attribution.sh 22:32:48 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:32:48 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:32:48 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:32:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:32:48 $ docker stop --time=1 8b5167bf450c7dbb1bf3eaf00326984f1903c43b4b910413c7b00c00f16c2b02 22:32:50 $ docker rm -f 8b5167bf450c7dbb1bf3eaf00326984f1903c43b4b910413c7b00c00f16c2b02 [Pipeline] // withDockerContainer [Pipeline] sh 22:32:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:32:51 Warning: overwriting stash ‘coverage-report’ 22:32:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:32:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:32:52 + ls -al . 22:32:52 total 228 22:32:52 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 22:30 . 22:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 .. 22:32:52 -rw-rw-r-- 1 jenkins jenkins 262 Sep 21 22:28 .dockerignore 22:32:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 22:28 .git 22:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:28 .github 22:32:52 -rw-rw-r-- 1 jenkins jenkins 788 Sep 21 22:28 .gitignore 22:32:52 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 22:28 .golangci.yml 22:32:52 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 21 22:28 Attribution.txt 22:32:52 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 21 22:28 CHANGELOG.md 22:32:52 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 21 22:28 Dockerfile 22:32:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 22:28 GOVERNANCE.md 22:32:52 -rw-rw-r-- 1 jenkins jenkins 687 Sep 21 22:28 Jenkinsfile 22:32:52 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 21 22:28 LICENSE 22:32:52 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 21 22:28 Makefile 22:32:52 -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 22:28 OWNERS.md 22:32:52 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 21 22:28 README.md 22:32:52 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 22:26 VERSION 22:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 bin 22:32:52 -rw-r--r-- 1 jenkins jenkins 41008 Sep 21 22:32 coverage.out 22:32:52 -rw-rw-r-- 1 jenkins jenkins 3677 Sep 21 22:28 go.mod 22:32:52 -rw-rw-r-- 1 jenkins jenkins 37565 Sep 21 22:28 go.sum 22:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 images 22:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 internal 22:32:52 -rw-rw-r-- 1 jenkins jenkins 531 Sep 21 22:28 main.go 22:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 res 22:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 snap 22:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:28 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:53 + 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=4c34f11e704d620f6173803248dedd1465f9bb0d --label arch=arm64 --label version=0.0.0 . 22:32:53 Sending build context to Docker daemon 683kB 22:32:53 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 22:32:53 Step 2/32 : FROM ${BASE} AS builder 22:32:53 ---> 831e304be9ac 22:32:53 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:32:53 ---> Running in 5d4490f3ebc1 22:32:53 Removing intermediate container 5d4490f3ebc1 22:32:53 ---> bb46ecfd0de0 22:32:53 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 22:32:54 ---> Running in 122ce706d3c4 22:32:54 Removing intermediate container 122ce706d3c4 22:32:54 ---> 823167514ec3 22:32:54 Step 5/32 : ARG ADD_BUILD_TAGS="" 22:32:54 ---> Running in efbf97a9b5fa 22:32:54 Removing intermediate container efbf97a9b5fa 22:32:54 ---> d15a1c6f79df 22:32:54 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:32:54 ---> Running in 0353a667becb 22:32:55 Removing intermediate container 0353a667becb 22:32:55 ---> 0e4b86af4123 22:32:55 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:32:55 ---> Running in c6abd410173d 22:32:56 Removing intermediate container c6abd410173d 22:32:56 ---> 8c92f472590a 22:32:56 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:56 ---> Running in f04873fe5d9e 22:32:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:32:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:32:59 OK: 221 MiB in 51 packages 22:33:00 Removing intermediate container f04873fe5d9e 22:33:00 ---> 3e1541005387 22:33:00 Step 9/32 : WORKDIR /app 22:33:00 ---> Running in b7bb5df49973 22:33:01 Removing intermediate container b7bb5df49973 22:33:01 ---> 9624f025f22f 22:33:01 Step 10/32 : COPY go.mod vendor* ./ 22:33:01 ---> 0298cc4e25d3 22:33:01 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:33:01 ---> Running in 565005a4a426 22:33:03 Removing intermediate container 565005a4a426 22:33:03 ---> e02e1fec6e2b 22:33:03 Step 12/32 : COPY . . 22:33:04 ---> d18da610b0d3 22:33:04 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:33:04 ---> Running in 49b1731f7081 22:33:06 Removing intermediate container 49b1731f7081 22:33:06 ---> 81573bfbb70d 22:33:06 Step 14/32 : RUN $MAKE 22:33:06 ---> Running in 6decdf2aec26 22:33:07 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.30 -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 22:35:43 Removing intermediate container 6decdf2aec26 22:35:43 ---> 5cfea50d8ba2 22:35:43 Step 15/32 : FROM alpine:3.14 22:35:43 3.14: Pulling from library/alpine 22:35:43 90cda3b7c325: Pulling fs layer 22:35:43 90cda3b7c325: Verifying Checksum 22:35:43 90cda3b7c325: Download complete 22:35:43 90cda3b7c325: Pull complete 22:35:43 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:35:43 Status: Downloaded newer image for alpine:3.14 22:35:43 ---> 376ba31ae3da 22:35:43 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:35:43 ---> Running in 86f21f0fe630 22:35:43 Removing intermediate container 86f21f0fe630 22:35:43 ---> 9060a5271fe6 22:35:43 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:35:43 ---> Running in fd012235ab8f 22:35:43 Removing intermediate container fd012235ab8f 22:35:43 ---> 1a5834660278 22:35:43 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:35:43 ---> Running in ea520d7b693a 22:35:43 Removing intermediate container ea520d7b693a 22:35:43 ---> 12a1d9eaf8ef 22:35:43 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:35:43 ---> Running in 08db1e9e63e8 22:35:43 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:35:44 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:35:45 (1/7) Installing ca-certificates (20220614-r0) 22:35:45 (2/7) Installing dumb-init (1.2.5-r1) 22:35:45 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:35:45 (4/7) Installing libsodium (1.0.18-r0) 22:35:45 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:35:45 (6/7) Installing libzmq (4.3.4-r0) 22:35:45 (7/7) Installing zeromq (4.3.4-r0) 22:35:45 Executing busybox-1.33.1-r8.trigger 22:35:45 Executing ca-certificates-20220614-r0.trigger 22:35:45 OK: 9 MiB in 21 packages 22:35:47 Removing intermediate container 08db1e9e63e8 22:35:47 ---> 69c09c591986 22:35:47 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:35:47 ---> 381835085bec 22:35:47 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 22:35:48 ---> c5d0e5e6a9b2 22:35:48 Step 22/32 : COPY --from=builder /app/res/ /res/ 22:35:48 ---> a226858ff98b 22:35:48 Step 23/32 : COPY --from=builder /app/static/ /static/ 22:35:49 ---> aae0c6039549 22:35:49 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:35:50 ---> a0d18ab325dd 22:35:50 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:35:50 ---> Running in a3e751e7e13f 22:35:52 Removing intermediate container a3e751e7e13f 22:35:52 ---> c6ba7f12f69b 22:35:52 Step 26/32 : VOLUME /cache 22:35:52 ---> Running in 30d965ee5f59 22:35:52 Removing intermediate container 30d965ee5f59 22:35:52 ---> f6f4e4741c3d 22:35:52 Step 27/32 : EXPOSE 59711 22:35:52 ---> Running in 5ca897cd3e82 22:35:52 Removing intermediate container 5ca897cd3e82 22:35:52 ---> b4eb749cdfc5 22:35:52 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:35:53 ---> Running in 3a33c25ae0f5 22:35:53 Removing intermediate container 3a33c25ae0f5 22:35:53 ---> 902bdcec6761 22:35:53 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:35:53 ---> Running in 3b0d75d10588 22:35:53 Removing intermediate container 3b0d75d10588 22:35:53 ---> 972d0149a144 22:35:53 Step 30/32 : LABEL arch=arm64 22:35:53 ---> Running in 43a8b416a8a0 22:35:53 Removing intermediate container 43a8b416a8a0 22:35:53 ---> fa02ab897c78 22:35:53 Step 31/32 : LABEL git_sha=4c34f11e704d620f6173803248dedd1465f9bb0d 22:35:54 ---> Running in 0affac6447bb 22:35:54 Removing intermediate container 0affac6447bb 22:35:54 ---> c1aeb35066d9 22:35:54 Step 32/32 : LABEL version=0.0.0 22:35:54 ---> Running in 0127dc708f84 22:35:54 Removing intermediate container 0127dc708f84 22:35:54 ---> a20eab23f2c8 22:35:54 [Warning] One or more build-args [ARCH] were not consumed 22:35:54 Successfully built a20eab23f2c8 22:35:54 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 22:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:35:55 22:35:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:35:56 arm64: Pulling from edgex-lftools-log-publisher 22:35:56 8998bd30e6a1: Pulling fs layer 22:35:56 04944245beec: Pulling fs layer 22:35:56 699f458cf7ca: Pulling fs layer 22:35:56 765212b225bb: Pulling fs layer 22:35:56 f23df028b6ca: Pulling fs layer 22:35:56 d65c8cfc05b1: Pulling fs layer 22:35:56 2437ff75d9bd: Pulling fs layer 22:35:56 765212b225bb: Waiting 22:35:56 f23df028b6ca: Waiting 22:35:56 d65c8cfc05b1: Waiting 22:35:56 2437ff75d9bd: Waiting 22:35:56 04944245beec: Verifying Checksum 22:35:56 04944245beec: Download complete 22:35:56 765212b225bb: Download complete 22:35:56 f23df028b6ca: Verifying Checksum 22:35:56 f23df028b6ca: Download complete 22:35:56 d65c8cfc05b1: Download complete 22:35:56 699f458cf7ca: Verifying Checksum 22:35:56 699f458cf7ca: Download complete 22:35:57 8998bd30e6a1: Verifying Checksum 22:35:57 8998bd30e6a1: Download complete 22:35:58 2437ff75d9bd: Verifying Checksum 22:35:58 2437ff75d9bd: Download complete 22:36:01 8998bd30e6a1: Pull complete 22:36:01 04944245beec: Pull complete 22:36:02 699f458cf7ca: Pull complete 22:36:03 765212b225bb: Pull complete 22:36:03 f23df028b6ca: Pull complete 22:36:04 d65c8cfc05b1: Pull complete 22:36:19 2437ff75d9bd: Pull complete 22:36:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:36:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:19 prd-ubuntu20.04-docker-arm64-4c-16g-485 does not seem to be running inside a container 22:36:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:36:22 $ docker top f3dbbbeb7b8a7df5690e8156e257ecf8de7d240ed7d29cb791cb04f9d1e0d804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:36:23 ---> job-cost.sh 22:36:23 lf-activate-venv: SKIPPING 22:36:23 INFO: No Stack... 22:36:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:36:25 INFO: Archiving Costs [Pipeline] sh 22:36:25 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 22:36:25 + cut -d, -f6 [Pipeline] lock 22:36:25 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] 22:36:25 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] did not exist. Created. 22:36:25 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:36:26 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-1feb6cc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:36:27 + echo total: 0.10999999940395355 [Pipeline] stash 22:36:27 Warning: overwriting stash ‘stack-cost’ 22:36:27 Stashed 1 file(s) [Pipeline] } 22:36:27 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:36:27 $ docker stop --time=1 f3dbbbeb7b8a7df5690e8156e257ecf8de7d240ed7d29cb791cb04f9d1e0d804 22:36:28 $ docker rm -f f3dbbbeb7b8a7df5690e8156e257ecf8de7d240ed7d29cb791cb04f9d1e0d804 [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 22:36:29 provisioning config files... 22:36:29 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config4717137380771624077tmp [Pipeline] { [Pipeline] sh 22:36:30 + set +x 22:36:30 + curl -s https://codecov.io/bash 22:36:30 + bash -s -- 22:36:30 22:36:30 _____ _ 22:36:30 / ____| | | 22:36:30 | | ___ __| | ___ ___ _____ __ 22:36:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:36:30 | |___| (_) | (_| | __/ (_| (_) \ V / 22:36:30 \_____\___/ \__,_|\___|\___\___/ \_/ 22:36:30 Bash-1.0.6 22:36:30 22:36:30 22:36:30 ==> git version 2.25.1 found 22:36:30 ==> 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 22:36:30 Release-Date: 2020-01-08 22:36:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:36:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:36:30 ==> Jenkins CI detected. 22:36:30 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-109 22:36:30 project root: . 22:36:30 --> token set from env 22:36:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:36:30 ==> Running gcov in . (disable via -X gcov) 22:36:30 ==> Python coveragepy not found 22:36:30 ==> Searching for coverage reports in: 22:36:30 + . 22:36:30 -> Found 1 reports 22:36:30 ==> Detecting git/mercurial file structure 22:36:30 ==> Reading reports 22:36:30 + ./coverage.out bytes=41008 22:36:30 ==> Appending adjustments 22:36:30 https://docs.codecov.io/docs/fixing-reports 22:36:30 + Found adjustments 22:36:30 ==> Gzipping contents 22:36:30 12K /tmp/codecov.5JfMj6.gz 22:36:30 ==> Uploading reports 22:36:30 url: https://codecov.io 22:36:30 query: branch=PR-109&commit=4c34f11e704d620f6173803248dedd1465f9bb0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=109&job=&cmd_args= 22:36:30 -> Pinging Codecov 22:36:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-109&commit=4c34f11e704d620f6173803248dedd1465f9bb0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=109&job=&cmd_args= 22:36:30 -> Uploading to 22:36:30 https://storage.googleapis.com/codecov/v4/raw/2022-09-21/581DD39554BDF9B6E22D074273EAD858/4c34f11e704d620f6173803248dedd1465f9bb0d/ceebc743-4fdf-4524-8a4b-079118fc789c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T223630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d22647cf10cafd03e9b3f155bede678d25554f376f302c9aea357c1f79cddedb 22:36:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:36:30 Dload Upload Total Spent Left Speed 22:36:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11466 0 0 100 11466 0 44100 --:--:-- --:--:-- --:--:-- 44100 22:36:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] } 22:36:31 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 22:36:32 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives ] 22:36:32 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives 22:36:32 total 16 22:36:32 drwxr-xr-x 3 root root 4096 Sep 21 22:28 . 22:36:32 drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 22:28 .. 22:36:32 drwxr-xr-x 2 root root 4096 Sep 21 22:28 cost 22:36:32 -rw-r--r-- 1 root root 95 Sep 21 22:28 cost.csv 22:36:32 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives 22:36:32 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives 22:36:32 total 16 22:36:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 22:28 . 22:36:32 drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 22:28 .. 22:36:32 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 22:28 cost 22:36:32 -rw-r--r-- 1 jenkins jenkins 95 Sep 21 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:36:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:36:34 ---> package-listing.sh 22:36:34 ++ facter osfamily 22:36:34 ++ tr '[:upper:]' '[:lower:]' 22:36:34 + OS_FAMILY=debian 22:36:34 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-109 22:36:34 + START_PACKAGES=/tmp/packages_start.txt 22:36:34 + END_PACKAGES=/tmp/packages_end.txt 22:36:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:36:34 + PACKAGES=/tmp/packages_start.txt 22:36:34 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-109 ']' 22:36:34 + PACKAGES=/tmp/packages_end.txt 22:36:34 + case "${OS_FAMILY}" in 22:36:34 + dpkg -l 22:36:34 + grep '^ii' 22:36:34 + '[' -f /tmp/packages_start.txt ']' 22:36:34 + '[' -f /tmp/packages_end.txt ']' 22:36:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:36:34 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-109 ']' 22:36:34 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/ 22:36:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/ [Pipeline] echo 22:36:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:36:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:36:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:35 prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container 22:36:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:36:35 $ docker top 06581406a6332563c41558bc58da1d1f69b2aa40cb12474a060b26d0326305c4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:36 + touch /tmp/pre-build-complete [Pipeline] sh 22:36:36 + mkdir -p /var/log/sysstat [Pipeline] sh 22:36:36 + ls /var/log/sa-host 22:36:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:36:36 provisioning config files... 22:36:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config9875229546388787699tmp [Pipeline] { [Pipeline] echo 22:36:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:36:37 ---> create-netrc.sh [Pipeline] } 22:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:36:37 ---> python-tools-install.sh [Pipeline] echo 22:36:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:36:38 ---> sudo-logs.sh 22:36:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:36:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:36:38 ---> job-cost.sh 22:36:38 lf-activate-venv: SKIPPING 22:36:38 DEBUG: total: 0.2199999988079071 22:36:38 INFO: Retrieving Stack Cost... 22:36:38 INFO: Retrieving Pricing Info for: v3-standard-8 22:36:39 INFO: Archiving Costs [Pipeline] echo 22:36:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:36:39 ---> logs-deploy.sh 22:36:39 lf-activate-venv: SKIPPING 22:36:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-109/1 22:36:39 INFO: archiving workspace using pattern(s): 22:36:40 Archives upload complete. 22:36:41 INFO: archiving logs to Nexus