Pull request #96 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dbb72e16086fdbc7e50dd0238b331511e1ea6871+5d59561c1133a6ca726020ae56ce39f2a90031a2 (1ec7762ce3ab4baa25ae0f3930916db49cff764e) 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-ssh15218377407313688191.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh16519512158356473792.key > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-96/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-96/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17289494314779960694.key > 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-96/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16763719841285863156.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh11531742027858564380.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-96/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-96/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1353810761875820668.key > 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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17074 in /w/workspace/ry_app-rfid-llrp-inventory_PR-96 [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/ry_app-rfid-llrp-inventory_PR-96 # 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 > 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 5d59561c1133a6ca726020ae56ce39f2a90031a2 into PR head commit dbb72e16086fdbc7e50dd0238b331511e1ea6871 Merge succeeded, producing dbb72e16086fdbc7e50dd0238b331511e1ea6871 Checking out Revision dbb72e16086fdbc7e50dd0238b331511e1ea6871 (PR-96) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbb72e16086fdbc7e50dd0238b331511e1ea6871 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5d59561c1133a6ca726020ae56ce39f2a90031a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbb72e16086fdbc7e50dd0238b331511e1ea6871 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:39:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:39:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:39:47 ========================================================= 22:39:47 EdgeX Global Pipelines Version Info 22:39:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:39:48 ------------------- 22:39:48 stable info: 22:39:48 ------------------- 22:39:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:39:48 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:39:48 Message: update stable to v1.0.234 22:39:49 ------------------- 22:39:49 experimental info: 22:39:49 ------------------- 22:39:49 Commited By: **** collab-it+edgex@linuxfoundation.org 22:39:49 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 22:39:49 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:39:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-96 [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-96 [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-96 [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbb72e16086fdbc7e50dd0238b331511e1ea6871 [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbb72e1 [Pipeline] echo 22:39:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:39:51 provisioning config files... 22:39:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/config8524675280057617201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:39:51 ---> docker-login.sh 22:39:51 nexus3.edgexfoundry.org:10001 22:39:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:51 Configure a credential helper to remove this warning. See 22:39:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:51 22:39:51 Login Succeeded 22:39:51 nexus3.edgexfoundry.org:10002 22:39:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:51 Configure a credential helper to remove this warning. See 22:39:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:51 22:39:51 Login Succeeded 22:39:51 nexus3.edgexfoundry.org:10003 22:39:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:51 Configure a credential helper to remove this warning. See 22:39:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:51 22:39:51 Login Succeeded 22:39:51 nexus3.edgexfoundry.org:10004 22:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:52 Configure a credential helper to remove this warning. See 22:39:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:52 22:39:52 Login Succeeded 22:39:52 docker.io 22:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:52 Configure a credential helper to remove this warning. See 22:39:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:52 22:39:52 Login Succeeded 22:39:52 ---> docker-login.sh ends [Pipeline] } 22:39:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:39:53 + git rev-list -1 --merges dbb72e16086fdbc7e50dd0238b331511e1ea6871~1..dbb72e16086fdbc7e50dd0238b331511e1ea6871 [Pipeline] echo 22:39:53 -----------> git rev-list -1 --merges dbb72e16086fdbc7e50dd0238b331511e1ea6871~1..dbb72e16086fdbc7e50dd0238b331511e1ea6871 dbb72e16086fdbc7e50dd0238b331511e1ea6871 [false] [Pipeline] sh 22:39:53 + git log --format=format:%s -1 dbb72e16086fdbc7e50dd0238b331511e1ea6871 [Pipeline] echo 22:39:53 ========================================================= 22:39:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:39:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:53 + git log --format=format:%s -1 dbb72e16086fdbc7e50dd0238b331511e1ea6871 [Pipeline] echo 22:39:54 [semverPrep] GIT_COMMIT: dbb72e16086fdbc7e50dd0238b331511e1ea6871, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo 22:39:54 [semverPrep] This is not a build commit. [Pipeline] sh 22:39:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:54 + grep -v github /etc/ssh/ssh_known_hosts 22:39:54 + [ -e /tmp/ssh_known_hosts ] 22:39:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:39:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:39:54 + sudo tee -a /etc/ssh/ssh_known_hosts 22:39:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:54 22:39:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:55 0.1.4: Pulling from edgex-devops/py-git-semver 22:39:55 42c077c10790: Pulling fs layer 22:39:55 f63e77b7563a: Pulling fs layer 22:39:55 bd5fdadae976: Pulling fs layer 22:39:55 205491f53016: Pulling fs layer 22:39:55 df18705c85c3: Pulling fs layer 22:39:55 bdb3f477010e: Pulling fs layer 22:39:55 c8a8fc8e1c8f: Pulling fs layer 22:39:55 2c6e9b1d212d: Pulling fs layer 22:39:55 bdb8f0575790: Pulling fs layer 22:39:55 386e3cb2ff24: Pulling fs layer 22:39:55 2343380bae48: Pulling fs layer 22:39:55 205491f53016: Waiting 22:39:55 df18705c85c3: Waiting 22:39:55 bdb3f477010e: Waiting 22:39:55 bdb8f0575790: Waiting 22:39:55 c8a8fc8e1c8f: Waiting 22:39:55 386e3cb2ff24: Waiting 22:39:55 2343380bae48: Waiting 22:39:55 2c6e9b1d212d: Waiting 22:39:55 f63e77b7563a: Download complete 22:39:55 205491f53016: Verifying Checksum 22:39:55 205491f53016: Download complete 22:39:55 df18705c85c3: Download complete 22:39:55 bd5fdadae976: Verifying Checksum 22:39:55 bd5fdadae976: Download complete 22:39:55 bdb3f477010e: Download complete 22:39:55 2c6e9b1d212d: Verifying Checksum 22:39:55 2c6e9b1d212d: Download complete 22:39:55 bdb8f0575790: Verifying Checksum 22:39:55 bdb8f0575790: Download complete 22:39:55 2343380bae48: Download complete 22:39:55 42c077c10790: Verifying Checksum 22:39:55 42c077c10790: Download complete 22:39:55 c8a8fc8e1c8f: Verifying Checksum 22:39:57 42c077c10790: Pull complete 22:39:57 f63e77b7563a: Pull complete 22:39:57 bd5fdadae976: Pull complete 22:39:57 205491f53016: Pull complete 22:39:57 df18705c85c3: Pull complete 22:39:57 bdb3f477010e: Pull complete 22:39:59 c8a8fc8e1c8f: Pull complete 22:39:59 2c6e9b1d212d: Pull complete 22:40:00 bdb8f0575790: Pull complete 22:40:00 386e3cb2ff24: Pull complete 22:40:00 2343380bae48: Pull complete 22:40:00 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 22:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:40:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:00 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 22:40:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-96 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96:/w/workspace/ry_app-rfid-llrp-inventory_PR-96:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:40:01 $ docker top 30cdc6bc16a26a2eb9d864c08cc783b5cd2db34d30943055276f8790edeaa403 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:40:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:01 [ssh-agent] Looking for ssh-agent implementation... 22:40:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:02 $ docker exec 30cdc6bc16a26a2eb9d864c08cc783b5cd2db34d30943055276f8790edeaa403 ssh-agent 22:40:02 SSH_AUTH_SOCK=/tmp/ssh-2TRhAW76nbvO/agent.32 22:40:02 SSH_AGENT_PID=38 22:40:02 Running ssh-add (command line suppressed) 22:40:02 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/private_key_7657627346059483701.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/private_key_7657627346059483701.key) 22:40:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:02 + git tag --points-at HEAD [Pipeline] } 22:40:02 $ docker exec --env ******** --env ******** 30cdc6bc16a26a2eb9d864c08cc783b5cd2db34d30943055276f8790edeaa403 ssh-agent -k 22:40:02 unset SSH_AUTH_SOCK; 22:40:02 unset SSH_AGENT_PID; 22:40:02 echo Agent pid 38 killed; 22:40:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:40:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:03 [ssh-agent] Looking for ssh-agent implementation... 22:40:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:03 $ docker exec 30cdc6bc16a26a2eb9d864c08cc783b5cd2db34d30943055276f8790edeaa403 ssh-agent 22:40:03 SSH_AUTH_SOCK=/tmp/ssh-0JZka3U6Jwyl/agent.70 22:40:03 SSH_AGENT_PID=76 22:40:03 Running ssh-add (command line suppressed) 22:40:03 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/private_key_2505718679895596076.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/private_key_2505718679895596076.key) 22:40:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:03 + git semver init 22:40:04 2022-07-06 22:40:03,977 [run_init] DEBUG init version:0.0.0 force:False 22:40:04 2022-07-06 22:40:03,978 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver 22:40:04 2022-07-06 22:40:03,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver 22:40:04 2022-07-06 22:40:03,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-96, universal_newlines=False, shell=None, istream=None) 22:40:05 2022-07-06 22:40:05,001 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-96/.git/info/exclude 22:40:05 2022-07-06 22:40:05,002 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver/PR-96 with force:False 22:40:05 2022-07-06 22:40:05,002 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver/PR-96 22:40:05 2022-07-06 22:40:05,006 [execute] INFO git cat-file --batch-check 22:40:05 2022-07-06 22:40:05,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver, universal_newlines=False, shell=None, istream=) 22:40:05 2022-07-06 22:40:05,013 [execute] INFO git cat-file --batch 22:40:05 2022-07-06 22:40:05,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver, universal_newlines=False, shell=None, istream=) 22:40:05 2022-07-06 22:40:05,018 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-96/.semver/PR-96 22:40:05 0.0.0 [Pipeline] } 22:40:05 $ docker exec --env ******** --env ******** 30cdc6bc16a26a2eb9d864c08cc783b5cd2db34d30943055276f8790edeaa403 ssh-agent -k 22:40:05 unset SSH_AUTH_SOCK; 22:40:05 unset SSH_AGENT_PID; 22:40:05 echo Agent pid 76 killed; 22:40:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:40:06 + git semver [Pipeline] } 22:40:06 $ docker stop --time=1 30cdc6bc16a26a2eb9d864c08cc783b5cd2db34d30943055276f8790edeaa403 22:40:07 $ docker rm -f 30cdc6bc16a26a2eb9d864c08cc783b5cd2db34d30943055276f8790edeaa403 [Pipeline] // withDockerContainer [Pipeline] sh 22:40:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:40:08 Stashed 1 file(s) [Pipeline] echo 22:40:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:08 provisioning config files... 22:40:08 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/config4116624144341840360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:09 ---> docker-login.sh 22:40:09 nexus3.edgexfoundry.org:10001 22:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:09 Configure a credential helper to remove this warning. See 22:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:09 22:40:09 Login Succeeded 22:40:09 nexus3.edgexfoundry.org:10002 22:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:09 Configure a credential helper to remove this warning. See 22:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:09 22:40:09 Login Succeeded 22:40:09 nexus3.edgexfoundry.org:10003 22:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:09 Configure a credential helper to remove this warning. See 22:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:09 22:40:09 Login Succeeded 22:40:09 nexus3.edgexfoundry.org:10004 22:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:09 Configure a credential helper to remove this warning. See 22:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:09 22:40:09 Login Succeeded 22:40:09 docker.io 22:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:10 Configure a credential helper to remove this warning. See 22:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:10 22:40:10 Login Succeeded 22:40:10 ---> docker-login.sh ends [Pipeline] } 22:40:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:10 ========================================================= 22:40:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:40:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:40:10 Sending build context to Docker daemon 12.45MB 22:40:10 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:40:10 Step 2/13 : FROM ${BASE} AS builder 22:40:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:10 59bf1c3509f3: Pulling fs layer 22:40:10 666ba61612fd: Pulling fs layer 22:40:10 8ed8ca486205: Pulling fs layer 22:40:10 cc1cd167ecdc: Pulling fs layer 22:40:10 c516ae0d96e1: Pulling fs layer 22:40:10 684cea983483: Pulling fs layer 22:40:10 dd3240ac7de5: Pulling fs layer 22:40:10 b1e948a4e11c: Pulling fs layer 22:40:10 a8fd76ee1af6: Pulling fs layer 22:40:10 646ad004c059: Pulling fs layer 22:40:10 684cea983483: Waiting 22:40:10 dd3240ac7de5: Waiting 22:40:10 b1e948a4e11c: Waiting 22:40:10 cc1cd167ecdc: Waiting 22:40:10 c516ae0d96e1: Waiting 22:40:10 a8fd76ee1af6: Waiting 22:40:10 646ad004c059: Waiting 22:40:10 8ed8ca486205: Verifying Checksum 22:40:10 8ed8ca486205: Download complete 22:40:11 666ba61612fd: Verifying Checksum 22:40:11 666ba61612fd: Download complete 22:40:11 c516ae0d96e1: Verifying Checksum 22:40:11 c516ae0d96e1: Download complete 22:40:11 684cea983483: Verifying Checksum 22:40:11 684cea983483: Download complete 22:40:11 dd3240ac7de5: Verifying Checksum 22:40:11 dd3240ac7de5: Download complete 22:40:11 59bf1c3509f3: Verifying Checksum 22:40:11 59bf1c3509f3: Download complete 22:40:11 b1e948a4e11c: Verifying Checksum 22:40:11 b1e948a4e11c: Download complete 22:40:11 59bf1c3509f3: Pull complete 22:40:11 666ba61612fd: Pull complete 22:40:11 8ed8ca486205: Pull complete 22:40:11 646ad004c059: Verifying Checksum 22:40:11 646ad004c059: Download complete 22:40:11 a8fd76ee1af6: Verifying Checksum 22:40:11 a8fd76ee1af6: Download complete 22:40:11 cc1cd167ecdc: Verifying Checksum 22:40:11 cc1cd167ecdc: Download complete 22:40:16 cc1cd167ecdc: Pull complete 22:40:16 c516ae0d96e1: Pull complete 22:40:16 684cea983483: Pull complete 22:40:16 dd3240ac7de5: Pull complete 22:40:16 b1e948a4e11c: Pull complete 22:40:18 a8fd76ee1af6: Pull complete 22:40:18 646ad004c059: Pull complete 22:40:18 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 22:40:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:40:18 ---> 8f69c11f6b0c 22:40:18 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:40:20 ---> Running in 8f8ebaae828b 22:40:20 Removing intermediate container 8f8ebaae828b 22:40:20 ---> 212da234a757 22:40:20 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:40:20 ---> Running in dd2109d2b649 22:40:20 Removing intermediate container dd2109d2b649 22:40:20 ---> e866328a413a 22:40:20 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:40:20 ---> Running in debf6a77b085 22:40:20 Removing intermediate container debf6a77b085 22:40:20 ---> 6cc8e0fe81f8 22:40:20 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:20 ---> Running in 2135c870e3b6 22:40:21 Removing intermediate container 2135c870e3b6 22:40:21 ---> ed90f03a2973 22:40:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:40:21 ---> Running in 33af26aa597f 22:40:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:40:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:40:22 OK: 221 MiB in 52 packages 22:40:22 Removing intermediate container 33af26aa597f 22:40:22 ---> e46e566a824e 22:40:22 Step 8/13 : WORKDIR /app 22:40:22 ---> Running in 40793e333bb4 22:40:22 Removing intermediate container 40793e333bb4 22:40:22 ---> 50efb843dc5c 22:40:22 Step 9/13 : COPY go.mod vendor* ./ 22:40:23 ---> 32c90767071a 22:40:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:23 ---> Running in a8b50b46da7c 22:40:23 Still waiting to schedule task 22:40:23 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:40:38 Removing intermediate container a8b50b46da7c 22:40:38 ---> a1286994b54c 22:40:38 Step 11/13 : COPY . . 22:40:38 ---> 4bf705ffecfb 22:40:38 Step 12/13 : ARG MAKE="make build" 22:40:38 ---> Running in 4599ce3030da 22:40:38 Removing intermediate container 4599ce3030da 22:40:38 ---> 2fa4e4c4ef4f 22:40:38 Step 13/13 : RUN $MAKE 22:40:38 ---> Running in 40e5f3d97117 22:40:38 noop 22:40:38 Removing intermediate container 40e5f3d97117 22:40:38 ---> 0a33452766af 22:40:38 Successfully built 0a33452766af 22:40:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:38 + docker inspect -f . ci-base-image-x86_64 22:40:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:38 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 22:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-96 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96:/w/workspace/ry_app-rfid-llrp-inventory_PR-96:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:40:39 $ docker top 8328b168f310450e40117ae4a11e8c685e8c214c0ea9dead675c3a7e6e5f7fb5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:39 + go version 22:40:39 go version go1.17.7 linux/amd64 [Pipeline] } 22:40:39 $ docker stop --time=1 8328b168f310450e40117ae4a11e8c685e8c214c0ea9dead675c3a7e6e5f7fb5 22:40:40 $ docker rm -f 8328b168f310450e40117ae4a11e8c685e8c214c0ea9dead675c3a7e6e5f7fb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:41 + docker inspect -f . ci-base-image-x86_64 22:40:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:41 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 22:40:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-96 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96:/w/workspace/ry_app-rfid-llrp-inventory_PR-96:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:40:42 $ docker top 9ede4b19d95f67adc11cc6d8b31e436a84b9197f566188c743b1a4dd32f00622 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:40:42 + make test 22:40:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:40:52 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:40:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.037s coverage: 86.2% of statements 22:40:52 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:40:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.550s coverage: 71.9% of statements 22:41:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:41:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:41:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:41:06 ./bin/test-attribution.sh [Pipeline] echo 22:41:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:41:06 $ docker stop --time=1 9ede4b19d95f67adc11cc6d8b31e436a84b9197f566188c743b1a4dd32f00622 22:41:08 $ docker rm -f 9ede4b19d95f67adc11cc6d8b31e436a84b9197f566188c743b1a4dd32f00622 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:41:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:41:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:41:10 + ls -al . 22:41:10 total 232 22:41:10 drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 22:40 . 22:41:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:39 .. 22:41:10 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 22:39 .dockerignore 22:41:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 22:40 .git 22:41:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:39 .github 22:41:10 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 22:39 .gitignore 22:41:10 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 22:39 .golangci.yml 22:41:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 22:40 .semver 22:41:10 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 6 22:39 Attribution.txt 22:41:10 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 22:39 CHANGELOG.md 22:41:10 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 6 22:39 Dockerfile 22:41:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 22:39 GOVERNANCE.md 22:41:10 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 22:39 Jenkinsfile 22:41:10 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 22:39 LICENSE 22:41:10 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 22:39 Makefile 22:41:10 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 22:39 OWNERS.md 22:41:10 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 22:39 README.md 22:41:10 -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 22:40 VERSION 22:41:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:39 bin 22:41:10 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 22:40 coverage.out 22:41:10 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 6 22:39 go.mod 22:41:10 -rw-rw-r-- 1 jenkins jenkins 36956 Jul 6 22:39 go.sum 22:41:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:39 images 22:41:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:39 internal 22:41:10 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 22:39 main.go 22:41:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:39 res 22:41:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:39 snap 22:41:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:39 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:10 + 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=dbb72e16086fdbc7e50dd0238b331511e1ea6871 --label arch=amd64 --label version=0.0.0 . 22:41:10 Sending build context to Docker daemon 12.45MB 22:41:10 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 22:41:10 Step 2/31 : FROM ${BASE} AS builder 22:41:10 ---> 0a33452766af 22:41:10 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:41:10 ---> Running in 1c6214a3124a 22:41:10 Removing intermediate container 1c6214a3124a 22:41:10 ---> 09c9f694903e 22:41:10 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:41:10 ---> Running in b39f2448e765 22:41:10 Removing intermediate container b39f2448e765 22:41:10 ---> 831c45da6ed2 22:41:10 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:41:10 ---> Running in 4942f5e46d93 22:41:11 Removing intermediate container 4942f5e46d93 22:41:11 ---> ce9762c08fae 22:41:11 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:11 ---> Running in b895d7fafb65 22:41:11 Removing intermediate container b895d7fafb65 22:41:11 ---> bd264adada21 22:41:11 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:41:11 ---> Running in 1e3171d7175c 22:41:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:41:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:41:13 OK: 221 MiB in 52 packages 22:41:13 Removing intermediate container 1e3171d7175c 22:41:13 ---> 98ea1e41fafd 22:41:13 Step 8/31 : WORKDIR /app 22:41:13 ---> Running in 2285dd7ee664 22:41:13 Removing intermediate container 2285dd7ee664 22:41:13 ---> caf92b10ed53 22:41:13 Step 9/31 : COPY go.mod vendor* ./ 22:41:13 ---> 9a0f1f0bcbf7 22:41:13 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:13 ---> Running in 442db1619260 22:41:14 Removing intermediate container 442db1619260 22:41:14 ---> 905280a64cb2 22:41:14 Step 11/31 : COPY . . 22:41:14 ---> d8eebf1da8b9 22:41:14 Step 12/31 : ARG MAKE="make build" 22:41:14 ---> Running in 6b61caf2dbd9 22:41:14 Removing intermediate container 6b61caf2dbd9 22:41:14 ---> ad1911fec680 22:41:14 Step 13/31 : RUN $MAKE 22:41:14 ---> Running in 76a12b0a5a5a 22:41:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:41:37 Removing intermediate container 76a12b0a5a5a 22:41:37 ---> fa56fe8a76ef 22:41:37 Step 14/31 : FROM alpine:3.14 22:41:37 3.14: Pulling from library/alpine 22:41:37 8663204ce13b: Pulling fs layer 22:41:37 8663204ce13b: Verifying Checksum 22:41:37 8663204ce13b: Download complete 22:41:37 8663204ce13b: Pull complete 22:41:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:41:37 Status: Downloaded newer image for alpine:3.14 22:41:37 ---> e04c818066af 22:41:37 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:41:37 ---> Running in 6f62eb10f191 22:41:37 Removing intermediate container 6f62eb10f191 22:41:37 ---> dfe4f7bfd0a2 22:41:37 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:41:37 ---> Running in 2eb9ccbd3fd8 22:41:37 Removing intermediate container 2eb9ccbd3fd8 22:41:37 ---> aca71c0dcc8e 22:41:37 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:37 ---> Running in 72db74fb3535 22:41:37 Removing intermediate container 72db74fb3535 22:41:37 ---> 29459ba5dfb7 22:41:37 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:41:37 ---> Running in baf524014007 22:41:37 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:41:37 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:41:37 (1/7) Installing ca-certificates (20211220-r0) 22:41:37 (2/7) Installing dumb-init (1.2.5-r1) 22:41:37 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:41:37 (4/7) Installing libsodium (1.0.18-r0) 22:41:37 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:41:38 (6/7) Installing libzmq (4.3.4-r0) 22:41:38 (7/7) Installing zeromq (4.3.4-r0) 22:41:38 Executing busybox-1.33.1-r7.trigger 22:41:38 Executing ca-certificates-20211220-r0.trigger 22:41:38 OK: 9 MiB in 21 packages 22:41:38 Removing intermediate container baf524014007 22:41:38 ---> 58c85ea03050 22:41:38 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:41:38 ---> 82c95c1fc33d 22:41:38 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:41:39 ---> 917969842f3d 22:41:39 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:41:39 ---> 14805eaf5b77 22:41:39 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:41:39 ---> 14c6c33f1689 22:41:39 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:41:39 ---> e3fa6b6f969e 22:41:39 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:41:39 ---> Running in f80a031dd73a 22:41:40 Removing intermediate container f80a031dd73a 22:41:40 ---> 45bd8df036a2 22:41:40 Step 25/31 : VOLUME /cache 22:41:40 ---> Running in 5b34a95bb51d 22:41:40 Removing intermediate container 5b34a95bb51d 22:41:40 ---> 8fe59d623f3e 22:41:40 Step 26/31 : EXPOSE 59711 22:41:40 ---> Running in e103a874445a 22:41:40 Removing intermediate container e103a874445a 22:41:40 ---> 06af820c454a 22:41:40 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:41:41 ---> Running in f52ca72a6cc1 22:41:41 Removing intermediate container f52ca72a6cc1 22:41:41 ---> 3404e679efe2 22:41:41 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:41:41 ---> Running in 39d115354e36 22:41:41 Removing intermediate container 39d115354e36 22:41:41 ---> c1308a501ccf 22:41:41 Step 29/31 : LABEL arch=amd64 22:41:41 ---> Running in 6fd96319f872 22:41:41 Removing intermediate container 6fd96319f872 22:41:41 ---> 0656b54711d0 22:41:41 Step 30/31 : LABEL git_sha=dbb72e16086fdbc7e50dd0238b331511e1ea6871 22:41:41 ---> Running in 8888ed884e28 22:41:41 Removing intermediate container 8888ed884e28 22:41:41 ---> 19dc9983c629 22:41:41 Step 31/31 : LABEL version=0.0.0 22:41:41 ---> Running in 872561f1249e 22:41:41 Removing intermediate container 872561f1249e 22:41:41 ---> 53d204113316 22:41:41 [Warning] One or more build-args [ARCH] were not consumed 22:41:41 Successfully built 53d204113316 22:41:41 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:42 22:41:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:42 latest: Pulling from edgex-lftools-log-publisher 22:41:42 5eb5b503b376: Pulling fs layer 22:41:42 5c69ac0246d0: Pulling fs layer 22:41:42 ec43610c2a17: Pulling fs layer 22:41:42 3a2ae6a8a46f: Pulling fs layer 22:41:42 33b1e0a273af: Pulling fs layer 22:41:42 5d3b04190fa2: Pulling fs layer 22:41:42 2f39f015ded8: Pulling fs layer 22:41:42 33b1e0a273af: Waiting 22:41:42 5d3b04190fa2: Waiting 22:41:42 2f39f015ded8: Waiting 22:41:42 3a2ae6a8a46f: Waiting 22:41:42 5c69ac0246d0: Verifying Checksum 22:41:42 5c69ac0246d0: Download complete 22:41:42 3a2ae6a8a46f: Verifying Checksum 22:41:42 3a2ae6a8a46f: Download complete 22:41:42 33b1e0a273af: Verifying Checksum 22:41:42 33b1e0a273af: Download complete 22:41:42 5d3b04190fa2: Download complete 22:41:42 ec43610c2a17: Verifying Checksum 22:41:42 ec43610c2a17: Download complete 22:41:42 5eb5b503b376: Verifying Checksum 22:41:42 5eb5b503b376: Download complete 22:41:43 2f39f015ded8: Download complete 22:41:44 5eb5b503b376: Pull complete 22:41:44 5c69ac0246d0: Pull complete 22:41:44 ec43610c2a17: Pull complete 22:41:44 3a2ae6a8a46f: Pull complete 22:41:44 33b1e0a273af: Pull complete 22:41:45 5d3b04190fa2: Pull complete 22:41:49 2f39f015ded8: Pull complete 22:41:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:49 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 22:41:49 $ 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/ry_app-rfid-llrp-inventory_PR-96 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96:/w/workspace/ry_app-rfid-llrp-inventory_PR-96:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:41:51 $ docker top 1d02484d5306c6690d7692c41a976e177a5e26fce384e03c74d008a30f5c4706 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:51 ---> job-cost.sh 22:41:51 lf-activate-venv: SKIPPING 22:41:51 INFO: No Stack... 22:41:51 INFO: Retrieving Pricing Info for: v3-standard-8 22:41:52 INFO: Archiving Costs [Pipeline] sh 22:41:52 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-96/archives/cost.csv 22:41:52 + cut -d, -f6 [Pipeline] lock 22:41:52 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] 22:41:52 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] did not exist. Created. 22:41:52 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:41:53 + echo total: 0.2199999988079071 [Pipeline] stash 22:41:53 Stashed 1 file(s) [Pipeline] } 22:41:53 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:41:53 $ docker stop --time=1 1d02484d5306c6690d7692c41a976e177a5e26fce384e03c74d008a30f5c4706 22:41:54 $ docker rm -f 1d02484d5306c6690d7692c41a976e177a5e26fce384e03c74d008a30f5c4706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17076 in /w/workspace/ry_app-rfid-llrp-inventory_PR-96 [Pipeline] { [Pipeline] ws 22:43:17 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 22:43:17 The recommended git tool is: git 22:43:24 using credential edgex-jenkins-ssh 22:43:24 Cloning the remote Git repository 22:43:24 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:43:25 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 22:43:25 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:43:25 > git --version # timeout=10 22:43:25 > git --version # 'git version 2.25.1' 22:43:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:27 Merging remotes/origin/main commit 5d59561c1133a6ca726020ae56ce39f2a90031a2 into PR head commit dbb72e16086fdbc7e50dd0238b331511e1ea6871 22:43:27 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:43:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:27 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:43:27 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:43:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:43:27 > git config core.sparsecheckout # timeout=10 22:43:27 > git checkout -f dbb72e16086fdbc7e50dd0238b331511e1ea6871 # timeout=10 22:43:28 Merge succeeded, producing dbb72e16086fdbc7e50dd0238b331511e1ea6871 22:43:28 Checking out Revision dbb72e16086fdbc7e50dd0238b331511e1ea6871 (PR-96) 22:43:28 > git remote # timeout=10 22:43:28 > git config --get remote.origin.url # timeout=10 22:43:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:28 > git merge 5d59561c1133a6ca726020ae56ce39f2a90031a2 # timeout=10 22:43:28 > git rev-parse HEAD^{commit} # timeout=10 22:43:28 > git config core.sparsecheckout # timeout=10 22:43:28 > git checkout -f dbb72e16086fdbc7e50dd0238b331511e1ea6871 # timeout=10 22:43:32 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" 22:43:32 > git --version # timeout=10 22:43:32 > git --version # 'git version 2.25.1' 22:43:32 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:43:33 % Total % Received % Xferd Average Speed Time Time Time Current 22:43:33 Dload Upload Total Spent Left Speed 22:43:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 209k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 22:43:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:43:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:43:34 + sudo tee /etc/docker/daemon.new 22:43:34 { 22:43:34 "registry-mirrors": [ 22:43:34 "https://nexus3.edgexfoundry.org:10001" 22:43:34 ], 22:43:34 "bip": "10.250.0.254/24", 22:43:34 "hosts": [ 22:43:34 "tcp://0.0.0.0:5555", 22:43:34 "unix:///var/run/docker.sock" 22:43:34 ], 22:43:34 "mtu": 1458, 22:43:34 "selinux-enabled": true, 22:43:34 "seccomp-profile": "/etc/docker/seccomp.json" 22:43:34 } [Pipeline] sh 22:43:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:43:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:53 provisioning config files... 22:43:53 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config2150359475931662369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:54 ---> docker-login.sh 22:43:54 nexus3.edgexfoundry.org:10001 22:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:55 Configure a credential helper to remove this warning. See 22:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:55 22:43:55 Login Succeeded 22:43:55 nexus3.edgexfoundry.org:10002 22:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:55 Configure a credential helper to remove this warning. See 22:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:55 22:43:55 Login Succeeded 22:43:55 nexus3.edgexfoundry.org:10003 22:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:56 Configure a credential helper to remove this warning. See 22:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:56 22:43:56 Login Succeeded 22:43:56 nexus3.edgexfoundry.org:10004 22:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:56 Configure a credential helper to remove this warning. See 22:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:56 22:43:56 Login Succeeded 22:43:56 docker.io 22:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:57 Configure a credential helper to remove this warning. See 22:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:57 22:43:57 Login Succeeded 22:43:57 ---> docker-login.sh ends [Pipeline] } 22:43:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:43:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:57 ========================================================= 22:43:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:43:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:43:58 Sending build context to Docker daemon 687.1kB 22:43:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:43:58 Step 2/13 : FROM ${BASE} AS builder 22:43:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:43:59 9b3977197b4f: Pulling fs layer 22:43:59 1a89e8eeedd5: Pulling fs layer 22:43:59 94645a83ff95: Pulling fs layer 22:43:59 e6fb740bc735: Pulling fs layer 22:43:59 3a77bd46dcc9: Pulling fs layer 22:43:59 e6fb740bc735: Waiting 22:43:59 355e64cbe906: Pulling fs layer 22:43:59 63ab81a10011: Pulling fs layer 22:43:59 555d1d1c4555: Pulling fs layer 22:43:59 3a77bd46dcc9: Waiting 22:43:59 7d9057610161: Pulling fs layer 22:43:59 355e64cbe906: Waiting 22:43:59 63ab81a10011: Waiting 22:43:59 555d1d1c4555: Waiting 22:43:59 7d9057610161: Waiting 22:43:59 94645a83ff95: Verifying Checksum 22:43:59 94645a83ff95: Download complete 22:43:59 1a89e8eeedd5: Verifying Checksum 22:43:59 1a89e8eeedd5: Download complete 22:43:59 3a77bd46dcc9: Verifying Checksum 22:43:59 3a77bd46dcc9: Download complete 22:43:59 9b3977197b4f: Verifying Checksum 22:43:59 9b3977197b4f: Download complete 22:43:59 355e64cbe906: Verifying Checksum 22:43:59 355e64cbe906: Download complete 22:43:59 63ab81a10011: Verifying Checksum 22:43:59 63ab81a10011: Download complete 22:44:00 9b3977197b4f: Pull complete 22:44:00 7d9057610161: Verifying Checksum 22:44:00 7d9057610161: Download complete 22:44:00 1a89e8eeedd5: Pull complete 22:44:01 94645a83ff95: Pull complete 22:44:01 555d1d1c4555: Verifying Checksum 22:44:01 555d1d1c4555: Download complete 22:44:02 e6fb740bc735: Verifying Checksum 22:44:02 e6fb740bc735: Download complete 22:44:14 e6fb740bc735: Pull complete 22:44:14 3a77bd46dcc9: Pull complete 22:44:15 355e64cbe906: Pull complete 22:44:15 63ab81a10011: Pull complete 22:44:22 555d1d1c4555: Pull complete 22:44:24 7d9057610161: Pull complete 22:44:24 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 22:44:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:44:24 ---> 819e984ddca1 22:44:24 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:44:25 ---> Running in 956dbdcdb405 22:44:26 Removing intermediate container 956dbdcdb405 22:44:26 ---> e36d34ea33c9 22:44:26 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:44:26 ---> Running in 2def15e97173 22:44:26 Removing intermediate container 2def15e97173 22:44:26 ---> 63a7a477fe52 22:44:26 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:44:26 ---> Running in b17a2e9c02a3 22:44:27 Removing intermediate container b17a2e9c02a3 22:44:27 ---> 458318555257 22:44:27 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:27 ---> Running in 9204109e9bae 22:44:29 Removing intermediate container 9204109e9bae 22:44:29 ---> e75f61f79de8 22:44:29 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:29 ---> Running in 4bb8aa3c1cf6 22:44:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:44:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:44:32 OK: 220 MiB in 52 packages 22:44:33 Removing intermediate container 4bb8aa3c1cf6 22:44:33 ---> 8163bdaa5f66 22:44:33 Step 8/13 : WORKDIR /app 22:44:33 ---> Running in 0ace7f9edf0e 22:44:33 Removing intermediate container 0ace7f9edf0e 22:44:33 ---> 57c618647acd 22:44:33 Step 9/13 : COPY go.mod vendor* ./ 22:44:34 ---> 79076e129151 22:44:34 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:34 ---> Running in 46bb1297c9b9 22:45:21 Removing intermediate container 46bb1297c9b9 22:45:21 ---> 36b6f0928bc2 22:45:21 Step 11/13 : COPY . . 22:45:21 ---> 84e104666d1d 22:45:21 Step 12/13 : ARG MAKE="make build" 22:45:21 ---> Running in 10e84880df2c 22:45:21 Removing intermediate container 10e84880df2c 22:45:21 ---> 7f565ef4f1a5 22:45:21 Step 13/13 : RUN $MAKE 22:45:21 ---> Running in 83a73ed49aaa 22:45:21 noop 22:45:22 Removing intermediate container 83a73ed49aaa 22:45:22 ---> 2a822ae3fb3d 22:45:22 Successfully built 2a822ae3fb3d 22:45:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:23 + docker inspect -f . ci-base-image-arm64 22:45:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:23 prd-ubuntu20.04-docker-arm64-4c-16g-17076 does not seem to be running inside a container 22:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:24 $ docker top 7c3fee0ff0c79b19ab7664fba2b51a951b555a12376a121c16f38beab5215c5e -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:25 + go version 22:45:25 go version go1.17.7 linux/arm64 [Pipeline] } 22:45:25 $ docker stop --time=1 7c3fee0ff0c79b19ab7664fba2b51a951b555a12376a121c16f38beab5215c5e 22:45:27 $ docker rm -f 7c3fee0ff0c79b19ab7664fba2b51a951b555a12376a121c16f38beab5215c5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:28 + docker inspect -f . ci-base-image-arm64 22:45:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:28 prd-ubuntu20.04-docker-arm64-4c-16g-17076 does not seem to be running inside a container 22:45:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:29 $ docker top 65f29da50e08a9668193a08a3ab992443f09d34782ccd357eb3da73cb6819fa7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:45:30 + make test 22:45:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:47:07 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:47:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.211s coverage: 86.2% of statements 22:47:07 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:47:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.736s coverage: 71.9% of statements 22:47:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:47:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:47:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:47:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:47:34 ./bin/test-attribution.sh [Pipeline] echo 22:47:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:47:34 $ docker stop --time=1 65f29da50e08a9668193a08a3ab992443f09d34782ccd357eb3da73cb6819fa7 22:47:36 $ docker rm -f 65f29da50e08a9668193a08a3ab992443f09d34782ccd357eb3da73cb6819fa7 [Pipeline] // withDockerContainer [Pipeline] sh 22:47:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:37 Warning: overwriting stash ‘coverage-report’ 22:47:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:47:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:39 + ls -al . 22:47:39 total 228 22:47:39 drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 22:45 . 22:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:43 .. 22:47:39 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 22:43 .dockerignore 22:47:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 22:43 .git 22:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:43 .github 22:47:39 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 22:43 .gitignore 22:47:39 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 22:43 .golangci.yml 22:47:39 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 6 22:43 Attribution.txt 22:47:39 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 22:43 CHANGELOG.md 22:47:39 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 6 22:43 Dockerfile 22:47:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 22:43 GOVERNANCE.md 22:47:39 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 22:43 Jenkinsfile 22:47:39 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 22:43 LICENSE 22:47:39 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 22:43 Makefile 22:47:39 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 22:43 OWNERS.md 22:47:39 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 22:43 README.md 22:47:39 -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 22:40 VERSION 22:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:43 bin 22:47:39 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 22:47 coverage.out 22:47:39 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 6 22:43 go.mod 22:47:39 -rw-rw-r-- 1 jenkins jenkins 36956 Jul 6 22:43 go.sum 22:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:43 images 22:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:43 internal 22:47:39 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 22:43 main.go 22:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:43 res 22:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:43 snap 22:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:43 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:39 + 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=dbb72e16086fdbc7e50dd0238b331511e1ea6871 --label arch=arm64 --label version=0.0.0 . 22:47:39 Sending build context to Docker daemon 687.1kB 22:47:39 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 22:47:39 Step 2/31 : FROM ${BASE} AS builder 22:47:39 ---> 2a822ae3fb3d 22:47:39 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:47:40 ---> Running in 5b34e0ed3511 22:47:40 Removing intermediate container 5b34e0ed3511 22:47:40 ---> 4604d25da579 22:47:40 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:47:40 ---> Running in c220f4bd74e8 22:47:40 Removing intermediate container c220f4bd74e8 22:47:40 ---> 41b66040076f 22:47:40 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:47:41 ---> Running in 90f45978bcf6 22:47:41 Removing intermediate container 90f45978bcf6 22:47:41 ---> 3d0736f9d7bd 22:47:41 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:41 ---> Running in 81947a13891a 22:47:43 Removing intermediate container 81947a13891a 22:47:43 ---> 9fdb182a1dfd 22:47:43 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:43 ---> Running in acac0ed930b0 22:47:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:47:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:47:45 OK: 220 MiB in 52 packages 22:47:46 Removing intermediate container acac0ed930b0 22:47:46 ---> afa0c16e0285 22:47:46 Step 8/31 : WORKDIR /app 22:47:46 ---> Running in c449dfb8948e 22:47:47 Removing intermediate container c449dfb8948e 22:47:47 ---> 178783b66e22 22:47:47 Step 9/31 : COPY go.mod vendor* ./ 22:47:47 ---> ec13f36279b2 22:47:47 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:47 ---> Running in 4f3d2b1bc53f 22:47:49 Removing intermediate container 4f3d2b1bc53f 22:47:49 ---> afbe50101641 22:47:49 Step 11/31 : COPY . . 22:47:50 ---> 61bb58c12ea9 22:47:50 Step 12/31 : ARG MAKE="make build" 22:47:50 ---> Running in e11d13e35332 22:47:50 Removing intermediate container e11d13e35332 22:47:50 ---> efcda2a9e57c 22:47:50 Step 13/31 : RUN $MAKE 22:47:50 ---> Running in 0f5617d32626 22:47:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:50:13 Removing intermediate container 0f5617d32626 22:50:13 ---> ec53e16146ee 22:50:13 Step 14/31 : FROM alpine:3.14 22:50:13 3.14: Pulling from library/alpine 22:50:13 455c02918c45: Pulling fs layer 22:50:13 455c02918c45: Verifying Checksum 22:50:13 455c02918c45: Download complete 22:50:13 455c02918c45: Pull complete 22:50:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:50:13 Status: Downloaded newer image for alpine:3.14 22:50:13 ---> ac73e934f311 22:50:13 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:50:13 ---> Running in a1a23541c157 22:50:13 Removing intermediate container a1a23541c157 22:50:13 ---> 98e3825ec8ab 22:50:13 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:50:13 ---> Running in d853057c76ff 22:50:13 Removing intermediate container d853057c76ff 22:50:13 ---> 211a1eb464b2 22:50:13 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:13 ---> Running in 73bd00721021 22:50:13 Removing intermediate container 73bd00721021 22:50:13 ---> 89a61f54549d 22:50:13 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:50:13 ---> Running in e866e21b17d4 22:50:13 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:50:13 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:50:13 (1/7) Installing ca-certificates (20211220-r0) 22:50:13 (2/7) Installing dumb-init (1.2.5-r1) 22:50:13 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:50:13 (4/7) Installing libsodium (1.0.18-r0) 22:50:13 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:50:13 (6/7) Installing libzmq (4.3.4-r0) 22:50:13 (7/7) Installing zeromq (4.3.4-r0) 22:50:13 Executing busybox-1.33.1-r7.trigger 22:50:13 Executing ca-certificates-20211220-r0.trigger 22:50:13 OK: 9 MiB in 21 packages 22:50:13 Removing intermediate container e866e21b17d4 22:50:13 ---> 9b236927d15a 22:50:13 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:50:13 ---> 87d11241d31b 22:50:13 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:50:13 ---> 160043c43e09 22:50:13 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:50:13 ---> 9d91da6f40fc 22:50:13 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:50:13 ---> 167fcbb043d4 22:50:13 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:50:13 ---> 2b6f90c5af93 22:50:13 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:50:13 ---> Running in ccad40a4c8ae 22:50:13 Removing intermediate container ccad40a4c8ae 22:50:13 ---> 25519f393d6f 22:50:13 Step 25/31 : VOLUME /cache 22:50:13 ---> Running in bc7101357971 22:50:14 Removing intermediate container bc7101357971 22:50:14 ---> 4c767c85108a 22:50:14 Step 26/31 : EXPOSE 59711 22:50:14 ---> Running in 78e0bacd41b6 22:50:14 Removing intermediate container 78e0bacd41b6 22:50:14 ---> 5e3145ebeff5 22:50:14 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:50:14 ---> Running in f4a56edeba6c 22:50:14 Removing intermediate container f4a56edeba6c 22:50:14 ---> ffb6eef5a510 22:50:14 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:50:14 ---> Running in e921d4c7f807 22:50:15 Removing intermediate container e921d4c7f807 22:50:15 ---> 043ebf456070 22:50:15 Step 29/31 : LABEL arch=arm64 22:50:15 ---> Running in a483bf95fd16 22:50:15 Removing intermediate container a483bf95fd16 22:50:15 ---> c97191ec7c89 22:50:15 Step 30/31 : LABEL git_sha=dbb72e16086fdbc7e50dd0238b331511e1ea6871 22:50:15 ---> Running in 71954b17c179 22:50:16 Removing intermediate container 71954b17c179 22:50:16 ---> c025fd12d5fc 22:50:16 Step 31/31 : LABEL version=0.0.0 22:50:16 ---> Running in 0ab05a64ce67 22:50:16 Removing intermediate container 0ab05a64ce67 22:50:16 ---> 08cb9662ab6d 22:50:16 [Warning] One or more build-args [ARCH] were not consumed 22:50:16 Successfully built 08cb9662ab6d 22:50:16 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:50:17 22:50:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:50:18 arm64: Pulling from edgex-lftools-log-publisher 22:50:18 8998bd30e6a1: Pulling fs layer 22:50:18 04944245beec: Pulling fs layer 22:50:18 699f458cf7ca: Pulling fs layer 22:50:18 765212b225bb: Pulling fs layer 22:50:18 f23df028b6ca: Pulling fs layer 22:50:18 d65c8cfc05b1: Pulling fs layer 22:50:18 2437ff75d9bd: Pulling fs layer 22:50:18 d65c8cfc05b1: Waiting 22:50:18 2437ff75d9bd: Waiting 22:50:18 f23df028b6ca: Waiting 22:50:18 765212b225bb: Waiting 22:50:18 04944245beec: Verifying Checksum 22:50:18 04944245beec: Download complete 22:50:18 765212b225bb: Verifying Checksum 22:50:18 765212b225bb: Download complete 22:50:18 f23df028b6ca: Verifying Checksum 22:50:18 f23df028b6ca: Download complete 22:50:18 d65c8cfc05b1: Verifying Checksum 22:50:18 d65c8cfc05b1: Download complete 22:50:18 699f458cf7ca: Verifying Checksum 22:50:18 699f458cf7ca: Download complete 22:50:18 8998bd30e6a1: Verifying Checksum 22:50:18 8998bd30e6a1: Download complete 22:50:21 2437ff75d9bd: Verifying Checksum 22:50:21 2437ff75d9bd: Download complete 22:50:22 8998bd30e6a1: Pull complete 22:50:23 04944245beec: Pull complete 22:50:24 699f458cf7ca: Pull complete 22:50:25 765212b225bb: Pull complete 22:50:26 f23df028b6ca: Pull complete 22:50:26 d65c8cfc05b1: Pull complete 22:50:41 2437ff75d9bd: Pull complete 22:50:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:50:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:41 prd-ubuntu20.04-docker-arm64-4c-16g-17076 does not seem to be running inside a container 22:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:50:44 $ docker top 5c497787297a529e7950321a2c92d3813359077da1a62d0ee59b1ecb74f7117c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:45 ---> job-cost.sh 22:50:45 lf-activate-venv: SKIPPING 22:50:45 INFO: No Stack... 22:50:45 INFO: Retrieving Pricing Info for: v3-standard-4 22:50:46 INFO: Archiving Costs [Pipeline] sh 22:50:47 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 22:50:47 + cut -d, -f6 [Pipeline] lock 22:50:47 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] 22:50:47 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] did not exist. Created. 22:50:47 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:50:47 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-78964e5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:50:48 + echo total: 0.10999999940395355 [Pipeline] stash 22:50:48 Warning: overwriting stash ‘stack-cost’ 22:50:48 Stashed 1 file(s) [Pipeline] } 22:50:48 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-96-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:50:48 $ docker stop --time=1 5c497787297a529e7950321a2c92d3813359077da1a62d0ee59b1ecb74f7117c 22:50:50 $ docker rm -f 5c497787297a529e7950321a2c92d3813359077da1a62d0ee59b1ecb74f7117c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:50:51 provisioning config files... 22:50:51 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/config7551543899297624343tmp [Pipeline] { [Pipeline] sh 22:50:51 + set +x 22:50:51 + curl -s https://codecov.io/bash 22:50:51 + bash -s -- 22:50:51 22:50:51 _____ _ 22:50:51 / ____| | | 22:50:51 | | ___ __| | ___ ___ _____ __ 22:50:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:50:51 | |___| (_) | (_| | __/ (_| (_) \ V / 22:50:51 \_____\___/ \__,_|\___|\___\___/ \_/ 22:50:51 Bash-1.0.6 22:50:51 22:50:51 22:50:51 ==> git version 2.25.1 found 22:50:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:50:51 Release-Date: 2020-01-08 22:50:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:50:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:50:51 ==> Jenkins CI detected. 22:50:51 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-96 22:50:51 project root: . 22:50:51 --> token set from env 22:50:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:50:51 ==> Running gcov in . (disable via -X gcov) 22:50:51 ==> Python coveragepy not found 22:50:51 ==> Searching for coverage reports in: 22:50:51 + . 22:50:51 -> Found 1 reports 22:50:51 ==> Detecting git/mercurial file structure 22:50:51 ==> Reading reports 22:50:51 + ./coverage.out bytes=41008 22:50:51 ==> Appending adjustments 22:50:51 https://docs.codecov.io/docs/fixing-reports 22:50:51 + Found adjustments 22:50:51 ==> Gzipping contents 22:50:51 12K /tmp/codecov.RHfyTY.gz 22:50:51 ==> Uploading reports 22:50:51 url: https://codecov.io 22:50:51 query: branch=PR-96&commit=dbb72e16086fdbc7e50dd0238b331511e1ea6871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-96%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=96&job=&cmd_args= 22:50:51 -> Pinging Codecov 22:50:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-96&commit=dbb72e16086fdbc7e50dd0238b331511e1ea6871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-96%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=96&job=&cmd_args= 22:50:52 -> Uploading to 22:50:52 https://storage.googleapis.com/codecov/v4/raw/2022-07-06/581DD39554BDF9B6E22D074273EAD858/dbb72e16086fdbc7e50dd0238b331511e1ea6871/8c9402ac-b679-4891-81bc-52fec1f1583b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220706T225051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dbdb380b664763dcf7461f6914b9166f8196100cf5101d616b3dfef4b32bcf83 22:50:52 % Total % Received % Xferd Average Speed Time Time Time Current 22:50:52 Dload Upload Total Spent Left Speed 22:50:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11499 0 0 100 11499 0 29185 --:--:-- --:--:-- --:--:-- 29111 22:50:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/dbb72e16086fdbc7e50dd0238b331511e1ea6871 [Pipeline] } 22:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:50:54 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-96/archives ] 22:50:54 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-96/archives 22:50:54 total 16 22:50:54 drwxr-xr-x 3 root root 4096 Jul 6 22:41 . 22:50:54 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 22:41 .. 22:50:54 drwxr-xr-x 2 root root 4096 Jul 6 22:41 cost 22:50:54 -rw-r--r-- 1 root root 93 Jul 6 22:41 cost.csv 22:50:54 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-96/archives 22:50:54 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-96/archives 22:50:54 total 16 22:50:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 22:41 . 22:50:54 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 22:41 .. 22:50:54 drwxr-xr-x 2 jenkins jenkins 4096 Jul 6 22:41 cost 22:50:54 -rw-r--r-- 1 jenkins jenkins 93 Jul 6 22:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:50:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:50:55 ---> package-listing.sh 22:50:55 ++ facter osfamily 22:50:55 ++ tr '[:upper:]' '[:lower:]' 22:50:55 + OS_FAMILY=debian 22:50:55 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-96 22:50:55 + START_PACKAGES=/tmp/packages_start.txt 22:50:55 + END_PACKAGES=/tmp/packages_end.txt 22:50:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:50:55 + PACKAGES=/tmp/packages_start.txt 22:50:55 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-96 ']' 22:50:55 + PACKAGES=/tmp/packages_end.txt 22:50:55 + case "${OS_FAMILY}" in 22:50:55 + dpkg -l 22:50:55 + grep '^ii' 22:50:55 + '[' -f /tmp/packages_start.txt ']' 22:50:55 + '[' -f /tmp/packages_end.txt ']' 22:50:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:50:55 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-96 ']' 22:50:55 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-96/archives/ 22:50:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-96/archives/ [Pipeline] echo 22:50:55 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/ry_app-rfid-llrp-inventory_PR-96/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:50:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:56 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 22:50:56 $ 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/ry_app-rfid-llrp-inventory_PR-96/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-96 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96:/w/workspace/ry_app-rfid-llrp-inventory_PR-96:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:50:57 $ docker top cbbef1703143358a95262346360b67600a0fc5a290034759802d71dac9148861 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:57 + touch /tmp/pre-build-complete [Pipeline] sh 22:50:57 + mkdir -p /var/log/sysstat [Pipeline] sh 22:50:58 + ls /var/log/sa-host 22:50:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:58 provisioning config files... 22:50:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-96@tmp/config3432012654197385477tmp [Pipeline] { [Pipeline] echo 22:50:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:50:58 ---> create-netrc.sh [Pipeline] } 22:50:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:50:59 ---> python-tools-install.sh [Pipeline] echo 22:50:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:50:59 ---> sudo-logs.sh 22:50:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:50:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:50:59 ---> job-cost.sh 22:50:59 lf-activate-venv: SKIPPING 22:50:59 DEBUG: total: 0.2199999988079071 22:50:59 INFO: Retrieving Stack Cost... 22:51:00 INFO: Retrieving Pricing Info for: v3-standard-8 22:51:00 INFO: Archiving Costs [Pipeline] echo 22:51:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:51:01 ---> logs-deploy.sh 22:51:01 lf-activate-venv: SKIPPING 22:51:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-96/1 22:51:01 INFO: archiving workspace using pattern(s): 22:51:02 Archives upload complete. 22:51:02 INFO: archiving logs to Nexus