Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3817b545243506d6c11f8926a861473cd0c4170b 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-ssh12191610807841092489.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-ssh11381723959678473489.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7159620755084949043.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 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-ssh18342020612724460951.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14050235103344895605.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15367 in /w/workspace/dry_app-rfid-llrp-inventory_main [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/dry_app-rfid-llrp-inventory_main # 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 Avoid second fetch Checking out Revision 3817b545243506d6c11f8926a861473cd0c4170b (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 3817b545243506d6c11f8926a861473cd0c4170b # timeout=10 Commit message: "Fix custom config (#90)" > git rev-list --no-walk cd50c67dda48d59214514b13406723cfe5ff62e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:20:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:20:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:20:57 ========================================================= 22:20:57 EdgeX Global Pipelines Version Info 22:20:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:20:58 ------------------- 22:20:58 stable info: 22:20:58 ------------------- 22:20:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:20:58 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:20:58 Message: update stable to v1.0.234 22:20:58 ------------------- 22:20:58 experimental info: 22:20:58 ------------------- 22:20:58 Commited By: **** collab-it+edgex@linuxfoundation.org 22:20:58 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:20:58 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3817b54 [Pipeline] echo 22:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:59 provisioning config files... 22:20:59 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2435341215394649395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:59 ---> docker-login.sh 22:20:59 nexus3.edgexfoundry.org:10001 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 nexus3.edgexfoundry.org:10002 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 nexus3.edgexfoundry.org:10003 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 nexus3.edgexfoundry.org:10004 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 docker.io 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 ---> docker-login.sh ends [Pipeline] } 22:21:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:21:01 + git rev-list -1 --merges 3817b545243506d6c11f8926a861473cd0c4170b~1..3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] echo 22:21:01 -----------> git rev-list -1 --merges 3817b545243506d6c11f8926a861473cd0c4170b~1..3817b545243506d6c11f8926a861473cd0c4170b 3817b545243506d6c11f8926a861473cd0c4170b [false] [Pipeline] sh 22:21:01 + git log --format=format:%s -1 3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] echo 22:21:01 ========================================================= 22:21:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:21:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:01 + git log --format=format:%s -1 3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] echo 22:21:01 [semverPrep] GIT_COMMIT: 3817b545243506d6c11f8926a861473cd0c4170b, Commit Message: Fix custom config (#90) [Pipeline] echo 22:21:01 [semverPrep] This is not a build commit. [Pipeline] sh 22:21:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:02 + grep -v github /etc/ssh/ssh_known_hosts 22:21:02 + [ -e /tmp/ssh_known_hosts ] 22:21:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:21:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:21:02 + sudo tee -a /etc/ssh/ssh_known_hosts 22:21:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:02 22:21:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:03 0.1.4: Pulling from edgex-devops/py-git-semver 22:21:03 42c077c10790: Pulling fs layer 22:21:03 f63e77b7563a: Pulling fs layer 22:21:03 bd5fdadae976: Pulling fs layer 22:21:03 205491f53016: Pulling fs layer 22:21:03 df18705c85c3: Pulling fs layer 22:21:03 bdb3f477010e: Pulling fs layer 22:21:03 c8a8fc8e1c8f: Pulling fs layer 22:21:03 2c6e9b1d212d: Pulling fs layer 22:21:03 bdb8f0575790: Pulling fs layer 22:21:03 386e3cb2ff24: Pulling fs layer 22:21:03 2343380bae48: Pulling fs layer 22:21:03 205491f53016: Waiting 22:21:03 df18705c85c3: Waiting 22:21:03 bdb3f477010e: Waiting 22:21:03 c8a8fc8e1c8f: Waiting 22:21:03 2c6e9b1d212d: Waiting 22:21:03 f63e77b7563a: Verifying Checksum 22:21:03 f63e77b7563a: Download complete 22:21:03 205491f53016: Verifying Checksum 22:21:03 205491f53016: Download complete 22:21:03 df18705c85c3: Verifying Checksum 22:21:03 df18705c85c3: Download complete 22:21:03 bdb3f477010e: Verifying Checksum 22:21:03 bdb3f477010e: Download complete 22:21:03 bd5fdadae976: Verifying Checksum 22:21:03 bd5fdadae976: Download complete 22:21:03 2c6e9b1d212d: Verifying Checksum 22:21:03 2c6e9b1d212d: Download complete 22:21:03 bdb8f0575790: Verifying Checksum 22:21:03 bdb8f0575790: Download complete 22:21:03 386e3cb2ff24: Verifying Checksum 22:21:03 386e3cb2ff24: Download complete 22:21:03 2343380bae48: Verifying Checksum 22:21:03 2343380bae48: Download complete 22:21:03 42c077c10790: Verifying Checksum 22:21:03 42c077c10790: Download complete 22:21:04 42c077c10790: Pull complete 22:21:04 f63e77b7563a: Pull complete 22:21:05 bd5fdadae976: Pull complete 22:21:05 205491f53016: Pull complete 22:21:05 df18705c85c3: Pull complete 22:21:05 bdb3f477010e: Pull complete 22:21:07 c8a8fc8e1c8f: Pull complete 22:21:07 2c6e9b1d212d: Pull complete 22:21:07 bdb8f0575790: Pull complete 22:21:07 386e3cb2ff24: Pull complete 22:21:07 2343380bae48: Pull complete 22:21:07 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 22:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:07 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:21:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:21:09 $ docker top d0c8cb3f92b8e38c42bb5ee5bfa5aa157c24aaadaac3499fe59da972b2d2c29e -eo pid,comm 22:21:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:21:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:21:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:09 [ssh-agent] Looking for ssh-agent implementation... 22:21:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:09 $ docker exec d0c8cb3f92b8e38c42bb5ee5bfa5aa157c24aaadaac3499fe59da972b2d2c29e ssh-agent 22:21:09 SSH_AUTH_SOCK=/tmp/ssh-LL7XCPQdnSG1/agent.34 22:21:09 SSH_AGENT_PID=40 22:21:09 Running ssh-add (command line suppressed) 22:21:09 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2444498923303333984.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2444498923303333984.key) 22:21:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:09 + git tag --points-at HEAD [Pipeline] } 22:21:10 $ docker exec --env ******** --env ******** d0c8cb3f92b8e38c42bb5ee5bfa5aa157c24aaadaac3499fe59da972b2d2c29e ssh-agent -k 22:21:10 unset SSH_AUTH_SOCK; 22:21:10 unset SSH_AGENT_PID; 22:21:10 echo Agent pid 40 killed; 22:21:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:21:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:10 [ssh-agent] Looking for ssh-agent implementation... 22:21:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:10 $ docker exec d0c8cb3f92b8e38c42bb5ee5bfa5aa157c24aaadaac3499fe59da972b2d2c29e ssh-agent 22:21:10 SSH_AUTH_SOCK=/tmp/ssh-8lybXkTKzj9z/agent.75 22:21:10 SSH_AGENT_PID=81 22:21:10 Running ssh-add (command line suppressed) 22:21:10 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7287761698875058850.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7287761698875058850.key) 22:21:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:10 + git semver init 22:21:11 2022-06-22 22:21:11,035 [run_init] DEBUG init version:0.0.0 force:False 22:21:11 2022-06-22 22:21:11,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 22:21:11 2022-06-22 22:21:11,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 22:21:11 2022-06-22 22:21:11,037 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 22:21:12 2022-06-22 22:21:11,977 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 22:21:12 2022-06-22 22:21:11,978 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 22:21:12 2022-06-22 22:21:11,978 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:21:12 2022-06-22 22:21:11,978 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:21:12 2.2.1-dev.3 [Pipeline] } 22:21:12 $ docker exec --env ******** --env ******** d0c8cb3f92b8e38c42bb5ee5bfa5aa157c24aaadaac3499fe59da972b2d2c29e ssh-agent -k 22:21:12 unset SSH_AUTH_SOCK; 22:21:12 unset SSH_AGENT_PID; 22:21:12 echo Agent pid 81 killed; 22:21:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:21:12 + git semver [Pipeline] } 22:21:12 $ docker stop --time=1 d0c8cb3f92b8e38c42bb5ee5bfa5aa157c24aaadaac3499fe59da972b2d2c29e 22:21:14 $ docker rm -f d0c8cb3f92b8e38c42bb5ee5bfa5aa157c24aaadaac3499fe59da972b2d2c29e [Pipeline] // withDockerContainer [Pipeline] sh 22:21:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:21:14 Stashed 1 file(s) [Pipeline] echo 22:21:14 [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [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:21:14 provisioning config files... 22:21:14 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5074308697822636003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:15 ---> docker-login.sh 22:21:15 nexus3.edgexfoundry.org:10001 22:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:15 Configure a credential helper to remove this warning. See 22:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:15 22:21:15 Login Succeeded 22:21:15 nexus3.edgexfoundry.org:10002 22:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:15 Configure a credential helper to remove this warning. See 22:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:15 22:21:15 Login Succeeded 22:21:15 nexus3.edgexfoundry.org:10003 22:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:15 Configure a credential helper to remove this warning. See 22:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:15 22:21:15 Login Succeeded 22:21:15 nexus3.edgexfoundry.org:10004 22:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:15 Configure a credential helper to remove this warning. See 22:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:15 22:21:15 Login Succeeded 22:21:15 docker.io 22:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:15 Configure a credential helper to remove this warning. See 22:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:15 22:21:15 Login Succeeded 22:21:15 ---> docker-login.sh ends [Pipeline] } 22:21:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:21:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:16 ========================================================= 22:21:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:21:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:16 + 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:21:16 Sending build context to Docker daemon 12.45MB 22:21:16 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:21:16 Step 2/13 : FROM ${BASE} AS builder 22:21:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:21:16 59bf1c3509f3: Pulling fs layer 22:21:16 666ba61612fd: Pulling fs layer 22:21:16 8ed8ca486205: Pulling fs layer 22:21:16 cc1cd167ecdc: Pulling fs layer 22:21:16 c516ae0d96e1: Pulling fs layer 22:21:16 684cea983483: Pulling fs layer 22:21:16 dd3240ac7de5: Pulling fs layer 22:21:16 b1e948a4e11c: Pulling fs layer 22:21:16 a8fd76ee1af6: Pulling fs layer 22:21:16 646ad004c059: Pulling fs layer 22:21:16 dd3240ac7de5: Waiting 22:21:16 b1e948a4e11c: Waiting 22:21:16 c516ae0d96e1: Waiting 22:21:16 646ad004c059: Waiting 22:21:16 a8fd76ee1af6: Waiting 22:21:16 684cea983483: Waiting 22:21:16 8ed8ca486205: Verifying Checksum 22:21:16 8ed8ca486205: Download complete 22:21:16 666ba61612fd: Download complete 22:21:16 c516ae0d96e1: Verifying Checksum 22:21:16 c516ae0d96e1: Download complete 22:21:16 684cea983483: Verifying Checksum 22:21:16 684cea983483: Download complete 22:21:16 dd3240ac7de5: Verifying Checksum 22:21:16 dd3240ac7de5: Download complete 22:21:16 59bf1c3509f3: Verifying Checksum 22:21:16 59bf1c3509f3: Download complete 22:21:16 b1e948a4e11c: Verifying Checksum 22:21:16 b1e948a4e11c: Download complete 22:21:16 59bf1c3509f3: Pull complete 22:21:16 666ba61612fd: Pull complete 22:21:16 8ed8ca486205: Pull complete 22:21:17 646ad004c059: Verifying Checksum 22:21:17 646ad004c059: Download complete 22:21:17 cc1cd167ecdc: Download complete 22:21:17 a8fd76ee1af6: Download complete 22:21:21 cc1cd167ecdc: Pull complete 22:21:21 c516ae0d96e1: Pull complete 22:21:21 684cea983483: Pull complete 22:21:21 dd3240ac7de5: Pull complete 22:21:21 b1e948a4e11c: Pull complete 22:21:22 a8fd76ee1af6: Pull complete 22:21:23 646ad004c059: Pull complete 22:21:23 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 22:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:21:23 ---> 8f69c11f6b0c 22:21:23 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:21:25 ---> Running in b4ddb1eebbf7 22:21:25 Removing intermediate container b4ddb1eebbf7 22:21:25 ---> c16de209685e 22:21:25 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:21:25 ---> Running in 46d8526a4901 22:21:25 Removing intermediate container 46d8526a4901 22:21:25 ---> 716f33d07b7e 22:21:25 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:21:25 ---> Running in 10895aa38d78 22:21:25 Removing intermediate container 10895aa38d78 22:21:25 ---> c819aef67fde 22:21:25 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:21:25 ---> Running in 4d2e49edce55 22:21:26 Removing intermediate container 4d2e49edce55 22:21:26 ---> 636b7209c037 22:21:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:26 ---> Running in adedea038293 22:21:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:21:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:21:27 OK: 221 MiB in 52 packages 22:21:28 Removing intermediate container adedea038293 22:21:28 ---> e8b2bb6353a3 22:21:28 Step 8/13 : WORKDIR /app 22:21:28 ---> Running in 004b535795e2 22:21:28 Removing intermediate container 004b535795e2 22:21:28 ---> 4b7e062265cd 22:21:28 Step 9/13 : COPY go.mod vendor* ./ 22:21:28 ---> 3c5eeab76b7b 22:21:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:28 ---> Running in 6181f854ea47 22:21:29 Still waiting to schedule task 22:21:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:21:43 Removing intermediate container 6181f854ea47 22:21:43 ---> 07a6f4ea1ff4 22:21:43 Step 11/13 : COPY . . 22:21:43 ---> a64f9350577e 22:21:43 Step 12/13 : ARG MAKE="make build" 22:21:43 ---> Running in 733fef232c60 22:21:43 Removing intermediate container 733fef232c60 22:21:43 ---> 670c46bb0872 22:21:43 Step 13/13 : RUN $MAKE 22:21:43 ---> Running in 4c09fd0f3a43 22:21:43 noop 22:21:43 Removing intermediate container 4c09fd0f3a43 22:21:43 ---> 8233309e51d0 22:21:43 Successfully built 8233309e51d0 22:21:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:43 + docker inspect -f . ci-base-image-x86_64 22:21:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:43 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:21:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** ci-base-image-x86_64 cat 22:21:44 $ docker top ea89c08cf9867056a9ca34fea3989964c319ee039f85edb3b1ccceb68622b6df -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:44 + go version 22:21:44 go version go1.17.7 linux/amd64 [Pipeline] } 22:21:44 $ docker stop --time=1 ea89c08cf9867056a9ca34fea3989964c319ee039f85edb3b1ccceb68622b6df 22:21:45 $ docker rm -f ea89c08cf9867056a9ca34fea3989964c319ee039f85edb3b1ccceb68622b6df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:46 + docker inspect -f . ci-base-image-x86_64 22:21:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:46 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:21:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** ci-base-image-x86_64 cat 22:21:46 $ docker top c4d6e8950fef5e89cde0ffce96586e304acf21be8358397538293dc95fca2ebc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:21:47 + make test 22:21:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:21:57 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:21:57 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.036s coverage: 86.2% of statements 22:21:57 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:21:59 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.586s coverage: 71.9% of statements 22:22:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:22:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:22:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:22:10 ./bin/test-attribution.sh [Pipeline] echo 22:22:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:22:10 $ docker stop --time=1 c4d6e8950fef5e89cde0ffce96586e304acf21be8358397538293dc95fca2ebc 22:22:12 $ docker rm -f c4d6e8950fef5e89cde0ffce96586e304acf21be8358397538293dc95fca2ebc [Pipeline] // withDockerContainer [Pipeline] sh 22:22:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:22:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:22:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:22:13 + ls -al . 22:22:13 total 228 22:22:13 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 22:22 . 22:22:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 22:20 .. 22:22:13 -rw-rw-r-- 1 jenkins jenkins 262 Jun 22 22:20 .dockerignore 22:22:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 22:21 .git 22:22:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 22:20 .github 22:22:13 -rw-rw-r-- 1 jenkins jenkins 788 Jun 22 22:20 .gitignore 22:22:13 -rw-rw-r-- 1 jenkins jenkins 41 Jun 22 22:20 .golangci.yml 22:22:13 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 22:21 .semver 22:22:13 -rw-rw-r-- 1 jenkins jenkins 9413 Jun 22 22:20 Attribution.txt 22:22:13 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 22 22:20 CHANGELOG.md 22:22:13 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 22 22:20 Dockerfile 22:22:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 22:20 GOVERNANCE.md 22:22:13 -rw-rw-r-- 1 jenkins jenkins 687 Jun 22 22:20 Jenkinsfile 22:22:13 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 22 22:20 LICENSE 22:22:13 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 22 22:20 Makefile 22:22:13 -rw-rw-r-- 1 jenkins jenkins 617 Jun 22 22:20 OWNERS.md 22:22:13 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 22 22:20 README.md 22:22:13 -rw-rw-r-- 1 jenkins jenkins 11 Jun 22 22:21 VERSION 22:22:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 22:20 bin 22:22:13 -rw-r--r-- 1 jenkins jenkins 41008 Jun 22 22:21 coverage.out 22:22:13 -rw-rw-r-- 1 jenkins jenkins 3475 Jun 22 22:20 go.mod 22:22:13 -rw-rw-r-- 1 jenkins jenkins 36141 Jun 22 22:20 go.sum 22:22:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 22:20 images 22:22:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 22:20 internal 22:22:13 -rw-rw-r-- 1 jenkins jenkins 531 Jun 22 22:20 main.go 22:22:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 22:20 res 22:22:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 22:20 snap 22:22:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 22:20 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:14 + 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=3817b545243506d6c11f8926a861473cd0c4170b --label arch=amd64 --label version=2.2.1-dev.3 . 22:22:14 Sending build context to Docker daemon 12.45MB 22:22:14 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 22:22:14 Step 2/31 : FROM ${BASE} AS builder 22:22:14 ---> 8233309e51d0 22:22:14 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:22:14 ---> Running in 66d16fcd4b90 22:22:14 Removing intermediate container 66d16fcd4b90 22:22:14 ---> 55abcbd236f2 22:22:14 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:22:14 ---> Running in 424a92039e2f 22:22:14 Removing intermediate container 424a92039e2f 22:22:14 ---> 3c0143eac116 22:22:14 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:22:14 ---> Running in 3124a56d9f21 22:22:14 Removing intermediate container 3124a56d9f21 22:22:14 ---> 690731b56bbc 22:22:14 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:14 ---> Running in 20a90158cebf 22:22:15 Removing intermediate container 20a90158cebf 22:22:15 ---> c1bf0bb2826d 22:22:15 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:15 ---> Running in 6bc3731c7455 22:22:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:22:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:22:16 OK: 221 MiB in 52 packages 22:22:16 Removing intermediate container 6bc3731c7455 22:22:16 ---> 9c0212a73f11 22:22:16 Step 8/31 : WORKDIR /app 22:22:17 ---> Running in 47538ca04b42 22:22:17 Removing intermediate container 47538ca04b42 22:22:17 ---> d0532a2b2737 22:22:17 Step 9/31 : COPY go.mod vendor* ./ 22:22:17 ---> e756f3b58bc8 22:22:17 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:17 ---> Running in 2e728ccc7ab4 22:22:18 Removing intermediate container 2e728ccc7ab4 22:22:18 ---> 20c85fe5cadb 22:22:18 Step 11/31 : COPY . . 22:22:18 ---> 3766d93adcad 22:22:18 Step 12/31 : ARG MAKE="make build" 22:22:18 ---> Running in 7f7c617d09b8 22:22:18 Removing intermediate container 7f7c617d09b8 22:22:18 ---> faae5d5ff3db 22:22:18 Step 13/31 : RUN $MAKE 22:22:18 ---> Running in 1da54dcf6f47 22:22:18 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.7 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.3 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:22:40 Removing intermediate container 1da54dcf6f47 22:22:40 ---> 408ec16cb6ed 22:22:40 Step 14/31 : FROM alpine:3.14 22:22:40 3.14: Pulling from library/alpine 22:22:40 8663204ce13b: Pulling fs layer 22:22:40 8663204ce13b: Download complete 22:22:40 8663204ce13b: Pull complete 22:22:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:22:40 Status: Downloaded newer image for alpine:3.14 22:22:40 ---> e04c818066af 22:22:40 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:22:40 ---> Running in 831a9f3fee1d 22:22:40 Removing intermediate container 831a9f3fee1d 22:22:40 ---> 4d6f51c212cf 22:22:40 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:22:40 ---> Running in b596eb555fbc 22:22:40 Removing intermediate container b596eb555fbc 22:22:40 ---> 7bb64a1348fd 22:22:40 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:40 ---> Running in 880b4ff92104 22:22:40 Removing intermediate container 880b4ff92104 22:22:40 ---> f7938832e2f6 22:22:40 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:22:40 ---> Running in 0fa0e335d92a 22:22:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:22:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:22:40 (1/7) Installing ca-certificates (20211220-r0) 22:22:40 (2/7) Installing dumb-init (1.2.5-r1) 22:22:41 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:22:41 (4/7) Installing libsodium (1.0.18-r0) 22:22:41 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:22:41 (6/7) Installing libzmq (4.3.4-r0) 22:22:41 (7/7) Installing zeromq (4.3.4-r0) 22:22:41 Executing busybox-1.33.1-r7.trigger 22:22:41 Executing ca-certificates-20211220-r0.trigger 22:22:41 OK: 9 MiB in 21 packages 22:22:41 Removing intermediate container 0fa0e335d92a 22:22:41 ---> eaa323791517 22:22:41 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:22:42 ---> 95211a9ab73a 22:22:42 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:22:42 ---> 8b0e051a5d9a 22:22:42 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:22:42 ---> cf87b8fbfc1a 22:22:42 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:22:42 ---> c4fcf4c33b27 22:22:42 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:22:43 ---> abe5dd1dc077 22:22:43 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:22:43 ---> Running in 4aa9e862bc04 22:22:43 Removing intermediate container 4aa9e862bc04 22:22:43 ---> e70091e00714 22:22:43 Step 25/31 : VOLUME /cache 22:22:43 ---> Running in 9f2176d486e0 22:22:43 Removing intermediate container 9f2176d486e0 22:22:43 ---> 85ae3329008c 22:22:43 Step 26/31 : EXPOSE 59711 22:22:43 ---> Running in 3c5731030b40 22:22:43 Removing intermediate container 3c5731030b40 22:22:43 ---> c6abf340bee6 22:22:43 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:22:43 ---> Running in b9b9eaa5cbda 22:22:43 Removing intermediate container b9b9eaa5cbda 22:22:43 ---> 9adba6bb118c 22:22:43 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:22:44 ---> Running in 3468dee92572 22:22:44 Removing intermediate container 3468dee92572 22:22:44 ---> 187507a1ca03 22:22:44 Step 29/31 : LABEL arch=amd64 22:22:44 ---> Running in 82d653f7abb1 22:22:44 Removing intermediate container 82d653f7abb1 22:22:44 ---> 38b3274e1355 22:22:44 Step 30/31 : LABEL git_sha=3817b545243506d6c11f8926a861473cd0c4170b 22:22:44 ---> Running in b77bd47baf29 22:22:44 Removing intermediate container b77bd47baf29 22:22:44 ---> 8573c37318d4 22:22:44 Step 31/31 : LABEL version=2.2.1-dev.3 22:22:44 ---> Running in 235e8d39621b 22:22:44 Removing intermediate container 235e8d39621b 22:22:44 ---> 28e4f87dcc0b 22:22:44 [Warning] One or more build-args [ARCH] were not consumed 22:22:44 Successfully built 28e4f87dcc0b 22:22:44 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:44 provisioning config files... 22:22:44 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6798793111525121934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:45 ---> docker-login.sh 22:22:45 nexus3.edgexfoundry.org:10001 22:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:45 Configure a credential helper to remove this warning. See 22:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:45 22:22:45 Login Succeeded 22:22:45 nexus3.edgexfoundry.org:10002 22:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:45 Configure a credential helper to remove this warning. See 22:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:45 22:22:45 Login Succeeded 22:22:45 nexus3.edgexfoundry.org:10003 22:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:45 Configure a credential helper to remove this warning. See 22:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:45 22:22:45 Login Succeeded 22:22:45 nexus3.edgexfoundry.org:10004 22:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:45 Configure a credential helper to remove this warning. See 22:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:45 22:22:45 Login Succeeded 22:22:45 docker.io 22:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:45 Configure a credential helper to remove this warning. See 22:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:45 22:22:45 Login Succeeded 22:22:45 ---> docker-login.sh ends [Pipeline] } 22:22:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:22:46 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 22:22:46 3817b545243506d6c11f8926a861473cd0c4170b 22:22:46 latest 22:22:46 2.2.1-dev.3 22:22:46 3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 22:22:46 main 22:22:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:46 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:46 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3817b545243506d6c11f8926a861473cd0c4170b 22:22:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:46 2b7fb639e667: Preparing 22:22:46 a6b3c1fed42d: Preparing 22:22:46 70d1f32c5a17: Preparing 22:22:46 795efa358a8a: Preparing 22:22:46 8d43032cd062: Preparing 22:22:46 549aff84a674: Preparing 22:22:46 1328a4221e60: Preparing 22:22:46 adad2f9ce93f: Preparing 22:22:46 b541d28bf3b4: Preparing 22:22:46 549aff84a674: Waiting 22:22:46 adad2f9ce93f: Waiting 22:22:46 1328a4221e60: Waiting 22:22:46 b541d28bf3b4: Waiting 22:22:46 795efa358a8a: Pushed 22:22:46 70d1f32c5a17: Pushed 22:22:46 2b7fb639e667: Pushed 22:22:46 8d43032cd062: Pushed 22:22:46 b541d28bf3b4: Layer already exists 22:22:46 549aff84a674: Pushed 22:22:46 adad2f9ce93f: Pushed 22:22:47 1328a4221e60: Pushed 22:22:49 a6b3c1fed42d: Pushed 22:22:49 3817b545243506d6c11f8926a861473cd0c4170b: digest: sha256:4e24dbb13452f9b01cfa4926aaf58ecae696a065a15df802e460a351c2f9e180 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:50 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:50 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 22:22:50 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:50 2b7fb639e667: Preparing 22:22:50 a6b3c1fed42d: Preparing 22:22:50 70d1f32c5a17: Preparing 22:22:50 795efa358a8a: Preparing 22:22:50 8d43032cd062: Preparing 22:22:50 549aff84a674: Preparing 22:22:50 1328a4221e60: Preparing 22:22:50 adad2f9ce93f: Preparing 22:22:50 b541d28bf3b4: Preparing 22:22:50 549aff84a674: Waiting 22:22:50 1328a4221e60: Waiting 22:22:50 adad2f9ce93f: Waiting 22:22:50 b541d28bf3b4: Waiting 22:22:50 795efa358a8a: Layer already exists 22:22:50 a6b3c1fed42d: Layer already exists 22:22:50 8d43032cd062: Layer already exists 22:22:50 70d1f32c5a17: Layer already exists 22:22:50 2b7fb639e667: Layer already exists 22:22:50 1328a4221e60: Layer already exists 22:22:50 549aff84a674: Layer already exists 22:22:50 b541d28bf3b4: Layer already exists 22:22:50 adad2f9ce93f: Layer already exists 22:22:50 latest: digest: sha256:4e24dbb13452f9b01cfa4926aaf58ecae696a065a15df802e460a351c2f9e180 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:50 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:50 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.3 22:22:50 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:50 2b7fb639e667: Preparing 22:22:50 a6b3c1fed42d: Preparing 22:22:50 70d1f32c5a17: Preparing 22:22:50 795efa358a8a: Preparing 22:22:50 8d43032cd062: Preparing 22:22:50 549aff84a674: Preparing 22:22:50 1328a4221e60: Preparing 22:22:50 adad2f9ce93f: Preparing 22:22:50 b541d28bf3b4: Preparing 22:22:50 549aff84a674: Waiting 22:22:50 adad2f9ce93f: Waiting 22:22:50 1328a4221e60: Waiting 22:22:50 b541d28bf3b4: Waiting 22:22:50 70d1f32c5a17: Layer already exists 22:22:50 8d43032cd062: Layer already exists 22:22:50 a6b3c1fed42d: Layer already exists 22:22:50 795efa358a8a: Layer already exists 22:22:50 2b7fb639e667: Layer already exists 22:22:50 549aff84a674: Layer already exists 22:22:50 1328a4221e60: Layer already exists 22:22:50 adad2f9ce93f: Layer already exists 22:22:50 b541d28bf3b4: Layer already exists 22:22:50 2.2.1-dev.3: digest: sha256:4e24dbb13452f9b01cfa4926aaf58ecae696a065a15df802e460a351c2f9e180 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:51 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:51 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 22:22:51 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:51 2b7fb639e667: Preparing 22:22:51 a6b3c1fed42d: Preparing 22:22:51 70d1f32c5a17: Preparing 22:22:51 795efa358a8a: Preparing 22:22:51 8d43032cd062: Preparing 22:22:51 549aff84a674: Preparing 22:22:51 1328a4221e60: Preparing 22:22:51 adad2f9ce93f: Preparing 22:22:51 b541d28bf3b4: Preparing 22:22:51 549aff84a674: Waiting 22:22:51 1328a4221e60: Waiting 22:22:51 adad2f9ce93f: Waiting 22:22:51 b541d28bf3b4: Waiting 22:22:51 2b7fb639e667: Layer already exists 22:22:51 a6b3c1fed42d: Layer already exists 22:22:51 70d1f32c5a17: Layer already exists 22:22:51 795efa358a8a: Layer already exists 22:22:51 8d43032cd062: Layer already exists 22:22:51 1328a4221e60: Layer already exists 22:22:51 549aff84a674: Layer already exists 22:22:51 b541d28bf3b4: Layer already exists 22:22:51 adad2f9ce93f: Layer already exists 22:22:51 3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3: digest: sha256:4e24dbb13452f9b01cfa4926aaf58ecae696a065a15df802e460a351c2f9e180 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:51 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:52 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 22:22:52 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:52 2b7fb639e667: Preparing 22:22:52 a6b3c1fed42d: Preparing 22:22:52 70d1f32c5a17: Preparing 22:22:52 795efa358a8a: Preparing 22:22:52 8d43032cd062: Preparing 22:22:52 549aff84a674: Preparing 22:22:52 1328a4221e60: Preparing 22:22:52 adad2f9ce93f: Preparing 22:22:52 b541d28bf3b4: Preparing 22:22:52 1328a4221e60: Waiting 22:22:52 adad2f9ce93f: Waiting 22:22:52 549aff84a674: Waiting 22:22:52 a6b3c1fed42d: Layer already exists 22:22:52 2b7fb639e667: Layer already exists 22:22:52 70d1f32c5a17: Layer already exists 22:22:52 795efa358a8a: Layer already exists 22:22:52 8d43032cd062: Layer already exists 22:22:52 549aff84a674: Layer already exists 22:22:52 adad2f9ce93f: Layer already exists 22:22:52 1328a4221e60: Layer already exists 22:22:52 b541d28bf3b4: Layer already exists 22:22:52 main: digest: sha256:4e24dbb13452f9b01cfa4926aaf58ecae696a065a15df802e460a351c2f9e180 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:52 ===================================================== [Pipeline] echo 22:22:52 taggedImages: 22:22:52 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3817b545243506d6c11f8926a861473cd0c4170b 22:22:52 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 22:22:52 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.3 22:22:52 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 22:22:52 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [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:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:52 22:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:52 latest: Pulling from edgex-lftools-log-publisher 22:22:52 5eb5b503b376: Pulling fs layer 22:22:52 5c69ac0246d0: Pulling fs layer 22:22:52 ec43610c2a17: Pulling fs layer 22:22:52 3a2ae6a8a46f: Pulling fs layer 22:22:52 33b1e0a273af: Pulling fs layer 22:22:52 5d3b04190fa2: Pulling fs layer 22:22:52 2f39f015ded8: Pulling fs layer 22:22:52 5d3b04190fa2: Waiting 22:22:52 2f39f015ded8: Waiting 22:22:52 3a2ae6a8a46f: Waiting 22:22:52 5c69ac0246d0: Verifying Checksum 22:22:52 5c69ac0246d0: Download complete 22:22:52 3a2ae6a8a46f: Verifying Checksum 22:22:52 3a2ae6a8a46f: Download complete 22:22:52 33b1e0a273af: Verifying Checksum 22:22:52 33b1e0a273af: Download complete 22:22:52 5d3b04190fa2: Verifying Checksum 22:22:52 5d3b04190fa2: Download complete 22:22:52 ec43610c2a17: Verifying Checksum 22:22:52 ec43610c2a17: Download complete 22:22:53 5eb5b503b376: Verifying Checksum 22:22:53 5eb5b503b376: Download complete 22:22:53 2f39f015ded8: Download complete 22:22:54 5eb5b503b376: Pull complete 22:22:54 5c69ac0246d0: Pull complete 22:22:54 ec43610c2a17: Pull complete 22:22:54 3a2ae6a8a46f: Pull complete 22:22:55 33b1e0a273af: Pull complete 22:22:55 5d3b04190fa2: Pull complete 22:22:59 2f39f015ded8: Pull complete 22:22:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:22:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:59 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:22:59 $ 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/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:23:01 $ docker top 60b5cadf7002735b096beaa2156ed9ceb12081324b54bfce9c2b11e6738c649e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:01 ---> job-cost.sh 22:23:01 lf-activate-venv: SKIPPING 22:23:01 INFO: No Stack... 22:23:02 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:02 INFO: Archiving Costs [Pipeline] sh 22:23:02 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 22:23:02 + cut -d, -f6 [Pipeline] lock 22:23:02 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] 22:23:02 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] did not exist. Created. 22:23:02 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:03 + echo total: 0.2199999988079071 [Pipeline] stash 22:23:03 Stashed 1 file(s) [Pipeline] } 22:23:03 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:03 $ docker stop --time=1 60b5cadf7002735b096beaa2156ed9ceb12081324b54bfce9c2b11e6738c649e 22:23:04 $ docker rm -f 60b5cadf7002735b096beaa2156ed9ceb12081324b54bfce9c2b11e6738c649e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:23:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15368 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 22:23:06 Running in /w/workspace/app-rfid-llrp-inventory/40 [Pipeline] { [Pipeline] checkout 22:23:06 The recommended git tool is: git 22:23:14 using credential edgex-jenkins-ssh 22:23:14 Cloning the remote Git repository 22:23:14 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:23:14 > git init /w/workspace/app-rfid-llrp-inventory/40 # timeout=10 22:23:14 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:23:14 > git --version # timeout=10 22:23:14 > git --version # 'git version 2.25.1' 22:23:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:16 Avoid second fetch 22:23:16 Checking out Revision 3817b545243506d6c11f8926a861473cd0c4170b (main) 22:23:16 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:23:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:16 > git config core.sparsecheckout # timeout=10 22:23:16 > git checkout -f 3817b545243506d6c11f8926a861473cd0c4170b # timeout=10 22:23:21 Commit message: "Fix custom config (#90)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:23:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:23:22 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:22 Dload Upload Total Spent Left Speed 22:23:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 89437 0 --:--:-- --:--:-- --:--:-- 89437 [Pipeline] sh 22:23:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:23:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:23:23 + sudo tee /etc/docker/daemon.new 22:23:23 { 22:23:23 "registry-mirrors": [ 22:23:23 "https://nexus3.edgexfoundry.org:10001" 22:23:23 ], 22:23:23 "bip": "10.250.0.254/24", 22:23:23 "hosts": [ 22:23:23 "tcp://0.0.0.0:5555", 22:23:23 "unix:///var/run/docker.sock" 22:23:23 ], 22:23:23 "mtu": 1458, 22:23:23 "selinux-enabled": true, 22:23:23 "seccomp-profile": "/etc/docker/seccomp.json" 22:23:23 } [Pipeline] sh 22:23:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:23:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:42 provisioning config files... 22:23:42 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/40@tmp/config7867727505920270694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:42 ---> docker-login.sh 22:23:42 nexus3.edgexfoundry.org:10001 22:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:43 Configure a credential helper to remove this warning. See 22:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:43 22:23:43 Login Succeeded 22:23:43 nexus3.edgexfoundry.org:10002 22:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:43 Configure a credential helper to remove this warning. See 22:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:43 22:23:43 Login Succeeded 22:23:43 nexus3.edgexfoundry.org:10003 22:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:44 Configure a credential helper to remove this warning. See 22:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:44 22:23:44 Login Succeeded 22:23:44 nexus3.edgexfoundry.org:10004 22:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:44 Configure a credential helper to remove this warning. See 22:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:44 22:23:44 Login Succeeded 22:23:44 docker.io 22:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:45 Configure a credential helper to remove this warning. See 22:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:45 22:23:45 Login Succeeded 22:23:45 ---> docker-login.sh ends [Pipeline] } 22:23:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:23:45 ========================================================= 22:23:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:23:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:46 + 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:23:46 Sending build context to Docker daemon 687.6kB 22:23:46 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:23:46 Step 2/13 : FROM ${BASE} AS builder 22:23:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:23:46 9b3977197b4f: Pulling fs layer 22:23:46 1a89e8eeedd5: Pulling fs layer 22:23:46 94645a83ff95: Pulling fs layer 22:23:46 e6fb740bc735: Pulling fs layer 22:23:46 3a77bd46dcc9: Pulling fs layer 22:23:46 355e64cbe906: Pulling fs layer 22:23:46 63ab81a10011: Pulling fs layer 22:23:46 555d1d1c4555: Pulling fs layer 22:23:46 7d9057610161: Pulling fs layer 22:23:46 e6fb740bc735: Waiting 22:23:46 3a77bd46dcc9: Waiting 22:23:46 63ab81a10011: Waiting 22:23:46 355e64cbe906: Waiting 22:23:46 555d1d1c4555: Waiting 22:23:46 7d9057610161: Waiting 22:23:46 94645a83ff95: Verifying Checksum 22:23:46 94645a83ff95: Download complete 22:23:46 1a89e8eeedd5: Download complete 22:23:46 3a77bd46dcc9: Verifying Checksum 22:23:46 3a77bd46dcc9: Download complete 22:23:46 355e64cbe906: Verifying Checksum 22:23:46 355e64cbe906: Download complete 22:23:46 9b3977197b4f: Verifying Checksum 22:23:46 9b3977197b4f: Download complete 22:23:46 63ab81a10011: Download complete 22:23:47 9b3977197b4f: Pull complete 22:23:47 7d9057610161: Verifying Checksum 22:23:47 7d9057610161: Download complete 22:23:48 1a89e8eeedd5: Pull complete 22:23:48 94645a83ff95: Pull complete 22:23:49 555d1d1c4555: Verifying Checksum 22:23:49 555d1d1c4555: Download complete 22:23:49 e6fb740bc735: Verifying Checksum 22:23:49 e6fb740bc735: Download complete 22:24:02 e6fb740bc735: Pull complete 22:24:02 3a77bd46dcc9: Pull complete 22:24:02 355e64cbe906: Pull complete 22:24:02 63ab81a10011: Pull complete 22:24:09 555d1d1c4555: Pull complete 22:24:11 7d9057610161: Pull complete 22:24:11 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 22:24:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:24:11 ---> 819e984ddca1 22:24:11 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:24:11 ---> Running in 07a160841cd6 22:24:11 Removing intermediate container 07a160841cd6 22:24:11 ---> f94149523a0e 22:24:11 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:24:11 ---> Running in a8c846814aa4 22:24:12 Removing intermediate container a8c846814aa4 22:24:12 ---> a073002e493c 22:24:12 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:24:12 ---> Running in c1a1ef867166 22:24:12 Removing intermediate container c1a1ef867166 22:24:12 ---> f1b59f6fc04d 22:24:12 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:24:12 ---> Running in f19425c5ea74 22:24:14 Removing intermediate container f19425c5ea74 22:24:14 ---> 593fe96b4012 22:24:14 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:24:14 ---> Running in 0bd45df67ca4 22:24:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:24:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:24:17 OK: 220 MiB in 52 packages 22:24:18 Removing intermediate container 0bd45df67ca4 22:24:18 ---> dbc9528637e8 22:24:18 Step 8/13 : WORKDIR /app 22:24:18 ---> Running in a66dddfa5f39 22:24:18 Removing intermediate container a66dddfa5f39 22:24:18 ---> 8b3fce6b2e74 22:24:18 Step 9/13 : COPY go.mod vendor* ./ 22:24:18 ---> e091c06c6d2b 22:24:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:24:18 ---> Running in b54ed843a878 22:25:05 Removing intermediate container b54ed843a878 22:25:05 ---> 50dbf0149c72 22:25:05 Step 11/13 : COPY . . 22:25:05 ---> a071f6870cf3 22:25:05 Step 12/13 : ARG MAKE="make build" 22:25:05 ---> Running in fdeeba59f08f 22:25:05 Removing intermediate container fdeeba59f08f 22:25:05 ---> 263f02d73526 22:25:05 Step 13/13 : RUN $MAKE 22:25:05 ---> Running in ae7805c20c24 22:25:05 noop 22:25:05 Removing intermediate container ae7805c20c24 22:25:05 ---> b7391254900e 22:25:05 Successfully built b7391254900e 22:25:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:06 + docker inspect -f . ci-base-image-arm64 22:25:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:06 prd-ubuntu20.04-docker-arm64-4c-16g-15368 does not seem to be running inside a container 22:25:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/40 -v /w/workspace/app-rfid-llrp-inventory/40:/w/workspace/app-rfid-llrp-inventory/40:rw,z -v /w/workspace/app-rfid-llrp-inventory/40@tmp:/w/workspace/app-rfid-llrp-inventory/40@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 ******** ci-base-image-arm64 cat 22:25:07 $ docker top 2c706f8aaa0c7c856071495651bdb8de85abf8918afe4daf85d6c1cd8b47ac10 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:08 + go version 22:25:08 go version go1.17.7 linux/arm64 [Pipeline] } 22:25:08 $ docker stop --time=1 2c706f8aaa0c7c856071495651bdb8de85abf8918afe4daf85d6c1cd8b47ac10 22:25:10 $ docker rm -f 2c706f8aaa0c7c856071495651bdb8de85abf8918afe4daf85d6c1cd8b47ac10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:10 + docker inspect -f . ci-base-image-arm64 22:25:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:11 prd-ubuntu20.04-docker-arm64-4c-16g-15368 does not seem to be running inside a container 22:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/40 -v /w/workspace/app-rfid-llrp-inventory/40:/w/workspace/app-rfid-llrp-inventory/40:rw,z -v /w/workspace/app-rfid-llrp-inventory/40@tmp:/w/workspace/app-rfid-llrp-inventory/40@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 ******** ci-base-image-arm64 cat 22:25:12 $ docker top a224b11d7e5b028515608b77c7761012701dd921aae8d3f823259638f412d5e0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:25:13 + make test 22:25:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:26:35 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:26:35 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.216s coverage: 86.2% of statements 22:26:35 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:26:38 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.696s coverage: 71.9% of statements 22:26:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:26:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:27:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:11 ./bin/test-attribution.sh [Pipeline] echo 22:27:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:11 $ docker stop --time=1 a224b11d7e5b028515608b77c7761012701dd921aae8d3f823259638f412d5e0 22:27:13 $ docker rm -f a224b11d7e5b028515608b77c7761012701dd921aae8d3f823259638f412d5e0 [Pipeline] // withDockerContainer [Pipeline] sh 22:27:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:14 Warning: overwriting stash ‘coverage-report’ 22:27:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:15 + ls -al . 22:27:15 total 224 22:27:15 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 22:27 . 22:27:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 22:23 .. 22:27:15 -rw-rw-r-- 1 jenkins jenkins 262 Jun 22 22:23 .dockerignore 22:27:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 22:23 .git 22:27:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 22:23 .github 22:27:15 -rw-rw-r-- 1 jenkins jenkins 788 Jun 22 22:23 .gitignore 22:27:15 -rw-rw-r-- 1 jenkins jenkins 41 Jun 22 22:23 .golangci.yml 22:27:15 -rw-rw-r-- 1 jenkins jenkins 9413 Jun 22 22:23 Attribution.txt 22:27:15 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 22 22:23 CHANGELOG.md 22:27:15 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 22 22:23 Dockerfile 22:27:15 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 22:23 GOVERNANCE.md 22:27:15 -rw-rw-r-- 1 jenkins jenkins 687 Jun 22 22:23 Jenkinsfile 22:27:15 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 22 22:23 LICENSE 22:27:15 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 22 22:23 Makefile 22:27:15 -rw-rw-r-- 1 jenkins jenkins 617 Jun 22 22:23 OWNERS.md 22:27:15 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 22 22:23 README.md 22:27:15 -rw-rw-r-- 1 jenkins jenkins 11 Jun 22 22:21 VERSION 22:27:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 22:23 bin 22:27:15 -rw-r--r-- 1 jenkins jenkins 41008 Jun 22 22:26 coverage.out 22:27:15 -rw-rw-r-- 1 jenkins jenkins 3475 Jun 22 22:23 go.mod 22:27:15 -rw-rw-r-- 1 jenkins jenkins 36141 Jun 22 22:23 go.sum 22:27:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 22:23 images 22:27:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 22:23 internal 22:27:15 -rw-rw-r-- 1 jenkins jenkins 531 Jun 22 22:23 main.go 22:27:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 22:23 res 22:27:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 22:23 snap 22:27:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 22:23 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:15 + 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=3817b545243506d6c11f8926a861473cd0c4170b --label arch=arm64 --label version=2.2.1-dev.3 . 22:27:15 Sending build context to Docker daemon 687.6kB 22:27:15 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 22:27:15 Step 2/31 : FROM ${BASE} AS builder 22:27:15 ---> b7391254900e 22:27:15 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:27:16 ---> Running in c4f11a98843a 22:27:16 Removing intermediate container c4f11a98843a 22:27:16 ---> 3f860227b66e 22:27:16 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:27:16 ---> Running in 0e80720ac88b 22:27:16 Removing intermediate container 0e80720ac88b 22:27:16 ---> b25c3c4eae11 22:27:16 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:27:16 ---> Running in 3d3295264e46 22:27:17 Removing intermediate container 3d3295264e46 22:27:17 ---> c2da037840e0 22:27:17 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:27:17 ---> Running in b6a48daba5c3 22:27:18 Removing intermediate container b6a48daba5c3 22:27:18 ---> 61335c91f46d 22:27:18 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:27:19 ---> Running in 9fec9f196aad 22:27:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:27:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:27:21 OK: 220 MiB in 52 packages 22:27:22 Removing intermediate container 9fec9f196aad 22:27:22 ---> 3215771be548 22:27:22 Step 8/31 : WORKDIR /app 22:27:22 ---> Running in 6827e7247f4e 22:27:22 Removing intermediate container 6827e7247f4e 22:27:22 ---> 2584d04bddb6 22:27:22 Step 9/31 : COPY go.mod vendor* ./ 22:27:23 ---> 67550055363b 22:27:23 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:23 ---> Running in 0a035b3e1d11 22:27:25 Removing intermediate container 0a035b3e1d11 22:27:25 ---> d61916bfd6eb 22:27:25 Step 11/31 : COPY . . 22:27:26 ---> 7acb3c7250f3 22:27:26 Step 12/31 : ARG MAKE="make build" 22:27:26 ---> Running in b6206ec38d68 22:27:26 Removing intermediate container b6206ec38d68 22:27:26 ---> 52a79ccfc9f0 22:27:26 Step 13/31 : RUN $MAKE 22:27:26 ---> Running in e815533b177b 22:27:27 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.7 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.3 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:29:34 Removing intermediate container e815533b177b 22:29:34 ---> 42c9bda9fe07 22:29:34 Step 14/31 : FROM alpine:3.14 22:29:34 3.14: Pulling from library/alpine 22:29:34 455c02918c45: Pulling fs layer 22:29:34 455c02918c45: Verifying Checksum 22:29:34 455c02918c45: Download complete 22:29:34 455c02918c45: Pull complete 22:29:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:29:34 Status: Downloaded newer image for alpine:3.14 22:29:34 ---> ac73e934f311 22:29:34 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:29:34 ---> Running in 5876f1d2dec6 22:29:34 Removing intermediate container 5876f1d2dec6 22:29:34 ---> 219213a2c137 22:29:34 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:29:34 ---> Running in e28e7b496322 22:29:34 Removing intermediate container e28e7b496322 22:29:34 ---> a3e30594e96d 22:29:34 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:29:34 ---> Running in 7301ea1bbfa2 22:29:34 Removing intermediate container 7301ea1bbfa2 22:29:34 ---> f4a1479f393e 22:29:34 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:29:34 ---> Running in b813fbfa04c8 22:29:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:29:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:29:34 (1/7) Installing ca-certificates (20211220-r0) 22:29:34 (2/7) Installing dumb-init (1.2.5-r1) 22:29:34 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:29:34 (4/7) Installing libsodium (1.0.18-r0) 22:29:34 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:29:34 (6/7) Installing libzmq (4.3.4-r0) 22:29:34 (7/7) Installing zeromq (4.3.4-r0) 22:29:34 Executing busybox-1.33.1-r7.trigger 22:29:34 Executing ca-certificates-20211220-r0.trigger 22:29:34 OK: 9 MiB in 21 packages 22:29:34 Removing intermediate container b813fbfa04c8 22:29:34 ---> 635e947b9488 22:29:34 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:29:34 ---> 25acee7ab51b 22:29:34 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:29:34 ---> c660604563cd 22:29:34 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:29:34 ---> c5248b0fe2af 22:29:34 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:29:34 ---> 001e38961a1c 22:29:34 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:29:35 ---> 82bd8ea660f0 22:29:35 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:29:35 ---> Running in a6472ba37c49 22:29:37 Removing intermediate container a6472ba37c49 22:29:37 ---> 6b85af3f6b22 22:29:37 Step 25/31 : VOLUME /cache 22:29:37 ---> Running in a99328901a43 22:29:37 Removing intermediate container a99328901a43 22:29:37 ---> da9c6ea7da8b 22:29:37 Step 26/31 : EXPOSE 59711 22:29:37 ---> Running in c2a27562c406 22:29:38 Removing intermediate container c2a27562c406 22:29:38 ---> a6fe0b25b10c 22:29:38 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:29:38 ---> Running in f1c3894e677b 22:29:38 Removing intermediate container f1c3894e677b 22:29:38 ---> aee393368718 22:29:38 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:29:38 ---> Running in 325b274dada1 22:29:38 Removing intermediate container 325b274dada1 22:29:38 ---> 85ccb2261d0d 22:29:38 Step 29/31 : LABEL arch=arm64 22:29:38 ---> Running in fcac416e5ef3 22:29:39 Removing intermediate container fcac416e5ef3 22:29:39 ---> 06894c6a4178 22:29:39 Step 30/31 : LABEL git_sha=3817b545243506d6c11f8926a861473cd0c4170b 22:29:39 ---> Running in 8e2cc24ed485 22:29:39 Removing intermediate container 8e2cc24ed485 22:29:39 ---> b6ee6db044a0 22:29:39 Step 31/31 : LABEL version=2.2.1-dev.3 22:29:39 ---> Running in f28858f67a4a 22:29:39 Removing intermediate container f28858f67a4a 22:29:39 ---> 5a68c497dce4 22:29:39 [Warning] One or more build-args [ARCH] were not consumed 22:29:39 Successfully built 5a68c497dce4 22:29:39 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:40 provisioning config files... 22:29:40 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/40@tmp/config2469288821678660385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:40 ---> docker-login.sh 22:29:40 nexus3.edgexfoundry.org:10001 22:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:40 Configure a credential helper to remove this warning. See 22:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:40 22:29:40 Login Succeeded 22:29:40 nexus3.edgexfoundry.org:10002 22:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:41 Configure a credential helper to remove this warning. See 22:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:41 22:29:41 Login Succeeded 22:29:41 nexus3.edgexfoundry.org:10003 22:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:41 Configure a credential helper to remove this warning. See 22:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:41 22:29:41 Login Succeeded 22:29:41 nexus3.edgexfoundry.org:10004 22:29:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:42 Configure a credential helper to remove this warning. See 22:29:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:42 22:29:42 Login Succeeded 22:29:42 docker.io 22:29:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:42 Configure a credential helper to remove this warning. See 22:29:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:42 22:29:42 Login Succeeded 22:29:42 ---> docker-login.sh ends [Pipeline] } 22:29:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:29:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:43 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 22:29:43 3817b545243506d6c11f8926a861473cd0c4170b 22:29:43 latest 22:29:43 2.2.1-dev.3 22:29:43 3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 22:29:43 main 22:29:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:43 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:43 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3817b545243506d6c11f8926a861473cd0c4170b 22:29:43 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:29:43 d03327f6b733: Preparing 22:29:43 64f463ff9347: Preparing 22:29:43 35608b60d7fe: Preparing 22:29:43 4eefe31450a6: Preparing 22:29:43 ce9c1c4a0538: Preparing 22:29:43 0e13eea6ff2a: Preparing 22:29:43 61cfe493084f: Preparing 22:29:43 c39769fde6f8: Preparing 22:29:43 f73e7dbfee58: Preparing 22:29:43 61cfe493084f: Waiting 22:29:43 f73e7dbfee58: Waiting 22:29:43 c39769fde6f8: Waiting 22:29:44 35608b60d7fe: Pushed 22:29:44 4eefe31450a6: Pushed 22:29:44 ce9c1c4a0538: Pushed 22:29:44 d03327f6b733: Pushed 22:29:44 f73e7dbfee58: Layer already exists 22:29:44 0e13eea6ff2a: Pushed 22:29:44 c39769fde6f8: Pushed 22:29:44 61cfe493084f: Pushed 22:29:50 64f463ff9347: Pushed 22:29:50 3817b545243506d6c11f8926a861473cd0c4170b: digest: sha256:dde58234c6d85704f86bc6e160928c6c4623c33a3d387b9694954d1ea489521b size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:50 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:51 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 22:29:51 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:29:51 d03327f6b733: Preparing 22:29:51 64f463ff9347: Preparing 22:29:51 35608b60d7fe: Preparing 22:29:51 4eefe31450a6: Preparing 22:29:51 ce9c1c4a0538: Preparing 22:29:51 0e13eea6ff2a: Preparing 22:29:51 61cfe493084f: Preparing 22:29:51 c39769fde6f8: Preparing 22:29:51 f73e7dbfee58: Preparing 22:29:51 61cfe493084f: Waiting 22:29:51 c39769fde6f8: Waiting 22:29:51 0e13eea6ff2a: Waiting 22:29:51 f73e7dbfee58: Waiting 22:29:51 ce9c1c4a0538: Layer already exists 22:29:51 64f463ff9347: Layer already exists 22:29:51 35608b60d7fe: Layer already exists 22:29:51 d03327f6b733: Layer already exists 22:29:51 4eefe31450a6: Layer already exists 22:29:51 c39769fde6f8: Layer already exists 22:29:51 0e13eea6ff2a: Layer already exists 22:29:51 61cfe493084f: Layer already exists 22:29:51 f73e7dbfee58: Layer already exists 22:29:51 latest: digest: sha256:dde58234c6d85704f86bc6e160928c6c4623c33a3d387b9694954d1ea489521b size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:51 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:52 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.3 22:29:52 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:29:52 d03327f6b733: Preparing 22:29:52 64f463ff9347: Preparing 22:29:52 35608b60d7fe: Preparing 22:29:52 4eefe31450a6: Preparing 22:29:52 ce9c1c4a0538: Preparing 22:29:52 0e13eea6ff2a: Preparing 22:29:52 61cfe493084f: Preparing 22:29:52 c39769fde6f8: Preparing 22:29:52 f73e7dbfee58: Preparing 22:29:52 0e13eea6ff2a: Waiting 22:29:52 61cfe493084f: Waiting 22:29:52 c39769fde6f8: Waiting 22:29:52 f73e7dbfee58: Waiting 22:29:52 d03327f6b733: Layer already exists 22:29:52 ce9c1c4a0538: Layer already exists 22:29:52 4eefe31450a6: Layer already exists 22:29:52 64f463ff9347: Layer already exists 22:29:52 35608b60d7fe: Layer already exists 22:29:52 c39769fde6f8: Layer already exists 22:29:52 f73e7dbfee58: Layer already exists 22:29:52 61cfe493084f: Layer already exists 22:29:52 0e13eea6ff2a: Layer already exists 22:29:52 2.2.1-dev.3: digest: sha256:dde58234c6d85704f86bc6e160928c6c4623c33a3d387b9694954d1ea489521b size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:52 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:53 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 22:29:53 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:29:53 d03327f6b733: Preparing 22:29:53 64f463ff9347: Preparing 22:29:53 35608b60d7fe: Preparing 22:29:53 4eefe31450a6: Preparing 22:29:53 ce9c1c4a0538: Preparing 22:29:53 0e13eea6ff2a: Preparing 22:29:53 61cfe493084f: Preparing 22:29:53 c39769fde6f8: Preparing 22:29:53 f73e7dbfee58: Preparing 22:29:53 61cfe493084f: Waiting 22:29:53 0e13eea6ff2a: Waiting 22:29:53 c39769fde6f8: Waiting 22:29:53 f73e7dbfee58: Waiting 22:29:53 64f463ff9347: Layer already exists 22:29:53 35608b60d7fe: Layer already exists 22:29:53 ce9c1c4a0538: Layer already exists 22:29:53 4eefe31450a6: Layer already exists 22:29:53 d03327f6b733: Layer already exists 22:29:53 0e13eea6ff2a: Layer already exists 22:29:53 61cfe493084f: Layer already exists 22:29:53 c39769fde6f8: Layer already exists 22:29:53 f73e7dbfee58: Layer already exists 22:29:53 3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3: digest: sha256:dde58234c6d85704f86bc6e160928c6c4623c33a3d387b9694954d1ea489521b size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:53 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:54 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 22:29:54 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:29:54 d03327f6b733: Preparing 22:29:54 64f463ff9347: Preparing 22:29:54 35608b60d7fe: Preparing 22:29:54 4eefe31450a6: Preparing 22:29:54 ce9c1c4a0538: Preparing 22:29:54 0e13eea6ff2a: Preparing 22:29:54 61cfe493084f: Preparing 22:29:54 c39769fde6f8: Preparing 22:29:54 f73e7dbfee58: Preparing 22:29:54 0e13eea6ff2a: Waiting 22:29:54 61cfe493084f: Waiting 22:29:54 f73e7dbfee58: Waiting 22:29:54 c39769fde6f8: Waiting 22:29:54 35608b60d7fe: Layer already exists 22:29:54 64f463ff9347: Layer already exists 22:29:54 d03327f6b733: Layer already exists 22:29:54 ce9c1c4a0538: Layer already exists 22:29:54 4eefe31450a6: Layer already exists 22:29:54 61cfe493084f: Layer already exists 22:29:54 0e13eea6ff2a: Layer already exists 22:29:54 f73e7dbfee58: Layer already exists 22:29:54 c39769fde6f8: Layer already exists 22:29:54 main: digest: sha256:dde58234c6d85704f86bc6e160928c6c4623c33a3d387b9694954d1ea489521b size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:29:54 ===================================================== [Pipeline] echo 22:29:54 taggedImages: 22:29:54 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3817b545243506d6c11f8926a861473cd0c4170b 22:29:54 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 22:29:54 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.3 22:29:54 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3817b545243506d6c11f8926a861473cd0c4170b-2.2.1-dev.3 22:29:54 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:54 22:29:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:55 arm64: Pulling from edgex-lftools-log-publisher 22:29:55 8998bd30e6a1: Pulling fs layer 22:29:55 04944245beec: Pulling fs layer 22:29:55 699f458cf7ca: Pulling fs layer 22:29:55 765212b225bb: Pulling fs layer 22:29:55 f23df028b6ca: Pulling fs layer 22:29:55 d65c8cfc05b1: Pulling fs layer 22:29:55 2437ff75d9bd: Pulling fs layer 22:29:55 d65c8cfc05b1: Waiting 22:29:55 f23df028b6ca: Waiting 22:29:55 2437ff75d9bd: Waiting 22:29:55 765212b225bb: Waiting 22:29:55 04944245beec: Verifying Checksum 22:29:55 04944245beec: Download complete 22:29:55 765212b225bb: Verifying Checksum 22:29:55 765212b225bb: Download complete 22:29:55 f23df028b6ca: Download complete 22:29:55 d65c8cfc05b1: Verifying Checksum 22:29:55 d65c8cfc05b1: Download complete 22:29:55 699f458cf7ca: Verifying Checksum 22:29:55 699f458cf7ca: Download complete 22:29:55 8998bd30e6a1: Verifying Checksum 22:29:55 8998bd30e6a1: Download complete 22:29:57 2437ff75d9bd: Download complete 22:30:00 8998bd30e6a1: Pull complete 22:30:00 04944245beec: Pull complete 22:30:02 699f458cf7ca: Pull complete 22:30:02 765212b225bb: Pull complete 22:30:03 f23df028b6ca: Pull complete 22:30:03 d65c8cfc05b1: Pull complete 22:30:18 2437ff75d9bd: Pull complete 22:30:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:30:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:18 prd-ubuntu20.04-docker-arm64-4c-16g-15368 does not seem to be running inside a container 22:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/40 -v /w/workspace/app-rfid-llrp-inventory/40:/w/workspace/app-rfid-llrp-inventory/40:rw,z -v /w/workspace/app-rfid-llrp-inventory/40@tmp:/w/workspace/app-rfid-llrp-inventory/40@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:30:21 $ docker top 6f0a628e741bd7da6920b290a904c3a790c9dbca50531eabbf5e3df4a9f057e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:22 ---> job-cost.sh 22:30:22 lf-activate-venv: SKIPPING 22:30:22 INFO: No Stack... 22:30:22 INFO: Retrieving Pricing Info for: v3-standard-4 22:30:23 INFO: Archiving Costs [Pipeline] sh 22:30:24 + cut -d, -f6 22:30:24 + cat /w/workspace/app-rfid-llrp-inventory/40/archives/cost.csv [Pipeline] lock 22:30:24 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] 22:30:24 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] did not exist. Created. 22:30:24 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:25 /w/workspace/app-rfid-llrp-inventory/40@tmp/durable-8a72914a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:30:25 + echo total: 0.10999999940395355 [Pipeline] stash 22:30:25 Warning: overwriting stash ‘stack-cost’ 22:30:25 Stashed 1 file(s) [Pipeline] } 22:30:25 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:25 $ docker stop --time=1 6f0a628e741bd7da6920b290a904c3a790c9dbca50531eabbf5e3df4a9f057e2 22:30:27 $ docker rm -f 6f0a628e741bd7da6920b290a904c3a790c9dbca50531eabbf5e3df4a9f057e2 [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:30:27 provisioning config files... 22:30:27 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3928526197202929552tmp [Pipeline] { [Pipeline] sh 22:30:28 + set +x 22:30:28 + curl -s https://codecov.io/bash 22:30:28 + bash -s -- 22:30:28 22:30:28 _____ _ 22:30:28 / ____| | | 22:30:28 | | ___ __| | ___ ___ _____ __ 22:30:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:30:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:30:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:30:28 Bash-1.0.6 22:30:28 22:30:28 22:30:28 ==> git version 2.25.1 found 22:30:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:30:28 Release-Date: 2020-01-08 22:30:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:30:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:30:28 ==> Jenkins CI detected. 22:30:28 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 22:30:28 project root: . 22:30:28 --> token set from env 22:30:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:30:28 ==> Running gcov in . (disable via -X gcov) 22:30:28 ==> Python coveragepy not found 22:30:28 ==> Searching for coverage reports in: 22:30:28 + . 22:30:28 -> Found 1 reports 22:30:28 ==> Detecting git/mercurial file structure 22:30:28 ==> Reading reports 22:30:28 + ./coverage.out bytes=41008 22:30:28 ==> Appending adjustments 22:30:28 https://docs.codecov.io/docs/fixing-reports 22:30:28 + Found adjustments 22:30:28 ==> Gzipping contents 22:30:28 12K /tmp/codecov.a3EJ4f.gz 22:30:28 ==> Uploading reports 22:30:28 url: https://codecov.io 22:30:28 query: branch=main&commit=3817b545243506d6c11f8926a861473cd0c4170b&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:28 -> Pinging Codecov 22:30:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=main&commit=3817b545243506d6c11f8926a861473cd0c4170b&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:28 -> Uploading to 22:30:28 https://storage.googleapis.com/codecov/v4/raw/2022-06-22/581DD39554BDF9B6E22D074273EAD858/3817b545243506d6c11f8926a861473cd0c4170b/be899ca8-2293-4f96-ac3d-a2fb49d05e8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T223028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5713bce4ec83983340491f338a57db28bced072005082afdc0faedb458382d14 22:30:28 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:28 Dload Upload Total Spent Left Speed 22:30:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11490 0 0 100 11490 0 52227 --:--:-- --:--:-- --:--:-- 51990 100 11490 0 0 100 11490 0 50174 --:--:-- --:--:-- --:--:-- 49956 22:30:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] } 22:30:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:30:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:30:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:29 22:30:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:30:29 df9b9388f04a: Pulling fs layer 22:30:29 52dc419b0ee2: Pulling fs layer 22:30:29 25bc292e5bac: Pulling fs layer 22:30:29 114826534d7a: Pulling fs layer 22:30:29 4657fd5d0bcf: Pulling fs layer 22:30:29 6ad1cebc031e: Pulling fs layer 22:30:29 8a3aa393b2d8: Pulling fs layer 22:30:29 4657fd5d0bcf: Waiting 22:30:29 114826534d7a: Waiting 22:30:29 8a3aa393b2d8: Waiting 22:30:29 25bc292e5bac: Verifying Checksum 22:30:29 25bc292e5bac: Download complete 22:30:29 52dc419b0ee2: Verifying Checksum 22:30:29 52dc419b0ee2: Download complete 22:30:29 4657fd5d0bcf: Verifying Checksum 22:30:29 4657fd5d0bcf: Download complete 22:30:29 df9b9388f04a: Verifying Checksum 22:30:30 df9b9388f04a: Pull complete 22:30:30 6ad1cebc031e: Verifying Checksum 22:30:30 6ad1cebc031e: Download complete 22:30:30 52dc419b0ee2: Pull complete 22:30:30 25bc292e5bac: Pull complete 22:30:30 114826534d7a: Verifying Checksum 22:30:30 114826534d7a: Download complete 22:30:30 8a3aa393b2d8: Verifying Checksum 22:30:30 8a3aa393b2d8: Download complete 22:30:34 114826534d7a: Pull complete 22:30:34 4657fd5d0bcf: Pull complete 22:30:34 6ad1cebc031e: Pull complete 22:30:37 8a3aa393b2d8: Pull complete 22:30:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:30:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:37 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:30:39 $ docker top 69b17dbc6a9a71c1ef974c88d461def5a6bb08ab7a2dced6700869bba7d9d986 -eo pid,comm [Pipeline] { [Pipeline] echo 22:30:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 22:30:39 + set -o pipefail 22:30:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 22:30:47 22:30:47 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 22:30:47 22:30:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/39d8baec-0e40-4577-b0b4-4f9d238e2f0f 22:30:47 22:30:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:30:47 22:30:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:30:47 22:30:47 22:30:47 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 22:30:47 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:30:47 $ docker stop --time=1 69b17dbc6a9a71c1ef974c88d461def5a6bb08ab7a2dced6700869bba7d9d986 22:30:49 $ docker rm -f 69b17dbc6a9a71c1ef974c88d461def5a6bb08ab7a2dced6700869bba7d9d986 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:50 + git log --format=format:%s -1 3817b545243506d6c11f8926a861473cd0c4170b [Pipeline] sh 22:30:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:51 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:30:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:30:51 $ docker top 9c6fc22dda5e757a60e74a3dbe75416212b6d143cbccaec2d734e0ed17c7658d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:30:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:30:51 [ssh-agent] Looking for ssh-agent implementation... 22:30:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:30:51 $ docker exec 9c6fc22dda5e757a60e74a3dbe75416212b6d143cbccaec2d734e0ed17c7658d ssh-agent 22:30:51 SSH_AUTH_SOCK=/tmp/ssh-6eWsGja8oT2M/agent.34 22:30:51 SSH_AGENT_PID=40 22:30:51 Running ssh-add (command line suppressed) 22:30:52 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7583430472337614567.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7583430472337614567.key) 22:30:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:30:52 + git semver tag 22:30:52 2022-06-22 22:30:52,562 [run_tag] DEBUG tag force:False 22:30:52 2022-06-22 22:30:52,562 [check_head_tag] DEBUG check head tag 22:30:52 2022-06-22 22:30:52,562 [execute] INFO git cat-file --batch-check 22:30:52 2022-06-22 22:30:52,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 22:30:52 2022-06-22 22:30:52,566 [execute] INFO git cat-file --batch 22:30:52 2022-06-22 22:30:52,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 22:30:52 2022-06-22 22:30:52,573 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:30:52 2022-06-22 22:30:52,573 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 22:30:52 2022-06-22 22:30:52,573 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 22:30:52 2022-06-22 22:30:52,578 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:30:52 2.2.1-dev.3 [Pipeline] } 22:30:52 $ docker exec --env ******** --env ******** 9c6fc22dda5e757a60e74a3dbe75416212b6d143cbccaec2d734e0ed17c7658d ssh-agent -k 22:30:52 unset SSH_AUTH_SOCK; 22:30:52 unset SSH_AGENT_PID; 22:30:52 echo Agent pid 40 killed; 22:30:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:53 + git semver [Pipeline] } 22:30:53 $ docker stop --time=1 9c6fc22dda5e757a60e74a3dbe75416212b6d143cbccaec2d734e0ed17c7658d 22:30:54 $ docker rm -f 9c6fc22dda5e757a60e74a3dbe75416212b6d143cbccaec2d734e0ed17c7658d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:55 22:30:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:55 0.23.1-centos7: Pulling from edgex-lftools 22:30:55 ab5ef0e58194: Pulling fs layer 22:30:55 9712f1f96733: Pulling fs layer 22:30:55 63f879dbbcfc: Pulling fs layer 22:30:55 0d9ebad4ef96: Pulling fs layer 22:30:55 e9a5061849ea: Pulling fs layer 22:30:55 d747dcd14b5f: Pulling fs layer 22:30:55 2de7ff778b66: Pulling fs layer 22:30:55 0d9ebad4ef96: Waiting 22:30:55 e9a5061849ea: Waiting 22:30:55 d747dcd14b5f: Waiting 22:30:55 2de7ff778b66: Waiting 22:30:55 9712f1f96733: Download complete 22:30:55 63f879dbbcfc: Verifying Checksum 22:30:55 63f879dbbcfc: Download complete 22:30:55 0d9ebad4ef96: Verifying Checksum 22:30:55 0d9ebad4ef96: Download complete 22:30:55 d747dcd14b5f: Verifying Checksum 22:30:55 d747dcd14b5f: Download complete 22:30:55 e9a5061849ea: Verifying Checksum 22:30:55 e9a5061849ea: Download complete 22:30:55 ab5ef0e58194: Download complete 22:30:55 2de7ff778b66: Verifying Checksum 22:30:55 2de7ff778b66: Download complete 22:30:59 ab5ef0e58194: Pull complete 22:30:59 9712f1f96733: Pull complete 22:30:59 63f879dbbcfc: Pull complete 22:31:03 0d9ebad4ef96: Pull complete 22:31:03 e9a5061849ea: Pull complete 22:31:03 d747dcd14b5f: Pull complete 22:31:04 2de7ff778b66: Pull complete 22:31:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:31:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:04 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:31:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:31:06 $ docker top 4d63d2c422e6bb396c238ee70ec536173130692a85d8b8f0efc80ae1c88bf98e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:31:06 provisioning config files... 22:31:06 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5993698146898964673tmp 22:31:06 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config159127301662568887tmp 22:31:06 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5973102810370964337tmp [Pipeline] { [Pipeline] echo 22:31:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:31:06 ---> sigul-configuration.sh 22:31:06 gpg: directory `/root/.gnupg' created 22:31:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:31:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:31:06 gpg: keyring `/root/.gnupg/secring.gpg' created 22:31:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:31:06 gpg: CAST5 encrypted data 22:31:06 gpg: encrypted with 1 passphrase 22:31:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:31:07 + mkdir /home/jenkins 22:31:07 + mkdir /home/jenkins/sigul [Pipeline] sh 22:31:07 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:31:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:31:07 ---> sigul-install.sh 22:31:07 Sigul already installed; skipping installation. [Pipeline] sh 22:31:08 + git tag --list 22:31:08 v0.0.0 22:31:08 v1.0.0 22:31:08 v2.1.0 22:31:08 v2.1.1 22:31:08 v2.1.1-dev.1 22:31:08 v2.2.0 22:31:08 v2.2.1-dev.1 22:31:08 v2.2.1-dev.2 22:31:08 v2.2.1-dev.3 [Pipeline] sh 22:31:08 + lftools sign git-tag v2.2.1-dev.3 22:31:09 Signing Git tag with Sigul... 22:31:09 Signing v2.2.1-dev.3 [Pipeline] echo 22:31:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:31:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:31:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:31:09 $ docker stop --time=1 4d63d2c422e6bb396c238ee70ec536173130692a85d8b8f0efc80ae1c88bf98e 22:31:10 $ docker rm -f 4d63d2c422e6bb396c238ee70ec536173130692a85d8b8f0efc80ae1c88bf98e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:31:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:11 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:31:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:31:12 $ docker top 556656a923a359a741c5453e143048f89770022dfd3b77a2eedff9e1472874a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:31:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:31:12 [ssh-agent] Looking for ssh-agent implementation... 22:31:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:31:12 $ docker exec 556656a923a359a741c5453e143048f89770022dfd3b77a2eedff9e1472874a9 ssh-agent 22:31:12 SSH_AUTH_SOCK=/tmp/ssh-urIXSSjw75fc/agent.32 22:31:12 SSH_AGENT_PID=38 22:31:12 Running ssh-add (command line suppressed) 22:31:12 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1710827043324969239.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1710827043324969239.key) 22:31:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:31:13 + git semver bump pre 22:31:13 2022-06-22 22:31:13,384 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:31:13 2022-06-22 22:31:13,384 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev 22:31:13 2022-06-22 22:31:13,384 [bump_version] DEBUG bumped version:2.2.1-dev.4 22:31:13 2022-06-22 22:31:13,384 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 22:31:13 2022-06-22 22:31:13,384 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:31:13 2022-06-22 22:31:13,384 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:31:13 2022-06-22 22:31:13,386 [execute] INFO git cat-file --batch-check 22:31:13 2022-06-22 22:31:13,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 22:31:13 2022-06-22 22:31:13,391 [execute] INFO git cat-file --batch 22:31:13 2022-06-22 22:31:13,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 22:31:13 2022-06-22 22:31:13,397 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:31:13 2.2.1-dev.4 [Pipeline] } 22:31:13 $ docker exec --env ******** --env ******** 556656a923a359a741c5453e143048f89770022dfd3b77a2eedff9e1472874a9 ssh-agent -k 22:31:13 unset SSH_AUTH_SOCK; 22:31:13 unset SSH_AGENT_PID; 22:31:13 echo Agent pid 38 killed; 22:31:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:13 + git semver [Pipeline] } 22:31:14 $ docker stop --time=1 556656a923a359a741c5453e143048f89770022dfd3b77a2eedff9e1472874a9 22:31:15 $ docker rm -f 556656a923a359a741c5453e143048f89770022dfd3b77a2eedff9e1472874a9 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:16 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:31:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:31:16 $ docker top e112342c28f801053736a52c56a615a270c35f546211ea797a8a1d96e091b32a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:31:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:31:16 [ssh-agent] Looking for ssh-agent implementation... 22:31:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:31:16 $ docker exec e112342c28f801053736a52c56a615a270c35f546211ea797a8a1d96e091b32a ssh-agent 22:31:17 SSH_AUTH_SOCK=/tmp/ssh-DMDjui22qmjJ/agent.32 22:31:17 SSH_AGENT_PID=38 22:31:17 Running ssh-add (command line suppressed) 22:31:17 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6121509512289454974.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6121509512289454974.key) 22:31:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:31:17 + git semver push 22:31:17 2022-06-22 22:31:17,653 [run_push] DEBUG push 22:31:17 2022-06-22 22:31:17,654 [execute] INFO git cat-file --batch-check 22:31:17 2022-06-22 22:31:17,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 22:31:17 2022-06-22 22:31:17,656 [execute] INFO git rev-list 6992de34e07bb7b76c179435134b14aecc32161d -- 22:31:17 2022-06-22 22:31:17,657 [execute] DEBUG Popen(['git', 'rev-list', '6992de34e07bb7b76c179435134b14aecc32161d', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 22:31:17 2022-06-22 22:31:17,662 [execute] INFO git fetch -v origin 22:31:17 2022-06-22 22:31:17,663 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 22:31:18 2022-06-22 22:31:18,145 [run_push] DEBUG no remote changes detected 22:31:18 2022-06-22 22:31:18,145 [execute] INFO git push origin semver 22:31:18 2022-06-22 22:31:18,145 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 22:31:19 2022-06-22 22:31:18,939 [run_push] DEBUG push all version tags 22:31:19 2022-06-22 22:31:18,939 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:31:19 2022-06-22 22:31:18,939 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 22:31:19 2022-06-22 22:31:19,596 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:31:19 2.2.1-dev.4 [Pipeline] } 22:31:19 $ docker exec --env ******** --env ******** e112342c28f801053736a52c56a615a270c35f546211ea797a8a1d96e091b32a ssh-agent -k 22:31:19 unset SSH_AUTH_SOCK; 22:31:19 unset SSH_AGENT_PID; 22:31:19 echo Agent pid 38 killed; 22:31:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:20 + git semver [Pipeline] } 22:31:20 $ docker stop --time=1 e112342c28f801053736a52c56a615a270c35f546211ea797a8a1d96e091b32a 22:31:21 $ docker rm -f e112342c28f801053736a52c56a615a270c35f546211ea797a8a1d96e091b32a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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:31:22 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 22:31:22 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 22:31:22 total 16 22:31:22 drwxr-xr-x 3 root root 4096 Jun 22 22:23 . 22:31:22 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 22:31 .. 22:31:22 drwxr-xr-x 2 root root 4096 Jun 22 22:23 cost 22:31:22 -rw-r--r-- 1 root root 93 Jun 22 22:23 cost.csv 22:31:22 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 22:31:22 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 22:31:22 total 16 22:31:22 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 22:23 . 22:31:22 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 22:31 .. 22:31:22 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 22:23 cost 22:31:22 -rw-r--r-- 1 jenkins jenkins 93 Jun 22 22:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:31:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:31:23 ---> package-listing.sh 22:31:23 ++ facter osfamily 22:31:23 ++ tr '[:upper:]' '[:lower:]' 22:31:23 + OS_FAMILY=debian 22:31:23 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 22:31:23 + START_PACKAGES=/tmp/packages_start.txt 22:31:23 + END_PACKAGES=/tmp/packages_end.txt 22:31:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:31:23 + PACKAGES=/tmp/packages_start.txt 22:31:23 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 22:31:23 + PACKAGES=/tmp/packages_end.txt 22:31:23 + case "${OS_FAMILY}" in 22:31:23 + grep '^ii' 22:31:23 + dpkg -l 22:31:23 + '[' -f /tmp/packages_start.txt ']' 22:31:23 + '[' -f /tmp/packages_end.txt ']' 22:31:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:31:23 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 22:31:23 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 22:31:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 22:31:23 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/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:31:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:24 prd-ubuntu20.04-docker-8c-8g-15367 does not seem to be running inside a container 22:31:24 $ 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/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:31:25 $ docker top fbfb08cc406e6ae3d335116bf6933a4356196a113fc57fd7bb629c766fd393ed -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:25 + touch /tmp/pre-build-complete [Pipeline] sh 22:31:25 + mkdir -p /var/log/sysstat [Pipeline] sh 22:31:26 + ls /var/log/sa-host 22:31:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:26 provisioning config files... 22:31:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9057441061059957699tmp [Pipeline] { [Pipeline] echo 22:31:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:31:26 ---> create-netrc.sh [Pipeline] } 22:31:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:31:26 ---> python-tools-install.sh [Pipeline] echo 22:31:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:31:27 ---> sudo-logs.sh 22:31:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:31:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:31:27 ---> job-cost.sh 22:31:27 lf-activate-venv: SKIPPING 22:31:27 DEBUG: total: 0.2199999988079071 22:31:27 INFO: Retrieving Stack Cost... 22:31:27 INFO: Retrieving Pricing Info for: v3-standard-8 22:31:28 INFO: Archiving Costs [Pipeline] echo 22:31:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:31:28 ---> logs-deploy.sh 22:31:28 lf-activate-venv: SKIPPING 22:31:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/40 22:31:28 INFO: archiving workspace using pattern(s): 22:31:29 Archives upload complete. 22:31:29 INFO: archiving logs to Nexus