Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc44783049becc460a1729b066297a6387c816b5 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-ssh5118069282432938141.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6336988886666413320.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14044081386685704735.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh9744933644702322082.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh17280478052271301185.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.20 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-14723’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14727 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 cc44783049becc460a1729b066297a6387c816b5 (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 cc44783049becc460a1729b066297a6387c816b5 # timeout=10 Commit message: "refactor: Consume MakeItRun rename to Run (#188)" > git rev-list --no-walk 2f09c48157f651af307535ec646201223a75b6fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:09:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:09:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:09:30 ========================================================= 17:09:30 EdgeX Global Pipelines Version Info 17:09:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:09:30 ------------------- 17:09:30 stable info: 17:09:30 ------------------- 17:09:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:09:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:09:30 Message: update stable to v1.0.249 17:09:31 ------------------- 17:09:31 experimental info: 17:09:31 ------------------- 17:09:31 Commited By: **** collab-it+edgex@linuxfoundation.org 17:09:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:09:31 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:09:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc44783049becc460a1729b066297a6387c816b5 [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc44783 [Pipeline] echo 17:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:32 provisioning config files... 17:09:32 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config487483125502466675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:32 ---> docker-login.sh 17:09:32 nexus3.edgexfoundry.org:10001 17:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:32 Configure a credential helper to remove this warning. See 17:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:32 17:09:32 Login Succeeded 17:09:32 nexus3.edgexfoundry.org:10002 17:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:32 Configure a credential helper to remove this warning. See 17:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:32 17:09:32 Login Succeeded 17:09:32 nexus3.edgexfoundry.org:10003 17:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:33 Configure a credential helper to remove this warning. See 17:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:33 17:09:33 Login Succeeded 17:09:33 nexus3.edgexfoundry.org:10004 17:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:33 Configure a credential helper to remove this warning. See 17:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:33 17:09:33 Login Succeeded 17:09:33 docker.io 17:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:33 Configure a credential helper to remove this warning. See 17:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:33 17:09:33 Login Succeeded 17:09:33 ---> docker-login.sh ends [Pipeline] } 17:09:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:09:34 + git rev-list -1 --merges cc44783049becc460a1729b066297a6387c816b5~1..cc44783049becc460a1729b066297a6387c816b5 [Pipeline] echo 17:09:34 -----------> git rev-list -1 --merges cc44783049becc460a1729b066297a6387c816b5~1..cc44783049becc460a1729b066297a6387c816b5 cc44783049becc460a1729b066297a6387c816b5 [false] [Pipeline] sh 17:09:34 + git log --format=format:%s -1 cc44783049becc460a1729b066297a6387c816b5 [Pipeline] echo 17:09:34 ========================================================= 17:09:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:09:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:34 + git log --format=format:%s -1 cc44783049becc460a1729b066297a6387c816b5 [Pipeline] echo 17:09:34 [semverPrep] GIT_COMMIT: cc44783049becc460a1729b066297a6387c816b5, Commit Message: refactor: Consume MakeItRun rename to Run (#188) [Pipeline] echo 17:09:34 [semverPrep] This is not a build commit. [Pipeline] sh 17:09:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:09:35 + grep -v github /etc/ssh/ssh_known_hosts 17:09:35 + [ -e /tmp/ssh_known_hosts ] 17:09:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:09:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:09:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:09:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:35 17:09:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:35 0.1.4: Pulling from edgex-devops/py-git-semver 17:09:35 b85a868b505f: Pulling fs layer 17:09:35 e2be974225ed: Pulling fs layer 17:09:35 339a4e72a1f5: Pulling fs layer 17:09:35 988bab9f4d93: Pulling fs layer 17:09:35 1469e6f7b9e6: Pulling fs layer 17:09:35 eaf3925da568: Pulling fs layer 17:09:35 bab4dde63d76: Pulling fs layer 17:09:35 bde34c3a00c8: Pulling fs layer 17:09:35 b352a97aabf1: Pulling fs layer 17:09:35 4872d77fe225: Pulling fs layer 17:09:35 5851b861e8e6: Pulling fs layer 17:09:35 bab4dde63d76: Waiting 17:09:35 bde34c3a00c8: Waiting 17:09:35 b352a97aabf1: Waiting 17:09:35 4872d77fe225: Waiting 17:09:35 5851b861e8e6: Waiting 17:09:35 988bab9f4d93: Waiting 17:09:35 1469e6f7b9e6: Waiting 17:09:35 eaf3925da568: Waiting 17:09:35 e2be974225ed: Verifying Checksum 17:09:35 e2be974225ed: Download complete 17:09:35 988bab9f4d93: Verifying Checksum 17:09:35 988bab9f4d93: Download complete 17:09:35 1469e6f7b9e6: Verifying Checksum 17:09:35 1469e6f7b9e6: Download complete 17:09:36 339a4e72a1f5: Verifying Checksum 17:09:36 339a4e72a1f5: Download complete 17:09:36 eaf3925da568: Download complete 17:09:36 bde34c3a00c8: Verifying Checksum 17:09:36 bde34c3a00c8: Download complete 17:09:36 b352a97aabf1: Download complete 17:09:36 4872d77fe225: Verifying Checksum 17:09:36 4872d77fe225: Download complete 17:09:36 5851b861e8e6: Download complete 17:09:36 b85a868b505f: Download complete 17:09:36 bab4dde63d76: Verifying Checksum 17:09:36 bab4dde63d76: Download complete 17:09:37 b85a868b505f: Pull complete 17:09:37 e2be974225ed: Pull complete 17:09:38 339a4e72a1f5: Pull complete 17:09:38 988bab9f4d93: Pull complete 17:09:38 1469e6f7b9e6: Pull complete 17:09:38 eaf3925da568: Pull complete 17:09:40 bab4dde63d76: Pull complete 17:09:40 bde34c3a00c8: Pull complete 17:09:40 b352a97aabf1: Pull complete 17:09:40 4872d77fe225: Pull complete 17:09:40 5851b861e8e6: Pull complete 17:09:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:09:40 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:09:42 $ docker top c702b7e872f8e434d5c1fc0cb8bc889da8a2be8dd209516d704ffafa5aa4c831 -eo pid,comm 17:09:42 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:09:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:42 [ssh-agent] Looking for ssh-agent implementation... 17:09:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:42 $ docker exec c702b7e872f8e434d5c1fc0cb8bc889da8a2be8dd209516d704ffafa5aa4c831 ssh-agent 17:09:43 SSH_AUTH_SOCK=/tmp/ssh-0O4INoJLd7vZ/agent.31 17:09:43 SSH_AGENT_PID=37 17:09:43 Running ssh-add (command line suppressed) 17:09:43 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8156503176387062089.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8156503176387062089.key) 17:09:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:43 + git tag --points-at HEAD [Pipeline] } 17:09:43 $ docker exec --env ******** --env ******** c702b7e872f8e434d5c1fc0cb8bc889da8a2be8dd209516d704ffafa5aa4c831 ssh-agent -k 17:09:43 unset SSH_AUTH_SOCK; 17:09:43 unset SSH_AGENT_PID; 17:09:43 echo Agent pid 37 killed; 17:09:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:09:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:43 [ssh-agent] Looking for ssh-agent implementation... 17:09:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:43 $ docker exec c702b7e872f8e434d5c1fc0cb8bc889da8a2be8dd209516d704ffafa5aa4c831 ssh-agent 17:09:43 SSH_AUTH_SOCK=/tmp/ssh-fwIMi3poPKDn/agent.69 17:09:43 SSH_AGENT_PID=75 17:09:43 Running ssh-add (command line suppressed) 17:09:44 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14542573621512703977.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14542573621512703977.key) 17:09:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:44 + git semver init 17:09:44 2023-05-09 17:09:44,514 [run_init] DEBUG init version:0.0.0 force:False 17:09:44 2023-05-09 17:09:44,515 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:09:44 2023-05-09 17:09:44,515 [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:09:44 2023-05-09 17:09:44,515 [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:09:46 2023-05-09 17:09:45,600 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 17:09:46 2023-05-09 17:09:45,602 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 17:09:46 2023-05-09 17:09:45,602 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:09:46 2023-05-09 17:09:45,602 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:09:46 3.0.0-dev.31 [Pipeline] } 17:09:46 $ docker exec --env ******** --env ******** c702b7e872f8e434d5c1fc0cb8bc889da8a2be8dd209516d704ffafa5aa4c831 ssh-agent -k 17:09:46 unset SSH_AUTH_SOCK; 17:09:46 unset SSH_AGENT_PID; 17:09:46 echo Agent pid 75 killed; 17:09:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:46 + git semver [Pipeline] } 17:09:46 $ docker stop --time=1 c702b7e872f8e434d5c1fc0cb8bc889da8a2be8dd209516d704ffafa5aa4c831 17:09:48 $ docker rm -f --volumes c702b7e872f8e434d5c1fc0cb8bc889da8a2be8dd209516d704ffafa5aa4c831 [Pipeline] // withDockerContainer [Pipeline] sh 17:09:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:09:48 Stashed 1 file(s) [Pipeline] echo 17:09:48 [edgeXSemver]: initialized semver on version 3.0.0-dev.31 [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:09:48 provisioning config files... 17:09:48 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2318803809848560429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:49 ---> docker-login.sh 17:09:49 nexus3.edgexfoundry.org:10001 17:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:49 Configure a credential helper to remove this warning. See 17:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:49 17:09:49 Login Succeeded 17:09:49 nexus3.edgexfoundry.org:10002 17:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:49 Configure a credential helper to remove this warning. See 17:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:49 17:09:49 Login Succeeded 17:09:49 nexus3.edgexfoundry.org:10003 17:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:49 Configure a credential helper to remove this warning. See 17:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:49 17:09:49 Login Succeeded 17:09:49 nexus3.edgexfoundry.org:10004 17:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:49 Configure a credential helper to remove this warning. See 17:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:49 17:09:49 Login Succeeded 17:09:49 docker.io 17:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:49 Configure a credential helper to remove this warning. See 17:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:49 17:09:49 Login Succeeded 17:09:49 ---> docker-login.sh ends [Pipeline] } 17:09:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:49 ========================================================= 17:09:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:09:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:09:49 Sending build context to Docker daemon 12.64MB 17:09:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:09:49 Step 2/12 : FROM ${BASE} AS builder 17:09:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:09:49 f56be85fc22e: Pulling fs layer 17:09:49 85791d961cd3: Pulling fs layer 17:09:49 d694b5ae8c79: Pulling fs layer 17:09:49 9f32a84ed3da: Pulling fs layer 17:09:49 4d19c01a9841: Pulling fs layer 17:09:49 9325e15d5711: Pulling fs layer 17:09:49 556b6ee489ea: Pulling fs layer 17:09:49 c5a4b2cf53e6: Pulling fs layer 17:09:49 4d19c01a9841: Waiting 17:09:49 9f32a84ed3da: Waiting 17:09:49 9325e15d5711: Waiting 17:09:49 556b6ee489ea: Waiting 17:09:49 c5a4b2cf53e6: Waiting 17:09:50 85791d961cd3: Verifying Checksum 17:09:50 85791d961cd3: Download complete 17:09:50 9f32a84ed3da: Verifying Checksum 17:09:50 9f32a84ed3da: Download complete 17:09:50 4d19c01a9841: Verifying Checksum 17:09:50 4d19c01a9841: Download complete 17:09:50 f56be85fc22e: Download complete 17:09:50 9325e15d5711: Verifying Checksum 17:09:50 9325e15d5711: Download complete 17:09:50 f56be85fc22e: Pull complete 17:09:50 85791d961cd3: Pull complete 17:09:50 c5a4b2cf53e6: Verifying Checksum 17:09:50 c5a4b2cf53e6: Download complete 17:09:50 d694b5ae8c79: Verifying Checksum 17:09:50 d694b5ae8c79: Download complete 17:09:51 556b6ee489ea: Verifying Checksum 17:09:51 556b6ee489ea: Download complete 17:09:54 d694b5ae8c79: Pull complete 17:09:54 9f32a84ed3da: Pull complete 17:09:54 4d19c01a9841: Pull complete 17:09:54 9325e15d5711: Pull complete 17:09:57 556b6ee489ea: Pull complete 17:09:58 c5a4b2cf53e6: Pull complete 17:09:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:09:58 ---> c4be618373d6 17:09:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:10:01 ---> Running in 9a5e382e75ac 17:10:01 Removing intermediate container 9a5e382e75ac 17:10:01 ---> 6615b0da7ef5 17:10:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:10:01 ---> Running in 87a16ae55c3f 17:10:01 Removing intermediate container 87a16ae55c3f 17:10:01 ---> 35c3bc6567f6 17:10:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:10:01 ---> Running in 4e88cbcc77b7 17:10:01 Removing intermediate container 4e88cbcc77b7 17:10:01 ---> 67b15f0b2dbe 17:10:01 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:10:01 ---> Running in cf0c46dae4da 17:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:10:01 OK: 265 MiB in 53 packages 17:10:02 Removing intermediate container cf0c46dae4da 17:10:02 ---> 9862907b414d 17:10:02 Step 7/12 : WORKDIR /app 17:10:02 ---> Running in 3038c1df891d 17:10:02 Removing intermediate container 3038c1df891d 17:10:02 ---> 808fcb240944 17:10:02 Step 8/12 : COPY go.mod vendor* ./ 17:10:02 ---> cf5b73ae7519 17:10:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:10:02 ---> Running in 735d55d29d9d 17:10:03 Still waiting to schedule task 17:10:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14724’ is offline 17:10:28 Removing intermediate container 735d55d29d9d 17:10:28 ---> 0e7ce42aa825 17:10:28 Step 10/12 : COPY . . 17:10:28 ---> c67f366c165e 17:10:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:10:28 ---> Running in ad8c2f3259ec 17:10:28 Removing intermediate container ad8c2f3259ec 17:10:28 ---> 50ec0f22ae28 17:10:28 Step 12/12 : RUN $MAKE 17:10:28 ---> Running in 7fbfc6179cf3 17:10:28 noop 17:10:28 Removing intermediate container 7fbfc6179cf3 17:10:28 ---> 7324cdb683f4 17:10:28 Successfully built 7324cdb683f4 17:10:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:29 + docker inspect -f . ci-base-image-x86_64 17:10:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:29 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:10:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:10:29 $ docker top 7b379efbc3cea2f6f805cb625d311c477086ef963c37efa9bc1845d34e79c954 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:29 + go version 17:10:29 go version go1.20.2 linux/amd64 [Pipeline] } 17:10:29 $ docker stop --time=1 7b379efbc3cea2f6f805cb625d311c477086ef963c37efa9bc1845d34e79c954 17:10:31 $ docker rm -f --volumes 7b379efbc3cea2f6f805cb625d311c477086ef963c37efa9bc1845d34e79c954 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:31 + docker inspect -f . ci-base-image-x86_64 17:10:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:31 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:10:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:10:32 $ docker top fd28ed308181c135e4a2d64c668f6f4262be7fc41c7dd8651912e1b9d1f35fec -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:32 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 17:10:32 + make test 17:10:32 go test -race ./... -coverprofile=coverage.out ./... 17:10:54 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:10:54 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:10:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.155s coverage: 86.2% of statements 17:10:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.676s coverage: 71.9% of statements 17:11:16 go vet ./... 17:11:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:20 ./bin/test-attribution.sh 17:11:20 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 17:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:11:20 $ docker stop --time=1 fd28ed308181c135e4a2d64c668f6f4262be7fc41c7dd8651912e1b9d1f35fec 17:11:23 $ docker rm -f --volumes fd28ed308181c135e4a2d64c668f6f4262be7fc41c7dd8651912e1b9d1f35fec [Pipeline] // withDockerContainer [Pipeline] sh 17:11:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:11:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:11:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:11:24 + ls -al . 17:11:24 total 228 17:11:24 drwxrwxr-x 11 jenkins jenkins 4096 May 9 17:10 . 17:11:24 drwxrwxr-x 4 jenkins jenkins 4096 May 9 17:09 .. 17:11:24 -rw-rw-r-- 1 jenkins jenkins 262 May 9 17:09 .dockerignore 17:11:24 drwxrwxr-x 8 jenkins jenkins 4096 May 9 17:09 .git 17:11:24 drwxrwxr-x 3 jenkins jenkins 4096 May 9 17:09 .github 17:11:24 -rw-rw-r-- 1 jenkins jenkins 788 May 9 17:09 .gitignore 17:11:24 -rw-rw-r-- 1 jenkins jenkins 41 May 9 17:09 .golangci.yml 17:11:24 drwxr-xr-x 3 jenkins jenkins 4096 May 9 17:09 .semver 17:11:24 -rw-rw-r-- 1 jenkins jenkins 9805 May 9 17:09 Attribution.txt 17:11:24 -rw-rw-r-- 1 jenkins jenkins 4331 May 9 17:09 CHANGELOG.md 17:11:24 -rw-rw-r-- 1 jenkins jenkins 1659 May 9 17:09 Dockerfile 17:11:24 -rw-rw-r-- 1 jenkins jenkins 677 May 9 17:09 GOVERNANCE.md 17:11:24 -rw-rw-r-- 1 jenkins jenkins 687 May 9 17:09 Jenkinsfile 17:11:24 -rw-rw-r-- 1 jenkins jenkins 11347 May 9 17:09 LICENSE 17:11:24 -rw-rw-r-- 1 jenkins jenkins 2497 May 9 17:09 Makefile 17:11:24 -rw-rw-r-- 1 jenkins jenkins 617 May 9 17:09 OWNERS.md 17:11:24 -rw-rw-r-- 1 jenkins jenkins 31001 May 9 17:09 README.md 17:11:24 -rw-rw-r-- 1 jenkins jenkins 12 May 9 17:09 VERSION 17:11:24 drwxrwxr-x 2 jenkins jenkins 4096 May 9 17:09 bin 17:11:24 -rw-r--r-- 1 jenkins jenkins 41317 May 9 17:10 coverage.out 17:11:24 -rw-rw-r-- 1 jenkins jenkins 3467 May 9 17:09 go.mod 17:11:24 -rw-rw-r-- 1 jenkins jenkins 31505 May 9 17:09 go.sum 17:11:24 drwxrwxr-x 2 jenkins jenkins 4096 May 9 17:09 images 17:11:24 drwxrwxr-x 4 jenkins jenkins 4096 May 9 17:09 internal 17:11:24 -rw-rw-r-- 1 jenkins jenkins 531 May 9 17:09 main.go 17:11:24 drwxrwxr-x 2 jenkins jenkins 4096 May 9 17:09 res 17:11:24 drwxrwxr-x 4 jenkins jenkins 4096 May 9 17:09 snap 17:11:24 drwxrwxr-x 3 jenkins jenkins 4096 May 9 17:09 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:24 + 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=cc44783049becc460a1729b066297a6387c816b5 --label arch=amd64 --label version=3.0.0-dev.31 . 17:11:24 Sending build context to Docker daemon 12.64MB 17:11:24 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 17:11:24 Step 2/29 : FROM ${BASE} AS builder 17:11:24 ---> 7324cdb683f4 17:11:24 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 17:11:25 ---> Running in 6622a471f245 17:11:25 Removing intermediate container 6622a471f245 17:11:25 ---> 02c78de4c20e 17:11:25 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 17:11:25 ---> Running in b91d51494f32 17:11:25 Removing intermediate container b91d51494f32 17:11:25 ---> b7519756d14e 17:11:25 Step 5/29 : ARG ADD_BUILD_TAGS="" 17:11:25 ---> Running in 43f292ce9d3e 17:11:25 Removing intermediate container 43f292ce9d3e 17:11:25 ---> 4e3a3eeca9b7 17:11:25 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:25 ---> Running in 3fc64cb1cbcd 17:11:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:11:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:11:25 OK: 265 MiB in 53 packages 17:11:26 Removing intermediate container 3fc64cb1cbcd 17:11:26 ---> cc79ead79c9e 17:11:26 Step 7/29 : WORKDIR /app 17:11:26 ---> Running in ed1e5aa4516a 17:11:26 Removing intermediate container ed1e5aa4516a 17:11:26 ---> 421e2bb97477 17:11:26 Step 8/29 : COPY go.mod vendor* ./ 17:11:26 ---> b0bd7ab383c9 17:11:26 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:26 ---> Running in 9624d01d18e1 17:11:27 Removing intermediate container 9624d01d18e1 17:11:27 ---> 244352993a88 17:11:27 Step 10/29 : COPY . . 17:11:27 ---> 7fc236f18a1e 17:11:27 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:11:27 ---> Running in fdb422934fd5 17:11:27 Removing intermediate container fdb422934fd5 17:11:27 ---> a7133d06556a 17:11:27 Step 12/29 : RUN $MAKE 17:11:27 ---> Running in 91eb4e279cb2 17:11:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.61 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.31 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.31" -trimpath -mod=readonly -o app-rfid-llrp-inventory 17:11:50 Removing intermediate container 91eb4e279cb2 17:11:50 ---> 6a82a084f18f 17:11:50 Step 13/29 : FROM alpine:3.17 17:11:50 3.17: Pulling from library/alpine 17:11:50 f56be85fc22e: Already exists 17:11:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:11:50 Status: Downloaded newer image for alpine:3.17 17:11:50 ---> 9ed4aefc74f6 17:11:50 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:11:50 ---> Running in 8f4a61d9a8e2 17:11:50 Removing intermediate container 8f4a61d9a8e2 17:11:50 ---> 82b036a1121f 17:11:50 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:11:50 ---> Running in c543a2511781 17:11:50 Removing intermediate container c543a2511781 17:11:50 ---> 31e8cc593163 17:11:50 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 17:11:50 ---> Running in ed58b79de8e5 17:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:11:50 (1/2) Installing ca-certificates (20230506-r0) 17:11:50 (2/2) Installing dumb-init (1.2.5-r2) 17:11:50 Executing busybox-1.35.0-r29.trigger 17:11:50 Executing ca-certificates-20230506-r0.trigger 17:11:50 OK: 8 MiB in 17 packages 17:11:50 Removing intermediate container ed58b79de8e5 17:11:50 ---> e546fe7f2bf3 17:11:50 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:11:50 ---> 13b346c8711d 17:11:50 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 17:11:50 ---> 992a245643aa 17:11:50 Step 19/29 : COPY --from=builder /app/res/ /res/ 17:11:50 ---> f97ba6b4209c 17:11:50 Step 20/29 : COPY --from=builder /app/static/ /static/ 17:11:50 ---> 3671f32581c6 17:11:50 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:11:50 ---> 0fbc9e5e61c1 17:11:50 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:11:50 ---> Running in 2b5e947a38b7 17:11:50 Removing intermediate container 2b5e947a38b7 17:11:50 ---> 27520d935434 17:11:50 Step 23/29 : VOLUME /cache 17:11:50 ---> Running in b2abd7bf9922 17:11:50 Removing intermediate container b2abd7bf9922 17:11:50 ---> 22227656a6a6 17:11:50 Step 24/29 : EXPOSE 59711 17:11:50 ---> Running in d4cd7e51e28d 17:11:50 Removing intermediate container d4cd7e51e28d 17:11:50 ---> 9a58afd40a9f 17:11:50 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:11:50 ---> Running in 71933bb00a0b 17:11:51 Removing intermediate container 71933bb00a0b 17:11:51 ---> 848565356e8c 17:11:51 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 17:11:51 ---> Running in c7eae8d41c73 17:11:51 Removing intermediate container c7eae8d41c73 17:11:51 ---> 2ca624cdb428 17:11:51 Step 27/29 : LABEL arch=amd64 17:11:51 ---> Running in 98a90a2f7501 17:11:51 Removing intermediate container 98a90a2f7501 17:11:51 ---> 51d266bd4203 17:11:51 Step 28/29 : LABEL git_sha=cc44783049becc460a1729b066297a6387c816b5 17:11:51 ---> Running in 6af967c9f35a 17:11:51 Removing intermediate container 6af967c9f35a 17:11:51 ---> 4bab06e0fde6 17:11:51 Step 29/29 : LABEL version=3.0.0-dev.31 17:11:51 ---> Running in d87cd0783435 17:11:51 Removing intermediate container d87cd0783435 17:11:51 ---> d72d47446489 17:11:51 [Warning] One or more build-args [ARCH] were not consumed 17:11:51 Successfully built d72d47446489 17:11:51 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:11:51 provisioning config files... 17:11:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config18381360559080435845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:51 ---> docker-login.sh 17:11:51 nexus3.edgexfoundry.org:10001 17:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:51 Configure a credential helper to remove this warning. See 17:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:51 17:11:51 Login Succeeded 17:11:51 nexus3.edgexfoundry.org:10002 17:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:51 Configure a credential helper to remove this warning. See 17:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:51 17:11:51 Login Succeeded 17:11:51 nexus3.edgexfoundry.org:10003 17:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:52 Configure a credential helper to remove this warning. See 17:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:52 17:11:52 Login Succeeded 17:11:52 nexus3.edgexfoundry.org:10004 17:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:52 Configure a credential helper to remove this warning. See 17:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:52 17:11:52 Login Succeeded 17:11:52 docker.io 17:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:52 Configure a credential helper to remove this warning. See 17:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:52 17:11:52 Login Succeeded 17:11:52 ---> docker-login.sh ends [Pipeline] } 17:11:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:11:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:11:52 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 17:11:52 cc44783049becc460a1729b066297a6387c816b5 17:11:52 latest 17:11:52 3.0.0-dev.31 17:11:52 cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 17:11:52 main 17:11:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:53 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cc44783049becc460a1729b066297a6387c816b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:53 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cc44783049becc460a1729b066297a6387c816b5 17:11:53 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:11:53 709cec0bcca0: Preparing 17:11:53 e2029ff9ef0b: Preparing 17:11:53 59f1ab660d8e: Preparing 17:11:53 919a8e0ad1af: Preparing 17:11:53 c61a7ed33fde: Preparing 17:11:53 48cc2eb3bb5b: Preparing 17:11:53 297296d1ecb0: Preparing 17:11:53 f1417ff83b31: Preparing 17:11:53 48cc2eb3bb5b: Waiting 17:11:53 297296d1ecb0: Waiting 17:11:53 f1417ff83b31: Waiting 17:11:53 59f1ab660d8e: Pushed 17:11:53 709cec0bcca0: Pushed 17:11:53 c61a7ed33fde: Pushed 17:11:53 f1417ff83b31: Layer already exists 17:11:54 919a8e0ad1af: Pushed 17:11:54 48cc2eb3bb5b: Pushed 17:11:54 297296d1ecb0: Pushed 17:11:56 e2029ff9ef0b: Pushed 17:11:56 cc44783049becc460a1729b066297a6387c816b5: digest: sha256:2eef675e04a5dd6d4727b1c843650e12243cb9a414ee2c49ef63355deae44719 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:57 + 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:11:57 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:11:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:11:57 709cec0bcca0: Preparing 17:11:57 e2029ff9ef0b: Preparing 17:11:57 59f1ab660d8e: Preparing 17:11:57 919a8e0ad1af: Preparing 17:11:57 c61a7ed33fde: Preparing 17:11:57 48cc2eb3bb5b: Preparing 17:11:57 297296d1ecb0: Preparing 17:11:57 f1417ff83b31: Preparing 17:11:57 48cc2eb3bb5b: Waiting 17:11:57 297296d1ecb0: Waiting 17:11:57 f1417ff83b31: Waiting 17:11:57 e2029ff9ef0b: Layer already exists 17:11:57 c61a7ed33fde: Layer already exists 17:11:57 919a8e0ad1af: Layer already exists 17:11:57 59f1ab660d8e: Layer already exists 17:11:57 709cec0bcca0: Layer already exists 17:11:57 f1417ff83b31: Layer already exists 17:11:57 48cc2eb3bb5b: Layer already exists 17:11:57 297296d1ecb0: Layer already exists 17:11:57 latest: digest: sha256:2eef675e04a5dd6d4727b1c843650e12243cb9a414ee2c49ef63355deae44719 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:57 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:57 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.31 17:11:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:11:57 709cec0bcca0: Preparing 17:11:57 e2029ff9ef0b: Preparing 17:11:57 59f1ab660d8e: Preparing 17:11:57 919a8e0ad1af: Preparing 17:11:57 c61a7ed33fde: Preparing 17:11:57 48cc2eb3bb5b: Preparing 17:11:57 297296d1ecb0: Preparing 17:11:57 f1417ff83b31: Preparing 17:11:57 f1417ff83b31: Waiting 17:11:57 297296d1ecb0: Waiting 17:11:57 48cc2eb3bb5b: Waiting 17:11:57 c61a7ed33fde: Layer already exists 17:11:57 919a8e0ad1af: Layer already exists 17:11:57 59f1ab660d8e: Layer already exists 17:11:57 e2029ff9ef0b: Layer already exists 17:11:57 709cec0bcca0: Layer already exists 17:11:57 297296d1ecb0: Layer already exists 17:11:57 48cc2eb3bb5b: Layer already exists 17:11:57 f1417ff83b31: Layer already exists 17:11:57 3.0.0-dev.31: digest: sha256:2eef675e04a5dd6d4727b1c843650e12243cb9a414ee2c49ef63355deae44719 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:58 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:58 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 17:11:58 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:11:58 709cec0bcca0: Preparing 17:11:58 e2029ff9ef0b: Preparing 17:11:58 59f1ab660d8e: Preparing 17:11:58 919a8e0ad1af: Preparing 17:11:58 c61a7ed33fde: Preparing 17:11:58 48cc2eb3bb5b: Preparing 17:11:58 297296d1ecb0: Preparing 17:11:58 f1417ff83b31: Preparing 17:11:58 48cc2eb3bb5b: Waiting 17:11:58 f1417ff83b31: Waiting 17:11:58 297296d1ecb0: Waiting 17:11:58 709cec0bcca0: Layer already exists 17:11:58 c61a7ed33fde: Layer already exists 17:11:58 59f1ab660d8e: Layer already exists 17:11:58 e2029ff9ef0b: Layer already exists 17:11:58 919a8e0ad1af: Layer already exists 17:11:58 48cc2eb3bb5b: Layer already exists 17:11:58 f1417ff83b31: Layer already exists 17:11:58 297296d1ecb0: Layer already exists 17:11:58 cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31: digest: sha256:2eef675e04a5dd6d4727b1c843650e12243cb9a414ee2c49ef63355deae44719 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:58 + 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:11:59 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 17:11:59 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:11:59 709cec0bcca0: Preparing 17:11:59 e2029ff9ef0b: Preparing 17:11:59 59f1ab660d8e: Preparing 17:11:59 919a8e0ad1af: Preparing 17:11:59 c61a7ed33fde: Preparing 17:11:59 48cc2eb3bb5b: Preparing 17:11:59 297296d1ecb0: Preparing 17:11:59 f1417ff83b31: Preparing 17:11:59 48cc2eb3bb5b: Waiting 17:11:59 297296d1ecb0: Waiting 17:11:59 f1417ff83b31: Waiting 17:11:59 709cec0bcca0: Layer already exists 17:11:59 e2029ff9ef0b: Layer already exists 17:11:59 919a8e0ad1af: Layer already exists 17:11:59 59f1ab660d8e: Layer already exists 17:11:59 297296d1ecb0: Layer already exists 17:11:59 c61a7ed33fde: Layer already exists 17:11:59 48cc2eb3bb5b: Layer already exists 17:11:59 f1417ff83b31: Layer already exists 17:11:59 main: digest: sha256:2eef675e04a5dd6d4727b1c843650e12243cb9a414ee2c49ef63355deae44719 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:11:59 ===================================================== [Pipeline] echo 17:11:59 taggedImages: 17:11:59 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cc44783049becc460a1729b066297a6387c816b5 17:11:59 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:11:59 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.31 17:11:59 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 17:11:59 - 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:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:59 17:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:59 latest: Pulling from edgex-lftools-log-publisher 17:11:59 5eb5b503b376: Pulling fs layer 17:11:59 5c69ac0246d0: Pulling fs layer 17:11:59 ec43610c2a17: Pulling fs layer 17:11:59 3a2ae6a8a46f: Pulling fs layer 17:11:59 33b1e0a273af: Pulling fs layer 17:11:59 5d3b04190fa2: Pulling fs layer 17:11:59 3a2ae6a8a46f: Waiting 17:11:59 33b1e0a273af: Waiting 17:11:59 2f39f015ded8: Pulling fs layer 17:11:59 5d3b04190fa2: Waiting 17:11:59 2f39f015ded8: Waiting 17:11:59 5c69ac0246d0: Verifying Checksum 17:11:59 5c69ac0246d0: Download complete 17:11:59 3a2ae6a8a46f: Verifying Checksum 17:11:59 3a2ae6a8a46f: Download complete 17:12:00 ec43610c2a17: Verifying Checksum 17:12:00 ec43610c2a17: Download complete 17:12:00 33b1e0a273af: Verifying Checksum 17:12:00 33b1e0a273af: Download complete 17:12:00 5d3b04190fa2: Verifying Checksum 17:12:00 5d3b04190fa2: Download complete 17:12:00 5eb5b503b376: Verifying Checksum 17:12:00 5eb5b503b376: Download complete 17:12:01 2f39f015ded8: Download complete 17:12:01 5eb5b503b376: Pull complete 17:12:01 5c69ac0246d0: Pull complete 17:12:01 ec43610c2a17: Pull complete 17:12:02 3a2ae6a8a46f: Pull complete 17:12:02 33b1e0a273af: Pull complete 17:12:02 5d3b04190fa2: Pull complete 17:12:07 2f39f015ded8: Pull complete 17:12:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:12:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:07 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:12:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:12:11 $ docker top 68e4c9d3438f9341d7958b41fe6b9fff47ec49d0c240648b1b4a9c5cec6f080f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:11 ---> job-cost.sh 17:12:11 lf-activate-venv: SKIPPING 17:12:11 INFO: No Stack... 17:12:12 INFO: Retrieving Pricing Info for: v3-standard-8 17:12:12 INFO: Archiving Costs [Pipeline] sh 17:12:12 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 17:12:12 + cut -d, -f6 [Pipeline] lock 17:12:12 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] 17:12:12 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] did not exist. Created. 17:12:12 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:12:13 + echo total: 0.2199999988079071 [Pipeline] stash 17:12:13 Stashed 1 file(s) [Pipeline] } 17:12:13 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 17:12:13 $ docker stop --time=1 68e4c9d3438f9341d7958b41fe6b9fff47ec49d0c240648b1b4a9c5cec6f080f 17:12:14 $ docker rm -f --volumes 68e4c9d3438f9341d7958b41fe6b9fff47ec49d0c240648b1b4a9c5cec6f080f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:12:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14731 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 17:12:32 Running in /w/workspace/app-rfid-llrp-inventory/100 [Pipeline] { [Pipeline] checkout 17:12:32 The recommended git tool is: git 17:12:39 using credential edgex-jenkins-ssh 17:12:39 Cloning the remote Git repository 17:12:39 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:12:39 > git init /w/workspace/app-rfid-llrp-inventory/100 # timeout=10 17:12:39 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:12:39 > git --version # timeout=10 17:12:39 > git --version # 'git version 2.25.1' 17:12:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:42 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:12:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:43 Avoid second fetch 17:12:43 Checking out Revision cc44783049becc460a1729b066297a6387c816b5 (main) 17:12:43 Commit message: "refactor: Consume MakeItRun rename to Run (#188)" 17:12:43 > git config core.sparsecheckout # timeout=10 17:12:43 > git checkout -f cc44783049becc460a1729b066297a6387c816b5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:12:44 % Total % Received % Xferd Average Speed Time Time Time Current 17:12:44 Dload Upload Total Spent Left Speed 17:12:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 17:12:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:12:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:12:45 + sudo tee /etc/docker/daemon.new 17:12:45 { 17:12:45 "registry-mirrors": [ 17:12:45 "https://nexus3.edgexfoundry.org:10001" 17:12:45 ], 17:12:45 "bip": "10.250.0.254/24", 17:12:45 "hosts": [ 17:12:45 "tcp://0.0.0.0:5555", 17:12:45 "unix:///var/run/docker.sock" 17:12:45 ], 17:12:45 "mtu": 1458, 17:12:45 "selinux-enabled": true, 17:12:45 "seccomp-profile": "/etc/docker/seccomp.json" 17:12:45 } [Pipeline] sh 17:12:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:12:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:13:04 provisioning config files... 17:13:04 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/100@tmp/config15485099021776573592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:05 ---> docker-login.sh 17:13:05 nexus3.edgexfoundry.org:10001 17:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:05 Configure a credential helper to remove this warning. See 17:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:05 17:13:05 Login Succeeded 17:13:05 nexus3.edgexfoundry.org:10002 17:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:06 Configure a credential helper to remove this warning. See 17:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:06 17:13:06 Login Succeeded 17:13:06 nexus3.edgexfoundry.org:10003 17:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:06 Configure a credential helper to remove this warning. See 17:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:06 17:13:06 Login Succeeded 17:13:06 nexus3.edgexfoundry.org:10004 17:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:06 Configure a credential helper to remove this warning. See 17:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:06 17:13:06 Login Succeeded 17:13:06 docker.io 17:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:07 Configure a credential helper to remove this warning. See 17:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:07 17:13:07 Login Succeeded 17:13:07 ---> docker-login.sh ends [Pipeline] } 17:13:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:07 ========================================================= 17:13:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:13:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:13:08 Sending build context to Docker daemon 678.4kB 17:13:08 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:13:08 Step 2/12 : FROM ${BASE} AS builder 17:13:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:13:08 c41833b44d91: Pulling fs layer 17:13:08 ed15518f5707: Pulling fs layer 17:13:08 feae8fd75edb: Pulling fs layer 17:13:08 242c74f7c9fa: Pulling fs layer 17:13:08 3cdef696dda3: Pulling fs layer 17:13:08 2ced38df9373: Pulling fs layer 17:13:08 58f1dce35555: Pulling fs layer 17:13:08 2ced38df9373: Waiting 17:13:08 58f1dce35555: Waiting 17:13:08 242c74f7c9fa: Waiting 17:13:08 3cdef696dda3: Waiting 17:13:08 ed15518f5707: Verifying Checksum 17:13:08 ed15518f5707: Download complete 17:13:08 242c74f7c9fa: Verifying Checksum 17:13:08 242c74f7c9fa: Download complete 17:13:08 3cdef696dda3: Verifying Checksum 17:13:08 3cdef696dda3: Download complete 17:13:08 c41833b44d91: Verifying Checksum 17:13:08 c41833b44d91: Download complete 17:13:09 c41833b44d91: Pull complete 17:13:10 58f1dce35555: Verifying Checksum 17:13:10 58f1dce35555: Download complete 17:13:10 ed15518f5707: Pull complete 17:13:11 feae8fd75edb: Download complete 17:13:11 2ced38df9373: Verifying Checksum 17:13:11 2ced38df9373: Download complete 17:13:24 feae8fd75edb: Pull complete 17:13:24 242c74f7c9fa: Pull complete 17:13:24 3cdef696dda3: Pull complete 17:13:30 2ced38df9373: Pull complete 17:13:32 58f1dce35555: Pull complete 17:13:32 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:13:32 ---> fadd8f120f05 17:13:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:13:34 ---> Running in 855c97192b7e 17:13:34 Removing intermediate container 855c97192b7e 17:13:34 ---> ef5c556bae2a 17:13:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:13:34 ---> Running in 947fac641117 17:13:35 Removing intermediate container 947fac641117 17:13:35 ---> 2579b6352a8a 17:13:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:13:35 ---> Running in c907d17376c7 17:13:35 Removing intermediate container c907d17376c7 17:13:35 ---> 191fe8338f82 17:13:35 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:13:35 ---> Running in 30415e72f8c4 17:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:13:38 OK: 263 MiB in 53 packages 17:13:39 Removing intermediate container 30415e72f8c4 17:13:39 ---> 2757b2d52a01 17:13:39 Step 7/12 : WORKDIR /app 17:13:39 ---> Running in f847a856f7b5 17:13:40 Removing intermediate container f847a856f7b5 17:13:40 ---> d07793dcfeac 17:13:40 Step 8/12 : COPY go.mod vendor* ./ 17:13:40 ---> de47d985adf4 17:13:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:40 ---> Running in d3b72a714aff 17:14:48 Removing intermediate container d3b72a714aff 17:14:48 ---> c21fafd8063f 17:14:48 Step 10/12 : COPY . . 17:14:48 ---> 80962e686699 17:14:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:14:48 ---> Running in 0ce9dd4d31ea 17:14:48 Removing intermediate container 0ce9dd4d31ea 17:14:48 ---> 8e88dca52a7f 17:14:48 Step 12/12 : RUN $MAKE 17:14:48 ---> Running in 2500ecd6b973 17:14:48 noop 17:14:48 Removing intermediate container 2500ecd6b973 17:14:48 ---> 0ae5739c6481 17:14:48 Successfully built 0ae5739c6481 17:14:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:49 + docker inspect -f . ci-base-image-arm64 17:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:49 prd-ubuntu20.04-docker-arm64-4c-16g-14731 does not seem to be running inside a container 17:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/100 -v /w/workspace/app-rfid-llrp-inventory/100:/w/workspace/app-rfid-llrp-inventory/100:rw,z -v /w/workspace/app-rfid-llrp-inventory/100@tmp:/w/workspace/app-rfid-llrp-inventory/100@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:14:50 $ docker top 2ce45a736898fd08201a1a936c416ce6c05d2a8655010c111ee27031571da63f -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:51 + go version 17:14:51 go version go1.20.2 linux/arm64 [Pipeline] } 17:14:51 $ docker stop --time=1 2ce45a736898fd08201a1a936c416ce6c05d2a8655010c111ee27031571da63f 17:14:53 $ docker rm -f --volumes 2ce45a736898fd08201a1a936c416ce6c05d2a8655010c111ee27031571da63f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:53 + docker inspect -f . ci-base-image-arm64 17:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:54 prd-ubuntu20.04-docker-arm64-4c-16g-14731 does not seem to be running inside a container 17:14:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/100 -v /w/workspace/app-rfid-llrp-inventory/100:/w/workspace/app-rfid-llrp-inventory/100:rw,z -v /w/workspace/app-rfid-llrp-inventory/100@tmp:/w/workspace/app-rfid-llrp-inventory/100@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:14:55 $ docker top 6d7f4033acf12939468bdc1a9033808eb7e4c05ba763dabf769a4e3598345df9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:56 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/100 [Pipeline] fileExists [Pipeline] sh 17:14:57 + make test 17:14:57 go test -race ./... -coverprofile=coverage.out ./... 17:18:03 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:18:08 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:18:09 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.300s coverage: 86.2% of statements 17:18:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.690s coverage: 71.9% of statements 17:18:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:18:21 go vet ./... 17:20:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:20:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:20:58 ./bin/test-attribution.sh 17:20:58 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 17:20:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:20:59 $ docker stop --time=1 6d7f4033acf12939468bdc1a9033808eb7e4c05ba763dabf769a4e3598345df9 17:21:00 $ docker rm -f --volumes 6d7f4033acf12939468bdc1a9033808eb7e4c05ba763dabf769a4e3598345df9 [Pipeline] // withDockerContainer [Pipeline] sh 17:21:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:21:02 Warning: overwriting stash ‘coverage-report’ 17:21:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:21:03 + ls -al . 17:21:03 total 224 17:21:03 drwxrwxr-x 10 jenkins jenkins 4096 May 9 17:15 . 17:21:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 17:12 .. 17:21:03 -rw-rw-r-- 1 jenkins jenkins 262 May 9 17:12 .dockerignore 17:21:03 drwxrwxr-x 8 jenkins jenkins 4096 May 9 17:12 .git 17:21:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 17:12 .github 17:21:03 -rw-rw-r-- 1 jenkins jenkins 788 May 9 17:12 .gitignore 17:21:03 -rw-rw-r-- 1 jenkins jenkins 41 May 9 17:12 .golangci.yml 17:21:03 -rw-rw-r-- 1 jenkins jenkins 9805 May 9 17:12 Attribution.txt 17:21:03 -rw-rw-r-- 1 jenkins jenkins 4331 May 9 17:12 CHANGELOG.md 17:21:03 -rw-rw-r-- 1 jenkins jenkins 1659 May 9 17:12 Dockerfile 17:21:03 -rw-rw-r-- 1 jenkins jenkins 677 May 9 17:12 GOVERNANCE.md 17:21:03 -rw-rw-r-- 1 jenkins jenkins 687 May 9 17:12 Jenkinsfile 17:21:03 -rw-rw-r-- 1 jenkins jenkins 11347 May 9 17:12 LICENSE 17:21:03 -rw-rw-r-- 1 jenkins jenkins 2497 May 9 17:12 Makefile 17:21:03 -rw-rw-r-- 1 jenkins jenkins 617 May 9 17:12 OWNERS.md 17:21:03 -rw-rw-r-- 1 jenkins jenkins 31001 May 9 17:12 README.md 17:21:03 -rw-rw-r-- 1 jenkins jenkins 12 May 9 17:09 VERSION 17:21:03 drwxrwxr-x 2 jenkins jenkins 4096 May 9 17:12 bin 17:21:03 -rw-r--r-- 1 jenkins jenkins 41317 May 9 17:18 coverage.out 17:21:03 -rw-rw-r-- 1 jenkins jenkins 3467 May 9 17:12 go.mod 17:21:03 -rw-rw-r-- 1 jenkins jenkins 31505 May 9 17:12 go.sum 17:21:03 drwxrwxr-x 2 jenkins jenkins 4096 May 9 17:12 images 17:21:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 17:12 internal 17:21:03 -rw-rw-r-- 1 jenkins jenkins 531 May 9 17:12 main.go 17:21:03 drwxrwxr-x 2 jenkins jenkins 4096 May 9 17:12 res 17:21:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 17:12 snap 17:21:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 17:12 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:04 + 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=cc44783049becc460a1729b066297a6387c816b5 --label arch=arm64 --label version=3.0.0-dev.31 . 17:21:04 Sending build context to Docker daemon 678.4kB 17:21:04 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 17:21:04 Step 2/29 : FROM ${BASE} AS builder 17:21:04 ---> 0ae5739c6481 17:21:04 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 17:21:04 ---> Running in c55df999bf91 17:21:05 Removing intermediate container c55df999bf91 17:21:05 ---> 30f08964e41c 17:21:05 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 17:21:05 ---> Running in 856731709b4f 17:21:05 Removing intermediate container 856731709b4f 17:21:05 ---> 53ae4a60b2f9 17:21:05 Step 5/29 : ARG ADD_BUILD_TAGS="" 17:21:05 ---> Running in 577ac2409d50 17:21:05 Removing intermediate container 577ac2409d50 17:21:05 ---> 90c1940f66b1 17:21:05 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:21:05 ---> Running in 3681cc8b0690 17:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:21:08 OK: 263 MiB in 53 packages 17:21:09 Removing intermediate container 3681cc8b0690 17:21:09 ---> c1d744f72ffa 17:21:09 Step 7/29 : WORKDIR /app 17:21:09 ---> Running in 0a0ca93b4a39 17:21:09 Removing intermediate container 0a0ca93b4a39 17:21:09 ---> 53be7793392c 17:21:09 Step 8/29 : COPY go.mod vendor* ./ 17:21:11 ---> 5dd749916cf0 17:21:11 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:11 ---> Running in f213150b4d22 17:21:14 Removing intermediate container f213150b4d22 17:21:14 ---> b453fed53604 17:21:14 Step 10/29 : COPY . . 17:21:15 ---> cb8868e7535f 17:21:15 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:21:15 ---> Running in dc53e765b56e 17:21:15 Removing intermediate container dc53e765b56e 17:21:15 ---> 16d851de1400 17:21:15 Step 12/29 : RUN $MAKE 17:21:15 ---> Running in de72f4428f7a 17:21:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.61 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.31 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.31" -trimpath -mod=readonly -o app-rfid-llrp-inventory 17:23:38 Removing intermediate container de72f4428f7a 17:23:38 ---> 338d1ddba595 17:23:38 Step 13/29 : FROM alpine:3.17 17:23:38 3.17: Pulling from library/alpine 17:23:38 c41833b44d91: Already exists 17:23:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:23:38 Status: Downloaded newer image for alpine:3.17 17:23:38 ---> 51e60588ff2c 17:23:38 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:23:38 ---> Running in 273188e3fc44 17:23:38 Removing intermediate container 273188e3fc44 17:23:38 ---> 61b1cb11bd47 17:23:38 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:23:38 ---> Running in 062f7e82c763 17:23:38 Removing intermediate container 062f7e82c763 17:23:38 ---> 9dc5f57ad19f 17:23:38 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 17:23:38 ---> Running in 43890dacbef1 17:23:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:23:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:23:44 (1/2) Installing ca-certificates (20230506-r0) 17:23:44 (2/2) Installing dumb-init (1.2.5-r2) 17:23:44 Executing busybox-1.35.0-r29.trigger 17:23:44 Executing ca-certificates-20230506-r0.trigger 17:23:45 OK: 8 MiB in 17 packages 17:23:46 Removing intermediate container 43890dacbef1 17:23:46 ---> 427694081dc7 17:23:46 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:23:46 ---> 896920b0c471 17:23:46 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 17:23:47 ---> 068fbe449f5b 17:23:47 Step 19/29 : COPY --from=builder /app/res/ /res/ 17:23:47 ---> 905e2646b370 17:23:47 Step 20/29 : COPY --from=builder /app/static/ /static/ 17:23:48 ---> 6dd8eb4e99fa 17:23:48 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:23:49 ---> 1fbde8161517 17:23:49 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:23:49 ---> Running in 6905d28e17ba 17:23:51 Removing intermediate container 6905d28e17ba 17:23:51 ---> e3e88285a4bb 17:23:51 Step 23/29 : VOLUME /cache 17:23:51 ---> Running in 7f9ec4a373e9 17:23:51 Removing intermediate container 7f9ec4a373e9 17:23:51 ---> c8d0d95bb7a3 17:23:51 Step 24/29 : EXPOSE 59711 17:23:52 ---> Running in fd5b9b22810a 17:23:52 Removing intermediate container fd5b9b22810a 17:23:52 ---> eb23041828e5 17:23:52 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:23:52 ---> Running in 556f3750b51f 17:23:52 Removing intermediate container 556f3750b51f 17:23:52 ---> 3c37453b964e 17:23:52 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 17:23:52 ---> Running in 34804aeea9ea 17:23:53 Removing intermediate container 34804aeea9ea 17:23:53 ---> 22374f562fb2 17:23:53 Step 27/29 : LABEL arch=arm64 17:23:53 ---> Running in 6f7d410e73bb 17:23:53 Removing intermediate container 6f7d410e73bb 17:23:53 ---> 8ceb9010b768 17:23:53 Step 28/29 : LABEL git_sha=cc44783049becc460a1729b066297a6387c816b5 17:23:53 ---> Running in d8eaa3548b92 17:23:54 Removing intermediate container d8eaa3548b92 17:23:54 ---> 381d2de7de3d 17:23:54 Step 29/29 : LABEL version=3.0.0-dev.31 17:23:54 ---> Running in df8fc07ecf36 17:23:54 Removing intermediate container df8fc07ecf36 17:23:54 ---> 9e174ec94d68 17:23:54 [Warning] One or more build-args [ARCH] were not consumed 17:23:54 Successfully built 9e174ec94d68 17:23:54 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:23:54 provisioning config files... 17:23:54 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/100@tmp/config16251706512910178341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:54 ---> docker-login.sh 17:23:54 nexus3.edgexfoundry.org:10001 17:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:55 Configure a credential helper to remove this warning. See 17:23:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:55 17:23:55 Login Succeeded 17:23:55 nexus3.edgexfoundry.org:10002 17:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:55 Configure a credential helper to remove this warning. See 17:23:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:55 17:23:55 Login Succeeded 17:23:55 nexus3.edgexfoundry.org:10003 17:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:55 Configure a credential helper to remove this warning. See 17:23:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:55 17:23:55 Login Succeeded 17:23:55 nexus3.edgexfoundry.org:10004 17:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:56 Configure a credential helper to remove this warning. See 17:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:56 17:23:56 Login Succeeded 17:23:56 docker.io 17:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:57 Configure a credential helper to remove this warning. See 17:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:57 17:23:57 Login Succeeded 17:23:57 ---> docker-login.sh ends [Pipeline] } 17:23:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:23:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:57 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 17:23:57 cc44783049becc460a1729b066297a6387c816b5 17:23:57 latest 17:23:57 3.0.0-dev.31 17:23:57 cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 17:23:57 main 17:23:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:57 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cc44783049becc460a1729b066297a6387c816b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:57 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cc44783049becc460a1729b066297a6387c816b5 17:23:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:23:57 055fb962515b: Preparing 17:23:57 a7c30fb3b814: Preparing 17:23:57 b5c3a421c059: Preparing 17:23:57 2cd96cb66f39: Preparing 17:23:57 733d8b46c180: Preparing 17:23:57 dd15dbacde9f: Preparing 17:23:57 6c26d4f26012: Preparing 17:23:57 26cbea5cba74: Preparing 17:23:57 dd15dbacde9f: Waiting 17:23:57 26cbea5cba74: Waiting 17:23:57 6c26d4f26012: Waiting 17:23:58 055fb962515b: Pushed 17:23:58 b5c3a421c059: Pushed 17:23:58 733d8b46c180: Pushed 17:23:58 2cd96cb66f39: Pushed 17:23:58 26cbea5cba74: Layer already exists 17:23:58 dd15dbacde9f: Pushed 17:23:58 6c26d4f26012: Pushed 17:24:02 a7c30fb3b814: Pushed 17:24:02 cc44783049becc460a1729b066297a6387c816b5: digest: sha256:6434485510458f98838e8fa9b4e72df19efa3f29dd4bedd4bc52b54223daa537 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:03 + 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:24:03 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:24:03 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:24:03 055fb962515b: Preparing 17:24:03 a7c30fb3b814: Preparing 17:24:03 b5c3a421c059: Preparing 17:24:03 2cd96cb66f39: Preparing 17:24:03 733d8b46c180: Preparing 17:24:03 dd15dbacde9f: Preparing 17:24:03 6c26d4f26012: Preparing 17:24:03 26cbea5cba74: Preparing 17:24:03 dd15dbacde9f: Waiting 17:24:03 26cbea5cba74: Waiting 17:24:03 6c26d4f26012: Waiting 17:24:03 b5c3a421c059: Layer already exists 17:24:03 a7c30fb3b814: Layer already exists 17:24:03 2cd96cb66f39: Layer already exists 17:24:03 055fb962515b: Layer already exists 17:24:03 733d8b46c180: Layer already exists 17:24:03 26cbea5cba74: Layer already exists 17:24:03 6c26d4f26012: Layer already exists 17:24:03 dd15dbacde9f: Layer already exists 17:24:03 latest: digest: sha256:6434485510458f98838e8fa9b4e72df19efa3f29dd4bedd4bc52b54223daa537 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:04 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:04 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.31 17:24:04 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:24:04 055fb962515b: Preparing 17:24:04 a7c30fb3b814: Preparing 17:24:04 b5c3a421c059: Preparing 17:24:04 2cd96cb66f39: Preparing 17:24:04 733d8b46c180: Preparing 17:24:04 dd15dbacde9f: Preparing 17:24:04 6c26d4f26012: Preparing 17:24:04 26cbea5cba74: Preparing 17:24:04 dd15dbacde9f: Waiting 17:24:04 6c26d4f26012: Waiting 17:24:04 26cbea5cba74: Waiting 17:24:04 a7c30fb3b814: Layer already exists 17:24:04 b5c3a421c059: Layer already exists 17:24:04 733d8b46c180: Layer already exists 17:24:04 2cd96cb66f39: Layer already exists 17:24:04 055fb962515b: Layer already exists 17:24:04 6c26d4f26012: Layer already exists 17:24:04 dd15dbacde9f: Layer already exists 17:24:04 26cbea5cba74: Layer already exists 17:24:04 3.0.0-dev.31: digest: sha256:6434485510458f98838e8fa9b4e72df19efa3f29dd4bedd4bc52b54223daa537 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:05 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:05 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 17:24:05 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:24:05 055fb962515b: Preparing 17:24:05 a7c30fb3b814: Preparing 17:24:05 b5c3a421c059: Preparing 17:24:05 2cd96cb66f39: Preparing 17:24:05 733d8b46c180: Preparing 17:24:05 dd15dbacde9f: Preparing 17:24:05 6c26d4f26012: Preparing 17:24:05 26cbea5cba74: Preparing 17:24:05 dd15dbacde9f: Waiting 17:24:05 6c26d4f26012: Waiting 17:24:05 26cbea5cba74: Waiting 17:24:05 a7c30fb3b814: Layer already exists 17:24:05 733d8b46c180: Layer already exists 17:24:05 055fb962515b: Layer already exists 17:24:05 b5c3a421c059: Layer already exists 17:24:05 2cd96cb66f39: Layer already exists 17:24:05 26cbea5cba74: Layer already exists 17:24:05 dd15dbacde9f: Layer already exists 17:24:05 6c26d4f26012: Layer already exists 17:24:05 cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31: digest: sha256:6434485510458f98838e8fa9b4e72df19efa3f29dd4bedd4bc52b54223daa537 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:06 + 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:24:06 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 17:24:06 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:24:06 055fb962515b: Preparing 17:24:06 a7c30fb3b814: Preparing 17:24:06 b5c3a421c059: Preparing 17:24:06 2cd96cb66f39: Preparing 17:24:06 733d8b46c180: Preparing 17:24:06 dd15dbacde9f: Preparing 17:24:06 6c26d4f26012: Preparing 17:24:06 26cbea5cba74: Preparing 17:24:06 6c26d4f26012: Waiting 17:24:06 26cbea5cba74: Waiting 17:24:06 dd15dbacde9f: Waiting 17:24:06 055fb962515b: Layer already exists 17:24:06 b5c3a421c059: Layer already exists 17:24:06 a7c30fb3b814: Layer already exists 17:24:06 733d8b46c180: Layer already exists 17:24:06 dd15dbacde9f: Layer already exists 17:24:06 6c26d4f26012: Layer already exists 17:24:06 2cd96cb66f39: Layer already exists 17:24:06 26cbea5cba74: Layer already exists 17:24:06 main: digest: sha256:6434485510458f98838e8fa9b4e72df19efa3f29dd4bedd4bc52b54223daa537 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:24:06 ===================================================== [Pipeline] echo 17:24:06 taggedImages: 17:24:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cc44783049becc460a1729b066297a6387c816b5 17:24:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:24:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.31 17:24:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:cc44783049becc460a1729b066297a6387c816b5-3.0.0-dev.31 17:24:06 - 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:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:07 17:24:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:07 arm64: Pulling from edgex-lftools-log-publisher 17:24:07 8998bd30e6a1: Pulling fs layer 17:24:07 04944245beec: Pulling fs layer 17:24:07 699f458cf7ca: Pulling fs layer 17:24:07 765212b225bb: Pulling fs layer 17:24:07 f23df028b6ca: Pulling fs layer 17:24:07 d65c8cfc05b1: Pulling fs layer 17:24:07 2437ff75d9bd: Pulling fs layer 17:24:07 765212b225bb: Waiting 17:24:07 f23df028b6ca: Waiting 17:24:07 d65c8cfc05b1: Waiting 17:24:07 2437ff75d9bd: Waiting 17:24:07 04944245beec: Verifying Checksum 17:24:07 04944245beec: Download complete 17:24:07 765212b225bb: Verifying Checksum 17:24:07 765212b225bb: Download complete 17:24:07 f23df028b6ca: Verifying Checksum 17:24:07 f23df028b6ca: Download complete 17:24:07 d65c8cfc05b1: Verifying Checksum 17:24:07 d65c8cfc05b1: Download complete 17:24:08 699f458cf7ca: Verifying Checksum 17:24:08 699f458cf7ca: Download complete 17:24:08 8998bd30e6a1: Verifying Checksum 17:24:08 8998bd30e6a1: Download complete 17:24:11 2437ff75d9bd: Verifying Checksum 17:24:11 2437ff75d9bd: Download complete 17:24:12 8998bd30e6a1: Pull complete 17:24:13 04944245beec: Pull complete 17:24:14 699f458cf7ca: Pull complete 17:24:14 765212b225bb: Pull complete 17:24:15 f23df028b6ca: Pull complete 17:24:15 d65c8cfc05b1: Pull complete 17:24:29 2437ff75d9bd: Pull complete 17:24:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:24:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:29 prd-ubuntu20.04-docker-arm64-4c-16g-14731 does not seem to be running inside a container 17:24:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/100 -v /w/workspace/app-rfid-llrp-inventory/100:/w/workspace/app-rfid-llrp-inventory/100:rw,z -v /w/workspace/app-rfid-llrp-inventory/100@tmp:/w/workspace/app-rfid-llrp-inventory/100@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:24:32 $ docker top d4056086792358f60ad0cadc60ca79e92c3c7b18f350b6aa3cd4154d98303894 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:33 ---> job-cost.sh 17:24:33 lf-activate-venv: SKIPPING 17:24:33 INFO: No Stack... 17:24:34 INFO: Retrieving Pricing Info for: v3-standard-4 17:24:34 INFO: Archiving Costs [Pipeline] sh 17:24:35 + cat /w/workspace/app-rfid-llrp-inventory/100/archives/cost.csv 17:24:35 + cut -d, -f6 [Pipeline] lock 17:24:35 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] 17:24:35 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] did not exist. Created. 17:24:35 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:36 /w/workspace/app-rfid-llrp-inventory/100@tmp/durable-20c4b26c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:24:36 + echo total: 0.10999999940395355 [Pipeline] stash 17:24:36 Warning: overwriting stash ‘stack-cost’ 17:24:36 Stashed 1 file(s) [Pipeline] } 17:24:36 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:36 $ docker stop --time=1 d4056086792358f60ad0cadc60ca79e92c3c7b18f350b6aa3cd4154d98303894 17:24:38 $ docker rm -f --volumes d4056086792358f60ad0cadc60ca79e92c3c7b18f350b6aa3cd4154d98303894 [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:24:38 provisioning config files... 17:24:38 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4862532034537010056tmp [Pipeline] { [Pipeline] sh 17:24:39 + set +x 17:24:39 + + bashcurl -s -s -- https://codecov.io/bash 17:24:39 17:24:39 17:24:39 _____ _ 17:24:39 / ____| | | 17:24:39 | | ___ __| | ___ ___ _____ __ 17:24:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:24:39 | |___| (_) | (_| | __/ (_| (_) \ V / 17:24:39 \_____\___/ \__,_|\___|\___\___/ \_/ 17:24:39 Bash-1.0.6 17:24:39 17:24:39 17:24:39 ==> git version 2.25.1 found 17:24:39 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:24:39 Release-Date: 2020-01-08 17:24:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:24:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:24:39 ==> Jenkins CI detected. 17:24:39 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 17:24:39 project root: . 17:24:39 --> token set from env 17:24:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:24:39 ==> Running gcov in . (disable via -X gcov) 17:24:39 ==> Python coveragepy not found 17:24:39 ==> Searching for coverage reports in: 17:24:39 + . 17:24:39 -> Found 1 reports 17:24:39 ==> Detecting git/mercurial file structure 17:24:39 ==> Reading reports 17:24:39 + ./coverage.out bytes=41317 17:24:39 ==> Appending adjustments 17:24:39 https://docs.codecov.io/docs/fixing-reports 17:24:39 + Found adjustments 17:24:39 ==> Gzipping contents 17:24:39 12K /tmp/codecov.tPij45.gz 17:24:39 ==> Uploading reports 17:24:39 url: https://codecov.io 17:24:39 query: branch=main&commit=cc44783049becc460a1729b066297a6387c816b5&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:24:39 -> Pinging Codecov 17:24:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=main&commit=cc44783049becc460a1729b066297a6387c816b5&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:24:39 -> Uploading to 17:24:39 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/581DD39554BDF9B6E22D074273EAD858/cc44783049becc460a1729b066297a6387c816b5/f2a6eb1c-bbac-4611-bbbd-6fec0e00a79e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T172439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7029543dd1eabace26eb4c594e9351f98fda6e72999867628db138e6300636c0 17:24:39 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:39 Dload Upload Total Spent Left Speed 17:24:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11800 0 0 100 11800 0 60824 --:--:-- --:--:-- --:--:-- 60824 17:24:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/cc44783049becc460a1729b066297a6387c816b5 [Pipeline] } 17:24:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:24:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:24:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:40 17:24:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:24:40 df9b9388f04a: Pulling fs layer 17:24:40 52dc419b0ee2: Pulling fs layer 17:24:40 25bc292e5bac: Pulling fs layer 17:24:40 114826534d7a: Pulling fs layer 17:24:40 4657fd5d0bcf: Pulling fs layer 17:24:40 6ad1cebc031e: Pulling fs layer 17:24:40 8a3aa393b2d8: Pulling fs layer 17:24:40 4657fd5d0bcf: Waiting 17:24:40 6ad1cebc031e: Waiting 17:24:40 8a3aa393b2d8: Waiting 17:24:40 114826534d7a: Waiting 17:24:40 25bc292e5bac: Verifying Checksum 17:24:40 25bc292e5bac: Download complete 17:24:40 52dc419b0ee2: Verifying Checksum 17:24:40 52dc419b0ee2: Download complete 17:24:40 4657fd5d0bcf: Verifying Checksum 17:24:40 4657fd5d0bcf: Download complete 17:24:40 df9b9388f04a: Verifying Checksum 17:24:40 df9b9388f04a: Download complete 17:24:40 6ad1cebc031e: Verifying Checksum 17:24:40 6ad1cebc031e: Download complete 17:24:40 df9b9388f04a: Pull complete 17:24:41 52dc419b0ee2: Pull complete 17:24:41 25bc292e5bac: Pull complete 17:24:41 114826534d7a: Verifying Checksum 17:24:41 114826534d7a: Download complete 17:24:41 8a3aa393b2d8: Verifying Checksum 17:24:41 8a3aa393b2d8: Download complete 17:24:44 114826534d7a: Pull complete 17:24:44 4657fd5d0bcf: Pull complete 17:24:45 6ad1cebc031e: Pull complete 17:24:47 8a3aa393b2d8: Pull complete 17:24:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:24:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:47 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:24:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:24:50 $ docker top 3c393d085a3543e57e0d8386426fc0e4abe4dfdad84e761e4954293b8651b637 -eo pid,comm [Pipeline] { [Pipeline] echo 17:24:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 17:24:50 + set -o pipefail 17:24:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 17:24:57 17:24:57 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 17:24:57 17:24:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/e57d24a7-256c-4b01-abdb-f52e79f60883 17:24:57 17:24:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:24:57 17:24:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:24:57 17:24:57 17:24:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:24:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:24:57 More details here: https://snyk.co/ue1NS 17:24:57 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 17:24:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:24:57 $ docker stop --time=1 3c393d085a3543e57e0d8386426fc0e4abe4dfdad84e761e4954293b8651b637 17:25:01 $ docker rm -f --volumes 3c393d085a3543e57e0d8386426fc0e4abe4dfdad84e761e4954293b8651b637 [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:25:01 + git log --format=format:%s -1 cc44783049becc460a1729b066297a6387c816b5 [Pipeline] sh 17:25:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:02 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:25:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:03 $ docker top d6a5be72923eeeb2d157b3f1e711118ff87675ee76d0cc1fe84a1b22dd720e17 -eo pid,comm 17:25:03 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:25:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:03 [ssh-agent] Looking for ssh-agent implementation... 17:25:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:03 $ docker exec d6a5be72923eeeb2d157b3f1e711118ff87675ee76d0cc1fe84a1b22dd720e17 ssh-agent 17:25:03 SSH_AUTH_SOCK=/tmp/ssh-7VpaGSfeznm7/agent.33 17:25:03 SSH_AGENT_PID=39 17:25:03 Running ssh-add (command line suppressed) 17:25:03 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10029560065937221845.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10029560065937221845.key) 17:25:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:03 + git semver tag 17:25:04 2023-05-09 17:25:04,020 [run_tag] DEBUG tag force:False 17:25:04 2023-05-09 17:25:04,021 [check_head_tag] DEBUG check head tag 17:25:04 2023-05-09 17:25:04,022 [execute] INFO git cat-file --batch-check 17:25:04 2023-05-09 17:25:04,022 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:25:04 2023-05-09 17:25:04,025 [execute] INFO git cat-file --batch 17:25:04 2023-05-09 17:25:04,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:25:04 2023-05-09 17:25:04,044 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:25:04 2023-05-09 17:25:04,044 [execute] INFO git tag -a v3.0.0-dev.31 -m v3.0.0-dev.31 17:25:04 2023-05-09 17:25:04,044 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.31', '-m', 'v3.0.0-dev.31'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:25:04 2023-05-09 17:25:04,048 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:25:04 3.0.0-dev.31 [Pipeline] } 17:25:04 $ docker exec --env ******** --env ******** d6a5be72923eeeb2d157b3f1e711118ff87675ee76d0cc1fe84a1b22dd720e17 ssh-agent -k 17:25:04 unset SSH_AUTH_SOCK; 17:25:04 unset SSH_AGENT_PID; 17:25:04 echo Agent pid 39 killed; 17:25:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:04 + git semver [Pipeline] } 17:25:04 $ docker stop --time=1 d6a5be72923eeeb2d157b3f1e711118ff87675ee76d0cc1fe84a1b22dd720e17 17:25:06 $ docker rm -f --volumes d6a5be72923eeeb2d157b3f1e711118ff87675ee76d0cc1fe84a1b22dd720e17 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:06 17:25:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:06 0.23.1-centos7: Pulling from edgex-lftools 17:25:06 ab5ef0e58194: Pulling fs layer 17:25:06 9712f1f96733: Pulling fs layer 17:25:06 63f879dbbcfc: Pulling fs layer 17:25:06 0d9ebad4ef96: Pulling fs layer 17:25:06 e9a5061849ea: Pulling fs layer 17:25:06 d747dcd14b5f: Pulling fs layer 17:25:06 2de7ff778b66: Pulling fs layer 17:25:06 e9a5061849ea: Waiting 17:25:06 2de7ff778b66: Waiting 17:25:06 d747dcd14b5f: Waiting 17:25:06 9712f1f96733: Verifying Checksum 17:25:06 9712f1f96733: Download complete 17:25:07 63f879dbbcfc: Verifying Checksum 17:25:07 63f879dbbcfc: Download complete 17:25:07 ab5ef0e58194: Verifying Checksum 17:25:07 ab5ef0e58194: Download complete 17:25:07 e9a5061849ea: Verifying Checksum 17:25:07 e9a5061849ea: Download complete 17:25:07 0d9ebad4ef96: Verifying Checksum 17:25:07 0d9ebad4ef96: Download complete 17:25:07 d747dcd14b5f: Verifying Checksum 17:25:07 d747dcd14b5f: Download complete 17:25:07 2de7ff778b66: Verifying Checksum 17:25:07 2de7ff778b66: Download complete 17:25:10 ab5ef0e58194: Pull complete 17:25:10 9712f1f96733: Pull complete 17:25:10 63f879dbbcfc: Pull complete 17:25:13 0d9ebad4ef96: Pull complete 17:25:14 e9a5061849ea: Pull complete 17:25:14 d747dcd14b5f: Pull complete 17:25:15 2de7ff778b66: Pull complete 17:25:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:15 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:25:19 $ docker top 632ae9b81fa217e02f11450bb5c6bce06b7d7e21ba825837a96936032d0f38d5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:25:19 provisioning config files... 17:25:19 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7631783540067982710tmp 17:25:19 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config17592183869720867324tmp 17:25:19 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11898132312013161729tmp [Pipeline] { [Pipeline] echo 17:25:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:25:19 ---> sigul-configuration.sh 17:25:19 gpg: directory `/root/.gnupg' created 17:25:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:25:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:25:19 gpg: keyring `/root/.gnupg/secring.gpg' created 17:25:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:25:19 gpg: CAST5 encrypted data 17:25:19 gpg: encrypted with 1 passphrase 17:25:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:25:20 + mkdir /home/jenkins 17:25:20 + mkdir /home/jenkins/sigul [Pipeline] sh 17:25:20 + 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:25:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:25:20 ---> sigul-install.sh 17:25:20 Sigul already installed; skipping installation. [Pipeline] sh 17:25:20 + git tag --list 17:25:20 v0.0.0 17:25:20 v1.0.0 17:25:20 v2.1.0 17:25:20 v2.1.1 17:25:20 v2.1.1-dev.1 17:25:20 v2.2.0 17:25:20 v2.2.1-dev.1 17:25:20 v2.2.1-dev.2 17:25:20 v2.2.1-dev.3 17:25:20 v2.2.1-dev.4 17:25:20 v2.2.1-dev.5 17:25:20 v2.2.1-dev.6 17:25:20 v2.2.1-dev.7 17:25:20 v2.3.0 17:25:20 v2.3.0-dev.10 17:25:20 v2.3.0-dev.11 17:25:20 v2.3.0-dev.12 17:25:20 v2.3.0-dev.13 17:25:20 v2.3.0-dev.14 17:25:20 v2.3.0-dev.15 17:25:20 v2.3.0-dev.16 17:25:20 v2.3.0-dev.17 17:25:20 v2.3.0-dev.18 17:25:20 v2.3.0-dev.19 17:25:20 v2.3.0-dev.20 17:25:20 v2.3.0-dev.21 17:25:20 v2.3.0-dev.22 17:25:20 v2.3.0-dev.23 17:25:20 v2.3.0-dev.24 17:25:20 v2.3.0-dev.25 17:25:20 v2.3.0-dev.26 17:25:20 v2.3.0-dev.9 17:25:20 v2.3.1-dev.1 17:25:20 v3.0.0-dev.1 17:25:20 v3.0.0-dev.10 17:25:20 v3.0.0-dev.11 17:25:20 v3.0.0-dev.12 17:25:20 v3.0.0-dev.13 17:25:20 v3.0.0-dev.14 17:25:20 v3.0.0-dev.15 17:25:20 v3.0.0-dev.16 17:25:20 v3.0.0-dev.17 17:25:20 v3.0.0-dev.18 17:25:20 v3.0.0-dev.19 17:25:20 v3.0.0-dev.2 17:25:20 v3.0.0-dev.20 17:25:20 v3.0.0-dev.21 17:25:20 v3.0.0-dev.22 17:25:20 v3.0.0-dev.23 17:25:20 v3.0.0-dev.24 17:25:20 v3.0.0-dev.25 17:25:20 v3.0.0-dev.26 17:25:20 v3.0.0-dev.27 17:25:20 v3.0.0-dev.28 17:25:20 v3.0.0-dev.29 17:25:20 v3.0.0-dev.3 17:25:20 v3.0.0-dev.30 17:25:20 v3.0.0-dev.31 17:25:20 v3.0.0-dev.4 17:25:20 v3.0.0-dev.5 17:25:20 v3.0.0-dev.6 17:25:20 v3.0.0-dev.7 17:25:20 v3.0.0-dev.8 17:25:20 v3.0.0-dev.9 [Pipeline] sh 17:25:21 + lftools sign git-tag v3.0.0-dev.31 17:25:21 Signing Git tag with Sigul... 17:25:21 Signing v3.0.0-dev.31 [Pipeline] echo 17:25:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:25:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:25:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:25:22 $ docker stop --time=1 632ae9b81fa217e02f11450bb5c6bce06b7d7e21ba825837a96936032d0f38d5 17:25:23 $ docker rm -f --volumes 632ae9b81fa217e02f11450bb5c6bce06b7d7e21ba825837a96936032d0f38d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:25:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:24 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:25:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:24 $ docker top ee9e699deab10741e2b2d3ed64d7d7b11f406bccde1aefb79b0a58f6769f9078 -eo pid,comm 17:25:24 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:25:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:24 [ssh-agent] Looking for ssh-agent implementation... 17:25:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:25 $ docker exec ee9e699deab10741e2b2d3ed64d7d7b11f406bccde1aefb79b0a58f6769f9078 ssh-agent 17:25:25 SSH_AUTH_SOCK=/tmp/ssh-lmNPtaAGrYRW/agent.33 17:25:25 SSH_AGENT_PID=39 17:25:25 Running ssh-add (command line suppressed) 17:25:25 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4989219260871518073.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4989219260871518073.key) 17:25:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:25 + git semver bump pre 17:25:25 2023-05-09 17:25:25,687 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:25:25 2023-05-09 17:25:25,687 [bump_version] DEBUG bumping version:3.0.0-dev.31 on axis:pre with prefix:dev 17:25:25 2023-05-09 17:25:25,688 [bump_version] DEBUG bumped version:3.0.0-dev.32 17:25:25 2023-05-09 17:25:25,688 [write_version] DEBUG write version:3.0.0-dev.32 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 17:25:25 2023-05-09 17:25:25,688 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:25:25 2023-05-09 17:25:25,688 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:25:25 2023-05-09 17:25:25,690 [execute] INFO git cat-file --batch-check 17:25:25 2023-05-09 17:25:25,690 [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:25:25 2023-05-09 17:25:25,696 [execute] INFO git cat-file --batch 17:25:25 2023-05-09 17:25:25,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:25 2023-05-09 17:25:25,701 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:25:25 3.0.0-dev.32 [Pipeline] } 17:25:25 $ docker exec --env ******** --env ******** ee9e699deab10741e2b2d3ed64d7d7b11f406bccde1aefb79b0a58f6769f9078 ssh-agent -k 17:25:25 unset SSH_AUTH_SOCK; 17:25:25 unset SSH_AGENT_PID; 17:25:25 echo Agent pid 39 killed; 17:25:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:26 + git semver [Pipeline] } 17:25:26 $ docker stop --time=1 ee9e699deab10741e2b2d3ed64d7d7b11f406bccde1aefb79b0a58f6769f9078 17:25:27 $ docker rm -f --volumes ee9e699deab10741e2b2d3ed64d7d7b11f406bccde1aefb79b0a58f6769f9078 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:28 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:25:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:28 $ docker top b2ba41444fddb3576082bf1f1de92bdb816c0268879ee43c7be17042aee73a5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:28 [ssh-agent] Looking for ssh-agent implementation... 17:25:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:29 $ docker exec b2ba41444fddb3576082bf1f1de92bdb816c0268879ee43c7be17042aee73a5f ssh-agent 17:25:29 SSH_AUTH_SOCK=/tmp/ssh-JkaCtnD8qY10/agent.31 17:25:29 SSH_AGENT_PID=38 17:25:29 Running ssh-add (command line suppressed) 17:25:29 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_859692127424818318.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_859692127424818318.key) 17:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:29 + git semver push 17:25:29 2023-05-09 17:25:29,790 [run_push] DEBUG push 17:25:29 2023-05-09 17:25:29,791 [execute] INFO git cat-file --batch-check 17:25:29 2023-05-09 17:25:29,791 [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:25:29 2023-05-09 17:25:29,795 [execute] INFO git rev-list 44e9d1dfc98dcc07ed2c417d5121724d8762362b -- 17:25:29 2023-05-09 17:25:29,795 [execute] DEBUG Popen(['git', 'rev-list', '44e9d1dfc98dcc07ed2c417d5121724d8762362b', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:25:29 2023-05-09 17:25:29,802 [execute] INFO git fetch -v origin 17:25:29 2023-05-09 17:25:29,802 [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:25:30 2023-05-09 17:25:30,363 [run_push] DEBUG no remote changes detected 17:25:30 2023-05-09 17:25:30,364 [execute] INFO git push origin semver 17:25:30 2023-05-09 17:25:30,364 [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:25:31 2023-05-09 17:25:31,167 [run_push] DEBUG push all version tags 17:25:31 2023-05-09 17:25:31,167 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:25:31 2023-05-09 17:25:31,168 [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:25:31 2023-05-09 17:25:31,858 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:25:31 3.0.0-dev.32 [Pipeline] } 17:25:32 $ docker exec --env ******** --env ******** b2ba41444fddb3576082bf1f1de92bdb816c0268879ee43c7be17042aee73a5f ssh-agent -k 17:25:32 unset SSH_AUTH_SOCK; 17:25:32 unset SSH_AGENT_PID; 17:25:32 echo Agent pid 38 killed; 17:25:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:32 + git semver [Pipeline] } 17:25:32 $ docker stop --time=1 b2ba41444fddb3576082bf1f1de92bdb816c0268879ee43c7be17042aee73a5f 17:25:34 $ docker rm -f --volumes b2ba41444fddb3576082bf1f1de92bdb816c0268879ee43c7be17042aee73a5f [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:25:34 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 17:25:34 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:25:34 total 16 17:25:34 drwxr-xr-x 3 root root 4096 May 9 17:12 . 17:25:34 drwxrwxr-x 12 jenkins jenkins 4096 May 9 17:25 .. 17:25:34 drwxr-xr-x 2 root root 4096 May 9 17:12 cost 17:25:34 -rw-r--r-- 1 root root 95 May 9 17:12 cost.csv 17:25:34 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:25:34 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:25:34 total 16 17:25:34 drwxr-xr-x 3 jenkins jenkins 4096 May 9 17:12 . 17:25:34 drwxrwxr-x 12 jenkins jenkins 4096 May 9 17:25 .. 17:25:34 drwxr-xr-x 2 jenkins jenkins 4096 May 9 17:12 cost 17:25:34 -rw-r--r-- 1 jenkins jenkins 95 May 9 17:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:25:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:25:35 ---> package-listing.sh 17:25:35 ++ facter osfamily 17:25:35 ++ tr '[:upper:]' '[:lower:]' 17:25:36 + OS_FAMILY=debian 17:25:36 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 17:25:36 + START_PACKAGES=/tmp/packages_start.txt 17:25:36 + END_PACKAGES=/tmp/packages_end.txt 17:25:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:25:36 + PACKAGES=/tmp/packages_start.txt 17:25:36 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:25:36 + PACKAGES=/tmp/packages_end.txt 17:25:36 + case "${OS_FAMILY}" in 17:25:36 + dpkg -l 17:25:36 + grep '^ii' 17:25:36 + '[' -f /tmp/packages_start.txt ']' 17:25:36 + '[' -f /tmp/packages_end.txt ']' 17:25:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:25:36 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:25:36 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 17:25:36 + 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:25:36 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:25:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:36 prd-ubuntu20.04-docker-8c-8g-14727 does not seem to be running inside a container 17:25:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:25:37 $ docker top 1c6a853a372aafcfa516b6976f42a0f3b13e274e492c598edc46927f0b968654 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:37 + touch /tmp/pre-build-complete [Pipeline] sh 17:25:37 + mkdir -p /var/log/sysstat [Pipeline] sh 17:25:38 + ls /var/log/sa-host 17:25:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:38 provisioning config files... 17:25:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9300231220159181586tmp [Pipeline] { [Pipeline] echo 17:25:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:25:38 ---> create-netrc.sh [Pipeline] } 17:25:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:25:38 ---> python-tools-install.sh [Pipeline] echo 17:25:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:25:39 ---> sudo-logs.sh 17:25:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:25:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:25:39 ---> job-cost.sh 17:25:39 lf-activate-venv: SKIPPING 17:25:39 DEBUG: total: 0.2199999988079071 17:25:39 INFO: Retrieving Stack Cost... 17:25:39 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:40 INFO: Archiving Costs [Pipeline] echo 17:25:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:25:40 ---> logs-deploy.sh 17:25:40 lf-activate-venv: SKIPPING 17:25:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/100 17:25:40 INFO: archiving workspace using pattern(s): 17:25:41 Archives upload complete. 17:25:41 INFO: archiving logs to Nexus