Pull request #111 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from ec377d567a96a4504a5be0f8eb71a954519867de+d157eb815d7fbd973ad52ac1343ba67c62e80469 (27ea5f3d57d8ec7d4ad4180f4eaf82368b134c9d) 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-ssh12397394285086337398.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-ssh4715676196127006300.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-111/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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13440058874458922526.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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10113112084196216084.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-ssh9363351142956314348.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-111/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-111/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12568384123965649363.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 Running on prd-ubuntu20.04-docker-8c-8g-641 in /w/workspace/y_app-rfid-llrp-inventory_PR-111 [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-111 # 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 Merging remotes/origin/main commit d157eb815d7fbd973ad52ac1343ba67c62e80469 into PR head commit ec377d567a96a4504a5be0f8eb71a954519867de Merge succeeded, producing ec377d567a96a4504a5be0f8eb71a954519867de Checking out Revision ec377d567a96a4504a5be0f8eb71a954519867de (PR-111) > 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/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec377d567a96a4504a5be0f8eb71a954519867de # 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 d157eb815d7fbd973ad52ac1343ba67c62e80469 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec377d567a96a4504a5be0f8eb71a954519867de # timeout=10 Commit message: "refactor: Adjust NATS Subject to be for all data not just Events" 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 20:12:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:12:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:12:56 ========================================================= 20:12:56 EdgeX Global Pipelines Version Info 20:12:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:12:57 ------------------- 20:12:57 stable info: 20:12:57 ------------------- 20:12:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:12:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:12:57 Message: update stable to v1.0.239 20:12:57 ------------------- 20:12:57 experimental info: 20:12:57 ------------------- 20:12:57 Commited By: **** collab-it+edgex@linuxfoundation.org 20:12:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:12:57 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:12:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:12:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:12:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-111 [Pipeline] echo 20:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-111 [Pipeline] echo 20:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-111 [Pipeline] echo 20:12:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec377d567a96a4504a5be0f8eb71a954519867de [Pipeline] echo 20:12:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec377d5 [Pipeline] echo 20:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:59 provisioning config files... 20:12:59 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/config12791246795810280458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:59 ---> docker-login.sh 20:12:59 nexus3.edgexfoundry.org:10001 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 nexus3.edgexfoundry.org:10002 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 nexus3.edgexfoundry.org:10003 20:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:00 Configure a credential helper to remove this warning. See 20:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:00 20:13:00 Login Succeeded 20:13:00 nexus3.edgexfoundry.org:10004 20:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:00 Configure a credential helper to remove this warning. See 20:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:00 20:13:00 Login Succeeded 20:13:00 docker.io 20:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:00 Configure a credential helper to remove this warning. See 20:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:00 20:13:00 Login Succeeded 20:13:00 ---> docker-login.sh ends [Pipeline] } 20:13:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:13:01 + git rev-list -1 --merges ec377d567a96a4504a5be0f8eb71a954519867de~1..ec377d567a96a4504a5be0f8eb71a954519867de [Pipeline] echo 20:13:01 -----------> git rev-list -1 --merges ec377d567a96a4504a5be0f8eb71a954519867de~1..ec377d567a96a4504a5be0f8eb71a954519867de ec377d567a96a4504a5be0f8eb71a954519867de [false] [Pipeline] sh 20:13:01 + git log --format=format:%s -1 ec377d567a96a4504a5be0f8eb71a954519867de [Pipeline] echo 20:13:01 ========================================================= 20:13:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:13:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:02 + git log --format=format:%s -1 ec377d567a96a4504a5be0f8eb71a954519867de [Pipeline] echo 20:13:02 [semverPrep] GIT_COMMIT: ec377d567a96a4504a5be0f8eb71a954519867de, Commit Message: refactor: Adjust NATS Subject to be for all data not just Events [Pipeline] echo 20:13:02 [semverPrep] This is not a build commit. [Pipeline] sh 20:13:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:13:02 + grep -v github /etc/ssh/ssh_known_hosts 20:13:02 + [ -e /tmp/ssh_known_hosts ] 20:13:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:13:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:13:02 + sudo tee -a /etc/ssh/ssh_known_hosts 20:13:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:03 20:13:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:03 0.1.4: Pulling from edgex-devops/py-git-semver 20:13:03 b85a868b505f: Pulling fs layer 20:13:03 e2be974225ed: Pulling fs layer 20:13:03 339a4e72a1f5: Pulling fs layer 20:13:03 988bab9f4d93: Pulling fs layer 20:13:03 1469e6f7b9e6: Pulling fs layer 20:13:03 988bab9f4d93: Waiting 20:13:03 1469e6f7b9e6: Waiting 20:13:03 eaf3925da568: Pulling fs layer 20:13:03 bab4dde63d76: Pulling fs layer 20:13:03 bde34c3a00c8: Pulling fs layer 20:13:03 eaf3925da568: Waiting 20:13:03 bab4dde63d76: Waiting 20:13:03 b352a97aabf1: Pulling fs layer 20:13:03 bde34c3a00c8: Waiting 20:13:03 4872d77fe225: Pulling fs layer 20:13:03 5851b861e8e6: Pulling fs layer 20:13:03 b352a97aabf1: Waiting 20:13:03 4872d77fe225: Waiting 20:13:03 5851b861e8e6: Waiting 20:13:03 e2be974225ed: Verifying Checksum 20:13:03 e2be974225ed: Download complete 20:13:03 988bab9f4d93: Download complete 20:13:03 1469e6f7b9e6: Verifying Checksum 20:13:03 1469e6f7b9e6: Download complete 20:13:03 eaf3925da568: Verifying Checksum 20:13:03 eaf3925da568: Download complete 20:13:03 339a4e72a1f5: Verifying Checksum 20:13:03 339a4e72a1f5: Download complete 20:13:03 bde34c3a00c8: Verifying Checksum 20:13:03 bde34c3a00c8: Download complete 20:13:03 b352a97aabf1: Verifying Checksum 20:13:03 b352a97aabf1: Download complete 20:13:03 4872d77fe225: Download complete 20:13:03 5851b861e8e6: Download complete 20:13:03 b85a868b505f: Verifying Checksum 20:13:03 b85a868b505f: Download complete 20:13:03 bab4dde63d76: Verifying Checksum 20:13:03 bab4dde63d76: Download complete 20:13:05 b85a868b505f: Pull complete 20:13:05 e2be974225ed: Pull complete 20:13:05 339a4e72a1f5: Pull complete 20:13:05 988bab9f4d93: Pull complete 20:13:05 1469e6f7b9e6: Pull complete 20:13:06 eaf3925da568: Pull complete 20:13:07 bab4dde63d76: Pull complete 20:13:07 bde34c3a00c8: Pull complete 20:13:07 b352a97aabf1: Pull complete 20:13:07 4872d77fe225: Pull complete 20:13:07 5851b861e8e6: Pull complete 20:13:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:13:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:08 prd-ubuntu20.04-docker-8c-8g-641 does not seem to be running inside a container 20:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-111 -v /w/workspace/y_app-rfid-llrp-inventory_PR-111:/w/workspace/y_app-rfid-llrp-inventory_PR-111:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-111@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 20:13:09 $ docker top a3054209057b81d389a136af1bad333bbaa57b64df2779a564b03933e2f638c7 -eo pid,comm 20:13:09 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). 20:13:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:09 [ssh-agent] Looking for ssh-agent implementation... 20:13:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:09 $ docker exec a3054209057b81d389a136af1bad333bbaa57b64df2779a564b03933e2f638c7 ssh-agent 20:13:10 SSH_AUTH_SOCK=/tmp/ssh-uZRXxuQCuyxv/agent.32 20:13:10 SSH_AGENT_PID=38 20:13:10 Running ssh-add (command line suppressed) 20:13:10 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/private_key_11722536407820183031.key (/w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/private_key_11722536407820183031.key) 20:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:10 + git tag --points-at HEAD [Pipeline] } 20:13:10 $ docker exec --env ******** --env ******** a3054209057b81d389a136af1bad333bbaa57b64df2779a564b03933e2f638c7 ssh-agent -k 20:13:10 unset SSH_AUTH_SOCK; 20:13:10 unset SSH_AGENT_PID; 20:13:10 echo Agent pid 38 killed; 20:13:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:13:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:10 [ssh-agent] Looking for ssh-agent implementation... 20:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:10 $ docker exec a3054209057b81d389a136af1bad333bbaa57b64df2779a564b03933e2f638c7 ssh-agent 20:13:10 SSH_AUTH_SOCK=/tmp/ssh-5g7edtcR5KEq/agent.70 20:13:10 SSH_AGENT_PID=76 20:13:10 Running ssh-add (command line suppressed) 20:13:11 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/private_key_13671840749393460812.key (/w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/private_key_13671840749393460812.key) 20:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:11 + git semver init 20:13:11 2022-09-22 20:13:11,604 [run_init] DEBUG init version:0.0.0 force:False 20:13:11 2022-09-22 20:13:11,605 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver 20:13:11 2022-09-22 20:13:11,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver 20:13:11 2022-09-22 20:13:11,605 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-111, universal_newlines=False, shell=None, istream=None) 20:13:13 2022-09-22 20:13:13,056 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-111/.git/info/exclude 20:13:13 2022-09-22 20:13:13,056 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver/PR-111 with force:False 20:13:13 2022-09-22 20:13:13,056 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver/PR-111 20:13:13 2022-09-22 20:13:13,061 [execute] INFO git cat-file --batch-check 20:13:13 2022-09-22 20:13:13,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver, universal_newlines=False, shell=None, istream=) 20:13:13 2022-09-22 20:13:13,068 [execute] INFO git cat-file --batch 20:13:13 2022-09-22 20:13:13,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver, universal_newlines=False, shell=None, istream=) 20:13:13 2022-09-22 20:13:13,074 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-111/.semver/PR-111 20:13:13 0.0.0 [Pipeline] } 20:13:13 $ docker exec --env ******** --env ******** a3054209057b81d389a136af1bad333bbaa57b64df2779a564b03933e2f638c7 ssh-agent -k 20:13:13 unset SSH_AUTH_SOCK; 20:13:13 unset SSH_AGENT_PID; 20:13:13 echo Agent pid 76 killed; 20:13:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:13:13 + git semver [Pipeline] } 20:13:14 $ docker stop --time=1 a3054209057b81d389a136af1bad333bbaa57b64df2779a564b03933e2f638c7 20:13:15 $ docker rm -f a3054209057b81d389a136af1bad333bbaa57b64df2779a564b03933e2f638c7 [Pipeline] // withDockerContainer [Pipeline] sh 20:13:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:13:16 Stashed 1 file(s) [Pipeline] echo 20:13:16 [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 20:13:16 provisioning config files... 20:13:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/config1216838856098432447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:17 ---> docker-login.sh 20:13:17 nexus3.edgexfoundry.org:10001 20:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:17 Configure a credential helper to remove this warning. See 20:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:17 20:13:17 Login Succeeded 20:13:17 nexus3.edgexfoundry.org:10002 20:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:17 Configure a credential helper to remove this warning. See 20:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:17 20:13:17 Login Succeeded 20:13:17 nexus3.edgexfoundry.org:10003 20:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:17 Configure a credential helper to remove this warning. See 20:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:17 20:13:17 Login Succeeded 20:13:17 nexus3.edgexfoundry.org:10004 20:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:17 Configure a credential helper to remove this warning. See 20:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:17 20:13:17 Login Succeeded 20:13:17 docker.io 20:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:17 Configure a credential helper to remove this warning. See 20:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:17 20:13:17 Login Succeeded 20:13:17 ---> docker-login.sh ends [Pipeline] } 20:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:18 ========================================================= 20:13:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:13:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:18 + 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 . 20:13:18 Sending build context to Docker daemon 12.48MB 20:13:18 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:13:18 Step 2/14 : FROM ${BASE} AS builder 20:13:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:13:18 2408cc74d12b: Pulling fs layer 20:13:18 ea60b727a1ce: Pulling fs layer 20:13:18 30c4a7721957: Pulling fs layer 20:13:18 370296b7ddb6: Pulling fs layer 20:13:18 7c6cee850709: Pulling fs layer 20:13:18 39a5fcdaea64: Pulling fs layer 20:13:18 d94ebbe4e438: Pulling fs layer 20:13:18 bcfd1f05c69d: Pulling fs layer 20:13:18 59ccb84bbe0f: Pulling fs layer 20:13:18 39a5fcdaea64: Waiting 20:13:18 7c6cee850709: Waiting 20:13:18 d94ebbe4e438: Waiting 20:13:18 370296b7ddb6: Waiting 20:13:18 59ccb84bbe0f: Waiting 20:13:18 bcfd1f05c69d: Waiting 20:13:18 30c4a7721957: Verifying Checksum 20:13:18 30c4a7721957: Download complete 20:13:18 ea60b727a1ce: Download complete 20:13:18 7c6cee850709: Download complete 20:13:18 39a5fcdaea64: Verifying Checksum 20:13:18 39a5fcdaea64: Download complete 20:13:18 2408cc74d12b: Verifying Checksum 20:13:18 2408cc74d12b: Download complete 20:13:18 d94ebbe4e438: Verifying Checksum 20:13:18 2408cc74d12b: Pull complete 20:13:19 ea60b727a1ce: Pull complete 20:13:19 30c4a7721957: Pull complete 20:13:19 59ccb84bbe0f: Verifying Checksum 20:13:19 59ccb84bbe0f: Download complete 20:13:19 bcfd1f05c69d: Verifying Checksum 20:13:19 bcfd1f05c69d: Download complete 20:13:19 370296b7ddb6: Verifying Checksum 20:13:19 370296b7ddb6: Download complete 20:13:23 370296b7ddb6: Pull complete 20:13:23 7c6cee850709: Pull complete 20:13:23 39a5fcdaea64: Pull complete 20:13:23 d94ebbe4e438: Pull complete 20:13:25 bcfd1f05c69d: Pull complete 20:13:26 59ccb84bbe0f: Pull complete 20:13:26 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:13:26 ---> a4fb48ad2a94 20:13:26 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:13:27 ---> Running in 92d12a183c0b 20:13:27 Removing intermediate container 92d12a183c0b 20:13:27 ---> 3770f912907d 20:13:27 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 20:13:27 ---> Running in 8fcb5ec333d4 20:13:27 Removing intermediate container 8fcb5ec333d4 20:13:27 ---> a32f3bec19b8 20:13:27 Step 5/14 : ARG ADD_BUILD_TAGS="" 20:13:27 ---> Running in de0f5f679ff2 20:13:27 Removing intermediate container de0f5f679ff2 20:13:27 ---> 88c86bde76eb 20:13:27 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:13:27 ---> Running in b116e47f2bce 20:13:28 Removing intermediate container b116e47f2bce 20:13:28 ---> 9bc73c78ead5 20:13:28 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:28 ---> Running in 0be22ce0ce51 20:13:28 Removing intermediate container 0be22ce0ce51 20:13:28 ---> d40392650e0f 20:13:28 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:28 ---> Running in f18fd06fe90b 20:13:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:13:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:13:30 OK: 211 MiB in 51 packages 20:13:30 Removing intermediate container f18fd06fe90b 20:13:30 ---> d1073ed74a63 20:13:30 Step 9/14 : WORKDIR /app 20:13:30 ---> Running in 55d62508408c 20:13:30 Removing intermediate container 55d62508408c 20:13:30 ---> 1fae9a991483 20:13:30 Step 10/14 : COPY go.mod vendor* ./ 20:13:30 ---> 01e4dc07b584 20:13:30 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:30 ---> Running in 05a8d9b0b71e 20:13:31 Still waiting to schedule task 20:13:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-642’ is offline 20:13:48 Removing intermediate container 05a8d9b0b71e 20:13:48 ---> 8e65c391a372 20:13:48 Step 12/14 : COPY . . 20:13:48 ---> c97d92e73d07 20:13:48 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:13:48 ---> Running in 875e7b9fdb40 20:13:48 Removing intermediate container 875e7b9fdb40 20:13:48 ---> 5734ff208779 20:13:48 Step 14/14 : RUN $MAKE 20:13:48 ---> Running in c3276964653a 20:13:48 noop 20:13:48 Removing intermediate container c3276964653a 20:13:48 ---> da5496a530ed 20:13:48 Successfully built da5496a530ed 20:13:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:49 + docker inspect -f . ci-base-image-x86_64 20:13:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:49 prd-ubuntu20.04-docker-8c-8g-641 does not seem to be running inside a container 20:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-111 -v /w/workspace/y_app-rfid-llrp-inventory_PR-111:/w/workspace/y_app-rfid-llrp-inventory_PR-111:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-111@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 20:13:49 $ docker top 16cbed9c65a33df317f11310976bb0bb42f87663829ea97fe05ca3ad340ea241 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:50 + go version 20:13:50 go version go1.18.3 linux/amd64 [Pipeline] } 20:13:50 $ docker stop --time=1 16cbed9c65a33df317f11310976bb0bb42f87663829ea97fe05ca3ad340ea241 20:13:51 $ docker rm -f 16cbed9c65a33df317f11310976bb0bb42f87663829ea97fe05ca3ad340ea241 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:52 + docker inspect -f . ci-base-image-x86_64 20:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:52 prd-ubuntu20.04-docker-8c-8g-641 does not seem to be running inside a container 20:13:52 $ 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-111 -v /w/workspace/y_app-rfid-llrp-inventory_PR-111:/w/workspace/y_app-rfid-llrp-inventory_PR-111:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-111@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 20:13:52 $ docker top dd7363392bca4f5b14929547ab7d0fd2f51b96772d1732b4c9e3fd4506c5aa09 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:53 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-111 [Pipeline] fileExists [Pipeline] sh 20:13:53 + make test 20:13:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:14:03 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 20:14:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.045s coverage: 86.2% of statements 20:14:03 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 20:14:05 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.550s coverage: 71.9% of statements 20:14:11 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." 20:14:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:14:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:14:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:14:15 ./bin/test-attribution.sh [Pipeline] echo 20:14:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:14:15 $ docker stop --time=1 dd7363392bca4f5b14929547ab7d0fd2f51b96772d1732b4c9e3fd4506c5aa09 20:14:17 $ docker rm -f dd7363392bca4f5b14929547ab7d0fd2f51b96772d1732b4c9e3fd4506c5aa09 [Pipeline] // withDockerContainer [Pipeline] sh 20:14:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:14:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:14:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:14:18 + ls -al . 20:14:18 total 232 20:14:18 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 20:13 . 20:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:12 .. 20:14:18 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 20:12 .dockerignore 20:14:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:14 .git 20:14:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:12 .github 20:14:18 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 20:12 .gitignore 20:14:18 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 20:12 .golangci.yml 20:14:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 20:13 .semver 20:14:18 -rw-rw-r-- 1 jenkins jenkins 9922 Sep 22 20:12 Attribution.txt 20:14:18 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 20:12 CHANGELOG.md 20:14:18 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 20:12 Dockerfile 20:14:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 20:12 GOVERNANCE.md 20:14:18 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 20:12 Jenkinsfile 20:14:18 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 20:12 LICENSE 20:14:18 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 20:12 Makefile 20:14:18 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 20:12 OWNERS.md 20:14:18 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 20:12 README.md 20:14:18 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 20:13 VERSION 20:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:12 bin 20:14:18 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 20:14 coverage.out 20:14:18 -rw-rw-r-- 1 jenkins jenkins 3685 Sep 22 20:12 go.mod 20:14:18 -rw-rw-r-- 1 jenkins jenkins 38073 Sep 22 20:12 go.sum 20:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:12 images 20:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:12 internal 20:14:18 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 20:12 main.go 20:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:12 res 20:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:12 snap 20:14:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:12 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:19 + 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=ec377d567a96a4504a5be0f8eb71a954519867de --label arch=amd64 --label version=0.0.0 . 20:14:19 Sending build context to Docker daemon 12.48MB 20:14:19 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 20:14:19 Step 2/32 : FROM ${BASE} AS builder 20:14:19 ---> da5496a530ed 20:14:19 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:14:19 ---> Running in cb8dc47e1b64 20:14:19 Removing intermediate container cb8dc47e1b64 20:14:19 ---> 6fa762d0cc1c 20:14:19 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 20:14:19 ---> Running in d3cbaffa122a 20:14:19 Removing intermediate container d3cbaffa122a 20:14:19 ---> 8a58adbd8672 20:14:19 Step 5/32 : ARG ADD_BUILD_TAGS="" 20:14:19 ---> Running in fe741dc0ea99 20:14:19 Removing intermediate container fe741dc0ea99 20:14:19 ---> fda5bb000c9e 20:14:19 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:14:19 ---> Running in 7c7fc23a0fdf 20:14:19 Removing intermediate container 7c7fc23a0fdf 20:14:19 ---> c5e6cf522259 20:14:19 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:19 ---> Running in 2854f4f04801 20:14:20 Removing intermediate container 2854f4f04801 20:14:20 ---> 1f4902bd0918 20:14:20 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:20 ---> Running in 89f605dd0cec 20:14:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:14:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:14:21 OK: 211 MiB in 51 packages 20:14:22 Removing intermediate container 89f605dd0cec 20:14:22 ---> 4505b11d1113 20:14:22 Step 9/32 : WORKDIR /app 20:14:22 ---> Running in 61b23061b3a8 20:14:22 Removing intermediate container 61b23061b3a8 20:14:22 ---> 318725adff88 20:14:22 Step 10/32 : COPY go.mod vendor* ./ 20:14:22 ---> 2ea4b902bfcb 20:14:22 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:22 ---> Running in 893e0c9e5fcd 20:14:23 Removing intermediate container 893e0c9e5fcd 20:14:23 ---> 0cacec1dcb05 20:14:23 Step 12/32 : COPY . . 20:14:23 ---> 70f81666217e 20:14:23 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:14:23 ---> Running in f8aab6cf52b2 20:14:23 Removing intermediate container f8aab6cf52b2 20:14:23 ---> 7d10bfd61a95 20:14:23 Step 14/32 : RUN $MAKE 20:14:23 ---> Running in 33135f012eed 20:14:23 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.41 -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 20:14:45 Removing intermediate container 33135f012eed 20:14:45 ---> 172265b4e2e6 20:14:45 Step 15/32 : FROM alpine:3.14 20:14:45 3.14: Pulling from library/alpine 20:14:45 c7ed990a2339: Pulling fs layer 20:14:45 c7ed990a2339: Verifying Checksum 20:14:45 c7ed990a2339: Download complete 20:14:45 c7ed990a2339: Pull complete 20:14:45 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:14:45 Status: Downloaded newer image for alpine:3.14 20:14:45 ---> dd53f409bf0b 20:14:45 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:14:45 ---> Running in 426d03220ab2 20:14:45 Removing intermediate container 426d03220ab2 20:14:45 ---> d8f10274dcfa 20:14:45 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 20:14:45 ---> Running in 0477fbad92d7 20:14:45 Removing intermediate container 0477fbad92d7 20:14:45 ---> f9acc2e9108c 20:14:45 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:45 ---> Running in bba34088cfe7 20:14:45 Removing intermediate container bba34088cfe7 20:14:45 ---> 8a2434bdbf0e 20:14:45 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 20:14:45 ---> Running in d45202aad606 20:14:45 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:14:46 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:14:46 (1/7) Installing ca-certificates (20220614-r0) 20:14:46 (2/7) Installing dumb-init (1.2.5-r1) 20:14:46 (3/7) Installing libgcc (10.3.1_git20210424-r2) 20:14:46 (4/7) Installing libsodium (1.0.18-r0) 20:14:46 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 20:14:47 (6/7) Installing libzmq (4.3.4-r0) 20:14:47 (7/7) Installing zeromq (4.3.4-r0) 20:14:47 Executing busybox-1.33.1-r8.trigger 20:14:47 Executing ca-certificates-20220614-r0.trigger 20:14:47 OK: 9 MiB in 21 packages 20:14:47 Removing intermediate container d45202aad606 20:14:47 ---> da05d1d7e3e1 20:14:47 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:14:47 ---> ea0ee9d18d4b 20:14:47 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 20:14:47 ---> 8cd1c9af7f59 20:14:47 Step 22/32 : COPY --from=builder /app/res/ /res/ 20:14:48 ---> 810ac0551871 20:14:48 Step 23/32 : COPY --from=builder /app/static/ /static/ 20:14:48 ---> 4e29eada5fec 20:14:48 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 20:14:49 ---> 87ba91e48100 20:14:49 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 20:14:49 ---> Running in a8fda8315fd5 20:14:49 Removing intermediate container a8fda8315fd5 20:14:49 ---> ba85d917624a 20:14:49 Step 26/32 : VOLUME /cache 20:14:49 ---> Running in 3151733631c6 20:14:49 Removing intermediate container 3151733631c6 20:14:49 ---> a1d2ae4ecff6 20:14:49 Step 27/32 : EXPOSE 59711 20:14:49 ---> Running in b4a4cf7ef5b3 20:14:49 Removing intermediate container b4a4cf7ef5b3 20:14:49 ---> ee3fcca824af 20:14:49 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 20:14:49 ---> Running in 2be7f03940ce 20:14:49 Removing intermediate container 2be7f03940ce 20:14:49 ---> 4a31748a87f9 20:14:49 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 20:14:49 ---> Running in edec62b2573e 20:14:50 Removing intermediate container edec62b2573e 20:14:50 ---> 5e2815ddf2c3 20:14:50 Step 30/32 : LABEL arch=amd64 20:14:50 ---> Running in a072a05b4817 20:14:50 Removing intermediate container a072a05b4817 20:14:50 ---> f8afd023e307 20:14:50 Step 31/32 : LABEL git_sha=ec377d567a96a4504a5be0f8eb71a954519867de 20:14:50 ---> Running in 0d87bab4c3ff 20:14:50 Removing intermediate container 0d87bab4c3ff 20:14:50 ---> 5c199ffe2adf 20:14:50 Step 32/32 : LABEL version=0.0.0 20:14:50 ---> Running in f32763a0afe3 20:14:50 Removing intermediate container f32763a0afe3 20:14:50 ---> 0f33c9fb688e 20:14:50 [Warning] One or more build-args [ARCH] were not consumed 20:14:50 Successfully built 0f33c9fb688e 20:14:50 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 20:14:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:51 20:14:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:51 latest: Pulling from edgex-lftools-log-publisher 20:14:51 5eb5b503b376: Pulling fs layer 20:14:51 5c69ac0246d0: Pulling fs layer 20:14:51 ec43610c2a17: Pulling fs layer 20:14:51 3a2ae6a8a46f: Pulling fs layer 20:14:51 33b1e0a273af: Pulling fs layer 20:14:51 5d3b04190fa2: Pulling fs layer 20:14:51 2f39f015ded8: Pulling fs layer 20:14:51 3a2ae6a8a46f: Waiting 20:14:51 33b1e0a273af: Waiting 20:14:51 5d3b04190fa2: Waiting 20:14:51 2f39f015ded8: Waiting 20:14:51 5c69ac0246d0: Download complete 20:14:51 3a2ae6a8a46f: Download complete 20:14:51 33b1e0a273af: Verifying Checksum 20:14:51 33b1e0a273af: Download complete 20:14:51 5d3b04190fa2: Download complete 20:14:51 ec43610c2a17: Verifying Checksum 20:14:51 ec43610c2a17: Download complete 20:14:51 5eb5b503b376: Verifying Checksum 20:14:51 5eb5b503b376: Download complete 20:14:52 2f39f015ded8: Download complete 20:14:52 5eb5b503b376: Pull complete 20:14:53 5c69ac0246d0: Pull complete 20:14:53 ec43610c2a17: Pull complete 20:14:53 3a2ae6a8a46f: Pull complete 20:14:53 33b1e0a273af: Pull complete 20:14:53 5d3b04190fa2: Pull complete 20:14:57 2f39f015ded8: Pull complete 20:14:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:58 prd-ubuntu20.04-docker-8c-8g-641 does not seem to be running inside a container 20:14:58 $ 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-111 -v /w/workspace/y_app-rfid-llrp-inventory_PR-111:/w/workspace/y_app-rfid-llrp-inventory_PR-111:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-111@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 20:14:59 $ docker top d9eefbe3681d6e6b5e74c49fdef0361bb24951266311ba0bdafbc46a228e7f3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:00 ---> job-cost.sh 20:15:00 lf-activate-venv: SKIPPING 20:15:00 INFO: No Stack... 20:15:00 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:01 INFO: Archiving Costs [Pipeline] sh 20:15:01 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-111/archives/cost.csv 20:15:01 + cut -d, -f6 [Pipeline] lock 20:15:01 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] 20:15:01 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] did not exist. Created. 20:15:01 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:01 + echo total: 0.2199999988079071 [Pipeline] stash 20:15:01 Stashed 1 file(s) [Pipeline] } 20:15:01 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:01 $ docker stop --time=1 d9eefbe3681d6e6b5e74c49fdef0361bb24951266311ba0bdafbc46a228e7f3f 20:15:03 $ docker rm -f d9eefbe3681d6e6b5e74c49fdef0361bb24951266311ba0bdafbc46a228e7f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:15:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-644 in /w/workspace/y_app-rfid-llrp-inventory_PR-111 [Pipeline] { [Pipeline] ws 20:15:03 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 20:15:03 The recommended git tool is: git 20:15:08 using credential edgex-jenkins-ssh 20:15:08 Cloning the remote Git repository 20:15:08 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:15:08 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 20:15:08 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:15:08 > git --version # timeout=10 20:15:08 > git --version # 'git version 2.25.1' 20:15:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:08 Verifying host key using known hosts file 20:15:09 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. 20:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:11 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 20:15:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:12 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 20:15:12 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:15:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:12 Verifying host key using known hosts file 20:15:12 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. 20:15:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:15:12 Merging remotes/origin/main commit d157eb815d7fbd973ad52ac1343ba67c62e80469 into PR head commit ec377d567a96a4504a5be0f8eb71a954519867de 20:15:12 Merge succeeded, producing ec377d567a96a4504a5be0f8eb71a954519867de 20:15:12 Checking out Revision ec377d567a96a4504a5be0f8eb71a954519867de (PR-111) 20:15:12 > git config core.sparsecheckout # timeout=10 20:15:12 > git checkout -f ec377d567a96a4504a5be0f8eb71a954519867de # timeout=10 20:15:12 > git remote # timeout=10 20:15:12 > git config --get remote.origin.url # timeout=10 20:15:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:12 Verifying host key using known hosts file 20:15:12 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. 20:15:12 > git merge d157eb815d7fbd973ad52ac1343ba67c62e80469 # timeout=10 20:15:12 > git rev-parse HEAD^{commit} # timeout=10 20:15:12 > git config core.sparsecheckout # timeout=10 20:15:12 > git checkout -f ec377d567a96a4504a5be0f8eb71a954519867de # timeout=10 20:15:16 Commit message: "refactor: Adjust NATS Subject to be for all data not just Events" 20:15:16 > git --version # timeout=10 20:15:16 > git --version # 'git version 2.25.1' 20:15:16 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:15:17 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:17 Dload Upload Total Spent Left Speed 20:15:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh 20:15:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:15:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:15:18 + sudo tee /etc/docker/daemon.new 20:15:18 { 20:15:18 "registry-mirrors": [ 20:15:18 "https://nexus3.edgexfoundry.org:10001" 20:15:18 ], 20:15:18 "bip": "10.250.0.254/24", 20:15:18 "hosts": [ 20:15:18 "tcp://0.0.0.0:5555", 20:15:18 "unix:///var/run/docker.sock" 20:15:18 ], 20:15:18 "mtu": 1458, 20:15:18 "selinux-enabled": true, 20:15:18 "seccomp-profile": "/etc/docker/seccomp.json" 20:15:18 } [Pipeline] sh 20:15:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:15:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:37 provisioning config files... 20:15:37 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config11703207580201288350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:38 ---> docker-login.sh 20:15:38 nexus3.edgexfoundry.org:10001 20:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10002 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10003 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10004 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 docker.io 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 ---> docker-login.sh ends [Pipeline] } 20:15:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:41 ========================================================= 20:15:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:15:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:41 + 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 . 20:15:41 Sending build context to Docker daemon 683.5kB 20:15:41 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:15:41 Step 2/14 : FROM ${BASE} AS builder 20:15:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:15:41 b3c136eddcbf: Pulling fs layer 20:15:41 c0a3192eca97: Pulling fs layer 20:15:41 a050256f5b6f: Pulling fs layer 20:15:41 656be50a0ddc: Pulling fs layer 20:15:41 2bbca73fdf42: Pulling fs layer 20:15:41 46d945488cbd: Pulling fs layer 20:15:41 8a5474983e97: Pulling fs layer 20:15:41 329c88fbcd65: Pulling fs layer 20:15:41 656be50a0ddc: Waiting 20:15:41 2bbca73fdf42: Waiting 20:15:41 46d945488cbd: Waiting 20:15:41 8a5474983e97: Waiting 20:15:41 329c88fbcd65: Waiting 20:15:42 a050256f5b6f: Download complete 20:15:42 c0a3192eca97: Verifying Checksum 20:15:42 c0a3192eca97: Download complete 20:15:42 2bbca73fdf42: Download complete 20:15:42 46d945488cbd: Verifying Checksum 20:15:42 46d945488cbd: Download complete 20:15:42 b3c136eddcbf: Verifying Checksum 20:15:42 b3c136eddcbf: Download complete 20:15:43 b3c136eddcbf: Pull complete 20:15:43 329c88fbcd65: Verifying Checksum 20:15:43 329c88fbcd65: Download complete 20:15:43 c0a3192eca97: Pull complete 20:15:43 a050256f5b6f: Pull complete 20:15:44 8a5474983e97: Download complete 20:15:45 656be50a0ddc: Verifying Checksum 20:15:45 656be50a0ddc: Download complete 20:15:57 656be50a0ddc: Pull complete 20:15:57 2bbca73fdf42: Pull complete 20:15:57 46d945488cbd: Pull complete 20:16:04 8a5474983e97: Pull complete 20:16:05 329c88fbcd65: Pull complete 20:16:05 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:16:05 ---> ff4287adb874 20:16:05 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:16:07 ---> Running in 95aa9cf4dfb3 20:16:07 Removing intermediate container 95aa9cf4dfb3 20:16:07 ---> 21e621303138 20:16:07 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 20:16:07 ---> Running in adc19fe2fb8a 20:16:07 Removing intermediate container adc19fe2fb8a 20:16:07 ---> 4aeb9424bcee 20:16:07 Step 5/14 : ARG ADD_BUILD_TAGS="" 20:16:07 ---> Running in 895c8deea56c 20:16:07 Removing intermediate container 895c8deea56c 20:16:07 ---> d7e31333e19d 20:16:07 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:16:08 ---> Running in 059320042cf8 20:16:08 Removing intermediate container 059320042cf8 20:16:08 ---> 214a0ed0cc11 20:16:08 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:16:08 ---> Running in e0277f75512c 20:16:10 Removing intermediate container e0277f75512c 20:16:10 ---> d005f442ac32 20:16:10 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:10 ---> Running in 79bd17ecdb28 20:16:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:16:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:16:12 OK: 221 MiB in 51 packages 20:16:13 Removing intermediate container 79bd17ecdb28 20:16:13 ---> 0013208d1d2f 20:16:13 Step 9/14 : WORKDIR /app 20:16:13 ---> Running in d91d22eb5a34 20:16:14 Removing intermediate container d91d22eb5a34 20:16:14 ---> c4cff2291b0b 20:16:14 Step 10/14 : COPY go.mod vendor* ./ 20:16:16 ---> ef61b4e4f502 20:16:16 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:16 ---> Running in 5afd8993602a 20:17:03 Removing intermediate container 5afd8993602a 20:17:03 ---> 52f92ef804b9 20:17:03 Step 12/14 : COPY . . 20:17:03 ---> c4dc68ac4427 20:17:03 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:03 ---> Running in cfe3dbf0a00f 20:17:03 Removing intermediate container cfe3dbf0a00f 20:17:03 ---> a7ea9ec10ef0 20:17:03 Step 14/14 : RUN $MAKE 20:17:03 ---> Running in 1508cfedce22 20:17:04 noop 20:17:04 Removing intermediate container 1508cfedce22 20:17:04 ---> c55594dd63d1 20:17:04 Successfully built c55594dd63d1 20:17:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:05 + docker inspect -f . ci-base-image-arm64 20:17:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:05 prd-ubuntu20.04-docker-arm64-4c-16g-644 does not seem to be running inside a container 20:17:05 $ 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 20:17:06 $ docker top 3977a707c869b7a5052d839786ad8f2d39523cae5cf6b72b37ae2b12bac10cf4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:07 + go version 20:17:07 go version go1.18.3 linux/arm64 [Pipeline] } 20:17:07 $ docker stop --time=1 3977a707c869b7a5052d839786ad8f2d39523cae5cf6b72b37ae2b12bac10cf4 20:17:09 $ docker rm -f 3977a707c869b7a5052d839786ad8f2d39523cae5cf6b72b37ae2b12bac10cf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:10 + docker inspect -f . ci-base-image-arm64 20:17:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:10 prd-ubuntu20.04-docker-arm64-4c-16g-644 does not seem to be running inside a container 20:17:10 $ 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 20:17:11 $ docker top 27a3c6f574fc8a99238ce688edeb754a3b3d8fbada6c4e5bf46596b7695a3017 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:12 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 20:17:12 + make test 20:17:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:18:34 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 20:18:36 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.162s coverage: 86.2% of statements 20:18:36 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 20:18:43 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.716s coverage: 71.9% of statements 20:18:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:18:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:19:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:05 ./bin/test-attribution.sh [Pipeline] echo 20:19:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:19:05 $ docker stop --time=1 27a3c6f574fc8a99238ce688edeb754a3b3d8fbada6c4e5bf46596b7695a3017 20:19:07 $ docker rm -f 27a3c6f574fc8a99238ce688edeb754a3b3d8fbada6c4e5bf46596b7695a3017 [Pipeline] // withDockerContainer [Pipeline] sh 20:19:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:08 Warning: overwriting stash ‘coverage-report’ 20:19:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:09 + ls -al . 20:19:09 total 228 20:19:09 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 20:17 . 20:19:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:15 .. 20:19:09 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 20:15 .dockerignore 20:19:09 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:15 .git 20:19:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:15 .github 20:19:09 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 20:15 .gitignore 20:19:09 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 20:15 .golangci.yml 20:19:09 -rw-rw-r-- 1 jenkins jenkins 9922 Sep 22 20:15 Attribution.txt 20:19:09 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 20:15 CHANGELOG.md 20:19:09 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 20:15 Dockerfile 20:19:09 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 20:15 GOVERNANCE.md 20:19:09 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 20:15 Jenkinsfile 20:19:09 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 20:15 LICENSE 20:19:09 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 20:15 Makefile 20:19:09 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 20:15 OWNERS.md 20:19:09 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 20:15 README.md 20:19:09 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 20:13 VERSION 20:19:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:15 bin 20:19:09 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 20:18 coverage.out 20:19:09 -rw-rw-r-- 1 jenkins jenkins 3685 Sep 22 20:15 go.mod 20:19:09 -rw-rw-r-- 1 jenkins jenkins 38073 Sep 22 20:15 go.sum 20:19:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:15 images 20:19:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:15 internal 20:19:09 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 20:15 main.go 20:19:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:15 res 20:19:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:15 snap 20:19:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:15 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:10 + 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=ec377d567a96a4504a5be0f8eb71a954519867de --label arch=arm64 --label version=0.0.0 . 20:19:10 Sending build context to Docker daemon 683.5kB 20:19:10 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 20:19:10 Step 2/32 : FROM ${BASE} AS builder 20:19:10 ---> c55594dd63d1 20:19:10 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:19:10 ---> Running in 40b1d2e0d84c 20:19:10 Removing intermediate container 40b1d2e0d84c 20:19:10 ---> 550b732e31a6 20:19:10 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 20:19:10 ---> Running in e246822e3509 20:19:11 Removing intermediate container e246822e3509 20:19:11 ---> 73a8da62db1e 20:19:11 Step 5/32 : ARG ADD_BUILD_TAGS="" 20:19:11 ---> Running in 1c428144ab24 20:19:11 Removing intermediate container 1c428144ab24 20:19:11 ---> 189ffac58b41 20:19:11 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:19:11 ---> Running in a7b0922f3e00 20:19:11 Removing intermediate container a7b0922f3e00 20:19:11 ---> 346dbce5ec33 20:19:11 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:19:11 ---> Running in f373759adb0b 20:19:13 Removing intermediate container f373759adb0b 20:19:13 ---> a61005f22ecf 20:19:13 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:13 ---> Running in 9fa14cd0e3e9 20:19:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:19:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:19:16 OK: 221 MiB in 51 packages 20:19:17 Removing intermediate container 9fa14cd0e3e9 20:19:17 ---> b50bcd8354bf 20:19:17 Step 9/32 : WORKDIR /app 20:19:17 ---> Running in 08f8f591153d 20:19:17 Removing intermediate container 08f8f591153d 20:19:17 ---> b4b5f4fdb984 20:19:17 Step 10/32 : COPY go.mod vendor* ./ 20:19:17 ---> 9bd4fe2193f3 20:19:17 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:18 ---> Running in 97604f3b58c6 20:19:20 Removing intermediate container 97604f3b58c6 20:19:20 ---> 28bc3fbf788d 20:19:20 Step 12/32 : COPY . . 20:19:21 ---> ca6fcc490e9c 20:19:21 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:19:21 ---> Running in 3db704a94828 20:19:21 Removing intermediate container 3db704a94828 20:19:21 ---> 44b959b1e2f4 20:19:21 Step 14/32 : RUN $MAKE 20:19:21 ---> Running in a7dc770c66e1 20:19:22 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.41 -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 20:21:59 Removing intermediate container a7dc770c66e1 20:21:59 ---> 66476d4d3658 20:21:59 Step 15/32 : FROM alpine:3.14 20:21:59 3.14: Pulling from library/alpine 20:21:59 90cda3b7c325: Pulling fs layer 20:21:59 90cda3b7c325: Verifying Checksum 20:21:59 90cda3b7c325: Download complete 20:21:59 90cda3b7c325: Pull complete 20:21:59 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:21:59 Status: Downloaded newer image for alpine:3.14 20:21:59 ---> 376ba31ae3da 20:21:59 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:21:59 ---> Running in 341b9c7fc519 20:21:59 Removing intermediate container 341b9c7fc519 20:21:59 ---> 46ab6ea61d07 20:21:59 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 20:21:59 ---> Running in 1fbefc828425 20:21:59 Removing intermediate container 1fbefc828425 20:21:59 ---> 351525068a90 20:21:59 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:59 ---> Running in ee3140f4c105 20:21:59 Removing intermediate container ee3140f4c105 20:21:59 ---> 26007d63ecf5 20:21:59 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 20:21:59 ---> Running in 87cac662c46a 20:21:59 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:21:59 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:21:59 (1/7) Installing ca-certificates (20220614-r0) 20:21:59 (2/7) Installing dumb-init (1.2.5-r1) 20:21:59 (3/7) Installing libgcc (10.3.1_git20210424-r2) 20:21:59 (4/7) Installing libsodium (1.0.18-r0) 20:21:59 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 20:21:59 (6/7) Installing libzmq (4.3.4-r0) 20:21:59 (7/7) Installing zeromq (4.3.4-r0) 20:21:59 Executing busybox-1.33.1-r8.trigger 20:21:59 Executing ca-certificates-20220614-r0.trigger 20:21:59 OK: 9 MiB in 21 packages 20:21:59 Removing intermediate container 87cac662c46a 20:21:59 ---> 2112165a46d6 20:21:59 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:21:59 ---> 845fcb018800 20:21:59 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 20:21:59 ---> b90c44d7b9cc 20:21:59 Step 22/32 : COPY --from=builder /app/res/ /res/ 20:21:59 ---> 2490231314db 20:21:59 Step 23/32 : COPY --from=builder /app/static/ /static/ 20:21:59 ---> d06232af2ba3 20:21:59 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 20:21:59 ---> 11d0efaa8f59 20:21:59 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 20:21:59 ---> Running in fdbc4fe51c3e 20:22:00 Removing intermediate container fdbc4fe51c3e 20:22:00 ---> c9f38f869bb9 20:22:00 Step 26/32 : VOLUME /cache 20:22:00 ---> Running in 07450b31a931 20:22:00 Removing intermediate container 07450b31a931 20:22:00 ---> fc229ef3d88a 20:22:00 Step 27/32 : EXPOSE 59711 20:22:00 ---> Running in eea66ab7b6bb 20:22:00 Removing intermediate container eea66ab7b6bb 20:22:00 ---> f7ae74b04b81 20:22:00 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 20:22:00 ---> Running in 4b9be8789ba2 20:22:00 Removing intermediate container 4b9be8789ba2 20:22:00 ---> 9113c95bde27 20:22:00 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 20:22:01 ---> Running in bfa7d61b433f 20:22:01 Removing intermediate container bfa7d61b433f 20:22:01 ---> 5647369898af 20:22:01 Step 30/32 : LABEL arch=arm64 20:22:01 ---> Running in 277bc22459b5 20:22:01 Removing intermediate container 277bc22459b5 20:22:01 ---> 1885779221e5 20:22:01 Step 31/32 : LABEL git_sha=ec377d567a96a4504a5be0f8eb71a954519867de 20:22:01 ---> Running in 60175930b31a 20:22:01 Removing intermediate container 60175930b31a 20:22:01 ---> 8d2119cf7233 20:22:01 Step 32/32 : LABEL version=0.0.0 20:22:02 ---> Running in 36a72fa9ba84 20:22:02 Removing intermediate container 36a72fa9ba84 20:22:02 ---> dcf71749caee 20:22:02 [Warning] One or more build-args [ARCH] were not consumed 20:22:02 Successfully built dcf71749caee 20:22:02 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 20:22:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:03 20:22:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:03 arm64: Pulling from edgex-lftools-log-publisher 20:22:03 8998bd30e6a1: Pulling fs layer 20:22:03 04944245beec: Pulling fs layer 20:22:03 699f458cf7ca: Pulling fs layer 20:22:03 765212b225bb: Pulling fs layer 20:22:03 f23df028b6ca: Pulling fs layer 20:22:03 d65c8cfc05b1: Pulling fs layer 20:22:03 2437ff75d9bd: Pulling fs layer 20:22:03 765212b225bb: Waiting 20:22:03 f23df028b6ca: Waiting 20:22:03 d65c8cfc05b1: Waiting 20:22:03 2437ff75d9bd: Waiting 20:22:03 04944245beec: Verifying Checksum 20:22:03 04944245beec: Download complete 20:22:03 765212b225bb: Verifying Checksum 20:22:03 765212b225bb: Download complete 20:22:03 f23df028b6ca: Verifying Checksum 20:22:03 f23df028b6ca: Download complete 20:22:03 d65c8cfc05b1: Verifying Checksum 20:22:03 d65c8cfc05b1: Download complete 20:22:04 699f458cf7ca: Verifying Checksum 20:22:04 699f458cf7ca: Download complete 20:22:04 8998bd30e6a1: Verifying Checksum 20:22:04 8998bd30e6a1: Download complete 20:22:07 2437ff75d9bd: Verifying Checksum 20:22:07 2437ff75d9bd: Download complete 20:22:08 8998bd30e6a1: Pull complete 20:22:09 04944245beec: Pull complete 20:22:10 699f458cf7ca: Pull complete 20:22:10 765212b225bb: Pull complete 20:22:11 f23df028b6ca: Pull complete 20:22:11 d65c8cfc05b1: Pull complete 20:22:26 2437ff75d9bd: Pull complete 20:22:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:22:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:26 prd-ubuntu20.04-docker-arm64-4c-16g-644 does not seem to be running inside a container 20:22:26 $ 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 20:22:29 $ docker top 45d0832cdf1f9883868fc3181fa09ace49b4684881586c196e066d67a704699c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:29 ---> job-cost.sh 20:22:29 lf-activate-venv: SKIPPING 20:22:29 INFO: No Stack... 20:22:30 INFO: Retrieving Pricing Info for: v3-standard-4 20:22:31 INFO: Archiving Costs [Pipeline] sh 20:22:31 + + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 20:22:31 cut -d, -f6 [Pipeline] lock 20:22:31 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] 20:22:31 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] did not exist. Created. 20:22:31 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:22:32 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-00ec013c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:22:32 + echo total: 0.10999999940395355 [Pipeline] stash 20:22:32 Warning: overwriting stash ‘stack-cost’ 20:22:32 Stashed 1 file(s) [Pipeline] } 20:22:32 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:22:32 $ docker stop --time=1 45d0832cdf1f9883868fc3181fa09ace49b4684881586c196e066d67a704699c 20:22:34 $ docker rm -f 45d0832cdf1f9883868fc3181fa09ace49b4684881586c196e066d67a704699c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:22:35 provisioning config files... 20:22:35 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/config2282536774412118578tmp [Pipeline] { [Pipeline] sh 20:22:35 + set +x 20:22:35 + curl -s https://codecov.io/bash 20:22:35 + bash -s -- 20:22:35 20:22:35 _____ _ 20:22:35 / ____| | | 20:22:35 | | ___ __| | ___ ___ _____ __ 20:22:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:22:35 | |___| (_) | (_| | __/ (_| (_) \ V / 20:22:35 \_____\___/ \__,_|\___|\___\___/ \_/ 20:22:35 Bash-1.0.6 20:22:35 20:22:35 20:22:35 ==> git version 2.25.1 found 20:22:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:22:35 Release-Date: 2020-01-08 20:22:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:22:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:22:35 ==> Jenkins CI detected. 20:22:35 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-111 20:22:35 project root: . 20:22:35 --> token set from env 20:22:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:22:35 ==> Running gcov in . (disable via -X gcov) 20:22:35 ==> Python coveragepy not found 20:22:35 ==> Searching for coverage reports in: 20:22:35 + . 20:22:35 -> Found 1 reports 20:22:35 ==> Detecting git/mercurial file structure 20:22:35 ==> Reading reports 20:22:35 + ./coverage.out bytes=41008 20:22:35 ==> Appending adjustments 20:22:35 https://docs.codecov.io/docs/fixing-reports 20:22:35 + Found adjustments 20:22:35 ==> Gzipping contents 20:22:35 12K /tmp/codecov.n83K8t.gz 20:22:35 ==> Uploading reports 20:22:35 url: https://codecov.io 20:22:35 query: branch=PR-111&commit=ec377d567a96a4504a5be0f8eb71a954519867de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=111&job=&cmd_args= 20:22:35 -> Pinging Codecov 20:22:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-111&commit=ec377d567a96a4504a5be0f8eb71a954519867de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=111&job=&cmd_args= 20:22:36 -> Uploading to 20:22:36 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/581DD39554BDF9B6E22D074273EAD858/ec377d567a96a4504a5be0f8eb71a954519867de/fb5fe14e-4347-4f14-8c86-00e65f58ca44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T202236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5da8da604d0836a4eacdb3646404019b100fabd8114e0b658a6fe805731a0ad7 20:22:36 % Total % Received % Xferd Average Speed Time Time Time Current 20:22:36 Dload Upload Total Spent Left Speed 20:22:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11459 0 0 100 11459 0 51850 --:--:-- --:--:-- --:--:-- 51617 100 11459 0 0 100 11459 0 47547 --:--:-- --:--:-- --:--:-- 47351 20:22:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/ec377d567a96a4504a5be0f8eb71a954519867de [Pipeline] } 20:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:22:38 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-111/archives ] 20:22:38 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-111/archives 20:22:38 total 16 20:22:38 drwxr-xr-x 3 root root 4096 Sep 22 20:15 . 20:22:38 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 20:15 .. 20:22:38 drwxr-xr-x 2 root root 4096 Sep 22 20:15 cost 20:22:38 -rw-r--r-- 1 root root 95 Sep 22 20:15 cost.csv 20:22:38 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-111/archives 20:22:38 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-111/archives 20:22:38 total 16 20:22:38 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 20:15 . 20:22:38 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 20:15 .. 20:22:38 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 20:15 cost 20:22:38 -rw-r--r-- 1 jenkins jenkins 95 Sep 22 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:22:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:22:39 ---> package-listing.sh 20:22:39 ++ facter osfamily 20:22:39 ++ tr '[:upper:]' '[:lower:]' 20:22:39 + OS_FAMILY=debian 20:22:39 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-111 20:22:39 + START_PACKAGES=/tmp/packages_start.txt 20:22:39 + END_PACKAGES=/tmp/packages_end.txt 20:22:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:22:39 + PACKAGES=/tmp/packages_start.txt 20:22:39 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-111 ']' 20:22:39 + PACKAGES=/tmp/packages_end.txt 20:22:39 + case "${OS_FAMILY}" in 20:22:39 + dpkg -l 20:22:39 + grep '^ii' 20:22:39 + '[' -f /tmp/packages_start.txt ']' 20:22:39 + '[' -f /tmp/packages_end.txt ']' 20:22:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:22:39 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-111 ']' 20:22:39 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-111/archives/ 20:22:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-111/archives/ [Pipeline] echo 20:22:39 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-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:22:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:40 prd-ubuntu20.04-docker-8c-8g-641 does not seem to be running inside a container 20:22:40 $ 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-111/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-111 -v /w/workspace/y_app-rfid-llrp-inventory_PR-111:/w/workspace/y_app-rfid-llrp-inventory_PR-111:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-111@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 20:22:40 $ docker top 6f00297ddc8b2d35d7fd705543f535d2892dedb9383eb9db194bd8e275055364 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:41 + touch /tmp/pre-build-complete [Pipeline] sh 20:22:41 + mkdir -p /var/log/sysstat [Pipeline] sh 20:22:41 + ls /var/log/sa-host 20:22:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:22:41 provisioning config files... 20:22:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-111@tmp/config4506524699873933602tmp [Pipeline] { [Pipeline] echo 20:22:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:22:42 ---> create-netrc.sh [Pipeline] } 20:22:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:22:42 ---> python-tools-install.sh [Pipeline] echo 20:22:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:22:43 ---> sudo-logs.sh 20:22:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:22:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:22:43 ---> job-cost.sh 20:22:43 lf-activate-venv: SKIPPING 20:22:43 DEBUG: total: 0.2199999988079071 20:22:43 INFO: Retrieving Stack Cost... 20:22:43 INFO: Retrieving Pricing Info for: v3-standard-8 20:22:44 INFO: Archiving Costs [Pipeline] echo 20:22:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:22:44 ---> logs-deploy.sh 20:22:44 lf-activate-venv: SKIPPING 20:22:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-111/1 20:22:44 INFO: archiving workspace using pattern(s): 20:22:45 Archives upload complete. 20:22:45 INFO: archiving logs to Nexus