Pull request #119 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 b2ada4799839b263ee1bda791335d3480a7347ee+76318d8d0ed5e6f9c337186f7bcc2221c50803e5 (56cc45f55fc31aaeafc8e14c78905008e5449f8c) 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-ssh7765360756916840600.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12242665575901810057.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-119/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-119/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12894982167619746831.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-119/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15000587199531761032.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh8054964300824138327.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-119/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-119/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15073953566169975852.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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117324 in /w/workspace/y_app-rfid-llrp-inventory_PR-119 [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-119 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 76318d8d0ed5e6f9c337186f7bcc2221c50803e5 into PR head commit b2ada4799839b263ee1bda791335d3480a7347ee Merge succeeded, producing b2ada4799839b263ee1bda791335d3480a7347ee Checking out Revision b2ada4799839b263ee1bda791335d3480a7347ee (PR-119) > 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/119/head:refs/remotes/origin/PR-119 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2ada4799839b263ee1bda791335d3480a7347ee # 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 76318d8d0ed5e6f9c337186f7bcc2221c50803e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2ada4799839b263ee1bda791335d3480a7347ee # timeout=10 Commit message: "build: Update to latest SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:43:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:43:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:43:11 ========================================================= 20:43:11 EdgeX Global Pipelines Version Info 20:43:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:43:11 ------------------- 20:43:11 stable info: 20:43:11 ------------------- 20:43:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:43:11 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:43:11 Message: update stable to v1.0.243 20:43:12 ------------------- 20:43:12 experimental info: 20:43:12 ------------------- 20:43:12 Commited By: **** collab-it+edgex@linuxfoundation.org 20:43:12 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:43:12 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:43:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 20:43:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 20:43:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:43:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:43:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:43:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-119 [Pipeline] echo 20:43:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-119 [Pipeline] echo 20:43:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-119 [Pipeline] echo 20:43:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2ada4799839b263ee1bda791335d3480a7347ee [Pipeline] echo 20:43:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2ada47 [Pipeline] echo 20:43:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:14 provisioning config files... 20:43:14 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/config11118795973201661759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:14 ---> docker-login.sh 20:43:14 nexus3.edgexfoundry.org:10001 20:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:15 Configure a credential helper to remove this warning. See 20:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:15 20:43:15 Login Succeeded 20:43:15 nexus3.edgexfoundry.org:10002 20:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:15 Configure a credential helper to remove this warning. See 20:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:15 20:43:15 Login Succeeded 20:43:15 nexus3.edgexfoundry.org:10003 20:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:15 Configure a credential helper to remove this warning. See 20:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:15 20:43:15 Login Succeeded 20:43:15 nexus3.edgexfoundry.org:10004 20:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:15 Configure a credential helper to remove this warning. See 20:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:15 20:43:15 Login Succeeded 20:43:15 docker.io 20:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:16 Configure a credential helper to remove this warning. See 20:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:16 20:43:16 Login Succeeded 20:43:16 ---> docker-login.sh ends [Pipeline] } 20:43:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:43:16 + git rev-list -1 --merges b2ada4799839b263ee1bda791335d3480a7347ee~1..b2ada4799839b263ee1bda791335d3480a7347ee [Pipeline] echo 20:43:16 -----------> git rev-list -1 --merges b2ada4799839b263ee1bda791335d3480a7347ee~1..b2ada4799839b263ee1bda791335d3480a7347ee b2ada4799839b263ee1bda791335d3480a7347ee [false] [Pipeline] sh 20:43:17 + git log --format=format:%s -1 b2ada4799839b263ee1bda791335d3480a7347ee [Pipeline] echo 20:43:17 ========================================================= 20:43:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:43:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:17 + git log --format=format:%s -1 b2ada4799839b263ee1bda791335d3480a7347ee [Pipeline] echo 20:43:17 [semverPrep] GIT_COMMIT: b2ada4799839b263ee1bda791335d3480a7347ee, Commit Message: build: Update to latest SDK [Pipeline] echo 20:43:17 [semverPrep] This is not a build commit. [Pipeline] sh 20:43:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:43:18 + grep -v github /etc/ssh/ssh_known_hosts 20:43:18 + [ -e /tmp/ssh_known_hosts ] 20:43:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:43:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:43:18 + sudo tee -a /etc/ssh/ssh_known_hosts 20:43:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:18 20:43:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:18 0.1.4: Pulling from edgex-devops/py-git-semver 20:43:18 b85a868b505f: Pulling fs layer 20:43:18 e2be974225ed: Pulling fs layer 20:43:18 339a4e72a1f5: Pulling fs layer 20:43:18 988bab9f4d93: Pulling fs layer 20:43:18 1469e6f7b9e6: Pulling fs layer 20:43:18 eaf3925da568: Pulling fs layer 20:43:18 bab4dde63d76: Pulling fs layer 20:43:18 bde34c3a00c8: Pulling fs layer 20:43:18 b352a97aabf1: Pulling fs layer 20:43:18 4872d77fe225: Pulling fs layer 20:43:18 5851b861e8e6: Pulling fs layer 20:43:18 bde34c3a00c8: Waiting 20:43:18 1469e6f7b9e6: Waiting 20:43:18 eaf3925da568: Waiting 20:43:18 b352a97aabf1: Waiting 20:43:18 bab4dde63d76: Waiting 20:43:18 5851b861e8e6: Waiting 20:43:18 4872d77fe225: Waiting 20:43:18 988bab9f4d93: Waiting 20:43:18 e2be974225ed: Verifying Checksum 20:43:18 e2be974225ed: Download complete 20:43:18 988bab9f4d93: Download complete 20:43:19 1469e6f7b9e6: Verifying Checksum 20:43:19 1469e6f7b9e6: Download complete 20:43:19 eaf3925da568: Download complete 20:43:19 339a4e72a1f5: Verifying Checksum 20:43:19 339a4e72a1f5: Download complete 20:43:19 bde34c3a00c8: Verifying Checksum 20:43:19 bde34c3a00c8: Download complete 20:43:19 b352a97aabf1: Download complete 20:43:19 4872d77fe225: Verifying Checksum 20:43:19 4872d77fe225: Download complete 20:43:19 5851b861e8e6: Download complete 20:43:19 b85a868b505f: Download complete 20:43:19 bab4dde63d76: Verifying Checksum 20:43:19 bab4dde63d76: Download complete 20:43:20 b85a868b505f: Pull complete 20:43:20 e2be974225ed: Pull complete 20:43:21 339a4e72a1f5: Pull complete 20:43:21 988bab9f4d93: Pull complete 20:43:21 1469e6f7b9e6: Pull complete 20:43:21 eaf3925da568: Pull complete 20:43:23 bab4dde63d76: Pull complete 20:43:23 bde34c3a00c8: Pull complete 20:43:23 b352a97aabf1: Pull complete 20:43:23 4872d77fe225: Pull complete 20:43:23 5851b861e8e6: Pull complete 20:43:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:43:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:24 prd-ubuntu20.04-docker-8c-8g-117324 does not seem to be running inside a container 20:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-119 -v /w/workspace/y_app-rfid-llrp-inventory_PR-119:/w/workspace/y_app-rfid-llrp-inventory_PR-119:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-119@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:43:25 $ docker top 02f5cf21c053a0d438cde2ad3ab22e79fda2703c6985602c5a24b519c3279fcc -eo pid,comm 20:43:25 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:43:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:25 [ssh-agent] Looking for ssh-agent implementation... 20:43:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:25 $ docker exec 02f5cf21c053a0d438cde2ad3ab22e79fda2703c6985602c5a24b519c3279fcc ssh-agent 20:43:25 SSH_AUTH_SOCK=/tmp/ssh-sGfdYzNAy6m7/agent.32 20:43:25 SSH_AGENT_PID=38 20:43:25 Running ssh-add (command line suppressed) 20:43:26 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/private_key_7904694984769865639.key (/w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/private_key_7904694984769865639.key) 20:43:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:26 + git tag --points-at HEAD [Pipeline] } 20:43:26 $ docker exec --env ******** --env ******** 02f5cf21c053a0d438cde2ad3ab22e79fda2703c6985602c5a24b519c3279fcc ssh-agent -k 20:43:26 unset SSH_AUTH_SOCK; 20:43:26 unset SSH_AGENT_PID; 20:43:26 echo Agent pid 38 killed; 20:43:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:43:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:26 [ssh-agent] Looking for ssh-agent implementation... 20:43:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:26 $ docker exec 02f5cf21c053a0d438cde2ad3ab22e79fda2703c6985602c5a24b519c3279fcc ssh-agent 20:43:26 SSH_AUTH_SOCK=/tmp/ssh-Fl2T0zvH8DID/agent.70 20:43:26 SSH_AGENT_PID=76 20:43:26 Running ssh-add (command line suppressed) 20:43:26 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/private_key_722114768649537315.key (/w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/private_key_722114768649537315.key) 20:43:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:27 + git semver init 20:43:27 2022-10-26 20:43:27,538 [run_init] DEBUG init version:0.0.0 force:False 20:43:27 2022-10-26 20:43:27,539 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver 20:43:27 2022-10-26 20:43:27,539 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver 20:43:27 2022-10-26 20:43:27,540 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-119, universal_newlines=False, shell=None, istream=None) 20:43:28 2022-10-26 20:43:28,753 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-119/.git/info/exclude 20:43:28 2022-10-26 20:43:28,754 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver/PR-119 with force:False 20:43:28 2022-10-26 20:43:28,754 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver/PR-119 20:43:28 2022-10-26 20:43:28,759 [execute] INFO git cat-file --batch-check 20:43:28 2022-10-26 20:43:28,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver, universal_newlines=False, shell=None, istream=) 20:43:28 2022-10-26 20:43:28,767 [execute] INFO git cat-file --batch 20:43:28 2022-10-26 20:43:28,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver, universal_newlines=False, shell=None, istream=) 20:43:28 2022-10-26 20:43:28,773 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-119/.semver/PR-119 20:43:28 0.0.0 [Pipeline] } 20:43:29 $ docker exec --env ******** --env ******** 02f5cf21c053a0d438cde2ad3ab22e79fda2703c6985602c5a24b519c3279fcc ssh-agent -k 20:43:29 unset SSH_AUTH_SOCK; 20:43:29 unset SSH_AGENT_PID; 20:43:29 echo Agent pid 76 killed; 20:43:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:29 + git semver [Pipeline] } 20:43:29 $ docker stop --time=1 02f5cf21c053a0d438cde2ad3ab22e79fda2703c6985602c5a24b519c3279fcc 20:43:31 $ docker rm -f 02f5cf21c053a0d438cde2ad3ab22e79fda2703c6985602c5a24b519c3279fcc [Pipeline] // withDockerContainer [Pipeline] sh 20:43:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:31 Stashed 1 file(s) [Pipeline] echo 20:43:31 [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:43:32 provisioning config files... 20:43:32 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/config14380426676505505592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:32 ---> docker-login.sh 20:43:32 nexus3.edgexfoundry.org:10001 20:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:32 Configure a credential helper to remove this warning. See 20:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:32 20:43:32 Login Succeeded 20:43:32 nexus3.edgexfoundry.org:10002 20:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:32 Configure a credential helper to remove this warning. See 20:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:32 20:43:32 Login Succeeded 20:43:33 nexus3.edgexfoundry.org:10003 20:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:33 Configure a credential helper to remove this warning. See 20:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:33 20:43:33 Login Succeeded 20:43:33 nexus3.edgexfoundry.org:10004 20:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:33 Configure a credential helper to remove this warning. See 20:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:33 20:43:33 Login Succeeded 20:43:33 docker.io 20:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:33 Configure a credential helper to remove this warning. See 20:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:33 20:43:33 Login Succeeded 20:43:33 ---> docker-login.sh ends [Pipeline] } 20:43:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:33 ========================================================= 20:43:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:43:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:34 + 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:43:34 Sending build context to Docker daemon 12.51MB 20:43:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:43:34 Step 2/13 : FROM ${BASE} AS builder 20:43:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:34 213ec9aee27d: Pulling fs layer 20:43:34 4583459ba037: Pulling fs layer 20:43:34 93c1e223e6f2: Pulling fs layer 20:43:34 53926ce57604: Pulling fs layer 20:43:34 21b2b0c7a3f4: Pulling fs layer 20:43:34 30f14e443154: Pulling fs layer 20:43:34 801331c1e519: Pulling fs layer 20:43:34 99cc6dd402b0: Pulling fs layer 20:43:34 7d9ed39f4882: Pulling fs layer 20:43:34 21b2b0c7a3f4: Waiting 20:43:34 7d9ed39f4882: Waiting 20:43:34 99cc6dd402b0: Waiting 20:43:34 30f14e443154: Waiting 20:43:34 801331c1e519: Waiting 20:43:34 53926ce57604: Waiting 20:43:34 93c1e223e6f2: Verifying Checksum 20:43:34 93c1e223e6f2: Download complete 20:43:34 4583459ba037: Verifying Checksum 20:43:34 4583459ba037: Download complete 20:43:34 21b2b0c7a3f4: Download complete 20:43:34 30f14e443154: Verifying Checksum 20:43:34 30f14e443154: Download complete 20:43:34 213ec9aee27d: Download complete 20:43:34 801331c1e519: Download complete 20:43:34 213ec9aee27d: Pull complete 20:43:35 4583459ba037: Pull complete 20:43:35 7d9ed39f4882: Verifying Checksum 20:43:35 7d9ed39f4882: Download complete 20:43:35 93c1e223e6f2: Pull complete 20:43:35 53926ce57604: Verifying Checksum 20:43:35 53926ce57604: Download complete 20:43:35 99cc6dd402b0: Verifying Checksum 20:43:35 99cc6dd402b0: Download complete 20:43:39 53926ce57604: Pull complete 20:43:39 21b2b0c7a3f4: Pull complete 20:43:39 30f14e443154: Pull complete 20:43:39 801331c1e519: Pull complete 20:43:42 99cc6dd402b0: Pull complete 20:43:42 7d9ed39f4882: Pull complete 20:43:42 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:43:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:43:42 ---> 1dedd983c030 20:43:42 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:43:44 ---> Running in 18b09d23872d 20:43:44 Removing intermediate container 18b09d23872d 20:43:44 ---> 2e837d5f81cb 20:43:44 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:43:44 ---> Running in bc5b2f2585a7 20:43:44 Removing intermediate container bc5b2f2585a7 20:43:44 ---> d4f9df37a959 20:43:44 Step 5/13 : ARG ADD_BUILD_TAGS="" 20:43:44 ---> Running in 6a0e4240d8cf 20:43:44 Removing intermediate container 6a0e4240d8cf 20:43:44 ---> 4dbeb723a1cd 20:43:44 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:43:44 ---> Running in 1e76ed2bfec7 20:43:44 Removing intermediate container 1e76ed2bfec7 20:43:44 ---> 65336494a62c 20:43:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:45 ---> Running in e03352297115 20:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:43:45 OK: 211 MiB in 51 packages 20:43:45 Removing intermediate container e03352297115 20:43:45 ---> a76ad85e6bce 20:43:45 Step 8/13 : WORKDIR /app 20:43:45 ---> Running in 2750333515a3 20:43:46 Removing intermediate container 2750333515a3 20:43:46 ---> 353706fcbcbe 20:43:46 Step 9/13 : COPY go.mod vendor* ./ 20:43:46 ---> 81829a7c5e62 20:43:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:46 ---> Running in 60a491474489 20:43:47 Still waiting to schedule task 20:43:47 ‘prd-ubuntu20.04-docker-8c-8g-117299’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:43:47 ‘prd-ubuntu20.04-docker-8c-8g-117300’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:43:47 ‘prd-ubuntu20.04-docker-8c-8g-117301’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:43:47 ‘prd-ubuntu20.04-docker-8c-8g-117302’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:43:47 ‘prd-ubuntu20.04-docker-8c-8g-117307’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:43:47 ‘prd-ubuntu20.04-docker-8c-8g-117321’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:43:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117303’ is offline 20:43:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117304’ is offline 20:43:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117306’ is offline 20:43:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117308’ is offline 20:43:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117318’ is offline 20:43:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117327’ is offline 20:44:04 Removing intermediate container 60a491474489 20:44:04 ---> 74af63694ab0 20:44:04 Step 11/13 : COPY . . 20:44:04 ---> a6ea04194625 20:44:04 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:04 ---> Running in d345ff7e4ed5 20:44:04 Removing intermediate container d345ff7e4ed5 20:44:04 ---> 3061130f0171 20:44:04 Step 13/13 : RUN $MAKE 20:44:04 ---> Running in af6cb4afaa3b 20:44:04 noop 20:44:04 Removing intermediate container af6cb4afaa3b 20:44:04 ---> 94eac79484c2 20:44:04 Successfully built 94eac79484c2 20:44:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:04 + docker inspect -f . ci-base-image-x86_64 20:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:05 prd-ubuntu20.04-docker-8c-8g-117324 does not seem to be running inside a container 20:44:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-119 -v /w/workspace/y_app-rfid-llrp-inventory_PR-119:/w/workspace/y_app-rfid-llrp-inventory_PR-119:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-119@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:44:05 $ docker top 2ff6cec963e35f851ba1f86ddce87e74ee5955226d40004c89869fb929d3e13c -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:05 + go version 20:44:05 go version go1.18.7 linux/amd64 [Pipeline] } 20:44:05 $ docker stop --time=1 2ff6cec963e35f851ba1f86ddce87e74ee5955226d40004c89869fb929d3e13c 20:44:07 $ docker rm -f 2ff6cec963e35f851ba1f86ddce87e74ee5955226d40004c89869fb929d3e13c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:07 + docker inspect -f . ci-base-image-x86_64 20:44:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:08 prd-ubuntu20.04-docker-8c-8g-117324 does not seem to be running inside a container 20:44:08 $ 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-119 -v /w/workspace/y_app-rfid-llrp-inventory_PR-119:/w/workspace/y_app-rfid-llrp-inventory_PR-119:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-119@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:44:08 $ docker top 05c45382e3e44e096f95fa36745e0ca8310ae2670c3e0e27b7ec2f5144a11292 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:08 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-119 [Pipeline] fileExists [Pipeline] sh 20:44:09 + make test 20:44:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:44:19 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 20:44:19 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.039s coverage: 86.2% of statements 20:44:19 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 20:44:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.555s coverage: 71.9% of statements 20:44:29 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:44:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:44:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:44:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:44:33 ./bin/test-attribution.sh [Pipeline] echo 20:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:44:33 $ docker stop --time=1 05c45382e3e44e096f95fa36745e0ca8310ae2670c3e0e27b7ec2f5144a11292 20:44:34 $ docker rm -f 05c45382e3e44e096f95fa36745e0ca8310ae2670c3e0e27b7ec2f5144a11292 [Pipeline] // withDockerContainer [Pipeline] sh 20:44:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:44:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:44:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:44:36 + ls -al . 20:44:36 total 236 20:44:36 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:44 . 20:44:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 .. 20:44:36 -rw-rw-r-- 1 jenkins jenkins 262 Oct 26 20:43 .dockerignore 20:44:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:44 .git 20:44:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:43 .github 20:44:36 -rw-rw-r-- 1 jenkins jenkins 788 Oct 26 20:43 .gitignore 20:44:36 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:43 .golangci.yml 20:44:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:43 .semver 20:44:36 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 26 20:43 Attribution.txt 20:44:36 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 26 20:43 CHANGELOG.md 20:44:36 -rw-rw-r-- 1 jenkins jenkins 1815 Oct 26 20:43 Dockerfile 20:44:36 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:43 GOVERNANCE.md 20:44:36 -rw-rw-r-- 1 jenkins jenkins 687 Oct 26 20:43 Jenkinsfile 20:44:36 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 26 20:43 LICENSE 20:44:36 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 26 20:43 Makefile 20:44:36 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 20:43 OWNERS.md 20:44:36 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 26 20:43 README.md 20:44:36 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:43 VERSION 20:44:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:43 bin 20:44:36 -rw-r--r-- 1 jenkins jenkins 41008 Oct 26 20:44 coverage.out 20:44:36 -rw-rw-r-- 1 jenkins jenkins 3646 Oct 26 20:43 go.mod 20:44:36 -rw-rw-r-- 1 jenkins jenkins 44955 Oct 26 20:43 go.sum 20:44:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:43 images 20:44:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 internal 20:44:36 -rw-rw-r-- 1 jenkins jenkins 531 Oct 26 20:43 main.go 20:44:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:43 res 20:44:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 snap 20:44:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:43 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:36 + 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=b2ada4799839b263ee1bda791335d3480a7347ee --label arch=amd64 --label version=0.0.0 . 20:44:36 Sending build context to Docker daemon 12.51MB 20:44:36 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 20:44:36 Step 2/30 : FROM ${BASE} AS builder 20:44:36 ---> 94eac79484c2 20:44:36 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:44:36 ---> Running in e1686dc3cb18 20:44:37 Removing intermediate container e1686dc3cb18 20:44:37 ---> 81ef94c447fe 20:44:37 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 20:44:37 ---> Running in 75bf45b3b221 20:44:37 Removing intermediate container 75bf45b3b221 20:44:37 ---> 528a92d9bc45 20:44:37 Step 5/30 : ARG ADD_BUILD_TAGS="" 20:44:37 ---> Running in 3afa28d23ba5 20:44:37 Removing intermediate container 3afa28d23ba5 20:44:37 ---> c133c4843786 20:44:37 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:44:37 ---> Running in 58a4f01d11d0 20:44:37 Removing intermediate container 58a4f01d11d0 20:44:37 ---> 09b2509396ee 20:44:37 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:37 ---> Running in 334d77edfc50 20:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:44:38 OK: 211 MiB in 51 packages 20:44:38 Removing intermediate container 334d77edfc50 20:44:38 ---> dc73e84d36d6 20:44:38 Step 8/30 : WORKDIR /app 20:44:38 ---> Running in cc3ffb295776 20:44:38 Removing intermediate container cc3ffb295776 20:44:38 ---> a5d26185f654 20:44:38 Step 9/30 : COPY go.mod vendor* ./ 20:44:38 ---> 831e15c92e22 20:44:38 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:38 ---> Running in 719f8497a40f 20:44:39 Removing intermediate container 719f8497a40f 20:44:39 ---> f275486f46a1 20:44:39 Step 11/30 : COPY . . 20:44:39 ---> 03337e4c454d 20:44:39 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:39 ---> Running in 945de92c9201 20:44:39 Removing intermediate container 945de92c9201 20:44:39 ---> be48ad071873 20:44:39 Step 13/30 : RUN $MAKE 20:44:39 ---> Running in 06cc33d1683e 20:44:40 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.58 -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:45:02 Removing intermediate container 06cc33d1683e 20:45:02 ---> 56c4ba3f779e 20:45:02 Step 14/30 : FROM alpine:3.14 20:45:02 3.14: Pulling from library/alpine 20:45:02 c7ed990a2339: Pulling fs layer 20:45:02 c7ed990a2339: Verifying Checksum 20:45:02 c7ed990a2339: Download complete 20:45:02 c7ed990a2339: Pull complete 20:45:02 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:45:02 Status: Downloaded newer image for alpine:3.14 20:45:02 ---> dd53f409bf0b 20:45:02 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:45:02 ---> Running in 4e641dca0a04 20:45:02 Removing intermediate container 4e641dca0a04 20:45:02 ---> 8260051814e7 20:45:02 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 20:45:02 ---> Running in cbe6ffbafa45 20:45:02 Removing intermediate container cbe6ffbafa45 20:45:02 ---> 72f46d73792e 20:45:02 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 20:45:02 ---> Running in 98b9f74e69f9 20:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:45:02 (1/7) Installing ca-certificates (20220614-r0) 20:45:02 (2/7) Installing dumb-init (1.2.5-r1) 20:45:02 (3/7) Installing libgcc (10.3.1_git20210424-r2) 20:45:02 (4/7) Installing libsodium (1.0.18-r0) 20:45:02 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 20:45:02 (6/7) Installing libzmq (4.3.4-r0) 20:45:02 (7/7) Installing zeromq (4.3.4-r0) 20:45:03 Executing busybox-1.33.1-r8.trigger 20:45:03 Executing ca-certificates-20220614-r0.trigger 20:45:03 OK: 9 MiB in 21 packages 20:45:03 Removing intermediate container 98b9f74e69f9 20:45:03 ---> dca7b48b3e23 20:45:03 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:45:03 ---> 39ad5335b13f 20:45:03 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 20:45:04 ---> 5ab628170e9f 20:45:04 Step 20/30 : COPY --from=builder /app/res/ /res/ 20:45:04 ---> 522d311eba39 20:45:04 Step 21/30 : COPY --from=builder /app/static/ /static/ 20:45:04 ---> 43624effc0f7 20:45:04 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 20:45:04 ---> debd68552625 20:45:04 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 20:45:04 ---> Running in 1bd2509fcc39 20:45:05 Removing intermediate container 1bd2509fcc39 20:45:05 ---> 36938490d46d 20:45:05 Step 24/30 : VOLUME /cache 20:45:05 ---> Running in 645f280e1aa0 20:45:05 Removing intermediate container 645f280e1aa0 20:45:05 ---> 55c2e2e9bb30 20:45:05 Step 25/30 : EXPOSE 59711 20:45:05 ---> Running in b80af2a50f76 20:45:05 Removing intermediate container b80af2a50f76 20:45:05 ---> 61568e9d39a5 20:45:05 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 20:45:05 ---> Running in 318b62a0afa6 20:45:05 Removing intermediate container 318b62a0afa6 20:45:05 ---> 2fe4f740b674 20:45:05 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 20:45:05 ---> Running in 04040153f4bb 20:45:05 Removing intermediate container 04040153f4bb 20:45:05 ---> 5290f5b03150 20:45:05 Step 28/30 : LABEL arch=amd64 20:45:05 ---> Running in 59dcb1218dfd 20:45:05 Removing intermediate container 59dcb1218dfd 20:45:05 ---> 37a11d6cadee 20:45:05 Step 29/30 : LABEL git_sha=b2ada4799839b263ee1bda791335d3480a7347ee 20:45:05 ---> Running in 78bbbd1ad2ca 20:45:06 Removing intermediate container 78bbbd1ad2ca 20:45:06 ---> a4bdf2b6a3c0 20:45:06 Step 30/30 : LABEL version=0.0.0 20:45:06 ---> Running in b973c3291c81 20:45:06 Removing intermediate container b973c3291c81 20:45:06 ---> b36a718afcd6 20:45:06 [Warning] One or more build-args [ARCH] were not consumed 20:45:06 Successfully built b36a718afcd6 20:45:06 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:45:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:07 20:45:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:07 latest: Pulling from edgex-lftools-log-publisher 20:45:07 5eb5b503b376: Pulling fs layer 20:45:07 5c69ac0246d0: Pulling fs layer 20:45:07 ec43610c2a17: Pulling fs layer 20:45:07 3a2ae6a8a46f: Pulling fs layer 20:45:07 33b1e0a273af: Pulling fs layer 20:45:07 5d3b04190fa2: Pulling fs layer 20:45:07 2f39f015ded8: Pulling fs layer 20:45:07 3a2ae6a8a46f: Waiting 20:45:07 33b1e0a273af: Waiting 20:45:07 5d3b04190fa2: Waiting 20:45:07 2f39f015ded8: Waiting 20:45:07 5c69ac0246d0: Verifying Checksum 20:45:07 5c69ac0246d0: Download complete 20:45:07 3a2ae6a8a46f: Verifying Checksum 20:45:07 3a2ae6a8a46f: Download complete 20:45:07 33b1e0a273af: Verifying Checksum 20:45:07 33b1e0a273af: Download complete 20:45:07 5d3b04190fa2: Verifying Checksum 20:45:07 5d3b04190fa2: Download complete 20:45:07 ec43610c2a17: Verifying Checksum 20:45:07 ec43610c2a17: Download complete 20:45:07 5eb5b503b376: Verifying Checksum 20:45:07 5eb5b503b376: Download complete 20:45:08 2f39f015ded8: Download complete 20:45:08 5eb5b503b376: Pull complete 20:45:08 5c69ac0246d0: Pull complete 20:45:09 ec43610c2a17: Pull complete 20:45:09 3a2ae6a8a46f: Pull complete 20:45:09 33b1e0a273af: Pull complete 20:45:09 5d3b04190fa2: Pull complete 20:45:13 2f39f015ded8: Pull complete 20:45:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:14 prd-ubuntu20.04-docker-8c-8g-117324 does not seem to be running inside a container 20:45:14 $ 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-119 -v /w/workspace/y_app-rfid-llrp-inventory_PR-119:/w/workspace/y_app-rfid-llrp-inventory_PR-119:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-119@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:45:15 $ docker top a570dcc90f11a94d7ba780f182c5c69a7cd6073ef69639f391baac90841ac47d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:16 ---> job-cost.sh 20:45:16 lf-activate-venv: SKIPPING 20:45:16 INFO: No Stack... 20:45:16 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:16 INFO: Archiving Costs [Pipeline] sh 20:45:17 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-119/archives/cost.csv 20:45:17 + cut -d, -f6 [Pipeline] lock 20:45:17 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] 20:45:17 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] did not exist. Created. 20:45:17 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:45:17 Stashed 1 file(s) [Pipeline] } 20:45:17 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:17 $ docker stop --time=1 a570dcc90f11a94d7ba780f182c5c69a7cd6073ef69639f391baac90841ac47d 20:45:18 $ docker rm -f a570dcc90f11a94d7ba780f182c5c69a7cd6073ef69639f391baac90841ac47d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:51:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117362 in /w/workspace/y_app-rfid-llrp-inventory_PR-119 [Pipeline] { [Pipeline] ws 20:51:13 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 20:51:13 The recommended git tool is: git 20:51:20 using credential edgex-jenkins-ssh 20:51:20 Cloning the remote Git repository 20:51:20 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:51:20 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 20:51:21 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:51:21 > git --version # timeout=10 20:51:21 > git --version # 'git version 2.25.1' 20:51:21 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:21 Verifying host key using known hosts file 20:51:21 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:51:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:23 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 20:51:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:25 Merging remotes/origin/main commit 76318d8d0ed5e6f9c337186f7bcc2221c50803e5 into PR head commit b2ada4799839b263ee1bda791335d3480a7347ee 20:51:24 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 20:51:25 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:51:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:25 Verifying host key using known hosts file 20:51:25 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:51:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/119/head:refs/remotes/origin/PR-119 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:51:25 > git config core.sparsecheckout # timeout=10 20:51:25 > git checkout -f b2ada4799839b263ee1bda791335d3480a7347ee # timeout=10 20:51:25 > git remote # timeout=10 20:51:25 > git config --get remote.origin.url # timeout=10 20:51:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:25 Verifying host key using known hosts file 20:51:25 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:51:25 > git merge 76318d8d0ed5e6f9c337186f7bcc2221c50803e5 # timeout=10 20:51:25 Merge succeeded, producing b2ada4799839b263ee1bda791335d3480a7347ee 20:51:25 Checking out Revision b2ada4799839b263ee1bda791335d3480a7347ee (PR-119) 20:51:25 > git rev-parse HEAD^{commit} # timeout=10 20:51:25 > git config core.sparsecheckout # timeout=10 20:51:26 > git checkout -f b2ada4799839b263ee1bda791335d3480a7347ee # timeout=10 20:51:29 Commit message: "build: Update to latest SDK" 20:51:29 > git --version # timeout=10 20:51:29 > git --version # 'git version 2.25.1' 20:51:29 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:51:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:30 Dload Upload Total Spent Left Speed 20:51:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 20:51:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:51:31 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:51:31 sudo tee /etc/docker/daemon.new 20:51:31 { 20:51:31 "registry-mirrors": [ 20:51:31 "https://nexus3.edgexfoundry.org:10001" 20:51:31 ], 20:51:31 "bip": "10.250.0.254/24", 20:51:31 "hosts": [ 20:51:31 "tcp://0.0.0.0:5555", 20:51:31 "unix:///var/run/docker.sock" 20:51:31 ], 20:51:31 "mtu": 1458, 20:51:31 "selinux-enabled": true, 20:51:31 "seccomp-profile": "/etc/docker/seccomp.json" 20:51:31 } [Pipeline] sh 20:51:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:51:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:51 provisioning config files... 20:51:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config16810280630992912714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:51 ---> docker-login.sh 20:51:51 nexus3.edgexfoundry.org:10001 20:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:52 Configure a credential helper to remove this warning. See 20:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:52 20:51:52 Login Succeeded 20:51:52 nexus3.edgexfoundry.org:10002 20:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:52 Configure a credential helper to remove this warning. See 20:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:52 20:51:52 Login Succeeded 20:51:52 nexus3.edgexfoundry.org:10003 20:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:52 Configure a credential helper to remove this warning. See 20:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:52 20:51:52 Login Succeeded 20:51:52 nexus3.edgexfoundry.org:10004 20:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:53 Configure a credential helper to remove this warning. See 20:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:53 20:51:53 Login Succeeded 20:51:53 docker.io 20:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:53 Configure a credential helper to remove this warning. See 20:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:53 20:51:53 Login Succeeded 20:51:53 ---> docker-login.sh ends [Pipeline] } 20:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:54 ========================================================= 20:51:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:51:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:54 + 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:51:55 Sending build context to Docker daemon 684.5kB 20:51:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:51:55 Step 2/13 : FROM ${BASE} AS builder 20:51:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:51:55 9b18e9b68314: Pulling fs layer 20:51:55 d32db5db7311: Pulling fs layer 20:51:55 d0c4b47475fc: Pulling fs layer 20:51:55 5831b945b038: Pulling fs layer 20:51:55 86bbec2aaacd: Pulling fs layer 20:51:55 e10730c5d714: Pulling fs layer 20:51:55 5dd5c2283517: Pulling fs layer 20:51:55 d5ac0230b979: Pulling fs layer 20:51:55 5831b945b038: Waiting 20:51:55 86bbec2aaacd: Waiting 20:51:55 d5ac0230b979: Waiting 20:51:55 e10730c5d714: Waiting 20:51:55 5dd5c2283517: Waiting 20:51:55 d0c4b47475fc: Verifying Checksum 20:51:55 d0c4b47475fc: Download complete 20:51:55 d32db5db7311: Verifying Checksum 20:51:55 d32db5db7311: Download complete 20:51:55 86bbec2aaacd: Verifying Checksum 20:51:55 86bbec2aaacd: Download complete 20:51:55 e10730c5d714: Verifying Checksum 20:51:55 e10730c5d714: Download complete 20:51:55 9b18e9b68314: Verifying Checksum 20:51:56 9b18e9b68314: Pull complete 20:51:56 d5ac0230b979: Verifying Checksum 20:51:56 d5ac0230b979: Download complete 20:51:57 d32db5db7311: Pull complete 20:51:57 d0c4b47475fc: Pull complete 20:51:57 5dd5c2283517: Verifying Checksum 20:51:57 5dd5c2283517: Download complete 20:51:58 5831b945b038: Verifying Checksum 20:51:58 5831b945b038: Download complete 20:52:10 5831b945b038: Pull complete 20:52:10 86bbec2aaacd: Pull complete 20:52:10 e10730c5d714: Pull complete 20:52:16 5dd5c2283517: Pull complete 20:52:18 d5ac0230b979: Pull complete 20:52:18 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:52:18 ---> 59b3b1a385d4 20:52:18 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:52:20 ---> Running in 73216c1534fd 20:52:20 Removing intermediate container 73216c1534fd 20:52:20 ---> f3e4116966a0 20:52:20 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:52:20 ---> Running in f02f8afbd055 20:52:21 Removing intermediate container f02f8afbd055 20:52:21 ---> 753946f38fcb 20:52:21 Step 5/13 : ARG ADD_BUILD_TAGS="" 20:52:21 ---> Running in 3c2dc1f078a3 20:52:21 Removing intermediate container 3c2dc1f078a3 20:52:21 ---> 3affd463c5fa 20:52:21 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:52:21 ---> Running in 1f328164fb22 20:52:21 Removing intermediate container 1f328164fb22 20:52:21 ---> e326600ab06c 20:52:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:22 ---> Running in d7ad936d3c9f 20:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:52:24 OK: 221 MiB in 51 packages 20:52:25 Removing intermediate container d7ad936d3c9f 20:52:25 ---> 4485312db872 20:52:25 Step 8/13 : WORKDIR /app 20:52:25 ---> Running in 0fcbe311d512 20:52:26 Removing intermediate container 0fcbe311d512 20:52:26 ---> 23e16fb78963 20:52:26 Step 9/13 : COPY go.mod vendor* ./ 20:52:26 ---> 39e42f63dd79 20:52:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:26 ---> Running in f209175fba58 20:53:23 Removing intermediate container f209175fba58 20:53:23 ---> 3a7fb6aa8450 20:53:23 Step 11/13 : COPY . . 20:53:23 ---> 9a9b9e2bd61d 20:53:23 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:23 ---> Running in 1b7be4aaf3df 20:53:23 Removing intermediate container 1b7be4aaf3df 20:53:23 ---> a783d487dafd 20:53:23 Step 13/13 : RUN $MAKE 20:53:23 ---> Running in ca2a71ae7f6d 20:53:23 noop 20:53:24 Removing intermediate container ca2a71ae7f6d 20:53:24 ---> 8d75400779c3 20:53:24 Successfully built 8d75400779c3 20:53:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:24 + docker inspect -f . ci-base-image-arm64 20:53:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:25 prd-ubuntu20.04-docker-arm64-4c-16g-117362 does not seem to be running inside a container 20:53:25 $ 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 ******** -e ******** ci-base-image-arm64 cat 20:53:26 $ docker top cf7a7b5526bd330e54a0dc74b92ce549adfaf56366bfe6467922a380e7d4a6fc -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:27 + go version 20:53:27 go version go1.18.7 linux/arm64 [Pipeline] } 20:53:27 $ docker stop --time=1 cf7a7b5526bd330e54a0dc74b92ce549adfaf56366bfe6467922a380e7d4a6fc 20:53:29 $ docker rm -f cf7a7b5526bd330e54a0dc74b92ce549adfaf56366bfe6467922a380e7d4a6fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:30 + docker inspect -f . ci-base-image-arm64 20:53:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:30 prd-ubuntu20.04-docker-arm64-4c-16g-117362 does not seem to be running inside a container 20:53:30 $ 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 ******** -e ******** ci-base-image-arm64 cat 20:53:31 $ docker top 21c22e4d5336831f51ecc5d19620a838a5ecc9136a6a09e881c9911a515e9c19 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:32 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 20:53:33 + make test 20:53:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:55:25 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 20:55:25 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.216s coverage: 86.2% of statements 20:55:25 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 20:55:27 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.793s coverage: 71.9% of statements 20:55:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:55:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:56:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:14 ./bin/test-attribution.sh [Pipeline] echo 20:56:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:15 $ docker stop --time=1 21c22e4d5336831f51ecc5d19620a838a5ecc9136a6a09e881c9911a515e9c19 20:56:17 $ docker rm -f 21c22e4d5336831f51ecc5d19620a838a5ecc9136a6a09e881c9911a515e9c19 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:18 Warning: overwriting stash ‘coverage-report’ 20:56:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:20 + ls -al . 20:56:20 total 232 20:56:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:53 . 20:56:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:51 .. 20:56:20 -rw-rw-r-- 1 jenkins jenkins 262 Oct 26 20:51 .dockerignore 20:56:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:51 .git 20:56:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:51 .github 20:56:20 -rw-rw-r-- 1 jenkins jenkins 788 Oct 26 20:51 .gitignore 20:56:20 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:51 .golangci.yml 20:56:20 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 26 20:51 Attribution.txt 20:56:20 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 26 20:51 CHANGELOG.md 20:56:20 -rw-rw-r-- 1 jenkins jenkins 1815 Oct 26 20:51 Dockerfile 20:56:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:51 GOVERNANCE.md 20:56:20 -rw-rw-r-- 1 jenkins jenkins 687 Oct 26 20:51 Jenkinsfile 20:56:20 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 26 20:51 LICENSE 20:56:20 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 26 20:51 Makefile 20:56:20 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 20:51 OWNERS.md 20:56:20 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 26 20:51 README.md 20:56:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:43 VERSION 20:56:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:51 bin 20:56:20 -rw-r--r-- 1 jenkins jenkins 41008 Oct 26 20:55 coverage.out 20:56:20 -rw-rw-r-- 1 jenkins jenkins 3646 Oct 26 20:51 go.mod 20:56:20 -rw-rw-r-- 1 jenkins jenkins 44955 Oct 26 20:51 go.sum 20:56:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:51 images 20:56:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:51 internal 20:56:20 -rw-rw-r-- 1 jenkins jenkins 531 Oct 26 20:51 main.go 20:56:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:51 res 20:56:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:51 snap 20:56:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:51 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:20 + 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=b2ada4799839b263ee1bda791335d3480a7347ee --label arch=arm64 --label version=0.0.0 . 20:56:20 Sending build context to Docker daemon 684.5kB 20:56:20 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 20:56:20 Step 2/30 : FROM ${BASE} AS builder 20:56:20 ---> 8d75400779c3 20:56:20 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:56:21 ---> Running in 43cef4b1c13c 20:56:23 Removing intermediate container 43cef4b1c13c 20:56:23 ---> a244df39a6bd 20:56:23 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 20:56:23 ---> Running in 8c32f70ac8d0 20:56:23 Removing intermediate container 8c32f70ac8d0 20:56:23 ---> ea9f7ca6327b 20:56:23 Step 5/30 : ARG ADD_BUILD_TAGS="" 20:56:23 ---> Running in 82572043b0c6 20:56:24 Removing intermediate container 82572043b0c6 20:56:24 ---> b6f4b9122373 20:56:24 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:56:24 ---> Running in 5bd5d7703ac7 20:56:26 Removing intermediate container 5bd5d7703ac7 20:56:26 ---> 865591d845f4 20:56:26 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:26 ---> Running in ee3b16c9fe64 20:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:56:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:56:29 OK: 221 MiB in 51 packages 20:56:31 Removing intermediate container ee3b16c9fe64 20:56:31 ---> baf2d6da42d4 20:56:31 Step 8/30 : WORKDIR /app 20:56:31 ---> Running in 77e654cb2851 20:56:33 Removing intermediate container 77e654cb2851 20:56:33 ---> 7f3bd499a243 20:56:33 Step 9/30 : COPY go.mod vendor* ./ 20:56:34 ---> b70e5e27fa75 20:56:34 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:34 ---> Running in 194880415af4 20:56:37 Removing intermediate container 194880415af4 20:56:37 ---> 6fedff2aaea3 20:56:37 Step 11/30 : COPY . . 20:56:38 ---> b6e26281e414 20:56:38 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:38 ---> Running in b6a201d29790 20:56:38 Removing intermediate container b6a201d29790 20:56:38 ---> ddd6d402ff29 20:56:38 Step 13/30 : RUN $MAKE 20:56:38 ---> Running in 5e14d2b86841 20:56:40 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.58 -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:59:47 Removing intermediate container 5e14d2b86841 20:59:47 ---> 16b3cce7a487 20:59:47 Step 14/30 : FROM alpine:3.14 20:59:47 3.14: Pulling from library/alpine 20:59:47 90cda3b7c325: Pulling fs layer 20:59:47 90cda3b7c325: Download complete 20:59:47 90cda3b7c325: Pull complete 20:59:47 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:59:47 Status: Downloaded newer image for alpine:3.14 20:59:47 ---> 376ba31ae3da 20:59:47 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:47 ---> Running in 9d395cb6a03a 20:59:47 Removing intermediate container 9d395cb6a03a 20:59:47 ---> f64b16a8f787 20:59:47 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 20:59:47 ---> Running in aaa58520e681 20:59:47 Removing intermediate container aaa58520e681 20:59:47 ---> b6f20d44b6d7 20:59:47 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 20:59:47 ---> Running in 81fc0bcb1e37 20:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:59:47 (1/7) Installing ca-certificates (20220614-r0) 20:59:47 (2/7) Installing dumb-init (1.2.5-r1) 20:59:47 (3/7) Installing libgcc (10.3.1_git20210424-r2) 20:59:47 (4/7) Installing libsodium (1.0.18-r0) 20:59:47 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 20:59:47 (6/7) Installing libzmq (4.3.4-r0) 20:59:47 (7/7) Installing zeromq (4.3.4-r0) 20:59:47 Executing busybox-1.33.1-r8.trigger 20:59:47 Executing ca-certificates-20220614-r0.trigger 20:59:47 OK: 9 MiB in 21 packages 20:59:47 Removing intermediate container 81fc0bcb1e37 20:59:47 ---> f5995e492d21 20:59:47 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:59:47 ---> 6e48301cb444 20:59:47 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 20:59:47 ---> c1e177effeca 20:59:47 Step 20/30 : COPY --from=builder /app/res/ /res/ 20:59:47 ---> 412d5d56b389 20:59:47 Step 21/30 : COPY --from=builder /app/static/ /static/ 20:59:47 ---> edb45bf29db3 20:59:47 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 20:59:47 ---> 6bdf59672ac9 20:59:47 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 20:59:47 ---> Running in ed4ab85621f3 20:59:47 Removing intermediate container ed4ab85621f3 20:59:47 ---> a79f2df3c66c 20:59:47 Step 24/30 : VOLUME /cache 20:59:47 ---> Running in be0e5428eeec 20:59:47 Removing intermediate container be0e5428eeec 20:59:47 ---> 4cde192110e8 20:59:47 Step 25/30 : EXPOSE 59711 20:59:47 ---> Running in 8790bd7d1f9f 20:59:47 Removing intermediate container 8790bd7d1f9f 20:59:47 ---> 8f765e192266 20:59:47 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 20:59:47 ---> Running in 0aceab473366 20:59:47 Removing intermediate container 0aceab473366 20:59:47 ---> ec6636f4d5b4 20:59:47 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 20:59:47 ---> Running in daa65070caf2 20:59:47 Removing intermediate container daa65070caf2 20:59:47 ---> f9885f37776e 20:59:47 Step 28/30 : LABEL arch=arm64 20:59:47 ---> Running in f4f7fd8c1990 20:59:48 Removing intermediate container f4f7fd8c1990 20:59:48 ---> 296ca1b568e2 20:59:48 Step 29/30 : LABEL git_sha=b2ada4799839b263ee1bda791335d3480a7347ee 20:59:48 ---> Running in e545ddb045e5 20:59:48 Removing intermediate container e545ddb045e5 20:59:48 ---> 1cb3e00c3f42 20:59:48 Step 30/30 : LABEL version=0.0.0 20:59:48 ---> Running in dd145ac0f06b 20:59:49 Removing intermediate container dd145ac0f06b 20:59:49 ---> 60c65932bf9e 20:59:49 [Warning] One or more build-args [ARCH] were not consumed 20:59:49 Successfully built 60c65932bf9e 20:59:49 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:59:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:49 20:59:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:50 arm64: Pulling from edgex-lftools-log-publisher 20:59:50 8998bd30e6a1: Pulling fs layer 20:59:50 04944245beec: Pulling fs layer 20:59:50 699f458cf7ca: Pulling fs layer 20:59:50 765212b225bb: Pulling fs layer 20:59:50 f23df028b6ca: Pulling fs layer 20:59:50 d65c8cfc05b1: Pulling fs layer 20:59:50 2437ff75d9bd: Pulling fs layer 20:59:50 f23df028b6ca: Waiting 20:59:50 d65c8cfc05b1: Waiting 20:59:50 2437ff75d9bd: Waiting 20:59:50 765212b225bb: Waiting 20:59:50 04944245beec: Verifying Checksum 20:59:50 04944245beec: Download complete 20:59:50 765212b225bb: Verifying Checksum 20:59:50 765212b225bb: Download complete 20:59:50 f23df028b6ca: Verifying Checksum 20:59:50 f23df028b6ca: Download complete 20:59:50 d65c8cfc05b1: Verifying Checksum 20:59:50 d65c8cfc05b1: Download complete 20:59:50 699f458cf7ca: Download complete 20:59:51 8998bd30e6a1: Verifying Checksum 20:59:51 8998bd30e6a1: Download complete 20:59:54 2437ff75d9bd: Verifying Checksum 20:59:54 2437ff75d9bd: Download complete 20:59:55 8998bd30e6a1: Pull complete 20:59:56 04944245beec: Pull complete 20:59:58 699f458cf7ca: Pull complete 20:59:58 765212b225bb: Pull complete 20:59:59 f23df028b6ca: Pull complete 20:59:59 d65c8cfc05b1: Pull complete 21:00:17 2437ff75d9bd: Pull complete 21:00:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:00:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:17 prd-ubuntu20.04-docker-arm64-4c-16g-117362 does not seem to be running inside a container 21:00:17 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:00:21 $ docker top d384a0c426619879e0e856a75451ee0275a1dd8a3e5a5c195764a8a503bd32aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:22 ---> job-cost.sh 21:00:22 lf-activate-venv: SKIPPING 21:00:22 INFO: No Stack... 21:00:22 INFO: Retrieving Pricing Info for: v3-standard-4 21:00:23 INFO: Archiving Costs [Pipeline] sh 21:00:23 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 21:00:23 + cut -d, -f6 [Pipeline] lock 21:00:23 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] 21:00:23 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] did not exist. Created. 21:00:23 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:24 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-7b18b552/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:00:25 + echo total: 0.10999999940395355 [Pipeline] stash 21:00:25 Warning: overwriting stash ‘stack-cost’ 21:00:25 Stashed 1 file(s) [Pipeline] } 21:00:25 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-119-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:25 $ docker stop --time=1 d384a0c426619879e0e856a75451ee0275a1dd8a3e5a5c195764a8a503bd32aa 21:00:27 $ docker rm -f d384a0c426619879e0e856a75451ee0275a1dd8a3e5a5c195764a8a503bd32aa [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 21:00:28 provisioning config files... 21:00:28 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/config16104358268448514896tmp [Pipeline] { [Pipeline] sh 21:00:28 + set +x 21:00:28 + curl -s https://codecov.io/bash 21:00:28 + bash -s -- 21:00:28 21:00:28 _____ _ 21:00:28 / ____| | | 21:00:28 | | ___ __| | ___ ___ _____ __ 21:00:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:00:28 | |___| (_) | (_| | __/ (_| (_) \ V / 21:00:28 \_____\___/ \__,_|\___|\___\___/ \_/ 21:00:28 Bash-1.0.6 21:00:28 21:00:28 21:00:28 ==> git version 2.25.1 found 21:00:28 ==> 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 21:00:28 Release-Date: 2020-01-08 21:00:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:00:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:00:28 ==> Jenkins CI detected. 21:00:28 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-119 21:00:28 project root: . 21:00:28 --> token set from env 21:00:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:00:28 ==> Running gcov in . (disable via -X gcov) 21:00:28 ==> Python coveragepy not found 21:00:28 ==> Searching for coverage reports in: 21:00:28 + . 21:00:28 -> Found 1 reports 21:00:28 ==> Detecting git/mercurial file structure 21:00:28 ==> Reading reports 21:00:28 + ./coverage.out bytes=41008 21:00:28 ==> Appending adjustments 21:00:28 https://docs.codecov.io/docs/fixing-reports 21:00:28 + Found adjustments 21:00:28 ==> Gzipping contents 21:00:28 12K /tmp/codecov.jq97Al.gz 21:00:28 ==> Uploading reports 21:00:28 url: https://codecov.io 21:00:28 query: branch=PR-119&commit=b2ada4799839b263ee1bda791335d3480a7347ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-119%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=119&job=&cmd_args= 21:00:28 -> Pinging Codecov 21:00:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-119&commit=b2ada4799839b263ee1bda791335d3480a7347ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-119%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=119&job=&cmd_args= 21:00:29 -> Uploading to 21:00:29 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/581DD39554BDF9B6E22D074273EAD858/b2ada4799839b263ee1bda791335d3480a7347ee/b799f79b-aa6d-4fdc-8961-a8543be468a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T210029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=220b76a3a09670515d2ec65cd2c478606736605fc45d267a7ed00ff6a7849255 21:00:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:29 Dload Upload Total Spent Left Speed 21:00:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11468 0 0 100 11468 0 39681 --:--:-- --:--:-- --:--:-- 39681 21:00:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/b2ada4799839b263ee1bda791335d3480a7347ee [Pipeline] } 21:00:29 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 21:00:31 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-119/archives ] 21:00:31 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-119/archives 21:00:31 total 16 21:00:31 drwxr-xr-x 3 root root 4096 Oct 26 20:45 . 21:00:31 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 20:45 .. 21:00:31 drwxr-xr-x 2 root root 4096 Oct 26 20:45 cost 21:00:31 -rw-r--r-- 1 root root 95 Oct 26 20:45 cost.csv 21:00:31 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-119/archives 21:00:31 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-119/archives 21:00:31 total 16 21:00:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:45 . 21:00:31 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 20:45 .. 21:00:31 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:45 cost 21:00:31 -rw-r--r-- 1 jenkins jenkins 95 Oct 26 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:00:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:00:32 ---> package-listing.sh 21:00:32 ++ facter osfamily 21:00:32 ++ tr '[:upper:]' '[:lower:]' 21:00:32 + OS_FAMILY=debian 21:00:32 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-119 21:00:32 + START_PACKAGES=/tmp/packages_start.txt 21:00:32 + END_PACKAGES=/tmp/packages_end.txt 21:00:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:00:32 + PACKAGES=/tmp/packages_start.txt 21:00:32 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-119 ']' 21:00:32 + PACKAGES=/tmp/packages_end.txt 21:00:32 + case "${OS_FAMILY}" in 21:00:32 + dpkg -l 21:00:32 + grep '^ii' 21:00:32 + '[' -f /tmp/packages_start.txt ']' 21:00:32 + '[' -f /tmp/packages_end.txt ']' 21:00:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:00:32 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-119 ']' 21:00:32 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-119/archives/ 21:00:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-119/archives/ [Pipeline] echo 21:00:32 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-119/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:00:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:33 prd-ubuntu20.04-docker-8c-8g-117324 does not seem to be running inside a container 21:00:34 $ 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-119/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-119 -v /w/workspace/y_app-rfid-llrp-inventory_PR-119:/w/workspace/y_app-rfid-llrp-inventory_PR-119:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-119@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 21:00:34 $ docker top e329d7c23e20338483c1ae530ac1f3b99ba189c872f8fe6e66246ec58df4a2b5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:34 + touch /tmp/pre-build-complete [Pipeline] sh 21:00:34 + mkdir -p /var/log/sysstat [Pipeline] sh 21:00:35 + ls /var/log/sa-host 21:00:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:35 provisioning config files... 21:00:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-119@tmp/config17808974888808406905tmp [Pipeline] { [Pipeline] echo 21:00:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:00:35 ---> create-netrc.sh [Pipeline] } 21:00:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:00:36 ---> python-tools-install.sh [Pipeline] echo 21:00:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:00:36 ---> sudo-logs.sh 21:00:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:00:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:00:36 ---> job-cost.sh 21:00:36 lf-activate-venv: SKIPPING 21:00:36 DEBUG: total: 0.2199999988079071 21:00:36 INFO: Retrieving Stack Cost... 21:00:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:37 INFO: Archiving Costs [Pipeline] echo 21:00:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:00:38 ---> logs-deploy.sh 21:00:38 lf-activate-venv: SKIPPING 21:00:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-119/1 21:00:38 INFO: archiving workspace using pattern(s): 21:00:39 Archives upload complete. 21:00:39 INFO: archiving logs to Nexus