Pull request #117 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c819182f510ef76da49475910846652e6cc32a4+617f1cb135f5f4038bf61bfc09ef59633cb6ae18 (738d79346f6f5ebd5a65d0a8b956a60e5a0b76db) 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-ssh18305517750839801764.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-ssh16954567158338489716.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-117/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-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3572046327488253215.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-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10169044672268650127.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-ssh2598491238073565112.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-117/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-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18252762970814300301.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9302 in /w/workspace/y_app-rfid-llrp-inventory_PR-117 [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-117 # 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 Merging remotes/origin/main commit 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 into PR head commit 4c819182f510ef76da49475910846652e6cc32a4 Merge succeeded, producing 4c819182f510ef76da49475910846652e6cc32a4 Checking out Revision 4c819182f510ef76da49475910846652e6cc32a4 (PR-117) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # 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 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 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 13:13:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:13:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:13:32 ========================================================= 13:13:32 EdgeX Global Pipelines Version Info 13:13:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:13:33 ------------------- 13:13:33 stable info: 13:13:33 ------------------- 13:13:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:13:33 Message: update stable to v1.0.243 13:13:34 ------------------- 13:13:34 experimental info: 13:13:34 ------------------- 13:13:34 Commited By: **** collab-it+edgex@linuxfoundation.org 13:13:34 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:13:34 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c81918 [Pipeline] echo 13:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:35 provisioning config files... 13:13:35 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config3495411581300205026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:36 ---> docker-login.sh 13:13:36 nexus3.edgexfoundry.org:10001 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 nexus3.edgexfoundry.org:10002 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 nexus3.edgexfoundry.org:10003 13:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:36 Configure a credential helper to remove this warning. See 13:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:36 13:13:36 Login Succeeded 13:13:36 nexus3.edgexfoundry.org:10004 13:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:37 Configure a credential helper to remove this warning. See 13:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:37 13:13:37 Login Succeeded 13:13:37 docker.io 13:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:37 Configure a credential helper to remove this warning. See 13:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:37 13:13:37 Login Succeeded 13:13:37 ---> docker-login.sh ends [Pipeline] } 13:13:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:13:37 + git rev-list -1 --merges 4c819182f510ef76da49475910846652e6cc32a4~1..4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo 13:13:38 -----------> git rev-list -1 --merges 4c819182f510ef76da49475910846652e6cc32a4~1..4c819182f510ef76da49475910846652e6cc32a4 4c819182f510ef76da49475910846652e6cc32a4 [false] [Pipeline] sh 13:13:38 + git log --format=format:%s -1 4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo 13:13:38 ========================================================= 13:13:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:13:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:38 + git log --format=format:%s -1 4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo 13:13:38 [semverPrep] GIT_COMMIT: 4c819182f510ef76da49475910846652e6cc32a4, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 13:13:38 [semverPrep] This is not a build commit. [Pipeline] sh 13:13:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:13:39 + grep -v github /etc/ssh/ssh_known_hosts 13:13:39 + [ -e /tmp/ssh_known_hosts ] 13:13:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:13:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:13:39 + sudo tee -a /etc/ssh/ssh_known_hosts 13:13:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:39 13:13:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:40 0.1.4: Pulling from edgex-devops/py-git-semver 13:13:40 b85a868b505f: Pulling fs layer 13:13:40 e2be974225ed: Pulling fs layer 13:13:40 339a4e72a1f5: Pulling fs layer 13:13:40 988bab9f4d93: Pulling fs layer 13:13:40 1469e6f7b9e6: Pulling fs layer 13:13:40 eaf3925da568: Pulling fs layer 13:13:40 bab4dde63d76: Pulling fs layer 13:13:40 bde34c3a00c8: Pulling fs layer 13:13:40 b352a97aabf1: Pulling fs layer 13:13:40 4872d77fe225: Pulling fs layer 13:13:40 5851b861e8e6: Pulling fs layer 13:13:40 1469e6f7b9e6: Waiting 13:13:40 eaf3925da568: Waiting 13:13:40 bab4dde63d76: Waiting 13:13:40 bde34c3a00c8: Waiting 13:13:40 b352a97aabf1: Waiting 13:13:40 4872d77fe225: Waiting 13:13:40 5851b861e8e6: Waiting 13:13:40 988bab9f4d93: Waiting 13:13:40 e2be974225ed: Verifying Checksum 13:13:40 e2be974225ed: Download complete 13:13:40 988bab9f4d93: Verifying Checksum 13:13:40 988bab9f4d93: Download complete 13:13:40 1469e6f7b9e6: Verifying Checksum 13:13:40 1469e6f7b9e6: Download complete 13:13:40 eaf3925da568: Verifying Checksum 13:13:40 eaf3925da568: Download complete 13:13:40 339a4e72a1f5: Download complete 13:13:40 b352a97aabf1: Verifying Checksum 13:13:40 b352a97aabf1: Download complete 13:13:40 4872d77fe225: Verifying Checksum 13:13:40 4872d77fe225: Download complete 13:13:40 5851b861e8e6: Verifying Checksum 13:13:40 5851b861e8e6: Download complete 13:13:40 b85a868b505f: Verifying Checksum 13:13:40 b85a868b505f: Download complete 13:13:40 bab4dde63d76: Verifying Checksum 13:13:40 bab4dde63d76: Download complete 13:13:41 b85a868b505f: Pull complete 13:13:42 e2be974225ed: Pull complete 13:13:42 339a4e72a1f5: Pull complete 13:13:42 988bab9f4d93: Pull complete 13:13:42 1469e6f7b9e6: Pull complete 13:13:42 eaf3925da568: Pull complete 13:13:44 bab4dde63d76: Pull complete 13:13:44 bde34c3a00c8: Pull complete 13:13:44 b352a97aabf1: Pull complete 13:13:44 4872d77fe225: Pull complete 13:13:44 5851b861e8e6: Pull complete 13:13:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:13:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:45 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 13:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:13:47 $ docker top 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f -eo pid,comm 13:13:47 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). 13:13:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:13:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:48 [ssh-agent] Looking for ssh-agent implementation... 13:13:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:48 $ docker exec 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent 13:13:48 SSH_AUTH_SOCK=/tmp/ssh-hDyETtZw0gQQ/agent.31 13:13:48 SSH_AGENT_PID=37 13:13:48 Running ssh-add (command line suppressed) 13:13:48 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_10642777064050477932.key (/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_10642777064050477932.key) 13:13:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:48 + git tag --points-at HEAD [Pipeline] } 13:13:48 $ docker exec --env ******** --env ******** 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent -k 13:13:48 unset SSH_AUTH_SOCK; 13:13:48 unset SSH_AGENT_PID; 13:13:48 echo Agent pid 37 killed; 13:13:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:13:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:49 [ssh-agent] Looking for ssh-agent implementation... 13:13:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:49 $ docker exec 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent 13:13:49 SSH_AUTH_SOCK=/tmp/ssh-N7c4s2omw4uf/agent.69 13:13:49 SSH_AGENT_PID=75 13:13:49 Running ssh-add (command line suppressed) 13:13:49 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_15644992539042832345.key (/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_15644992539042832345.key) 13:13:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:49 + git semver init 13:13:50 2022-10-24 13:13:49,935 [run_init] DEBUG init version:0.0.0 force:False 13:13:50 2022-10-24 13:13:49,936 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver 13:13:50 2022-10-24 13:13:49,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver 13:13:50 2022-10-24 13:13:49,937 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117, universal_newlines=False, shell=None, istream=None) 13:13:51 2022-10-24 13:13:51,128 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.git/info/exclude 13:13:51 2022-10-24 13:13:51,129 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 with force:False 13:13:51 2022-10-24 13:13:51,129 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 13:13:51 2022-10-24 13:13:51,133 [execute] INFO git cat-file --batch-check 13:13:51 2022-10-24 13:13:51,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver, universal_newlines=False, shell=None, istream=) 13:13:51 2022-10-24 13:13:51,140 [execute] INFO git cat-file --batch 13:13:51 2022-10-24 13:13:51,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver, universal_newlines=False, shell=None, istream=) 13:13:51 2022-10-24 13:13:51,145 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 13:13:51 0.0.0 [Pipeline] } 13:13:51 $ docker exec --env ******** --env ******** 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent -k 13:13:51 unset SSH_AUTH_SOCK; 13:13:51 unset SSH_AGENT_PID; 13:13:51 echo Agent pid 75 killed; 13:13:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:52 + git semver [Pipeline] } 13:13:52 $ docker stop --time=1 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f 13:13:53 $ docker rm -f 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f [Pipeline] // withDockerContainer [Pipeline] sh 13:13:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:13:54 Stashed 1 file(s) [Pipeline] echo 13:13:54 [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 13:13:54 provisioning config files... 13:13:54 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config17605807642550237697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:55 ---> docker-login.sh 13:13:55 nexus3.edgexfoundry.org:10001 13:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:55 Configure a credential helper to remove this warning. See 13:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:55 13:13:55 Login Succeeded 13:13:55 nexus3.edgexfoundry.org:10002 13:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:55 Configure a credential helper to remove this warning. See 13:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:55 13:13:55 Login Succeeded 13:13:55 nexus3.edgexfoundry.org:10003 13:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:55 Configure a credential helper to remove this warning. See 13:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:55 13:13:55 Login Succeeded 13:13:55 nexus3.edgexfoundry.org:10004 13:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:55 Configure a credential helper to remove this warning. See 13:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:55 13:13:55 Login Succeeded 13:13:55 docker.io 13:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:56 Configure a credential helper to remove this warning. See 13:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:56 13:13:56 Login Succeeded 13:13:56 ---> docker-login.sh ends [Pipeline] } 13:13:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:13:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:56 ========================================================= 13:13:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:13:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:56 + 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 . 13:13:56 Sending build context to Docker daemon 12.5MB 13:13:56 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 13:13:56 Step 2/14 : FROM ${BASE} AS builder 13:13:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:13:56 213ec9aee27d: Pulling fs layer 13:13:56 4583459ba037: Pulling fs layer 13:13:56 93c1e223e6f2: Pulling fs layer 13:13:56 53926ce57604: Pulling fs layer 13:13:56 21b2b0c7a3f4: Pulling fs layer 13:13:56 30f14e443154: Pulling fs layer 13:13:56 801331c1e519: Pulling fs layer 13:13:56 99cc6dd402b0: Pulling fs layer 13:13:56 7d9ed39f4882: Pulling fs layer 13:13:56 30f14e443154: Waiting 13:13:56 53926ce57604: Waiting 13:13:56 21b2b0c7a3f4: Waiting 13:13:56 99cc6dd402b0: Waiting 13:13:56 7d9ed39f4882: Waiting 13:13:56 801331c1e519: Waiting 13:13:56 93c1e223e6f2: Verifying Checksum 13:13:56 93c1e223e6f2: Download complete 13:13:57 4583459ba037: Download complete 13:13:57 21b2b0c7a3f4: Download complete 13:13:57 30f14e443154: Download complete 13:13:57 213ec9aee27d: Verifying Checksum 13:13:57 213ec9aee27d: Download complete 13:13:57 801331c1e519: Verifying Checksum 13:13:57 801331c1e519: Download complete 13:13:57 213ec9aee27d: Pull complete 13:13:57 4583459ba037: Pull complete 13:13:57 93c1e223e6f2: Pull complete 13:13:57 7d9ed39f4882: Verifying Checksum 13:13:57 7d9ed39f4882: Download complete 13:13:57 53926ce57604: Verifying Checksum 13:13:57 53926ce57604: Download complete 13:13:57 99cc6dd402b0: Verifying Checksum 13:13:57 99cc6dd402b0: Download complete 13:14:02 53926ce57604: Pull complete 13:14:02 21b2b0c7a3f4: Pull complete 13:14:02 30f14e443154: Pull complete 13:14:02 801331c1e519: Pull complete 13:14:04 99cc6dd402b0: Pull complete 13:14:04 7d9ed39f4882: Pull complete 13:14:04 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 13:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:14:04 ---> 1dedd983c030 13:14:04 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:14:09 ---> Running in 827fa716ddc0 13:14:09 Removing intermediate container 827fa716ddc0 13:14:09 ---> 761633c05907 13:14:09 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 13:14:09 ---> Running in aefc33eb7ff5 13:14:09 Removing intermediate container aefc33eb7ff5 13:14:09 ---> 9494fc68675d 13:14:09 Step 5/14 : ARG ADD_BUILD_TAGS="" 13:14:09 ---> Running in a694d1f7d692 13:14:09 Removing intermediate container a694d1f7d692 13:14:09 ---> 560840ad84d3 13:14:09 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:14:09 ---> Running in eac413c2335a 13:14:09 Removing intermediate container eac413c2335a 13:14:09 ---> 310d9f3e1152 13:14:09 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:09 ---> Running in fdffa485cbc2 13:14:09 Removing intermediate container fdffa485cbc2 13:14:09 ---> d89efc9b1bf8 13:14:09 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:09 ---> Running in 489d13c3854f 13:14:09 Still waiting to schedule task 13:14:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9303’ 13:14:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:14:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:14:11 OK: 211 MiB in 51 packages 13:14:11 Removing intermediate container 489d13c3854f 13:14:11 ---> de386ae891d4 13:14:11 Step 9/14 : WORKDIR /app 13:14:11 ---> Running in fa40a35eb584 13:14:11 Removing intermediate container fa40a35eb584 13:14:11 ---> d5e384478e1e 13:14:11 Step 10/14 : COPY go.mod vendor* ./ 13:14:11 ---> 321c15edcf9e 13:14:11 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:11 ---> Running in 11aeadda5dfe 13:14:33 Removing intermediate container 11aeadda5dfe 13:14:33 ---> 52a53e985a0d 13:14:33 Step 12/14 : COPY . . 13:14:33 ---> 43017ea190b7 13:14:33 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:14:33 ---> Running in 2659686a8450 13:14:33 Removing intermediate container 2659686a8450 13:14:33 ---> 90b26aeba336 13:14:33 Step 14/14 : RUN $MAKE 13:14:33 ---> Running in 4301dd4861a7 13:14:33 noop 13:14:33 Removing intermediate container 4301dd4861a7 13:14:33 ---> 92ad266339d3 13:14:33 Successfully built 92ad266339d3 13:14:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:34 + docker inspect -f . ci-base-image-x86_64 13:14:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:34 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 13:14:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@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 ******** ci-base-image-x86_64 cat 13:14:34 $ docker top f8986a49eb3ec8c571c2c1610baebfe25894d6d4d574d48dd59f49420020abe7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:34 + go version 13:14:34 go version go1.18.7 linux/amd64 [Pipeline] } 13:14:35 $ docker stop --time=1 f8986a49eb3ec8c571c2c1610baebfe25894d6d4d574d48dd59f49420020abe7 13:14:36 $ docker rm -f f8986a49eb3ec8c571c2c1610baebfe25894d6d4d574d48dd59f49420020abe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:36 + docker inspect -f . ci-base-image-x86_64 13:14:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:37 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 13:14:37 $ 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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@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 ******** ci-base-image-x86_64 cat 13:14:37 $ docker top 4b2c95e0e5a168ad0e3ffdc5a36a4d4fbfcf54237271007dcab31ec653c8bdc2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:37 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-117 [Pipeline] fileExists [Pipeline] sh 13:14:38 + make test 13:14:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:14:48 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:14:48 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.044s coverage: 86.2% of statements 13:14:48 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:14:50 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.548s coverage: 71.9% of statements 13:14:56 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." 13:14:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:14:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:14:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:14:59 ./bin/test-attribution.sh [Pipeline] echo 13:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:15:00 $ docker stop --time=1 4b2c95e0e5a168ad0e3ffdc5a36a4d4fbfcf54237271007dcab31ec653c8bdc2 13:15:02 $ docker rm -f 4b2c95e0e5a168ad0e3ffdc5a36a4d4fbfcf54237271007dcab31ec653c8bdc2 [Pipeline] // withDockerContainer [Pipeline] sh 13:15:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:15:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:15:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:15:04 + ls -al . 13:15:04 total 232 13:15:04 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 13:14 . 13:15:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:13 .. 13:15:04 -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 13:13 .dockerignore 13:15:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 13:14 .git 13:15:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:13 .github 13:15:04 -rw-rw-r-- 1 jenkins jenkins 788 Oct 24 13:13 .gitignore 13:15:04 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 13:13 .golangci.yml 13:15:04 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 13:13 .semver 13:15:04 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 24 13:13 Attribution.txt 13:15:04 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 24 13:13 CHANGELOG.md 13:15:04 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 24 13:13 Dockerfile 13:15:04 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 13:13 GOVERNANCE.md 13:15:04 -rw-rw-r-- 1 jenkins jenkins 687 Oct 24 13:13 Jenkinsfile 13:15:04 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 13:13 LICENSE 13:15:04 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 24 13:13 Makefile 13:15:04 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 13:13 OWNERS.md 13:15:04 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 24 13:13 README.md 13:15:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 13:13 VERSION 13:15:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:13 bin 13:15:04 -rw-r--r-- 1 jenkins jenkins 41008 Oct 24 13:14 coverage.out 13:15:04 -rw-rw-r-- 1 jenkins jenkins 3657 Oct 24 13:13 go.mod 13:15:04 -rw-rw-r-- 1 jenkins jenkins 38195 Oct 24 13:13 go.sum 13:15:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:13 images 13:15:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:13 internal 13:15:04 -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 13:13 main.go 13:15:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:13 res 13:15:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:13 snap 13:15:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:13 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:05 + 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=4c819182f510ef76da49475910846652e6cc32a4 --label arch=amd64 --label version=0.0.0 . 13:15:05 Sending build context to Docker daemon 12.5MB 13:15:05 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 13:15:05 Step 2/32 : FROM ${BASE} AS builder 13:15:05 ---> 92ad266339d3 13:15:05 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:15:05 ---> Running in c5c20bb37bf6 13:15:05 Removing intermediate container c5c20bb37bf6 13:15:05 ---> 335416e6061d 13:15:05 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 13:15:05 ---> Running in 6547600cfc61 13:15:05 Removing intermediate container 6547600cfc61 13:15:05 ---> b937c4bd0d03 13:15:05 Step 5/32 : ARG ADD_BUILD_TAGS="" 13:15:05 ---> Running in 2c01484a23af 13:15:05 Removing intermediate container 2c01484a23af 13:15:05 ---> 773a77612a92 13:15:05 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:15:05 ---> Running in c22a1895127c 13:15:05 Removing intermediate container c22a1895127c 13:15:05 ---> 6a33b2916332 13:15:05 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:05 ---> Running in 90922c77fcee 13:15:06 Removing intermediate container 90922c77fcee 13:15:06 ---> 4c0d2c4c6eb1 13:15:06 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:06 ---> Running in 4adeacfe6570 13:15:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:15:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:15:07 OK: 211 MiB in 51 packages 13:15:07 Removing intermediate container 4adeacfe6570 13:15:07 ---> 5d2014665eb9 13:15:07 Step 9/32 : WORKDIR /app 13:15:08 ---> Running in 61b9ad07ec76 13:15:08 Removing intermediate container 61b9ad07ec76 13:15:08 ---> 04ad2d7954c6 13:15:08 Step 10/32 : COPY go.mod vendor* ./ 13:15:08 ---> 56d26be929d7 13:15:08 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:08 ---> Running in 098b9a75a877 13:15:09 Removing intermediate container 098b9a75a877 13:15:09 ---> 55d71dcf3981 13:15:09 Step 12/32 : COPY . . 13:15:09 ---> 588bb0afe391 13:15:09 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:15:09 ---> Running in 88df960b35ae 13:15:09 Removing intermediate container 88df960b35ae 13:15:09 ---> 6c2855538e2d 13:15:09 Step 14/32 : RUN $MAKE 13:15:09 ---> Running in 8b9f3cc6349d 13:15:09 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.47 -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 13:15:31 Removing intermediate container 8b9f3cc6349d 13:15:31 ---> e18e1b35fcb7 13:15:31 Step 15/32 : FROM alpine:3.14 13:15:31 3.14: Pulling from library/alpine 13:15:31 c7ed990a2339: Pulling fs layer 13:15:31 c7ed990a2339: Verifying Checksum 13:15:31 c7ed990a2339: Download complete 13:15:31 c7ed990a2339: Pull complete 13:15:31 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 13:15:31 Status: Downloaded newer image for alpine:3.14 13:15:31 ---> dd53f409bf0b 13:15:31 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:15:31 ---> Running in 56164c5a8314 13:15:32 Removing intermediate container 56164c5a8314 13:15:32 ---> 297b82f3b29e 13:15:32 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:15:32 ---> Running in 629c318b7a23 13:15:32 Removing intermediate container 629c318b7a23 13:15:32 ---> 112d3034abf4 13:15:32 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:32 ---> Running in cafabee4a7fc 13:15:32 Removing intermediate container cafabee4a7fc 13:15:32 ---> 382b20e53315 13:15:32 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:15:32 ---> Running in d29d5218dc24 13:15:32 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:15:33 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:15:34 (1/7) Installing ca-certificates (20220614-r0) 13:15:34 (2/7) Installing dumb-init (1.2.5-r1) 13:15:34 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:15:34 (4/7) Installing libsodium (1.0.18-r0) 13:15:34 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:15:34 (6/7) Installing libzmq (4.3.4-r0) 13:15:34 (7/7) Installing zeromq (4.3.4-r0) 13:15:34 Executing busybox-1.33.1-r8.trigger 13:15:34 Executing ca-certificates-20220614-r0.trigger 13:15:34 OK: 9 MiB in 21 packages 13:15:35 Removing intermediate container d29d5218dc24 13:15:35 ---> d5a2bfb47717 13:15:35 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:15:35 ---> 2ecc6cb31d90 13:15:35 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 13:15:35 ---> 01af5d7ff5a1 13:15:35 Step 22/32 : COPY --from=builder /app/res/ /res/ 13:15:35 ---> 91d210c2f047 13:15:35 Step 23/32 : COPY --from=builder /app/static/ /static/ 13:15:35 ---> 466b644206ac 13:15:35 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:15:36 ---> 1c0d424565c1 13:15:36 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:15:36 ---> Running in ac3d53499488 13:15:36 Removing intermediate container ac3d53499488 13:15:36 ---> fc6c80c0f327 13:15:36 Step 26/32 : VOLUME /cache 13:15:36 ---> Running in 526a452f7d22 13:15:37 Removing intermediate container 526a452f7d22 13:15:37 ---> 38f76fc677c6 13:15:37 Step 27/32 : EXPOSE 59711 13:15:37 ---> Running in 0ef19d7cbfe0 13:15:37 Removing intermediate container 0ef19d7cbfe0 13:15:37 ---> 2485fcfefec0 13:15:37 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:15:37 ---> Running in 2e85302c9031 13:15:37 Removing intermediate container 2e85302c9031 13:15:37 ---> 6a5a812d47b8 13:15:37 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:15:37 ---> Running in 849500372ac2 13:15:37 Removing intermediate container 849500372ac2 13:15:37 ---> 3835af78de4a 13:15:37 Step 30/32 : LABEL arch=amd64 13:15:37 ---> Running in c5fbaa8000f0 13:15:37 Removing intermediate container c5fbaa8000f0 13:15:37 ---> fd924ea42114 13:15:37 Step 31/32 : LABEL git_sha=4c819182f510ef76da49475910846652e6cc32a4 13:15:37 ---> Running in daacbcb6739a 13:15:37 Removing intermediate container daacbcb6739a 13:15:37 ---> 230ed833657d 13:15:37 Step 32/32 : LABEL version=0.0.0 13:15:37 ---> Running in 441d52f61632 13:15:37 Removing intermediate container 441d52f61632 13:15:37 ---> 60749e3e2d8d 13:15:37 [Warning] One or more build-args [ARCH] were not consumed 13:15:37 Successfully built 60749e3e2d8d 13:15:37 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 13:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:38 13:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:38 latest: Pulling from edgex-lftools-log-publisher 13:15:38 5eb5b503b376: Pulling fs layer 13:15:38 5c69ac0246d0: Pulling fs layer 13:15:38 ec43610c2a17: Pulling fs layer 13:15:38 3a2ae6a8a46f: Pulling fs layer 13:15:38 33b1e0a273af: Pulling fs layer 13:15:38 5d3b04190fa2: Pulling fs layer 13:15:38 2f39f015ded8: Pulling fs layer 13:15:38 3a2ae6a8a46f: Waiting 13:15:38 33b1e0a273af: Waiting 13:15:38 5d3b04190fa2: Waiting 13:15:38 2f39f015ded8: Waiting 13:15:38 5c69ac0246d0: Verifying Checksum 13:15:38 5c69ac0246d0: Download complete 13:15:38 3a2ae6a8a46f: Verifying Checksum 13:15:38 3a2ae6a8a46f: Download complete 13:15:38 33b1e0a273af: Verifying Checksum 13:15:38 33b1e0a273af: Download complete 13:15:38 5d3b04190fa2: Verifying Checksum 13:15:38 5d3b04190fa2: Download complete 13:15:39 ec43610c2a17: Verifying Checksum 13:15:39 ec43610c2a17: Download complete 13:15:39 5eb5b503b376: Download complete 13:15:39 2f39f015ded8: Download complete 13:15:40 5eb5b503b376: Pull complete 13:15:40 5c69ac0246d0: Pull complete 13:15:40 ec43610c2a17: Pull complete 13:15:40 3a2ae6a8a46f: Pull complete 13:15:41 33b1e0a273af: Pull complete 13:15:41 5d3b04190fa2: Pull complete 13:15:45 2f39f015ded8: Pull complete 13:15:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:45 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 13:15:45 $ 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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:15:49 $ docker top 7bf6454b985821bb1ca8950e242fe4d31b43e3ae04860f41805ce0ff0004e641 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:49 ---> job-cost.sh 13:15:49 lf-activate-venv: SKIPPING 13:15:49 INFO: No Stack... 13:15:50 INFO: Retrieving Pricing Info for: v3-standard-8 13:15:50 INFO: Archiving Costs [Pipeline] sh 13:15:50 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/cost.csv 13:15:50 + cut -d, -f6 [Pipeline] lock 13:15:50 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] 13:15:50 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] did not exist. Created. 13:15:50 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:15:51 + echo total: 0.2199999988079071 [Pipeline] stash 13:15:51 Stashed 1 file(s) [Pipeline] } 13:15:51 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:15:51 $ docker stop --time=1 7bf6454b985821bb1ca8950e242fe4d31b43e3ae04860f41805ce0ff0004e641 13:15:52 $ docker rm -f 7bf6454b985821bb1ca8950e242fe4d31b43e3ae04860f41805ce0ff0004e641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:16:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9304 in /w/workspace/y_app-rfid-llrp-inventory_PR-117 [Pipeline] { [Pipeline] ws 13:16:49 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:16:49 The recommended git tool is: git 13:16:55 using credential edgex-jenkins-ssh 13:16:55 Cloning the remote Git repository 13:16:55 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:55 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:16:55 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:55 > git --version # timeout=10 13:16:55 > git --version # 'git version 2.25.1' 13:16:55 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:55 Verifying host key using known hosts file 13:16:55 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. 13:16:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:57 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:16:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:59 Merging remotes/origin/main commit 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 into PR head commit 4c819182f510ef76da49475910846652e6cc32a4 13:16:59 Merge succeeded, producing 4c819182f510ef76da49475910846652e6cc32a4 13:16:59 Checking out Revision 4c819182f510ef76da49475910846652e6cc32a4 (PR-117) 13:16:58 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:16:58 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:16:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:58 Verifying host key using known hosts file 13:16:58 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. 13:16:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:16:59 > git config core.sparsecheckout # timeout=10 13:16:59 > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # timeout=10 13:16:59 > git remote # timeout=10 13:16:59 > git config --get remote.origin.url # timeout=10 13:16:59 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:59 Verifying host key using known hosts file 13:16:59 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. 13:16:59 > git merge 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 # timeout=10 13:16:59 > git rev-parse HEAD^{commit} # timeout=10 13:16:59 > git config core.sparsecheckout # timeout=10 13:16:59 > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # timeout=10 13:17:00 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 13:17:00 > git --version # timeout=10 13:17:00 > git --version # 'git version 2.25.1' 13:17:00 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:17:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:17:01 % Total % Received % Xferd Average Speed Time Time Time Current 13:17:01 Dload Upload Total Spent Left Speed 13:17:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 13:17:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:17:02 + sudo tee /etc/docker/daemon.new 13:17:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:17:02 { 13:17:02 "registry-mirrors": [ 13:17:02 "https://nexus3.edgexfoundry.org:10001" 13:17:02 ], 13:17:02 "bip": "10.250.0.254/24", 13:17:02 "hosts": [ 13:17:02 "tcp://0.0.0.0:5555", 13:17:02 "unix:///var/run/docker.sock" 13:17:02 ], 13:17:02 "mtu": 1458, 13:17:02 "selinux-enabled": true, 13:17:02 "seccomp-profile": "/etc/docker/seccomp.json" 13:17:02 } [Pipeline] sh 13:17:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:17:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:21 provisioning config files... 13:17:21 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config4797039600894216278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:21 ---> docker-login.sh 13:17:21 nexus3.edgexfoundry.org:10001 13:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:22 Configure a credential helper to remove this warning. See 13:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:22 13:17:22 Login Succeeded 13:17:22 nexus3.edgexfoundry.org:10002 13:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:22 Configure a credential helper to remove this warning. See 13:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:22 13:17:22 Login Succeeded 13:17:22 nexus3.edgexfoundry.org:10003 13:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:23 Configure a credential helper to remove this warning. See 13:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:23 13:17:23 Login Succeeded 13:17:23 nexus3.edgexfoundry.org:10004 13:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:23 Configure a credential helper to remove this warning. See 13:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:23 13:17:23 Login Succeeded 13:17:23 docker.io 13:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:24 Configure a credential helper to remove this warning. See 13:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:24 13:17:24 Login Succeeded 13:17:24 ---> docker-login.sh ends [Pipeline] } 13:17:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:17:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:17:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:17:24 ========================================================= 13:17:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:17:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:25 + 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 . 13:17:25 Sending build context to Docker daemon 683.5kB 13:17:25 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 13:17:25 Step 2/14 : FROM ${BASE} AS builder 13:17:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:17:25 9b18e9b68314: Pulling fs layer 13:17:25 d32db5db7311: Pulling fs layer 13:17:25 d0c4b47475fc: Pulling fs layer 13:17:25 5831b945b038: Pulling fs layer 13:17:25 86bbec2aaacd: Pulling fs layer 13:17:25 e10730c5d714: Pulling fs layer 13:17:25 5dd5c2283517: Pulling fs layer 13:17:25 d5ac0230b979: Pulling fs layer 13:17:25 86bbec2aaacd: Waiting 13:17:25 e10730c5d714: Waiting 13:17:25 5dd5c2283517: Waiting 13:17:25 d5ac0230b979: Waiting 13:17:25 5831b945b038: Waiting 13:17:25 d0c4b47475fc: Verifying Checksum 13:17:25 d0c4b47475fc: Download complete 13:17:25 d32db5db7311: Verifying Checksum 13:17:25 d32db5db7311: Download complete 13:17:25 86bbec2aaacd: Download complete 13:17:25 e10730c5d714: Download complete 13:17:25 9b18e9b68314: Verifying Checksum 13:17:25 9b18e9b68314: Download complete 13:17:26 9b18e9b68314: Pull complete 13:17:26 d5ac0230b979: Verifying Checksum 13:17:26 d5ac0230b979: Download complete 13:17:27 d32db5db7311: Pull complete 13:17:27 d0c4b47475fc: Pull complete 13:17:28 5dd5c2283517: Verifying Checksum 13:17:28 5dd5c2283517: Download complete 13:17:28 5831b945b038: Verifying Checksum 13:17:28 5831b945b038: Download complete 13:17:41 5831b945b038: Pull complete 13:17:41 86bbec2aaacd: Pull complete 13:17:41 e10730c5d714: Pull complete 13:17:47 5dd5c2283517: Pull complete 13:17:49 d5ac0230b979: Pull complete 13:17:49 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 13:17:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:17:49 ---> 59b3b1a385d4 13:17:49 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:17:51 ---> Running in 73751cf77d6e 13:17:51 Removing intermediate container 73751cf77d6e 13:17:51 ---> 96ec62d4902d 13:17:51 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 13:17:51 ---> Running in a3177f9d3487 13:17:52 Removing intermediate container a3177f9d3487 13:17:52 ---> d53001f85d58 13:17:52 Step 5/14 : ARG ADD_BUILD_TAGS="" 13:17:52 ---> Running in 44898b092de5 13:17:52 Removing intermediate container 44898b092de5 13:17:52 ---> 4ab32483b91b 13:17:52 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:17:52 ---> Running in 3976622021bf 13:17:53 Removing intermediate container 3976622021bf 13:17:53 ---> 37e98d63ddec 13:17:53 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:17:53 ---> Running in a27259c807cc 13:17:55 Removing intermediate container a27259c807cc 13:17:55 ---> be7904dd373a 13:17:55 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:55 ---> Running in d95a3262aa5d 13:17:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:17:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:17:57 OK: 221 MiB in 51 packages 13:17:58 Removing intermediate container d95a3262aa5d 13:17:58 ---> c6ee8f54741e 13:17:58 Step 9/14 : WORKDIR /app 13:17:58 ---> Running in a5339ae728fb 13:17:58 Removing intermediate container a5339ae728fb 13:17:58 ---> d3a66d684c21 13:17:58 Step 10/14 : COPY go.mod vendor* ./ 13:17:59 ---> f7d096287618 13:17:59 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:59 ---> Running in ed1d7724565f 13:18:56 Removing intermediate container ed1d7724565f 13:18:56 ---> ef4d25dc1d33 13:18:56 Step 12/14 : COPY . . 13:18:56 ---> cb8d43286a91 13:18:56 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:18:56 ---> Running in 26a36352d0b9 13:18:56 Removing intermediate container 26a36352d0b9 13:18:56 ---> 49d75989d5f8 13:18:56 Step 14/14 : RUN $MAKE 13:18:56 ---> Running in 4f126507438f 13:18:56 noop 13:18:56 Removing intermediate container 4f126507438f 13:18:56 ---> 528f6cfca9e3 13:18:56 Successfully built 528f6cfca9e3 13:18:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:56 + docker inspect -f . ci-base-image-arm64 13:18:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:56 prd-ubuntu20.04-docker-arm64-4c-16g-9304 does not seem to be running inside a container 13:18:57 $ 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 ******** ci-base-image-arm64 cat 13:18:59 $ docker top 0c72bc18e2fa81e0a42593fde5c99cf062d7a5e1383e8c2bce867dcff9012658 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:00 + go version 13:19:00 go version go1.18.7 linux/arm64 [Pipeline] } 13:19:00 $ docker stop --time=1 0c72bc18e2fa81e0a42593fde5c99cf062d7a5e1383e8c2bce867dcff9012658 13:19:02 $ docker rm -f 0c72bc18e2fa81e0a42593fde5c99cf062d7a5e1383e8c2bce867dcff9012658 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:03 + docker inspect -f . ci-base-image-arm64 13:19:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:03 prd-ubuntu20.04-docker-arm64-4c-16g-9304 does not seem to be running inside a container 13:19:03 $ 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 ******** ci-base-image-arm64 cat 13:19:04 $ docker top 52bd96f488faf443641d45c8798390dbd6ed000cf012f7b947ecabf4199f7313 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:05 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:19:06 + make test 13:19:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:20:43 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:20:43 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.142s coverage: 86.2% of statements 13:20:43 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:20:43 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.712s coverage: 71.9% of statements 13:20:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:20:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:21:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:21:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:21:11 ./bin/test-attribution.sh [Pipeline] echo 13:21:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:21:11 $ docker stop --time=1 52bd96f488faf443641d45c8798390dbd6ed000cf012f7b947ecabf4199f7313 13:21:13 $ docker rm -f 52bd96f488faf443641d45c8798390dbd6ed000cf012f7b947ecabf4199f7313 [Pipeline] // withDockerContainer [Pipeline] sh 13:21:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:21:14 Warning: overwriting stash ‘coverage-report’ 13:21:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:21:15 + ls -al . 13:21:15 total 228 13:21:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 13:19 . 13:21:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:16 .. 13:21:15 -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 13:16 .dockerignore 13:21:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 13:16 .git 13:21:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:16 .github 13:21:15 -rw-rw-r-- 1 jenkins jenkins 788 Oct 24 13:16 .gitignore 13:21:15 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 13:16 .golangci.yml 13:21:15 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 24 13:16 Attribution.txt 13:21:15 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 24 13:16 CHANGELOG.md 13:21:15 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 24 13:16 Dockerfile 13:21:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 13:16 GOVERNANCE.md 13:21:15 -rw-rw-r-- 1 jenkins jenkins 687 Oct 24 13:16 Jenkinsfile 13:21:15 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 13:16 LICENSE 13:21:15 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 24 13:16 Makefile 13:21:15 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 13:16 OWNERS.md 13:21:15 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 24 13:16 README.md 13:21:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 13:13 VERSION 13:21:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:16 bin 13:21:15 -rw-r--r-- 1 jenkins jenkins 41008 Oct 24 13:20 coverage.out 13:21:15 -rw-rw-r-- 1 jenkins jenkins 3657 Oct 24 13:16 go.mod 13:21:15 -rw-rw-r-- 1 jenkins jenkins 38195 Oct 24 13:16 go.sum 13:21:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:16 images 13:21:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:16 internal 13:21:15 -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 13:16 main.go 13:21:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:16 res 13:21:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:16 snap 13:21:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:16 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:16 + 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=4c819182f510ef76da49475910846652e6cc32a4 --label arch=arm64 --label version=0.0.0 . 13:21:16 Sending build context to Docker daemon 683.5kB 13:21:16 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 13:21:16 Step 2/32 : FROM ${BASE} AS builder 13:21:16 ---> 528f6cfca9e3 13:21:16 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:21:16 ---> Running in 9a7737aa1452 13:21:16 Removing intermediate container 9a7737aa1452 13:21:16 ---> 39db210c0b6c 13:21:16 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 13:21:16 ---> Running in 62cf41f26480 13:21:17 Removing intermediate container 62cf41f26480 13:21:17 ---> 907c9bdd58fa 13:21:17 Step 5/32 : ARG ADD_BUILD_TAGS="" 13:21:17 ---> Running in 2bba0764f877 13:21:17 Removing intermediate container 2bba0764f877 13:21:17 ---> e46c0eadd6ec 13:21:17 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:21:17 ---> Running in 093b1c3fb703 13:21:17 Removing intermediate container 093b1c3fb703 13:21:17 ---> 67c5bf312859 13:21:17 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:21:18 ---> Running in 2685341473ab 13:21:20 Removing intermediate container 2685341473ab 13:21:20 ---> fe5fde827609 13:21:20 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:21:20 ---> Running in 61714da049f7 13:21:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:21:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:21:23 OK: 221 MiB in 51 packages 13:21:25 Removing intermediate container 61714da049f7 13:21:25 ---> 958e196b6391 13:21:25 Step 9/32 : WORKDIR /app 13:21:25 ---> Running in 9885e1aa8bbb 13:21:25 Removing intermediate container 9885e1aa8bbb 13:21:25 ---> 8b7aad428c88 13:21:25 Step 10/32 : COPY go.mod vendor* ./ 13:21:26 ---> 6aa2a71763e7 13:21:26 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:21:26 ---> Running in f762f06fa3f2 13:21:28 Removing intermediate container f762f06fa3f2 13:21:28 ---> 5f653f7fe287 13:21:28 Step 12/32 : COPY . . 13:21:29 ---> 711dff5462d6 13:21:29 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:21:29 ---> Running in 35c95052afac 13:21:29 Removing intermediate container 35c95052afac 13:21:29 ---> 89589e57be05 13:21:29 Step 14/32 : RUN $MAKE 13:21:29 ---> Running in 2c04f957bbe1 13:21:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.47 -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 13:23:52 Removing intermediate container 2c04f957bbe1 13:23:52 ---> 2b44e19fd8ba 13:23:52 Step 15/32 : FROM alpine:3.14 13:23:52 3.14: Pulling from library/alpine 13:23:52 90cda3b7c325: Pulling fs layer 13:23:52 90cda3b7c325: Verifying Checksum 13:23:52 90cda3b7c325: Download complete 13:23:52 90cda3b7c325: Pull complete 13:23:52 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 13:23:52 Status: Downloaded newer image for alpine:3.14 13:23:52 ---> 376ba31ae3da 13:23:52 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:23:52 ---> Running in b533fe13ccb0 13:23:52 Removing intermediate container b533fe13ccb0 13:23:52 ---> e100b9ed67e4 13:23:52 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:23:52 ---> Running in 7833d2e4cd6f 13:23:52 Removing intermediate container 7833d2e4cd6f 13:23:52 ---> f519e2341ab5 13:23:52 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:23:52 ---> Running in 2e8f9be3fbdf 13:23:53 Removing intermediate container 2e8f9be3fbdf 13:23:53 ---> 6d94c1401aa8 13:23:53 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:23:53 ---> Running in 3f3b5777ce0b 13:23:53 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:23:54 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:23:55 (1/7) Installing ca-certificates (20220614-r0) 13:23:55 (2/7) Installing dumb-init (1.2.5-r1) 13:23:55 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:23:56 (4/7) Installing libsodium (1.0.18-r0) 13:23:56 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:23:56 (6/7) Installing libzmq (4.3.4-r0) 13:23:56 (7/7) Installing zeromq (4.3.4-r0) 13:23:56 Executing busybox-1.33.1-r8.trigger 13:23:56 Executing ca-certificates-20220614-r0.trigger 13:23:56 OK: 9 MiB in 21 packages 13:23:58 Removing intermediate container 3f3b5777ce0b 13:23:58 ---> 528a6087b776 13:23:58 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:23:58 ---> c1814923be36 13:23:58 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 13:23:58 ---> e0a40d714bce 13:23:58 Step 22/32 : COPY --from=builder /app/res/ /res/ 13:23:59 ---> 9f5bc551e9f0 13:23:59 Step 23/32 : COPY --from=builder /app/static/ /static/ 13:23:59 ---> 7ad64f64ae79 13:23:59 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:24:01 ---> ee77fb3a6352 13:24:01 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:24:01 ---> Running in 44889a8834f2 13:24:03 Removing intermediate container 44889a8834f2 13:24:03 ---> 101ca5046361 13:24:03 Step 26/32 : VOLUME /cache 13:24:03 ---> Running in 514a64c5ff99 13:24:03 Removing intermediate container 514a64c5ff99 13:24:03 ---> 9fa4d3c21cb5 13:24:03 Step 27/32 : EXPOSE 59711 13:24:03 ---> Running in c5e44ade6257 13:24:03 Removing intermediate container c5e44ade6257 13:24:03 ---> 1842db6d1631 13:24:03 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:24:03 ---> Running in 4089cebd64aa 13:24:03 Removing intermediate container 4089cebd64aa 13:24:03 ---> 3ea73e61a592 13:24:03 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:24:03 ---> Running in aeab8c5e7757 13:24:04 Removing intermediate container aeab8c5e7757 13:24:04 ---> e41db354b1cd 13:24:04 Step 30/32 : LABEL arch=arm64 13:24:04 ---> Running in 73cd9954a15d 13:24:04 Removing intermediate container 73cd9954a15d 13:24:04 ---> 9e7b950214a2 13:24:04 Step 31/32 : LABEL git_sha=4c819182f510ef76da49475910846652e6cc32a4 13:24:04 ---> Running in d469742c6228 13:24:05 Removing intermediate container d469742c6228 13:24:05 ---> 1904b4bed6b9 13:24:05 Step 32/32 : LABEL version=0.0.0 13:24:05 ---> Running in a74d5cf8ac58 13:24:05 Removing intermediate container a74d5cf8ac58 13:24:05 ---> 6d543293d08c 13:24:05 [Warning] One or more build-args [ARCH] were not consumed 13:24:05 Successfully built 6d543293d08c 13:24:05 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 13:24:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:06 13:24:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:06 arm64: Pulling from edgex-lftools-log-publisher 13:24:06 8998bd30e6a1: Pulling fs layer 13:24:06 04944245beec: Pulling fs layer 13:24:06 699f458cf7ca: Pulling fs layer 13:24:06 765212b225bb: Pulling fs layer 13:24:06 f23df028b6ca: Pulling fs layer 13:24:06 d65c8cfc05b1: Pulling fs layer 13:24:06 2437ff75d9bd: Pulling fs layer 13:24:06 f23df028b6ca: Waiting 13:24:06 d65c8cfc05b1: Waiting 13:24:06 2437ff75d9bd: Waiting 13:24:06 765212b225bb: Waiting 13:24:06 04944245beec: Verifying Checksum 13:24:06 04944245beec: Download complete 13:24:06 765212b225bb: Verifying Checksum 13:24:06 765212b225bb: Download complete 13:24:06 f23df028b6ca: Verifying Checksum 13:24:06 f23df028b6ca: Download complete 13:24:06 d65c8cfc05b1: Verifying Checksum 13:24:06 d65c8cfc05b1: Download complete 13:24:06 699f458cf7ca: Download complete 13:24:07 8998bd30e6a1: Verifying Checksum 13:24:07 8998bd30e6a1: Download complete 13:24:09 2437ff75d9bd: Download complete 13:24:11 8998bd30e6a1: Pull complete 13:24:11 04944245beec: Pull complete 13:24:13 699f458cf7ca: Pull complete 13:24:13 765212b225bb: Pull complete 13:24:14 f23df028b6ca: Pull complete 13:24:14 d65c8cfc05b1: Pull complete 13:24:29 2437ff75d9bd: Pull complete 13:24:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:24:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:24:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:29 prd-ubuntu20.04-docker-arm64-4c-16g-9304 does not seem to be running inside a container 13:24:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:24:32 $ docker top bab12aecb283190c363f4fd5d34d40cf443f3ce3e47160985c0e5032643ba0b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:32 ---> job-cost.sh 13:24:32 lf-activate-venv: SKIPPING 13:24:32 INFO: No Stack... 13:24:33 INFO: Retrieving Pricing Info for: v3-standard-4 13:24:34 INFO: Archiving Costs [Pipeline] sh 13:24:34 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:24:34 + cut -d, -f6 [Pipeline] lock 13:24:34 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] 13:24:34 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] did not exist. Created. 13:24:34 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:35 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-001ee4c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:24:36 + echo total: 0.10999999940395355 [Pipeline] stash 13:24:36 Warning: overwriting stash ‘stack-cost’ 13:24:36 Stashed 1 file(s) [Pipeline] } 13:24:36 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:36 $ docker stop --time=1 bab12aecb283190c363f4fd5d34d40cf443f3ce3e47160985c0e5032643ba0b4 13:24:37 $ docker rm -f bab12aecb283190c363f4fd5d34d40cf443f3ce3e47160985c0e5032643ba0b4 [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 13:24:38 provisioning config files... 13:24:38 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config8091284229550864450tmp [Pipeline] { [Pipeline] sh 13:24:39 + set +x 13:24:39 + curl -s https://codecov.io/bash 13:24:39 + bash -s -- 13:24:39 13:24:39 _____ _ 13:24:39 / ____| | | 13:24:39 | | ___ __| | ___ ___ _____ __ 13:24:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:24:39 | |___| (_) | (_| | __/ (_| (_) \ V / 13:24:39 \_____\___/ \__,_|\___|\___\___/ \_/ 13:24:39 Bash-1.0.6 13:24:39 13:24:39 13:24:39 ==> git version 2.25.1 found 13:24:39 ==> 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 13:24:39 Release-Date: 2020-01-08 13:24:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:24:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:24:39 ==> Jenkins CI detected. 13:24:39 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-117 13:24:39 project root: . 13:24:39 --> token set from env 13:24:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:24:39 ==> Running gcov in . (disable via -X gcov) 13:24:39 ==> Python coveragepy not found 13:24:39 ==> Searching for coverage reports in: 13:24:39 + . 13:24:39 -> Found 1 reports 13:24:39 ==> Detecting git/mercurial file structure 13:24:39 ==> Reading reports 13:24:39 + ./coverage.out bytes=41008 13:24:39 ==> Appending adjustments 13:24:39 https://docs.codecov.io/docs/fixing-reports 13:24:39 + Found adjustments 13:24:39 ==> Gzipping contents 13:24:39 12K /tmp/codecov.PwlGkQ.gz 13:24:39 ==> Uploading reports 13:24:39 url: https://codecov.io 13:24:39 query: branch=PR-117&commit=4c819182f510ef76da49475910846652e6cc32a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=117&job=&cmd_args= 13:24:39 -> Pinging Codecov 13:24:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-117&commit=4c819182f510ef76da49475910846652e6cc32a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=117&job=&cmd_args= 13:24:39 -> Uploading to 13:24:39 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/581DD39554BDF9B6E22D074273EAD858/4c819182f510ef76da49475910846652e6cc32a4/a85ca0b5-cb6b-4db4-815a-c7f1fb3ec2d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T132439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=899f168c85700f9bce0b53847fa404ab8d8eda50607b0a3a569beaa124941e8b 13:24:39 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:39 Dload Upload Total Spent Left Speed 13:24:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11463 0 0 100 11463 0 50497 --:--:-- --:--:-- --:--:-- 50497 13:24:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] } 13:24:40 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 13:24:41 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives ] 13:24:41 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives 13:24:41 total 16 13:24:41 drwxr-xr-x 3 root root 4096 Oct 24 13:15 . 13:24:41 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 13:15 .. 13:24:41 drwxr-xr-x 2 root root 4096 Oct 24 13:15 cost 13:24:41 -rw-r--r-- 1 root root 95 Oct 24 13:15 cost.csv 13:24:41 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives 13:24:41 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives 13:24:41 total 16 13:24:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 13:15 . 13:24:41 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 13:15 .. 13:24:41 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 13:15 cost 13:24:41 -rw-r--r-- 1 jenkins jenkins 95 Oct 24 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:24:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:43 ---> package-listing.sh 13:24:43 ++ facter osfamily 13:24:43 ++ tr '[:upper:]' '[:lower:]' 13:24:43 + OS_FAMILY=debian 13:24:43 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-117 13:24:43 + START_PACKAGES=/tmp/packages_start.txt 13:24:43 + END_PACKAGES=/tmp/packages_end.txt 13:24:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:43 + PACKAGES=/tmp/packages_start.txt 13:24:43 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-117 ']' 13:24:43 + PACKAGES=/tmp/packages_end.txt 13:24:43 + case "${OS_FAMILY}" in 13:24:43 + dpkg -l 13:24:43 + grep '^ii' 13:24:43 + '[' -f /tmp/packages_start.txt ']' 13:24:43 + '[' -f /tmp/packages_end.txt ']' 13:24:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:43 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-117 ']' 13:24:43 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/ 13:24:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/ [Pipeline] echo 13:24:43 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:24:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:44 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 13:24:44 $ 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-117/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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@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-lftools-log-publisher:latest cat 13:24:44 $ docker top 9127bf4f747b5f22156af4dccebf5f6d7f726abd494f1a01cea56d61e9717cac -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:44 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:45 + mkdir -p /var/log/sysstat [Pipeline] sh 13:24:45 + ls /var/log/sa-host 13:24:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:45 provisioning config files... 13:24:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config683090467621306116tmp [Pipeline] { [Pipeline] echo 13:24:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:45 ---> create-netrc.sh [Pipeline] } 13:24:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:24:46 ---> python-tools-install.sh [Pipeline] echo 13:24:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:46 ---> sudo-logs.sh 13:24:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:24:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:47 ---> job-cost.sh 13:24:47 lf-activate-venv: SKIPPING 13:24:47 DEBUG: total: 0.2199999988079071 13:24:47 INFO: Retrieving Stack Cost... 13:24:47 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:47 INFO: Archiving Costs [Pipeline] echo 13:24:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:48 ---> logs-deploy.sh 13:24:48 lf-activate-venv: SKIPPING 13:24:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-117/1 13:24:48 INFO: archiving workspace using pattern(s): 13:24:49 Archives upload complete. 13:24:49 INFO: archiving logs to Nexus