Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd50c67dda48d59214514b13406723cfe5ff62e7 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-ssh10057760961487315505.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-ssh6652864322704253879.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-ssh52200786477370815.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-ssh15903659774827924951.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-ssh11109236014000381829.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 ‘prd-ubuntu20.04-docker-8c-8g-15338’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15344 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 cd50c67dda48d59214514b13406723cfe5ff62e7 (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 cd50c67dda48d59214514b13406723cfe5ff62e7 # timeout=10 Commit message: "doc: Update attribution.txt to reference paho license as v2.0 (#89)" > git rev-list --no-walk 993cf3e57aaceca8bb36ff677d4f27516283947c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:06:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:06:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:06:36 ========================================================= 17:06:36 EdgeX Global Pipelines Version Info 17:06:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:06:37 ------------------- 17:06:37 stable info: 17:06:37 ------------------- 17:06:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:06:37 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:06:37 Message: update stable to v1.0.234 17:06:38 ------------------- 17:06:38 experimental info: 17:06:38 ------------------- 17:06:38 Commited By: **** collab-it+edgex@linuxfoundation.org 17:06:38 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:06:38 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd50c67 [Pipeline] echo 17:06:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:06:38 provisioning config files... 17:06:38 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config791974313755231322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:39 ---> docker-login.sh 17:06:39 nexus3.edgexfoundry.org:10001 17:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:39 Configure a credential helper to remove this warning. See 17:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:39 17:06:39 Login Succeeded 17:06:39 nexus3.edgexfoundry.org:10002 17:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:39 Configure a credential helper to remove this warning. See 17:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:39 17:06:39 Login Succeeded 17:06:39 nexus3.edgexfoundry.org:10003 17:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:39 Configure a credential helper to remove this warning. See 17:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:39 17:06:39 Login Succeeded 17:06:39 nexus3.edgexfoundry.org:10004 17:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:39 Configure a credential helper to remove this warning. See 17:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:39 17:06:39 Login Succeeded 17:06:39 docker.io 17:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:40 Configure a credential helper to remove this warning. See 17:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:40 17:06:40 Login Succeeded 17:06:40 ---> docker-login.sh ends [Pipeline] } 17:06:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:06:40 + git rev-list -1 --merges cd50c67dda48d59214514b13406723cfe5ff62e7~1..cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] echo 17:06:40 -----------> git rev-list -1 --merges cd50c67dda48d59214514b13406723cfe5ff62e7~1..cd50c67dda48d59214514b13406723cfe5ff62e7 cd50c67dda48d59214514b13406723cfe5ff62e7 [false] [Pipeline] sh 17:06:41 + git log --format=format:%s -1 cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] echo 17:06:41 ========================================================= 17:06:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:06:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:06:41 + git log --format=format:%s -1 cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] echo 17:06:41 [semverPrep] GIT_COMMIT: cd50c67dda48d59214514b13406723cfe5ff62e7, Commit Message: doc: Update attribution.txt to reference paho license as v2.0 (#89) [Pipeline] echo 17:06:41 [semverPrep] This is not a build commit. [Pipeline] sh 17:06:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:06:41 + grep -v github /etc/ssh/ssh_known_hosts 17:06:41 + [ -e /tmp/ssh_known_hosts ] 17:06:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:06:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:06:41 + sudo tee -a /etc/ssh/ssh_known_hosts 17:06:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:06:42 17:06:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:06:42 0.1.4: Pulling from edgex-devops/py-git-semver 17:06:42 42c077c10790: Pulling fs layer 17:06:42 f63e77b7563a: Pulling fs layer 17:06:42 bd5fdadae976: Pulling fs layer 17:06:42 205491f53016: Pulling fs layer 17:06:42 df18705c85c3: Pulling fs layer 17:06:42 bdb3f477010e: Pulling fs layer 17:06:42 c8a8fc8e1c8f: Pulling fs layer 17:06:42 2c6e9b1d212d: Pulling fs layer 17:06:42 bdb8f0575790: Pulling fs layer 17:06:42 386e3cb2ff24: Pulling fs layer 17:06:42 2343380bae48: Pulling fs layer 17:06:42 bdb8f0575790: Waiting 17:06:42 bdb3f477010e: Waiting 17:06:42 c8a8fc8e1c8f: Waiting 17:06:42 2c6e9b1d212d: Waiting 17:06:42 386e3cb2ff24: Waiting 17:06:42 205491f53016: Waiting 17:06:42 2343380bae48: Waiting 17:06:42 df18705c85c3: Waiting 17:06:42 f63e77b7563a: Download complete 17:06:42 205491f53016: Verifying Checksum 17:06:42 205491f53016: Download complete 17:06:42 df18705c85c3: Verifying Checksum 17:06:42 df18705c85c3: Download complete 17:06:42 bdb3f477010e: Verifying Checksum 17:06:42 bdb3f477010e: Download complete 17:06:42 bd5fdadae976: Verifying Checksum 17:06:42 bd5fdadae976: Download complete 17:06:42 2c6e9b1d212d: Download complete 17:06:42 bdb8f0575790: Verifying Checksum 17:06:42 386e3cb2ff24: Download complete 17:06:42 2343380bae48: Verifying Checksum 17:06:42 2343380bae48: Download complete 17:06:42 42c077c10790: Verifying Checksum 17:06:42 42c077c10790: Download complete 17:06:42 c8a8fc8e1c8f: Verifying Checksum 17:06:42 c8a8fc8e1c8f: Download complete 17:06:43 42c077c10790: Pull complete 17:06:44 f63e77b7563a: Pull complete 17:06:44 bd5fdadae976: Pull complete 17:06:44 205491f53016: Pull complete 17:06:45 df18705c85c3: Pull complete 17:06:45 bdb3f477010e: Pull complete 17:06:46 c8a8fc8e1c8f: Pull complete 17:06:46 2c6e9b1d212d: Pull complete 17:06:47 bdb8f0575790: Pull complete 17:06:47 386e3cb2ff24: Pull complete 17:06:47 2343380bae48: Pull complete 17:06:47 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:06:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:47 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:06:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:06:48 $ docker top faeabb3e2134b59c10940a80afd94a37176a8bd2fb599c86b96b179ae506ccdb -eo pid,comm 17:06:48 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). 17:06:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:06:48 [ssh-agent] Looking for ssh-agent implementation... 17:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:49 $ docker exec faeabb3e2134b59c10940a80afd94a37176a8bd2fb599c86b96b179ae506ccdb ssh-agent 17:06:49 SSH_AUTH_SOCK=/tmp/ssh-buW6x1oOLnMR/agent.34 17:06:49 SSH_AGENT_PID=41 17:06:49 Running ssh-add (command line suppressed) 17:06:49 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3115816142285309768.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3115816142285309768.key) 17:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:06:49 + git tag --points-at HEAD [Pipeline] } 17:06:49 $ docker exec --env ******** --env ******** faeabb3e2134b59c10940a80afd94a37176a8bd2fb599c86b96b179ae506ccdb ssh-agent -k 17:06:49 unset SSH_AUTH_SOCK; 17:06:49 unset SSH_AGENT_PID; 17:06:49 echo Agent pid 41 killed; 17:06:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:06:49 [ssh-agent] Looking for ssh-agent implementation... 17:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:49 $ docker exec faeabb3e2134b59c10940a80afd94a37176a8bd2fb599c86b96b179ae506ccdb ssh-agent 17:06:50 SSH_AUTH_SOCK=/tmp/ssh-Q2HSYrPXTTX0/agent.73 17:06:50 SSH_AGENT_PID=80 17:06:50 Running ssh-add (command line suppressed) 17:06:50 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1879392995102378079.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1879392995102378079.key) 17:06:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:06:50 + git semver init 17:06:50 2022-06-22 17:06:50,783 [run_init] DEBUG init version:0.0.0 force:False 17:06:50 2022-06-22 17:06:50,784 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:06:50 2022-06-22 17:06:50,784 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:06:50 2022-06-22 17:06:50,785 [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) 17:06:52 2022-06-22 17:06:51,799 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 17:06:52 2022-06-22 17:06:51,799 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 17:06:52 2022-06-22 17:06:51,799 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:06:52 2022-06-22 17:06:51,800 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:06:52 2.2.1-dev.2 [Pipeline] } 17:06:52 $ docker exec --env ******** --env ******** faeabb3e2134b59c10940a80afd94a37176a8bd2fb599c86b96b179ae506ccdb ssh-agent -k 17:06:52 unset SSH_AUTH_SOCK; 17:06:52 unset SSH_AGENT_PID; 17:06:52 echo Agent pid 80 killed; 17:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:06:52 + git semver [Pipeline] } 17:06:52 $ docker stop --time=1 faeabb3e2134b59c10940a80afd94a37176a8bd2fb599c86b96b179ae506ccdb 17:06:54 $ docker rm -f faeabb3e2134b59c10940a80afd94a37176a8bd2fb599c86b96b179ae506ccdb [Pipeline] // withDockerContainer [Pipeline] sh 17:06:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:06:54 Stashed 1 file(s) [Pipeline] echo 17:06:54 [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [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 17:06:55 provisioning config files... 17:06:55 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config599920694012609354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:55 ---> docker-login.sh 17:06:55 nexus3.edgexfoundry.org:10001 17:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:55 Configure a credential helper to remove this warning. See 17:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:55 17:06:55 Login Succeeded 17:06:55 nexus3.edgexfoundry.org:10002 17:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:55 Configure a credential helper to remove this warning. See 17:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:55 17:06:55 Login Succeeded 17:06:55 nexus3.edgexfoundry.org:10003 17:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:55 Configure a credential helper to remove this warning. See 17:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:55 17:06:55 Login Succeeded 17:06:55 nexus3.edgexfoundry.org:10004 17:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:55 Configure a credential helper to remove this warning. See 17:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:55 17:06:55 Login Succeeded 17:06:55 docker.io 17:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:56 Configure a credential helper to remove this warning. See 17:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:56 17:06:56 Login Succeeded 17:06:56 ---> docker-login.sh ends [Pipeline] } 17:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:56 ========================================================= 17:06:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:06:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:56 + 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 . 17:06:56 Sending build context to Docker daemon 12.44MB 17:06:56 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:06:56 Step 2/13 : FROM ${BASE} AS builder 17:06:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:06:56 59bf1c3509f3: Pulling fs layer 17:06:56 666ba61612fd: Pulling fs layer 17:06:56 8ed8ca486205: Pulling fs layer 17:06:56 cc1cd167ecdc: Pulling fs layer 17:06:56 c516ae0d96e1: Pulling fs layer 17:06:56 cc1cd167ecdc: Waiting 17:06:56 684cea983483: Pulling fs layer 17:06:56 dd3240ac7de5: Pulling fs layer 17:06:56 b1e948a4e11c: Pulling fs layer 17:06:56 a8fd76ee1af6: Pulling fs layer 17:06:56 646ad004c059: Pulling fs layer 17:06:56 c516ae0d96e1: Waiting 17:06:56 646ad004c059: Waiting 17:06:56 a8fd76ee1af6: Waiting 17:06:56 b1e948a4e11c: Waiting 17:06:56 684cea983483: Waiting 17:06:56 8ed8ca486205: Verifying Checksum 17:06:56 8ed8ca486205: Download complete 17:06:56 666ba61612fd: Download complete 17:06:56 c516ae0d96e1: Verifying Checksum 17:06:56 c516ae0d96e1: Download complete 17:06:56 684cea983483: Verifying Checksum 17:06:56 684cea983483: Download complete 17:06:56 dd3240ac7de5: Verifying Checksum 17:06:56 dd3240ac7de5: Download complete 17:06:56 59bf1c3509f3: Download complete 17:06:56 b1e948a4e11c: Verifying Checksum 17:06:56 b1e948a4e11c: Download complete 17:06:56 59bf1c3509f3: Pull complete 17:06:57 666ba61612fd: Pull complete 17:06:57 8ed8ca486205: Pull complete 17:06:57 646ad004c059: Verifying Checksum 17:06:57 646ad004c059: Download complete 17:06:57 a8fd76ee1af6: Download complete 17:06:57 cc1cd167ecdc: Verifying Checksum 17:06:57 cc1cd167ecdc: Download complete 17:07:01 cc1cd167ecdc: Pull complete 17:07:01 c516ae0d96e1: Pull complete 17:07:01 684cea983483: Pull complete 17:07:01 dd3240ac7de5: Pull complete 17:07:01 b1e948a4e11c: Pull complete 17:07:03 a8fd76ee1af6: Pull complete 17:07:03 646ad004c059: Pull complete 17:07:03 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:07:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:07:03 ---> 8f69c11f6b0c 17:07:03 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:07:06 ---> Running in ccfbf6fce7f4 17:07:06 Removing intermediate container ccfbf6fce7f4 17:07:06 ---> 89979decf84f 17:07:06 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:07:06 ---> Running in 1002d7e6718c 17:07:06 Removing intermediate container 1002d7e6718c 17:07:06 ---> 854a6567e746 17:07:06 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:07:06 ---> Running in 88d47d4273be 17:07:06 Removing intermediate container 88d47d4273be 17:07:06 ---> 16135609a609 17:07:06 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:06 ---> Running in c23c8632497f 17:07:07 Removing intermediate container c23c8632497f 17:07:07 ---> 1bcee24d6acb 17:07:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:07:07 ---> Running in d902267d91fe 17:07:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:07:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:07:08 OK: 221 MiB in 52 packages 17:07:08 Removing intermediate container d902267d91fe 17:07:08 ---> 2f9e6284a7c6 17:07:08 Step 8/13 : WORKDIR /app 17:07:08 ---> Running in e2e7428da104 17:07:09 Removing intermediate container e2e7428da104 17:07:09 ---> b4a09a2dc262 17:07:09 Step 9/13 : COPY go.mod vendor* ./ 17:07:09 ---> a8a1fc288afd 17:07:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:07:09 ---> Running in 95dcd9bba752 17:07:09 Still waiting to schedule task 17:07:09 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15340’ is offline 17:07:23 Removing intermediate container 95dcd9bba752 17:07:23 ---> 8d8b9482ce9d 17:07:23 Step 11/13 : COPY . . 17:07:23 ---> ee9b9627f1a4 17:07:23 Step 12/13 : ARG MAKE="make build" 17:07:23 ---> Running in 8b63937a70d1 17:07:23 Removing intermediate container 8b63937a70d1 17:07:23 ---> 5c8dae6e7818 17:07:23 Step 13/13 : RUN $MAKE 17:07:23 ---> Running in a3cdc21976af 17:07:23 noop 17:07:23 Removing intermediate container a3cdc21976af 17:07:23 ---> 9d2dba8907c1 17:07:23 Successfully built 9d2dba8907c1 17:07:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:24 + docker inspect -f . ci-base-image-x86_64 17:07:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:24 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:07:24 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:07:24 $ docker top 5e23d496d26690304537c769dde1fcb0046876238b2fd3dcc73752a28e8f6295 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:25 + go version 17:07:25 go version go1.17.7 linux/amd64 [Pipeline] } 17:07:25 $ docker stop --time=1 5e23d496d26690304537c769dde1fcb0046876238b2fd3dcc73752a28e8f6295 17:07:26 $ docker rm -f 5e23d496d26690304537c769dde1fcb0046876238b2fd3dcc73752a28e8f6295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:26 + docker inspect -f . ci-base-image-x86_64 17:07:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:27 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:07:27 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:07:27 $ docker top 4591b6b133cc64f9dc2f89a0bd711ff0a78ed4337027fc3e54dbb17fc7d03570 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:07:27 + make test 17:07:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:07:37 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:07:37 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.037s coverage: 86.2% of statements 17:07:37 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:07:39 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.540s coverage: 71.9% of statements 17:07:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:07:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:07:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:07:51 ./bin/test-attribution.sh [Pipeline] echo 17:07:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:07:51 $ docker stop --time=1 4591b6b133cc64f9dc2f89a0bd711ff0a78ed4337027fc3e54dbb17fc7d03570 17:07:53 $ docker rm -f 4591b6b133cc64f9dc2f89a0bd711ff0a78ed4337027fc3e54dbb17fc7d03570 [Pipeline] // withDockerContainer [Pipeline] sh 17:07:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:07:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:07:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:07:54 + ls -al . 17:07:54 total 228 17:07:54 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 17:07 . 17:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 17:06 .. 17:07:54 -rw-rw-r-- 1 jenkins jenkins 262 Jun 22 17:06 .dockerignore 17:07:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 17:06 .git 17:07:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 17:06 .github 17:07:54 -rw-rw-r-- 1 jenkins jenkins 788 Jun 22 17:06 .gitignore 17:07:54 -rw-rw-r-- 1 jenkins jenkins 41 Jun 22 17:06 .golangci.yml 17:07:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 17:06 .semver 17:07:54 -rw-rw-r-- 1 jenkins jenkins 9413 Jun 22 17:06 Attribution.txt 17:07:54 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 22 17:06 CHANGELOG.md 17:07:54 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 22 17:06 Dockerfile 17:07:54 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 17:06 GOVERNANCE.md 17:07:54 -rw-rw-r-- 1 jenkins jenkins 687 Jun 22 17:06 Jenkinsfile 17:07:54 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 22 17:06 LICENSE 17:07:54 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 22 17:06 Makefile 17:07:54 -rw-rw-r-- 1 jenkins jenkins 617 Jun 22 17:06 OWNERS.md 17:07:54 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 22 17:06 README.md 17:07:54 -rw-rw-r-- 1 jenkins jenkins 11 Jun 22 17:06 VERSION 17:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 17:06 bin 17:07:54 -rw-r--r-- 1 jenkins jenkins 41008 Jun 22 17:07 coverage.out 17:07:54 -rw-rw-r-- 1 jenkins jenkins 3475 Jun 22 17:06 go.mod 17:07:54 -rw-rw-r-- 1 jenkins jenkins 36141 Jun 22 17:06 go.sum 17:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 17:06 images 17:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 17:06 internal 17:07:54 -rw-rw-r-- 1 jenkins jenkins 531 Jun 22 17:06 main.go 17:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 17:06 res 17:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 17:06 snap 17:07:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 17:06 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:54 + 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=cd50c67dda48d59214514b13406723cfe5ff62e7 --label arch=amd64 --label version=2.2.1-dev.2 . 17:07:54 Sending build context to Docker daemon 12.44MB 17:07:54 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 17:07:54 Step 2/31 : FROM ${BASE} AS builder 17:07:54 ---> 9d2dba8907c1 17:07:54 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:07:55 ---> Running in a1412ad3c738 17:07:55 Removing intermediate container a1412ad3c738 17:07:55 ---> 905678bc001e 17:07:55 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:07:55 ---> Running in b6ad9cd6886a 17:07:55 Removing intermediate container b6ad9cd6886a 17:07:55 ---> 509d091b7d47 17:07:55 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:07:55 ---> Running in 7a7cb3e4054b 17:07:55 Removing intermediate container 7a7cb3e4054b 17:07:55 ---> 7ca421425511 17:07:55 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:55 ---> Running in ca1bc8b7b98d 17:07:55 Removing intermediate container ca1bc8b7b98d 17:07:55 ---> b3b2d9a63d5a 17:07:55 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:07:55 ---> Running in addac679ca2e 17:07:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:07:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:07:57 OK: 221 MiB in 52 packages 17:07:57 Removing intermediate container addac679ca2e 17:07:57 ---> f82e36c5f9e6 17:07:57 Step 8/31 : WORKDIR /app 17:07:57 ---> Running in cc49cad73dae 17:07:57 Removing intermediate container cc49cad73dae 17:07:57 ---> 7086fa810f04 17:07:57 Step 9/31 : COPY go.mod vendor* ./ 17:07:57 ---> f39ceb71043e 17:07:57 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:07:57 ---> Running in fe3749e705a8 17:07:58 Removing intermediate container fe3749e705a8 17:07:58 ---> 04391da6f004 17:07:58 Step 11/31 : COPY . . 17:07:59 ---> 3a60022d7e37 17:07:59 Step 12/31 : ARG MAKE="make build" 17:07:59 ---> Running in 551da4d5c6bf 17:07:59 Removing intermediate container 551da4d5c6bf 17:07:59 ---> 7d80167d6c1f 17:07:59 Step 13/31 : RUN $MAKE 17:07:59 ---> Running in 1be5b8273d32 17:07:59 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.2 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:08:21 Removing intermediate container 1be5b8273d32 17:08:21 ---> 3c7236273de7 17:08:21 Step 14/31 : FROM alpine:3.14 17:08:21 3.14: Pulling from library/alpine 17:08:21 8663204ce13b: Pulling fs layer 17:08:21 8663204ce13b: Verifying Checksum 17:08:21 8663204ce13b: Download complete 17:08:21 8663204ce13b: Pull complete 17:08:21 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:08:21 Status: Downloaded newer image for alpine:3.14 17:08:21 ---> e04c818066af 17:08:21 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:08:21 ---> Running in 61bb33cdc8fd 17:08:21 Removing intermediate container 61bb33cdc8fd 17:08:21 ---> a2f633dc0a3b 17:08:21 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:08:21 ---> Running in 960ef6c31619 17:08:21 Removing intermediate container 960ef6c31619 17:08:21 ---> 4e22bd4dbc86 17:08:21 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:08:21 ---> Running in 8a199cc38a5e 17:08:21 Removing intermediate container 8a199cc38a5e 17:08:21 ---> 15c6e5b513ab 17:08:21 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:08:21 ---> Running in 0cc8106a612b 17:08:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:08:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:08:21 (1/7) Installing ca-certificates (20211220-r0) 17:08:21 (2/7) Installing dumb-init (1.2.5-r1) 17:08:22 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:08:22 (4/7) Installing libsodium (1.0.18-r0) 17:08:22 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:08:22 (6/7) Installing libzmq (4.3.4-r0) 17:08:22 (7/7) Installing zeromq (4.3.4-r0) 17:08:22 Executing busybox-1.33.1-r7.trigger 17:08:22 Executing ca-certificates-20211220-r0.trigger 17:08:22 OK: 9 MiB in 21 packages 17:08:22 Removing intermediate container 0cc8106a612b 17:08:22 ---> 40a02dfa39fb 17:08:22 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:08:23 ---> fc31ca592490 17:08:23 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:08:23 ---> 53186f5b36a2 17:08:23 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:08:23 ---> 167c9c349092 17:08:23 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:08:23 ---> b40b2a8e2dd7 17:08:23 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:08:23 ---> 2fb399d8eda4 17:08:23 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:08:24 ---> Running in 0b47ae905904 17:08:24 Removing intermediate container 0b47ae905904 17:08:24 ---> 1fccc72d0a0b 17:08:24 Step 25/31 : VOLUME /cache 17:08:24 ---> Running in 8e41cd30d38d 17:08:24 Removing intermediate container 8e41cd30d38d 17:08:24 ---> 56a2415dcb3a 17:08:24 Step 26/31 : EXPOSE 59711 17:08:24 ---> Running in 36724044e768 17:08:24 Removing intermediate container 36724044e768 17:08:24 ---> f934d6b1aaf1 17:08:24 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:08:24 ---> Running in 9a37418ee03e 17:08:24 Removing intermediate container 9a37418ee03e 17:08:24 ---> 298c3ce31265 17:08:24 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:08:24 ---> Running in 378dea40d110 17:08:25 Removing intermediate container 378dea40d110 17:08:25 ---> 1499e308df3d 17:08:25 Step 29/31 : LABEL arch=amd64 17:08:25 ---> Running in 2d2db16bce80 17:08:25 Removing intermediate container 2d2db16bce80 17:08:25 ---> a879db3b6475 17:08:25 Step 30/31 : LABEL git_sha=cd50c67dda48d59214514b13406723cfe5ff62e7 17:08:25 ---> Running in 9ea3e0d369f1 17:08:25 Removing intermediate container 9ea3e0d369f1 17:08:25 ---> 373c5c753398 17:08:25 Step 31/31 : LABEL version=2.2.1-dev.2 17:08:25 ---> Running in 0bcd7c24e2fc 17:08:25 Removing intermediate container 0bcd7c24e2fc 17:08:25 ---> 94717c5580f2 17:08:25 [Warning] One or more build-args [ARCH] were not consumed 17:08:25 Successfully built 94717c5580f2 17:08:25 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 17:08:25 provisioning config files... 17:08:25 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config481880172062179784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:08:26 ---> docker-login.sh 17:08:26 nexus3.edgexfoundry.org:10001 17:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:26 Configure a credential helper to remove this warning. See 17:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:26 17:08:26 Login Succeeded 17:08:26 nexus3.edgexfoundry.org:10002 17:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:26 Configure a credential helper to remove this warning. See 17:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:26 17:08:26 Login Succeeded 17:08:26 nexus3.edgexfoundry.org:10003 17:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:26 Configure a credential helper to remove this warning. See 17:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:26 17:08:26 Login Succeeded 17:08:26 nexus3.edgexfoundry.org:10004 17:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:26 Configure a credential helper to remove this warning. See 17:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:26 17:08:26 Login Succeeded 17:08:26 docker.io 17:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:26 Configure a credential helper to remove this warning. See 17:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:26 17:08:26 Login Succeeded 17:08:26 ---> docker-login.sh ends [Pipeline] } 17:08:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:08:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:08:27 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 17:08:27 cd50c67dda48d59214514b13406723cfe5ff62e7 17:08:27 latest 17:08:27 2.2.1-dev.2 17:08:27 cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 17:08:27 main 17:08:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:27 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:27 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cd50c67dda48d59214514b13406723cfe5ff62e7 17:08:27 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:08:27 33b658ab9b7b: Preparing 17:08:27 08462688557e: Preparing 17:08:27 b9c9c7849bf0: Preparing 17:08:27 87c0a8617b7e: Preparing 17:08:27 0b01585eaed5: Preparing 17:08:27 b9fad4c94c0f: Preparing 17:08:27 669d6970ccac: Preparing 17:08:27 a08f63f9493c: Preparing 17:08:27 b9fad4c94c0f: Waiting 17:08:27 669d6970ccac: Waiting 17:08:27 a08f63f9493c: Waiting 17:08:27 b541d28bf3b4: Preparing 17:08:27 b541d28bf3b4: Waiting 17:08:27 0b01585eaed5: Pushed 17:08:27 33b658ab9b7b: Pushed 17:08:27 b9c9c7849bf0: Pushed 17:08:27 87c0a8617b7e: Pushed 17:08:27 b541d28bf3b4: Layer already exists 17:08:27 b9fad4c94c0f: Pushed 17:08:27 a08f63f9493c: Pushed 17:08:28 669d6970ccac: Pushed 17:08:30 08462688557e: Pushed 17:08:30 cd50c67dda48d59214514b13406723cfe5ff62e7: digest: sha256:51bfae905890645ca0edfae74a3df0d6942026351696d4bb08fcc99316119194 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:31 + 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 17:08:31 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:08:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:08:31 33b658ab9b7b: Preparing 17:08:31 08462688557e: Preparing 17:08:31 b9c9c7849bf0: Preparing 17:08:31 87c0a8617b7e: Preparing 17:08:31 0b01585eaed5: Preparing 17:08:31 b9fad4c94c0f: Preparing 17:08:31 669d6970ccac: Preparing 17:08:31 a08f63f9493c: Preparing 17:08:31 b541d28bf3b4: Preparing 17:08:31 a08f63f9493c: Waiting 17:08:31 b541d28bf3b4: Waiting 17:08:31 b9fad4c94c0f: Waiting 17:08:31 669d6970ccac: Waiting 17:08:31 87c0a8617b7e: Layer already exists 17:08:31 b9c9c7849bf0: Layer already exists 17:08:31 0b01585eaed5: Layer already exists 17:08:31 33b658ab9b7b: Layer already exists 17:08:31 08462688557e: Layer already exists 17:08:31 b9fad4c94c0f: Layer already exists 17:08:31 a08f63f9493c: Layer already exists 17:08:31 669d6970ccac: Layer already exists 17:08:31 b541d28bf3b4: Layer already exists 17:08:31 latest: digest: sha256:51bfae905890645ca0edfae74a3df0d6942026351696d4bb08fcc99316119194 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:31 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:31 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.2 17:08:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:08:31 33b658ab9b7b: Preparing 17:08:31 08462688557e: Preparing 17:08:31 b9c9c7849bf0: Preparing 17:08:31 87c0a8617b7e: Preparing 17:08:31 0b01585eaed5: Preparing 17:08:31 b9fad4c94c0f: Preparing 17:08:31 669d6970ccac: Preparing 17:08:31 a08f63f9493c: Preparing 17:08:31 b541d28bf3b4: Preparing 17:08:31 669d6970ccac: Waiting 17:08:31 a08f63f9493c: Waiting 17:08:31 b541d28bf3b4: Waiting 17:08:31 b9fad4c94c0f: Waiting 17:08:31 b9c9c7849bf0: Layer already exists 17:08:31 33b658ab9b7b: Layer already exists 17:08:31 08462688557e: Layer already exists 17:08:31 0b01585eaed5: Layer already exists 17:08:31 87c0a8617b7e: Layer already exists 17:08:31 b9fad4c94c0f: Layer already exists 17:08:31 669d6970ccac: Layer already exists 17:08:31 b541d28bf3b4: Layer already exists 17:08:31 a08f63f9493c: Layer already exists 17:08:31 2.2.1-dev.2: digest: sha256:51bfae905890645ca0edfae74a3df0d6942026351696d4bb08fcc99316119194 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:32 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:32 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 17:08:32 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:08:32 33b658ab9b7b: Preparing 17:08:32 08462688557e: Preparing 17:08:32 b9c9c7849bf0: Preparing 17:08:32 87c0a8617b7e: Preparing 17:08:32 0b01585eaed5: Preparing 17:08:32 b9fad4c94c0f: Preparing 17:08:32 669d6970ccac: Preparing 17:08:32 a08f63f9493c: Preparing 17:08:32 b541d28bf3b4: Preparing 17:08:32 b9fad4c94c0f: Waiting 17:08:32 a08f63f9493c: Waiting 17:08:32 669d6970ccac: Waiting 17:08:32 b541d28bf3b4: Waiting 17:08:32 08462688557e: Layer already exists 17:08:32 33b658ab9b7b: Layer already exists 17:08:32 87c0a8617b7e: Layer already exists 17:08:32 0b01585eaed5: Layer already exists 17:08:32 b9c9c7849bf0: Layer already exists 17:08:32 669d6970ccac: Layer already exists 17:08:32 b9fad4c94c0f: Layer already exists 17:08:32 b541d28bf3b4: Layer already exists 17:08:32 a08f63f9493c: Layer already exists 17:08:32 cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2: digest: sha256:51bfae905890645ca0edfae74a3df0d6942026351696d4bb08fcc99316119194 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:32 + 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 17:08:33 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 17:08:33 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:08:33 33b658ab9b7b: Preparing 17:08:33 08462688557e: Preparing 17:08:33 b9c9c7849bf0: Preparing 17:08:33 87c0a8617b7e: Preparing 17:08:33 0b01585eaed5: Preparing 17:08:33 b9fad4c94c0f: Preparing 17:08:33 669d6970ccac: Preparing 17:08:33 a08f63f9493c: Preparing 17:08:33 b541d28bf3b4: Preparing 17:08:33 669d6970ccac: Waiting 17:08:33 a08f63f9493c: Waiting 17:08:33 b9fad4c94c0f: Waiting 17:08:33 b541d28bf3b4: Waiting 17:08:33 b9c9c7849bf0: Layer already exists 17:08:33 87c0a8617b7e: Layer already exists 17:08:33 08462688557e: Layer already exists 17:08:33 33b658ab9b7b: Layer already exists 17:08:33 0b01585eaed5: Layer already exists 17:08:33 b9fad4c94c0f: Layer already exists 17:08:33 b541d28bf3b4: Layer already exists 17:08:33 a08f63f9493c: Layer already exists 17:08:33 669d6970ccac: Layer already exists 17:08:33 main: digest: sha256:51bfae905890645ca0edfae74a3df0d6942026351696d4bb08fcc99316119194 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:08:33 ===================================================== [Pipeline] echo 17:08:33 taggedImages: 17:08:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cd50c67dda48d59214514b13406723cfe5ff62e7 17:08:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:08:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.2 17:08:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 17:08:33 - 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 17:08:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:33 17:08:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:34 latest: Pulling from edgex-lftools-log-publisher 17:08:34 5eb5b503b376: Pulling fs layer 17:08:34 5c69ac0246d0: Pulling fs layer 17:08:34 ec43610c2a17: Pulling fs layer 17:08:34 3a2ae6a8a46f: Pulling fs layer 17:08:34 33b1e0a273af: Pulling fs layer 17:08:34 5d3b04190fa2: Pulling fs layer 17:08:34 2f39f015ded8: Pulling fs layer 17:08:34 33b1e0a273af: Waiting 17:08:34 5d3b04190fa2: Waiting 17:08:34 2f39f015ded8: Waiting 17:08:34 3a2ae6a8a46f: Waiting 17:08:34 5c69ac0246d0: Download complete 17:08:34 3a2ae6a8a46f: Verifying Checksum 17:08:34 3a2ae6a8a46f: Download complete 17:08:34 33b1e0a273af: Verifying Checksum 17:08:34 33b1e0a273af: Download complete 17:08:34 5d3b04190fa2: Download complete 17:08:34 ec43610c2a17: Verifying Checksum 17:08:34 ec43610c2a17: Download complete 17:08:34 5eb5b503b376: Verifying Checksum 17:08:34 5eb5b503b376: Download complete 17:08:34 2f39f015ded8: Verifying Checksum 17:08:34 2f39f015ded8: Download complete 17:08:35 5eb5b503b376: Pull complete 17:08:35 5c69ac0246d0: Pull complete 17:08:35 ec43610c2a17: Pull complete 17:08:35 3a2ae6a8a46f: Pull complete 17:08:36 33b1e0a273af: Pull complete 17:08:36 5d3b04190fa2: Pull complete 17:08:40 2f39f015ded8: Pull complete 17:08:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:40 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:08:40 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:08:42 $ docker top 7d1cf7a3528d7a59e5d51238f8da5b0cd4a0e86818e415675cd423885f66967e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:08:42 ---> job-cost.sh 17:08:42 lf-activate-venv: SKIPPING 17:08:42 INFO: No Stack... 17:08:42 INFO: Retrieving Pricing Info for: v3-standard-8 17:08:43 INFO: Archiving Costs [Pipeline] sh 17:08:43 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 17:08:43 + cut -d, -f6 [Pipeline] lock 17:08:43 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] 17:08:43 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] did not exist. Created. 17:08:43 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:08:44 + echo total: 0.2199999988079071 [Pipeline] stash 17:08:44 Stashed 1 file(s) [Pipeline] } 17:08:44 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 17:08:44 $ docker stop --time=1 7d1cf7a3528d7a59e5d51238f8da5b0cd4a0e86818e415675cd423885f66967e 17:08:45 $ docker rm -f 7d1cf7a3528d7a59e5d51238f8da5b0cd4a0e86818e415675cd423885f66967e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:09:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15346 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 17:09:55 Running in /w/workspace/app-rfid-llrp-inventory/39 [Pipeline] { [Pipeline] checkout 17:09:55 The recommended git tool is: git 17:10:02 using credential edgex-jenkins-ssh 17:10:02 Cloning the remote Git repository 17:10:02 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:10:02 > git init /w/workspace/app-rfid-llrp-inventory/39 # timeout=10 17:10:02 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:10:02 > git --version # timeout=10 17:10:02 > git --version # 'git version 2.25.1' 17:10:02 using GIT_SSH to set credentials SSH Credentials for GitHub 17:10:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:10:04 Avoid second fetch 17:10:04 Checking out Revision cd50c67dda48d59214514b13406723cfe5ff62e7 (main) 17:10:04 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:10:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:10:04 > git config core.sparsecheckout # timeout=10 17:10:04 > git checkout -f cd50c67dda48d59214514b13406723cfe5ff62e7 # timeout=10 17:10:09 Commit message: "doc: Update attribution.txt to reference paho license as v2.0 (#89)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:10:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:10:10 % Total % Received % Xferd Average Speed Time Time Time Current 17:10:10 Dload Upload Total Spent Left Speed 17:10:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh 17:10:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:10:11 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:10:11 sudo tee /etc/docker/daemon.new 17:10:11 { 17:10:11 "registry-mirrors": [ 17:10:11 "https://nexus3.edgexfoundry.org:10001" 17:10:11 ], 17:10:11 "bip": "10.250.0.254/24", 17:10:11 "hosts": [ 17:10:11 "tcp://0.0.0.0:5555", 17:10:11 "unix:///var/run/docker.sock" 17:10:11 ], 17:10:11 "mtu": 1458, 17:10:11 "selinux-enabled": true, 17:10:11 "seccomp-profile": "/etc/docker/seccomp.json" 17:10:11 } [Pipeline] sh 17:10:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:10:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:10:30 provisioning config files... 17:10:30 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/39@tmp/config4258428996539077733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:30 ---> docker-login.sh 17:10:30 nexus3.edgexfoundry.org:10001 17:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:31 Configure a credential helper to remove this warning. See 17:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:31 17:10:31 Login Succeeded 17:10:31 nexus3.edgexfoundry.org:10002 17:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:32 Configure a credential helper to remove this warning. See 17:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:32 17:10:32 Login Succeeded 17:10:32 nexus3.edgexfoundry.org:10003 17:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:32 Configure a credential helper to remove this warning. See 17:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:32 17:10:32 Login Succeeded 17:10:32 nexus3.edgexfoundry.org:10004 17:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:32 Configure a credential helper to remove this warning. See 17:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:32 17:10:32 Login Succeeded 17:10:33 docker.io 17:10:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:33 Configure a credential helper to remove this warning. See 17:10:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:33 17:10:33 Login Succeeded 17:10:33 ---> docker-login.sh ends [Pipeline] } 17:10:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:10:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:10:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:10:34 ========================================================= 17:10:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:10:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:34 + 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 . 17:10:34 Sending build context to Docker daemon 687.6kB 17:10:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:10:34 Step 2/13 : FROM ${BASE} AS builder 17:10:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:10:35 9b3977197b4f: Pulling fs layer 17:10:35 1a89e8eeedd5: Pulling fs layer 17:10:35 94645a83ff95: Pulling fs layer 17:10:35 e6fb740bc735: Pulling fs layer 17:10:35 3a77bd46dcc9: Pulling fs layer 17:10:35 355e64cbe906: Pulling fs layer 17:10:35 63ab81a10011: Pulling fs layer 17:10:35 555d1d1c4555: Pulling fs layer 17:10:35 7d9057610161: Pulling fs layer 17:10:35 e6fb740bc735: Waiting 17:10:35 3a77bd46dcc9: Waiting 17:10:35 355e64cbe906: Waiting 17:10:35 63ab81a10011: Waiting 17:10:35 555d1d1c4555: Waiting 17:10:35 7d9057610161: Waiting 17:10:35 94645a83ff95: Verifying Checksum 17:10:35 94645a83ff95: Download complete 17:10:35 1a89e8eeedd5: Verifying Checksum 17:10:35 1a89e8eeedd5: Download complete 17:10:35 3a77bd46dcc9: Verifying Checksum 17:10:35 3a77bd46dcc9: Download complete 17:10:35 355e64cbe906: Verifying Checksum 17:10:35 355e64cbe906: Download complete 17:10:35 9b3977197b4f: Verifying Checksum 17:10:35 9b3977197b4f: Download complete 17:10:35 63ab81a10011: Verifying Checksum 17:10:35 63ab81a10011: Download complete 17:10:36 9b3977197b4f: Pull complete 17:10:36 7d9057610161: Verifying Checksum 17:10:36 7d9057610161: Download complete 17:10:36 1a89e8eeedd5: Pull complete 17:10:37 94645a83ff95: Pull complete 17:10:37 555d1d1c4555: Verifying Checksum 17:10:37 555d1d1c4555: Download complete 17:10:38 e6fb740bc735: Download complete 17:10:50 e6fb740bc735: Pull complete 17:10:50 3a77bd46dcc9: Pull complete 17:10:50 355e64cbe906: Pull complete 17:10:50 63ab81a10011: Pull complete 17:10:57 555d1d1c4555: Pull complete 17:10:59 7d9057610161: Pull complete 17:10:59 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:10:59 ---> 819e984ddca1 17:10:59 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:11:01 ---> Running in 4fdd76c97048 17:11:01 Removing intermediate container 4fdd76c97048 17:11:01 ---> d7a7c7e53c90 17:11:01 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:11:01 ---> Running in ab745fdea2e4 17:11:01 Removing intermediate container ab745fdea2e4 17:11:01 ---> 0bc198e4bbb2 17:11:01 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:11:01 ---> Running in 469309bbd272 17:11:03 Removing intermediate container 469309bbd272 17:11:03 ---> 9d63dbc01abc 17:11:03 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:03 ---> Running in 83b09a81a021 17:11:05 Removing intermediate container 83b09a81a021 17:11:05 ---> 5e63b6b7e75c 17:11:05 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:05 ---> Running in afad78e94107 17:11:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:11:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:11:07 OK: 220 MiB in 52 packages 17:11:08 Removing intermediate container afad78e94107 17:11:08 ---> 9d0e2afe35d7 17:11:08 Step 8/13 : WORKDIR /app 17:11:08 ---> Running in 108474138a76 17:11:09 Removing intermediate container 108474138a76 17:11:09 ---> 063714df3487 17:11:09 Step 9/13 : COPY go.mod vendor* ./ 17:11:09 ---> 0b778da6358a 17:11:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:09 ---> Running in b056a599ab0d 17:11:56 Removing intermediate container b056a599ab0d 17:11:56 ---> c06a27f7da43 17:11:56 Step 11/13 : COPY . . 17:11:56 ---> b8fef05984e6 17:11:56 Step 12/13 : ARG MAKE="make build" 17:11:56 ---> Running in 14ebd45bac6c 17:11:56 Removing intermediate container 14ebd45bac6c 17:11:56 ---> 7725484e0978 17:11:56 Step 13/13 : RUN $MAKE 17:11:56 ---> Running in e6a516ae9283 17:11:56 noop 17:11:57 Removing intermediate container e6a516ae9283 17:11:57 ---> 130ec32fcb2d 17:11:57 Successfully built 130ec32fcb2d 17:11:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:57 + docker inspect -f . ci-base-image-arm64 17:11:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:57 prd-ubuntu20.04-docker-arm64-4c-16g-15346 does not seem to be running inside a container 17:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/39 -v /w/workspace/app-rfid-llrp-inventory/39:/w/workspace/app-rfid-llrp-inventory/39:rw,z -v /w/workspace/app-rfid-llrp-inventory/39@tmp:/w/workspace/app-rfid-llrp-inventory/39@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 17:11:59 $ docker top 3fefe6cc4a69b8db0b06da2b4621b173ac59b89859ce25a4bafea69c1fffb697 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:00 + go version 17:12:00 go version go1.17.7 linux/arm64 [Pipeline] } 17:12:00 $ docker stop --time=1 3fefe6cc4a69b8db0b06da2b4621b173ac59b89859ce25a4bafea69c1fffb697 17:12:01 $ docker rm -f 3fefe6cc4a69b8db0b06da2b4621b173ac59b89859ce25a4bafea69c1fffb697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:02 + docker inspect -f . ci-base-image-arm64 17:12:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:02 prd-ubuntu20.04-docker-arm64-4c-16g-15346 does not seem to be running inside a container 17:12:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/39 -v /w/workspace/app-rfid-llrp-inventory/39:/w/workspace/app-rfid-llrp-inventory/39:rw,z -v /w/workspace/app-rfid-llrp-inventory/39@tmp:/w/workspace/app-rfid-llrp-inventory/39@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 17:12:04 $ docker top 80cce88cc176a937a17eed5d19855f17f1b27a96ce05e7dff9fdffbef764e7f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:12:05 + make test 17:12:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:13:42 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:13:42 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.185s coverage: 86.2% of statements 17:13:42 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:13:42 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.693s coverage: 71.9% of statements 17:13:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:13:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:14:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:14:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:14:04 ./bin/test-attribution.sh [Pipeline] echo 17:14:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:14:07 $ docker stop --time=1 80cce88cc176a937a17eed5d19855f17f1b27a96ce05e7dff9fdffbef764e7f8 17:14:09 $ docker rm -f 80cce88cc176a937a17eed5d19855f17f1b27a96ce05e7dff9fdffbef764e7f8 [Pipeline] // withDockerContainer [Pipeline] sh 17:14:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:14:10 Warning: overwriting stash ‘coverage-report’ 17:14:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:14:11 + ls -al . 17:14:11 total 224 17:14:11 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 17:14 . 17:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 17:10 .. 17:14:11 -rw-rw-r-- 1 jenkins jenkins 262 Jun 22 17:10 .dockerignore 17:14:11 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 17:10 .git 17:14:11 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 17:10 .github 17:14:11 -rw-rw-r-- 1 jenkins jenkins 788 Jun 22 17:10 .gitignore 17:14:11 -rw-rw-r-- 1 jenkins jenkins 41 Jun 22 17:10 .golangci.yml 17:14:11 -rw-rw-r-- 1 jenkins jenkins 9413 Jun 22 17:10 Attribution.txt 17:14:11 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 22 17:10 CHANGELOG.md 17:14:11 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 22 17:10 Dockerfile 17:14:11 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 17:10 GOVERNANCE.md 17:14:11 -rw-rw-r-- 1 jenkins jenkins 687 Jun 22 17:10 Jenkinsfile 17:14:11 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 22 17:10 LICENSE 17:14:11 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 22 17:10 Makefile 17:14:11 -rw-rw-r-- 1 jenkins jenkins 617 Jun 22 17:10 OWNERS.md 17:14:11 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 22 17:10 README.md 17:14:11 -rw-rw-r-- 1 jenkins jenkins 11 Jun 22 17:06 VERSION 17:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 17:10 bin 17:14:11 -rw-r--r-- 1 jenkins jenkins 41008 Jun 22 17:13 coverage.out 17:14:11 -rw-rw-r-- 1 jenkins jenkins 3475 Jun 22 17:10 go.mod 17:14:11 -rw-rw-r-- 1 jenkins jenkins 36141 Jun 22 17:10 go.sum 17:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 17:10 images 17:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 17:10 internal 17:14:11 -rw-rw-r-- 1 jenkins jenkins 531 Jun 22 17:10 main.go 17:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 17:10 res 17:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 17:10 snap 17:14:11 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 17:10 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:12 + 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=cd50c67dda48d59214514b13406723cfe5ff62e7 --label arch=arm64 --label version=2.2.1-dev.2 . 17:14:12 Sending build context to Docker daemon 687.6kB 17:14:12 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 17:14:12 Step 2/31 : FROM ${BASE} AS builder 17:14:12 ---> 130ec32fcb2d 17:14:12 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:14:12 ---> Running in a2e51d3fbefc 17:14:13 Removing intermediate container a2e51d3fbefc 17:14:13 ---> e9000288d2c7 17:14:13 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:14:13 ---> Running in efddcd4c77da 17:14:13 Removing intermediate container efddcd4c77da 17:14:13 ---> 6ab91c032795 17:14:13 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:14:13 ---> Running in 789fddf79515 17:14:14 Removing intermediate container 789fddf79515 17:14:14 ---> e9cc0168f4ab 17:14:14 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:14 ---> Running in dac35fd94259 17:14:16 Removing intermediate container dac35fd94259 17:14:16 ---> 2383b4533590 17:14:16 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:14:16 ---> Running in 627413cecee0 17:14:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:14:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:14:18 OK: 220 MiB in 52 packages 17:14:19 Removing intermediate container 627413cecee0 17:14:19 ---> 4802920d9ca0 17:14:19 Step 8/31 : WORKDIR /app 17:14:19 ---> Running in c2aa17ca7d5e 17:14:19 Removing intermediate container c2aa17ca7d5e 17:14:19 ---> f4155c779aae 17:14:19 Step 9/31 : COPY go.mod vendor* ./ 17:14:19 ---> 86cb3be72703 17:14:19 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:14:20 ---> Running in cc950ffcc301 17:14:22 Removing intermediate container cc950ffcc301 17:14:22 ---> 77b8f27e3fb8 17:14:22 Step 11/31 : COPY . . 17:14:22 ---> d6d52dd77e1b 17:14:22 Step 12/31 : ARG MAKE="make build" 17:14:22 ---> Running in fad0377620a9 17:14:22 Removing intermediate container fad0377620a9 17:14:22 ---> 453e50da9a2b 17:14:22 Step 13/31 : RUN $MAKE 17:14:23 ---> Running in bf1812a7d625 17:14:24 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.2 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:16:30 Removing intermediate container bf1812a7d625 17:16:30 ---> 6bd0fd3c36d6 17:16:30 Step 14/31 : FROM alpine:3.14 17:16:30 3.14: Pulling from library/alpine 17:16:30 455c02918c45: Pulling fs layer 17:16:30 455c02918c45: Verifying Checksum 17:16:30 455c02918c45: Download complete 17:16:30 455c02918c45: Pull complete 17:16:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:16:30 Status: Downloaded newer image for alpine:3.14 17:16:30 ---> ac73e934f311 17:16:30 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:16:30 ---> Running in ccf8b4155ac0 17:16:30 Removing intermediate container ccf8b4155ac0 17:16:30 ---> 94129ed1c7a2 17:16:30 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:16:30 ---> Running in 290ebd90fa12 17:16:30 Removing intermediate container 290ebd90fa12 17:16:30 ---> ccfb0f96b2b2 17:16:30 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:16:30 ---> Running in e082ffff4467 17:16:30 Removing intermediate container e082ffff4467 17:16:30 ---> 5a75f2e3cda0 17:16:30 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:16:30 ---> Running in 6e26d8173cc3 17:16:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:16:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:16:33 (1/7) Installing ca-certificates (20211220-r0) 17:16:33 (2/7) Installing dumb-init (1.2.5-r1) 17:16:33 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:16:33 (4/7) Installing libsodium (1.0.18-r0) 17:16:33 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:16:33 (6/7) Installing libzmq (4.3.4-r0) 17:16:33 (7/7) Installing zeromq (4.3.4-r0) 17:16:33 Executing busybox-1.33.1-r7.trigger 17:16:33 Executing ca-certificates-20211220-r0.trigger 17:16:34 OK: 9 MiB in 21 packages 17:16:35 Removing intermediate container 6e26d8173cc3 17:16:35 ---> 457dad9b220a 17:16:35 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:16:35 ---> 38f7e0961693 17:16:35 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:16:36 ---> 7b20d8606784 17:16:36 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:16:36 ---> 02dc86902220 17:16:36 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:16:37 ---> c43096f3b365 17:16:37 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:16:38 ---> 1fda6325dfd3 17:16:38 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:16:38 ---> Running in 832a38b23d26 17:16:40 Removing intermediate container 832a38b23d26 17:16:40 ---> 7d42fe7c2a96 17:16:40 Step 25/31 : VOLUME /cache 17:16:40 ---> Running in e269f0edaa75 17:16:40 Removing intermediate container e269f0edaa75 17:16:40 ---> 0ca353a2e1ae 17:16:40 Step 26/31 : EXPOSE 59711 17:16:40 ---> Running in 8afbe65dc0f9 17:16:40 Removing intermediate container 8afbe65dc0f9 17:16:40 ---> 9b80d74450db 17:16:40 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:16:40 ---> Running in 0182d30d0be2 17:16:41 Removing intermediate container 0182d30d0be2 17:16:41 ---> bae6219bfe52 17:16:41 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:16:41 ---> Running in af971a146cfa 17:16:41 Removing intermediate container af971a146cfa 17:16:41 ---> bff6acbcfe46 17:16:41 Step 29/31 : LABEL arch=arm64 17:16:41 ---> Running in 2d27fc2f7b39 17:16:42 Removing intermediate container 2d27fc2f7b39 17:16:42 ---> d9bdd48000e0 17:16:42 Step 30/31 : LABEL git_sha=cd50c67dda48d59214514b13406723cfe5ff62e7 17:16:42 ---> Running in 04d9ebe07c04 17:16:42 Removing intermediate container 04d9ebe07c04 17:16:42 ---> e84627fd4393 17:16:42 Step 31/31 : LABEL version=2.2.1-dev.2 17:16:42 ---> Running in 28f168c1ea6b 17:16:42 Removing intermediate container 28f168c1ea6b 17:16:42 ---> ea481af3ae5c 17:16:42 [Warning] One or more build-args [ARCH] were not consumed 17:16:42 Successfully built ea481af3ae5c 17:16:42 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 17:16:43 provisioning config files... 17:16:43 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/39@tmp/config4265894763957475709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:43 ---> docker-login.sh 17:16:43 nexus3.edgexfoundry.org:10001 17:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:43 Configure a credential helper to remove this warning. See 17:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:43 17:16:43 Login Succeeded 17:16:43 nexus3.edgexfoundry.org:10002 17:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:44 Configure a credential helper to remove this warning. See 17:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:44 17:16:44 Login Succeeded 17:16:44 nexus3.edgexfoundry.org:10003 17:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:44 Configure a credential helper to remove this warning. See 17:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:44 17:16:44 Login Succeeded 17:16:44 nexus3.edgexfoundry.org:10004 17:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:45 Configure a credential helper to remove this warning. See 17:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:45 17:16:45 Login Succeeded 17:16:45 docker.io 17:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:45 Configure a credential helper to remove this warning. See 17:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:45 17:16:45 Login Succeeded 17:16:45 ---> docker-login.sh ends [Pipeline] } 17:16:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:16:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:46 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 17:16:46 cd50c67dda48d59214514b13406723cfe5ff62e7 17:16:46 latest 17:16:46 2.2.1-dev.2 17:16:46 cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 17:16:46 main 17:16:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:46 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:46 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cd50c67dda48d59214514b13406723cfe5ff62e7 17:16:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:16:46 a884d87ed79e: Preparing 17:16:46 97b24aab5057: Preparing 17:16:46 d3a2cc7c81d0: Preparing 17:16:46 d0179ed620b0: Preparing 17:16:46 df891fb6648a: Preparing 17:16:46 234599b5bf5a: Preparing 17:16:46 ed2aff6f65e0: Preparing 17:16:46 19230b07e5db: Preparing 17:16:46 f73e7dbfee58: Preparing 17:16:46 234599b5bf5a: Waiting 17:16:46 ed2aff6f65e0: Waiting 17:16:46 19230b07e5db: Waiting 17:16:46 f73e7dbfee58: Waiting 17:16:47 d3a2cc7c81d0: Pushed 17:16:47 df891fb6648a: Pushed 17:16:47 d0179ed620b0: Pushed 17:16:47 a884d87ed79e: Pushed 17:16:47 f73e7dbfee58: Layer already exists 17:16:47 234599b5bf5a: Pushed 17:16:47 19230b07e5db: Pushed 17:16:48 ed2aff6f65e0: Pushed 17:16:53 97b24aab5057: Pushed 17:16:53 cd50c67dda48d59214514b13406723cfe5ff62e7: digest: sha256:817bfa1a8662d70dad990239e8cd5d858614c9d1e69a026fff0662d7a91a06b1 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:54 + 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 17:16:54 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:16:54 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:16:54 a884d87ed79e: Preparing 17:16:54 97b24aab5057: Preparing 17:16:54 d3a2cc7c81d0: Preparing 17:16:54 d0179ed620b0: Preparing 17:16:54 df891fb6648a: Preparing 17:16:54 234599b5bf5a: Preparing 17:16:54 ed2aff6f65e0: Preparing 17:16:54 19230b07e5db: Preparing 17:16:54 f73e7dbfee58: Preparing 17:16:54 ed2aff6f65e0: Waiting 17:16:54 f73e7dbfee58: Waiting 17:16:54 19230b07e5db: Waiting 17:16:54 234599b5bf5a: Waiting 17:16:54 d0179ed620b0: Layer already exists 17:16:54 97b24aab5057: Layer already exists 17:16:54 a884d87ed79e: Layer already exists 17:16:54 df891fb6648a: Layer already exists 17:16:54 d3a2cc7c81d0: Layer already exists 17:16:54 19230b07e5db: Layer already exists 17:16:54 234599b5bf5a: Layer already exists 17:16:54 f73e7dbfee58: Layer already exists 17:16:54 ed2aff6f65e0: Layer already exists 17:16:54 latest: digest: sha256:817bfa1a8662d70dad990239e8cd5d858614c9d1e69a026fff0662d7a91a06b1 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:55 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:55 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.2 17:16:55 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:16:55 a884d87ed79e: Preparing 17:16:55 97b24aab5057: Preparing 17:16:55 d3a2cc7c81d0: Preparing 17:16:55 d0179ed620b0: Preparing 17:16:55 df891fb6648a: Preparing 17:16:55 234599b5bf5a: Preparing 17:16:55 ed2aff6f65e0: Preparing 17:16:55 19230b07e5db: Preparing 17:16:55 f73e7dbfee58: Preparing 17:16:55 234599b5bf5a: Waiting 17:16:55 ed2aff6f65e0: Waiting 17:16:55 19230b07e5db: Waiting 17:16:55 f73e7dbfee58: Waiting 17:16:55 d0179ed620b0: Layer already exists 17:16:55 97b24aab5057: Layer already exists 17:16:55 df891fb6648a: Layer already exists 17:16:55 a884d87ed79e: Layer already exists 17:16:55 d3a2cc7c81d0: Layer already exists 17:16:55 ed2aff6f65e0: Layer already exists 17:16:55 234599b5bf5a: Layer already exists 17:16:55 f73e7dbfee58: Layer already exists 17:16:55 19230b07e5db: Layer already exists 17:16:55 2.2.1-dev.2: digest: sha256:817bfa1a8662d70dad990239e8cd5d858614c9d1e69a026fff0662d7a91a06b1 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:56 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:56 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 17:16:56 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:16:56 a884d87ed79e: Preparing 17:16:56 97b24aab5057: Preparing 17:16:56 d3a2cc7c81d0: Preparing 17:16:56 d0179ed620b0: Preparing 17:16:56 df891fb6648a: Preparing 17:16:56 234599b5bf5a: Preparing 17:16:56 ed2aff6f65e0: Preparing 17:16:56 19230b07e5db: Preparing 17:16:56 f73e7dbfee58: Preparing 17:16:56 234599b5bf5a: Waiting 17:16:56 ed2aff6f65e0: Waiting 17:16:56 f73e7dbfee58: Waiting 17:16:56 19230b07e5db: Waiting 17:16:56 97b24aab5057: Layer already exists 17:16:56 df891fb6648a: Layer already exists 17:16:56 a884d87ed79e: Layer already exists 17:16:56 d3a2cc7c81d0: Layer already exists 17:16:56 d0179ed620b0: Layer already exists 17:16:56 234599b5bf5a: Layer already exists 17:16:56 f73e7dbfee58: Layer already exists 17:16:56 ed2aff6f65e0: Layer already exists 17:16:56 19230b07e5db: Layer already exists 17:16:56 cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2: digest: sha256:817bfa1a8662d70dad990239e8cd5d858614c9d1e69a026fff0662d7a91a06b1 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:57 + 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 17:16:57 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 17:16:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:16:57 a884d87ed79e: Preparing 17:16:57 97b24aab5057: Preparing 17:16:57 d3a2cc7c81d0: Preparing 17:16:57 d0179ed620b0: Preparing 17:16:57 df891fb6648a: Preparing 17:16:57 234599b5bf5a: Preparing 17:16:57 ed2aff6f65e0: Preparing 17:16:57 19230b07e5db: Preparing 17:16:57 f73e7dbfee58: Preparing 17:16:57 234599b5bf5a: Waiting 17:16:57 ed2aff6f65e0: Waiting 17:16:57 19230b07e5db: Waiting 17:16:57 f73e7dbfee58: Waiting 17:16:57 97b24aab5057: Layer already exists 17:16:57 df891fb6648a: Layer already exists 17:16:57 d0179ed620b0: Layer already exists 17:16:57 d3a2cc7c81d0: Layer already exists 17:16:57 a884d87ed79e: Layer already exists 17:16:57 ed2aff6f65e0: Layer already exists 17:16:57 f73e7dbfee58: Layer already exists 17:16:57 234599b5bf5a: Layer already exists 17:16:57 19230b07e5db: Layer already exists 17:16:57 main: digest: sha256:817bfa1a8662d70dad990239e8cd5d858614c9d1e69a026fff0662d7a91a06b1 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:16:57 ===================================================== [Pipeline] echo 17:16:57 taggedImages: 17:16:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cd50c67dda48d59214514b13406723cfe5ff62e7 17:16:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:16:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.2 17:16:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cd50c67dda48d59214514b13406723cfe5ff62e7-2.2.1-dev.2 17:16:57 - 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 17:16:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:58 17:16:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:58 arm64: Pulling from edgex-lftools-log-publisher 17:16:58 8998bd30e6a1: Pulling fs layer 17:16:58 04944245beec: Pulling fs layer 17:16:58 699f458cf7ca: Pulling fs layer 17:16:58 765212b225bb: Pulling fs layer 17:16:58 f23df028b6ca: Pulling fs layer 17:16:58 d65c8cfc05b1: Pulling fs layer 17:16:58 2437ff75d9bd: Pulling fs layer 17:16:58 765212b225bb: Waiting 17:16:58 f23df028b6ca: Waiting 17:16:58 d65c8cfc05b1: Waiting 17:16:58 2437ff75d9bd: Waiting 17:16:58 04944245beec: Verifying Checksum 17:16:58 04944245beec: Download complete 17:16:58 765212b225bb: Verifying Checksum 17:16:58 765212b225bb: Download complete 17:16:58 f23df028b6ca: Verifying Checksum 17:16:58 f23df028b6ca: Download complete 17:16:58 d65c8cfc05b1: Download complete 17:16:59 699f458cf7ca: Download complete 17:16:59 8998bd30e6a1: Verifying Checksum 17:16:59 8998bd30e6a1: Download complete 17:17:01 2437ff75d9bd: Verifying Checksum 17:17:01 2437ff75d9bd: Download complete 17:17:04 8998bd30e6a1: Pull complete 17:17:04 04944245beec: Pull complete 17:17:05 699f458cf7ca: Pull complete 17:17:06 765212b225bb: Pull complete 17:17:07 f23df028b6ca: Pull complete 17:17:07 d65c8cfc05b1: Pull complete 17:17:22 2437ff75d9bd: Pull complete 17:17:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:17:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:17:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:22 prd-ubuntu20.04-docker-arm64-4c-16g-15346 does not seem to be running inside a container 17:17:22 $ 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/39 -v /w/workspace/app-rfid-llrp-inventory/39:/w/workspace/app-rfid-llrp-inventory/39:rw,z -v /w/workspace/app-rfid-llrp-inventory/39@tmp:/w/workspace/app-rfid-llrp-inventory/39@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 17:17:25 $ docker top 1b5a3ca40478c9407b167904866d259bb975390200efb3fd93d02afad8fe51e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:26 ---> job-cost.sh 17:17:26 lf-activate-venv: SKIPPING 17:17:26 INFO: No Stack... 17:17:26 INFO: Retrieving Pricing Info for: v3-standard-4 17:17:27 INFO: Archiving Costs [Pipeline] sh 17:17:28 + cut -d, -f6 17:17:28 + cat /w/workspace/app-rfid-llrp-inventory/39/archives/cost.csv [Pipeline] lock 17:17:28 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] 17:17:28 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] did not exist. Created. 17:17:28 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:17:28 /w/workspace/app-rfid-llrp-inventory/39@tmp/durable-0fc8c387/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:17:29 + echo total: 0.10999999940395355 [Pipeline] stash 17:17:29 Warning: overwriting stash ‘stack-cost’ 17:17:29 Stashed 1 file(s) [Pipeline] } 17:17:29 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 17:17:29 $ docker stop --time=1 1b5a3ca40478c9407b167904866d259bb975390200efb3fd93d02afad8fe51e0 17:17:31 $ docker rm -f 1b5a3ca40478c9407b167904866d259bb975390200efb3fd93d02afad8fe51e0 [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 17:17:31 provisioning config files... 17:17:31 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3339681479429141165tmp [Pipeline] { [Pipeline] sh 17:17:32 + set +x 17:17:32 + curl -s https://codecov.io/bash 17:17:32 + bash -s -- 17:17:32 17:17:32 _____ _ 17:17:32 / ____| | | 17:17:32 | | ___ __| | ___ ___ _____ __ 17:17:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:17:32 | |___| (_) | (_| | __/ (_| (_) \ V / 17:17:32 \_____\___/ \__,_|\___|\___\___/ \_/ 17:17:32 Bash-1.0.6 17:17:32 17:17:32 17:17:32 ==> git version 2.25.1 found 17:17:32 ==> 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 17:17:32 Release-Date: 2020-01-08 17:17:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:17:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:17:32 ==> Jenkins CI detected. 17:17:32 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 17:17:32 project root: . 17:17:32 --> token set from env 17:17:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:17:32 ==> Running gcov in . (disable via -X gcov) 17:17:32 ==> Python coveragepy not found 17:17:32 ==> Searching for coverage reports in: 17:17:32 + . 17:17:32 -> Found 1 reports 17:17:32 ==> Detecting git/mercurial file structure 17:17:32 ==> Reading reports 17:17:32 + ./coverage.out bytes=41008 17:17:32 ==> Appending adjustments 17:17:32 https://docs.codecov.io/docs/fixing-reports 17:17:32 + Found adjustments 17:17:32 ==> Gzipping contents 17:17:32 12K /tmp/codecov.MRDO1R.gz 17:17:32 ==> Uploading reports 17:17:32 url: https://codecov.io 17:17:32 query: branch=main&commit=cd50c67dda48d59214514b13406723cfe5ff62e7&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:17:32 -> Pinging Codecov 17:17:32 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=cd50c67dda48d59214514b13406723cfe5ff62e7&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:17:32 -> Uploading to 17:17:32 https://storage.googleapis.com/codecov/v4/raw/2022-06-22/581DD39554BDF9B6E22D074273EAD858/cd50c67dda48d59214514b13406723cfe5ff62e7/64607acb-30e4-4df8-bfce-d974fff724fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T171732Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32367e3cd4c09991a896fbe10d2326b740014320426397ac37e1b86f2b1bb228 17:17:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:17:32 Dload Upload Total Spent Left Speed 17:17:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11468 0 0 100 11468 0 56492 --:--:-- --:--:-- --:--:-- 56215 100 11468 0 0 100 11468 0 52127 --:--:-- --:--:-- --:--:-- 51891 17:17:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] } 17:17:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:17:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:17:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:17:33 17:17:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:17:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:17:33 df9b9388f04a: Pulling fs layer 17:17:33 52dc419b0ee2: Pulling fs layer 17:17:33 25bc292e5bac: Pulling fs layer 17:17:33 114826534d7a: Pulling fs layer 17:17:33 114826534d7a: Waiting 17:17:33 4657fd5d0bcf: Pulling fs layer 17:17:33 6ad1cebc031e: Pulling fs layer 17:17:33 8a3aa393b2d8: Pulling fs layer 17:17:33 6ad1cebc031e: Waiting 17:17:33 25bc292e5bac: Verifying Checksum 17:17:33 25bc292e5bac: Download complete 17:17:33 52dc419b0ee2: Verifying Checksum 17:17:33 52dc419b0ee2: Download complete 17:17:33 4657fd5d0bcf: Verifying Checksum 17:17:33 4657fd5d0bcf: Download complete 17:17:33 df9b9388f04a: Verifying Checksum 17:17:33 df9b9388f04a: Download complete 17:17:33 df9b9388f04a: Pull complete 17:17:33 6ad1cebc031e: Verifying Checksum 17:17:33 6ad1cebc031e: Download complete 17:17:33 52dc419b0ee2: Pull complete 17:17:34 25bc292e5bac: Pull complete 17:17:34 114826534d7a: Verifying Checksum 17:17:34 114826534d7a: Download complete 17:17:34 8a3aa393b2d8: Verifying Checksum 17:17:34 8a3aa393b2d8: Download complete 17:17:38 114826534d7a: Pull complete 17:17:38 4657fd5d0bcf: Pull complete 17:17:38 6ad1cebc031e: Pull complete 17:17:41 8a3aa393b2d8: Pull complete 17:17:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:17:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:17:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:41 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:17:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:17:43 $ docker top ecbd0d232b097e5113dcb55548f7bbd3467085a21b770ea7a17e1c793a2229d5 -eo pid,comm [Pipeline] { [Pipeline] echo 17:17:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 17:17:43 + set -o pipefail 17:17:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 17:17:49 17:17:49 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 17:17:49 17:17:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/4fef4afc-99e4-4d6c-a164-25ca1c388746 17:17:49 17:17:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:17:49 17:17:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:17:49 17:17:49 17:17:49 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 17:17:49 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:17:49 $ docker stop --time=1 ecbd0d232b097e5113dcb55548f7bbd3467085a21b770ea7a17e1c793a2229d5 17:17:52 $ docker rm -f ecbd0d232b097e5113dcb55548f7bbd3467085a21b770ea7a17e1c793a2229d5 [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 17:17:52 + git log --format=format:%s -1 cd50c67dda48d59214514b13406723cfe5ff62e7 [Pipeline] sh 17:17:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:53 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:17:53 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:17:54 $ docker top 2f1505b83a94f0e82a67047b03739282270b3671fcbacee5e314adb6aabde07f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:54 [ssh-agent] Looking for ssh-agent implementation... 17:17:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:54 $ docker exec 2f1505b83a94f0e82a67047b03739282270b3671fcbacee5e314adb6aabde07f ssh-agent 17:17:54 SSH_AUTH_SOCK=/tmp/ssh-4Wp0o5eNx39Q/agent.33 17:17:54 SSH_AGENT_PID=39 17:17:54 Running ssh-add (command line suppressed) 17:17:54 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7556111212336520813.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7556111212336520813.key) 17:17:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:55 + git semver tag 17:17:55 2022-06-22 17:17:55,255 [run_tag] DEBUG tag force:False 17:17:55 2022-06-22 17:17:55,256 [check_head_tag] DEBUG check head tag 17:17:55 2022-06-22 17:17:55,256 [execute] INFO git cat-file --batch-check 17:17:55 2022-06-22 17:17:55,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:17:55 2022-06-22 17:17:55,261 [execute] INFO git cat-file --batch 17:17:55 2022-06-22 17:17:55,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:17:55 2022-06-22 17:17:55,268 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:17:55 2022-06-22 17:17:55,268 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 17:17:55 2022-06-22 17:17:55,268 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:17:55 2022-06-22 17:17:55,273 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:17:55 2.2.1-dev.2 [Pipeline] } 17:17:55 $ docker exec --env ******** --env ******** 2f1505b83a94f0e82a67047b03739282270b3671fcbacee5e314adb6aabde07f ssh-agent -k 17:17:55 unset SSH_AUTH_SOCK; 17:17:55 unset SSH_AGENT_PID; 17:17:55 echo Agent pid 39 killed; 17:17:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:55 + git semver [Pipeline] } 17:17:56 $ docker stop --time=1 2f1505b83a94f0e82a67047b03739282270b3671fcbacee5e314adb6aabde07f 17:17:57 $ docker rm -f 2f1505b83a94f0e82a67047b03739282270b3671fcbacee5e314adb6aabde07f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:17:57 17:17:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:17:58 0.23.1-centos7: Pulling from edgex-lftools 17:17:58 ab5ef0e58194: Pulling fs layer 17:17:58 9712f1f96733: Pulling fs layer 17:17:58 63f879dbbcfc: Pulling fs layer 17:17:58 0d9ebad4ef96: Pulling fs layer 17:17:58 e9a5061849ea: Pulling fs layer 17:17:58 d747dcd14b5f: Pulling fs layer 17:17:58 2de7ff778b66: Pulling fs layer 17:17:58 e9a5061849ea: Waiting 17:17:58 2de7ff778b66: Waiting 17:17:58 d747dcd14b5f: Waiting 17:17:58 0d9ebad4ef96: Waiting 17:17:58 9712f1f96733: Verifying Checksum 17:17:58 9712f1f96733: Download complete 17:17:58 63f879dbbcfc: Verifying Checksum 17:17:58 63f879dbbcfc: Download complete 17:17:58 0d9ebad4ef96: Verifying Checksum 17:17:58 0d9ebad4ef96: Download complete 17:17:58 e9a5061849ea: Verifying Checksum 17:17:58 e9a5061849ea: Download complete 17:17:58 d747dcd14b5f: Verifying Checksum 17:17:58 d747dcd14b5f: Download complete 17:17:58 2de7ff778b66: Download complete 17:17:58 ab5ef0e58194: Verifying Checksum 17:17:58 ab5ef0e58194: Download complete 17:18:02 ab5ef0e58194: Pull complete 17:18:02 9712f1f96733: Pull complete 17:18:02 63f879dbbcfc: Pull complete 17:18:05 0d9ebad4ef96: Pull complete 17:18:06 e9a5061849ea: Pull complete 17:18:06 d747dcd14b5f: Pull complete 17:18:07 2de7ff778b66: Pull complete 17:18:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:18:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:18:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:07 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:18:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:18:09 $ docker top 50d882ce5b059b7fe4e9f3d13c8a6b8b506be631ac811eb9d61733da9ef19927 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:18:09 provisioning config files... 17:18:09 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4962667231310719940tmp 17:18:09 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config785997702468941799tmp 17:18:09 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9056122824458842257tmp [Pipeline] { [Pipeline] echo 17:18:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:18:09 ---> sigul-configuration.sh 17:18:09 gpg: directory `/root/.gnupg' created 17:18:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:18:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:18:09 gpg: keyring `/root/.gnupg/secring.gpg' created 17:18:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:18:09 gpg: CAST5 encrypted data 17:18:09 gpg: encrypted with 1 passphrase 17:18:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:18:10 + mkdir /home/jenkins 17:18:10 + mkdir /home/jenkins/sigul [Pipeline] sh 17:18:10 + 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 17:18:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:18:10 ---> sigul-install.sh 17:18:10 Sigul already installed; skipping installation. [Pipeline] sh 17:18:11 + git tag --list 17:18:11 v0.0.0 17:18:11 v1.0.0 17:18:11 v2.1.0 17:18:11 v2.1.1 17:18:11 v2.1.1-dev.1 17:18:11 v2.2.0 17:18:11 v2.2.1-dev.1 17:18:11 v2.2.1-dev.2 [Pipeline] sh 17:18:11 + lftools sign git-tag v2.2.1-dev.2 17:18:11 Signing Git tag with Sigul... 17:18:11 Signing v2.2.1-dev.2 [Pipeline] echo 17:18:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:18:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:18:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:18:12 $ docker stop --time=1 50d882ce5b059b7fe4e9f3d13c8a6b8b506be631ac811eb9d61733da9ef19927 17:18:13 $ docker rm -f 50d882ce5b059b7fe4e9f3d13c8a6b8b506be631ac811eb9d61733da9ef19927 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:18:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:18:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:18:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:14 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:18:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:18:15 $ docker top b5034fef32724d1f88eb298af56c52b1d3010865a35c93ce40a5e9ee421dfedb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:18:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:15 [ssh-agent] Looking for ssh-agent implementation... 17:18:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:15 $ docker exec b5034fef32724d1f88eb298af56c52b1d3010865a35c93ce40a5e9ee421dfedb ssh-agent 17:18:15 SSH_AUTH_SOCK=/tmp/ssh-tktPK9auGADW/agent.32 17:18:15 SSH_AGENT_PID=38 17:18:15 Running ssh-add (command line suppressed) 17:18:15 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_442174975504896872.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_442174975504896872.key) 17:18:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:15 + git semver bump pre 17:18:16 2022-06-22 17:18:16,088 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:18:16 2022-06-22 17:18:16,088 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev 17:18:16 2022-06-22 17:18:16,089 [bump_version] DEBUG bumped version:2.2.1-dev.3 17:18:16 2022-06-22 17:18:16,089 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 17:18:16 2022-06-22 17:18:16,089 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:18:16 2022-06-22 17:18:16,089 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:18:16 2022-06-22 17:18:16,090 [execute] INFO git cat-file --batch-check 17:18:16 2022-06-22 17:18:16,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:18:16 2022-06-22 17:18:16,095 [execute] INFO git cat-file --batch 17:18:16 2022-06-22 17:18:16,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:18:16 2022-06-22 17:18:16,100 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:18:16 2.2.1-dev.3 [Pipeline] } 17:18:16 $ docker exec --env ******** --env ******** b5034fef32724d1f88eb298af56c52b1d3010865a35c93ce40a5e9ee421dfedb ssh-agent -k 17:18:16 unset SSH_AUTH_SOCK; 17:18:16 unset SSH_AGENT_PID; 17:18:16 echo Agent pid 38 killed; 17:18:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:18:16 + git semver [Pipeline] } 17:18:16 $ docker stop --time=1 b5034fef32724d1f88eb298af56c52b1d3010865a35c93ce40a5e9ee421dfedb 17:18:18 $ docker rm -f b5034fef32724d1f88eb298af56c52b1d3010865a35c93ce40a5e9ee421dfedb [Pipeline] // withDockerContainer [Pipeline] sh 17:18:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:18:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:18:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:19 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:18:19 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:18:19 $ docker top 94ee055151dbc201daa3ed5b3b40c2cdb8a737961c7908e934a8ca2086b3c3a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:18:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:19 [ssh-agent] Looking for ssh-agent implementation... 17:18:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:19 $ docker exec 94ee055151dbc201daa3ed5b3b40c2cdb8a737961c7908e934a8ca2086b3c3a5 ssh-agent 17:18:19 SSH_AUTH_SOCK=/tmp/ssh-88t2oMSarvVC/agent.34 17:18:19 SSH_AGENT_PID=40 17:18:19 Running ssh-add (command line suppressed) 17:18:19 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7743237831943009888.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7743237831943009888.key) 17:18:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:20 + git semver push 17:18:20 2022-06-22 17:18:20,451 [run_push] DEBUG push 17:18:20 2022-06-22 17:18:20,452 [execute] INFO git cat-file --batch-check 17:18:20 2022-06-22 17:18:20,452 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:18:20 2022-06-22 17:18:20,457 [execute] INFO git rev-list 30231b1bc20b96cab2c4fdf8ed1e1d07025509e7 -- 17:18:20 2022-06-22 17:18:20,457 [execute] DEBUG Popen(['git', 'rev-list', '30231b1bc20b96cab2c4fdf8ed1e1d07025509e7', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:18:20 2022-06-22 17:18:20,465 [execute] INFO git fetch -v origin 17:18:20 2022-06-22 17:18:20,465 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 17:18:21 2022-06-22 17:18:20,945 [run_push] DEBUG no remote changes detected 17:18:21 2022-06-22 17:18:20,946 [execute] INFO git push origin semver 17:18:21 2022-06-22 17:18:20,946 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:18:22 2022-06-22 17:18:21,675 [run_push] DEBUG push all version tags 17:18:22 2022-06-22 17:18:21,676 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:18:22 2022-06-22 17:18:21,676 [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) 17:18:22 2022-06-22 17:18:22,358 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:18:22 2.2.1-dev.3 [Pipeline] } 17:18:22 $ docker exec --env ******** --env ******** 94ee055151dbc201daa3ed5b3b40c2cdb8a737961c7908e934a8ca2086b3c3a5 ssh-agent -k 17:18:22 unset SSH_AUTH_SOCK; 17:18:22 unset SSH_AGENT_PID; 17:18:22 echo Agent pid 40 killed; 17:18:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:18:23 + git semver [Pipeline] } 17:18:23 $ docker stop --time=1 94ee055151dbc201daa3ed5b3b40c2cdb8a737961c7908e934a8ca2086b3c3a5 17:18:24 $ docker rm -f 94ee055151dbc201daa3ed5b3b40c2cdb8a737961c7908e934a8ca2086b3c3a5 [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 17:18:25 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 17:18:25 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:18:25 total 16 17:18:25 drwxr-xr-x 3 root root 4096 Jun 22 17:08 . 17:18:25 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 17:18 .. 17:18:25 drwxr-xr-x 2 root root 4096 Jun 22 17:08 cost 17:18:25 -rw-r--r-- 1 root root 93 Jun 22 17:08 cost.csv 17:18:25 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:18:25 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:18:25 total 16 17:18:25 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 17:08 . 17:18:25 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 17:18 .. 17:18:25 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 17:08 cost 17:18:25 -rw-r--r-- 1 jenkins jenkins 93 Jun 22 17:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:18:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:18:26 ---> package-listing.sh 17:18:26 ++ facter osfamily 17:18:26 ++ tr '[:upper:]' '[:lower:]' 17:18:26 + OS_FAMILY=debian 17:18:26 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 17:18:26 + START_PACKAGES=/tmp/packages_start.txt 17:18:26 + END_PACKAGES=/tmp/packages_end.txt 17:18:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:18:26 + PACKAGES=/tmp/packages_start.txt 17:18:26 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:18:26 + PACKAGES=/tmp/packages_end.txt 17:18:26 + case "${OS_FAMILY}" in 17:18:26 + dpkg -l 17:18:26 + grep '^ii' 17:18:26 + '[' -f /tmp/packages_start.txt ']' 17:18:26 + '[' -f /tmp/packages_end.txt ']' 17:18:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:18:26 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:18:26 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 17:18:26 + 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 17:18:26 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 17:18:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:27 prd-ubuntu20.04-docker-8c-8g-15344 does not seem to be running inside a container 17:18:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:18:27 $ docker top a0d6b3e674617cbc7ddebd7c604413f5664750dc9c4fa47ac5e22ab96b093625 -eo pid,comm [Pipeline] { [Pipeline] sh 17:18:28 + touch /tmp/pre-build-complete [Pipeline] sh 17:18:28 + mkdir -p /var/log/sysstat [Pipeline] sh 17:18:28 + ls /var/log/sa-host 17:18:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:29 provisioning config files... 17:18:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1115762009558131801tmp [Pipeline] { [Pipeline] echo 17:18:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:18:29 ---> create-netrc.sh [Pipeline] } 17:18:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:18:29 ---> python-tools-install.sh [Pipeline] echo 17:18:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:18:29 ---> sudo-logs.sh 17:18:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:18:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:18:30 ---> job-cost.sh 17:18:30 lf-activate-venv: SKIPPING 17:18:30 DEBUG: total: 0.2199999988079071 17:18:30 INFO: Retrieving Stack Cost... 17:18:30 INFO: Retrieving Pricing Info for: v3-standard-8 17:18:31 INFO: Archiving Costs [Pipeline] echo 17:18:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:18:31 ---> logs-deploy.sh 17:18:31 lf-activate-venv: SKIPPING 17:18:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/39 17:18:31 INFO: archiving workspace using pattern(s): 17:18:32 Archives upload complete. 17:18:32 INFO: archiving logs to Nexus