Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 968f145a810f9e00874ff3fecb3e80d4017ec20e 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-ssh6242294000512866673.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13253932070007109266.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3158306481962386662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh3614232541475637749.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-ssh15190473920844869273.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9966’ Running on prd-ubuntu20.04-docker-8c-8g-9969 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 > 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 Avoid second fetch Checking out Revision 968f145a810f9e00874ff3fecb3e80d4017ec20e (main) Commit message: "refactor: Go 1.20 gofmt (#157)" > git config core.sparsecheckout # timeout=10 > git checkout -f 968f145a810f9e00874ff3fecb3e80d4017ec20e # timeout=10 > git rev-list --no-walk e25ffe9917097e8b9f7f0197311f59fde251de5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:14:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:14:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:14:10 ========================================================= 21:14:10 EdgeX Global Pipelines Version Info 21:14:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:14:10 ------------------- 21:14:10 stable info: 21:14:10 ------------------- 21:14:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:14:10 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:14:10 Message: update stable to v1.0.245 21:14:11 ------------------- 21:14:11 experimental info: 21:14:11 ------------------- 21:14:11 Commited By: **** collab-it+edgex@linuxfoundation.org 21:14:11 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:14:11 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:14:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:14:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:14:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:14:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:14:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] echo 21:14:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 968f145 [Pipeline] echo 21:14:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:12 provisioning config files... 21:14:12 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7580023450195526526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:12 ---> docker-login.sh 21:14:12 nexus3.edgexfoundry.org:10001 21:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:13 Configure a credential helper to remove this warning. See 21:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:13 21:14:13 Login Succeeded 21:14:13 nexus3.edgexfoundry.org:10002 21:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:13 Configure a credential helper to remove this warning. See 21:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:13 21:14:13 Login Succeeded 21:14:13 nexus3.edgexfoundry.org:10003 21:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:13 Configure a credential helper to remove this warning. See 21:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:13 21:14:13 Login Succeeded 21:14:13 nexus3.edgexfoundry.org:10004 21:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:13 Configure a credential helper to remove this warning. See 21:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:13 21:14:13 Login Succeeded 21:14:13 docker.io 21:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:13 Configure a credential helper to remove this warning. See 21:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:13 21:14:13 Login Succeeded 21:14:13 ---> docker-login.sh ends [Pipeline] } 21:14:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:14:14 + git rev-list -1 --merges 968f145a810f9e00874ff3fecb3e80d4017ec20e~1..968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] echo 21:14:14 -----------> git rev-list -1 --merges 968f145a810f9e00874ff3fecb3e80d4017ec20e~1..968f145a810f9e00874ff3fecb3e80d4017ec20e 968f145a810f9e00874ff3fecb3e80d4017ec20e [false] [Pipeline] sh 21:14:14 + git log --format=format:%s -1 968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] echo 21:14:14 ========================================================= 21:14:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:14:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:14 + git log --format=format:%s -1 968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] echo 21:14:14 [semverPrep] GIT_COMMIT: 968f145a810f9e00874ff3fecb3e80d4017ec20e, Commit Message: refactor: Go 1.20 gofmt (#157) [Pipeline] echo 21:14:14 [semverPrep] This is not a build commit. [Pipeline] sh 21:14:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:14:15 + grep -v github /etc/ssh/ssh_known_hosts 21:14:15 + [ -e /tmp/ssh_known_hosts ] 21:14:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:14:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:14:15 + sudo tee -a /etc/ssh/ssh_known_hosts 21:14:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:15 21:14:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:15 0.1.4: Pulling from edgex-devops/py-git-semver 21:14:15 b85a868b505f: Pulling fs layer 21:14:15 e2be974225ed: Pulling fs layer 21:14:15 339a4e72a1f5: Pulling fs layer 21:14:15 988bab9f4d93: Pulling fs layer 21:14:15 1469e6f7b9e6: Pulling fs layer 21:14:15 eaf3925da568: Pulling fs layer 21:14:15 bab4dde63d76: Pulling fs layer 21:14:15 bde34c3a00c8: Pulling fs layer 21:14:15 b352a97aabf1: Pulling fs layer 21:14:15 4872d77fe225: Pulling fs layer 21:14:15 5851b861e8e6: Pulling fs layer 21:14:15 988bab9f4d93: Waiting 21:14:15 1469e6f7b9e6: Waiting 21:14:15 eaf3925da568: Waiting 21:14:15 bab4dde63d76: Waiting 21:14:15 bde34c3a00c8: Waiting 21:14:15 b352a97aabf1: Waiting 21:14:15 4872d77fe225: Waiting 21:14:15 5851b861e8e6: Waiting 21:14:15 e2be974225ed: Verifying Checksum 21:14:15 e2be974225ed: Download complete 21:14:15 988bab9f4d93: Verifying Checksum 21:14:15 988bab9f4d93: Download complete 21:14:16 1469e6f7b9e6: Verifying Checksum 21:14:16 1469e6f7b9e6: Download complete 21:14:16 339a4e72a1f5: Verifying Checksum 21:14:16 339a4e72a1f5: Download complete 21:14:16 eaf3925da568: Download complete 21:14:16 bde34c3a00c8: Verifying Checksum 21:14:16 bde34c3a00c8: Download complete 21:14:16 b352a97aabf1: Download complete 21:14:16 4872d77fe225: Download complete 21:14:16 5851b861e8e6: Download complete 21:14:16 b85a868b505f: Verifying Checksum 21:14:16 b85a868b505f: Download complete 21:14:16 bab4dde63d76: Verifying Checksum 21:14:16 bab4dde63d76: Download complete 21:14:17 b85a868b505f: Pull complete 21:14:17 e2be974225ed: Pull complete 21:14:18 339a4e72a1f5: Pull complete 21:14:18 988bab9f4d93: Pull complete 21:14:18 1469e6f7b9e6: Pull complete 21:14:18 eaf3925da568: Pull complete 21:14:20 bab4dde63d76: Pull complete 21:14:20 bde34c3a00c8: Pull complete 21:14:20 b352a97aabf1: Pull complete 21:14:20 4872d77fe225: Pull complete 21:14:20 5851b861e8e6: Pull complete 21:14:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:14:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:20 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:14:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:14:27 $ docker top 6e4d9ed7d304294f39c51a5fe0a7c70b3a1f3638f5a16b9b9deebbd0912616b7 -eo pid,comm 21:14:27 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). 21:14:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:14:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:27 [ssh-agent] Looking for ssh-agent implementation... 21:14:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:27 $ docker exec 6e4d9ed7d304294f39c51a5fe0a7c70b3a1f3638f5a16b9b9deebbd0912616b7 ssh-agent 21:14:27 SSH_AUTH_SOCK=/tmp/ssh-2k4YP3Q4wHML/agent.14 21:14:27 SSH_AGENT_PID=20 21:14:27 Running ssh-add (command line suppressed) 21:14:28 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14707960244902006078.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14707960244902006078.key) 21:14:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:28 + git tag --points-at HEAD [Pipeline] } 21:14:28 $ docker exec --env ******** --env ******** 6e4d9ed7d304294f39c51a5fe0a7c70b3a1f3638f5a16b9b9deebbd0912616b7 ssh-agent -k 21:14:28 unset SSH_AUTH_SOCK; 21:14:28 unset SSH_AGENT_PID; 21:14:28 echo Agent pid 20 killed; 21:14:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:14:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:28 [ssh-agent] Looking for ssh-agent implementation... 21:14:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:28 $ docker exec 6e4d9ed7d304294f39c51a5fe0a7c70b3a1f3638f5a16b9b9deebbd0912616b7 ssh-agent 21:14:28 SSH_AUTH_SOCK=/tmp/ssh-LabP55wTj5Fo/agent.70 21:14:28 SSH_AGENT_PID=76 21:14:28 Running ssh-add (command line suppressed) 21:14:28 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17232799951289047421.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17232799951289047421.key) 21:14:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:29 + git semver init 21:14:29 2023-03-13 21:14:29,319 [run_init] DEBUG init version:0.0.0 force:False 21:14:29 2023-03-13 21:14:29,320 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:14:29 2023-03-13 21:14:29,321 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:14:29 2023-03-13 21:14:29,321 [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) 21:14:30 2023-03-13 21:14:30,547 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 21:14:30 2023-03-13 21:14:30,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 21:14:30 2023-03-13 21:14:30,548 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:14:30 2023-03-13 21:14:30,548 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:14:30 3.0.0-dev.11 [Pipeline] } 21:14:30 $ docker exec --env ******** --env ******** 6e4d9ed7d304294f39c51a5fe0a7c70b3a1f3638f5a16b9b9deebbd0912616b7 ssh-agent -k 21:14:30 unset SSH_AUTH_SOCK; 21:14:30 unset SSH_AGENT_PID; 21:14:30 echo Agent pid 76 killed; 21:14:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:14:31 + git semver [Pipeline] } 21:14:31 $ docker stop --time=1 6e4d9ed7d304294f39c51a5fe0a7c70b3a1f3638f5a16b9b9deebbd0912616b7 21:14:32 $ docker rm -f --volumes 6e4d9ed7d304294f39c51a5fe0a7c70b3a1f3638f5a16b9b9deebbd0912616b7 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:14:33 Stashed 1 file(s) [Pipeline] echo 21:14:33 [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [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 21:14:33 provisioning config files... 21:14:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config14896274541348055882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:33 ---> docker-login.sh 21:14:33 nexus3.edgexfoundry.org:10001 21:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:33 Configure a credential helper to remove this warning. See 21:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:33 21:14:33 Login Succeeded 21:14:33 nexus3.edgexfoundry.org:10002 21:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:34 Configure a credential helper to remove this warning. See 21:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:34 21:14:34 Login Succeeded 21:14:34 nexus3.edgexfoundry.org:10003 21:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:34 Configure a credential helper to remove this warning. See 21:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:34 21:14:34 Login Succeeded 21:14:34 nexus3.edgexfoundry.org:10004 21:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:34 Configure a credential helper to remove this warning. See 21:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:34 21:14:34 Login Succeeded 21:14:34 docker.io 21:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:34 Configure a credential helper to remove this warning. See 21:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:34 21:14:34 Login Succeeded 21:14:34 ---> docker-login.sh ends [Pipeline] } 21:14:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:14:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:34 ========================================================= 21:14:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:14:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:34 + 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 . 21:14:34 Sending build context to Docker daemon 12.57MB 21:14:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:14:34 Step 2/12 : FROM ${BASE} AS builder 21:14:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:14:34 63b65145d645: Pulling fs layer 21:14:34 a2d21d5440eb: Pulling fs layer 21:14:34 935e6c44a52c: Pulling fs layer 21:14:34 94cc34f8dd06: Pulling fs layer 21:14:34 30dea6a524f1: Pulling fs layer 21:14:34 a2aff8979fd8: Pulling fs layer 21:14:34 6808be2612f2: Pulling fs layer 21:14:34 f25807f1079a: Pulling fs layer 21:14:34 94cc34f8dd06: Waiting 21:14:34 30dea6a524f1: Waiting 21:14:34 a2aff8979fd8: Waiting 21:14:34 6808be2612f2: Waiting 21:14:34 f25807f1079a: Waiting 21:14:35 a2d21d5440eb: Download complete 21:14:35 94cc34f8dd06: Verifying Checksum 21:14:35 94cc34f8dd06: Download complete 21:14:35 30dea6a524f1: Verifying Checksum 21:14:35 30dea6a524f1: Download complete 21:14:35 63b65145d645: Verifying Checksum 21:14:35 63b65145d645: Download complete 21:14:35 a2aff8979fd8: Verifying Checksum 21:14:35 a2aff8979fd8: Download complete 21:14:35 63b65145d645: Pull complete 21:14:35 a2d21d5440eb: Pull complete 21:14:35 f25807f1079a: Verifying Checksum 21:14:35 f25807f1079a: Download complete 21:14:35 935e6c44a52c: Verifying Checksum 21:14:35 935e6c44a52c: Download complete 21:14:36 6808be2612f2: Verifying Checksum 21:14:36 6808be2612f2: Download complete 21:14:40 935e6c44a52c: Pull complete 21:14:40 94cc34f8dd06: Pull complete 21:14:40 30dea6a524f1: Pull complete 21:14:40 a2aff8979fd8: Pull complete 21:14:43 6808be2612f2: Pull complete 21:14:44 f25807f1079a: Pull complete 21:14:44 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:14:44 ---> 3b553350e43f 21:14:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:14:48 Still waiting to schedule task 21:14:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9967’ 21:14:52 ---> Running in b6ac324e0021 21:14:52 Removing intermediate container b6ac324e0021 21:14:52 ---> 5b9d07066f63 21:14:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:14:52 ---> Running in 834a1b1ac185 21:14:52 Removing intermediate container 834a1b1ac185 21:14:52 ---> a70046d481b2 21:14:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:14:52 ---> Running in d6040af34efc 21:14:52 Removing intermediate container d6040af34efc 21:14:52 ---> 6ddcb32b87ec 21:14:52 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:52 ---> Running in 3d3cef970a2c 21:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:14:53 OK: 265 MiB in 53 packages 21:14:53 Removing intermediate container 3d3cef970a2c 21:14:53 ---> eb5c93550ff9 21:14:53 Step 7/12 : WORKDIR /app 21:14:53 ---> Running in 0f69eb5ca03a 21:14:53 Removing intermediate container 0f69eb5ca03a 21:14:53 ---> 66fb5a1d9f42 21:14:53 Step 8/12 : COPY go.mod vendor* ./ 21:14:53 ---> e861c3208c3c 21:14:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:53 ---> Running in 95c38943ab58 21:15:32 Removing intermediate container 95c38943ab58 21:15:32 ---> b4ee6b57e274 21:15:32 Step 10/12 : COPY . . 21:15:32 ---> d723f712ac76 21:15:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:15:32 ---> Running in 38ea1ab15de5 21:15:32 Removing intermediate container 38ea1ab15de5 21:15:32 ---> 98bcbafc08d6 21:15:32 Step 12/12 : RUN $MAKE 21:15:32 ---> Running in 63c55bbf5eef 21:15:32 noop 21:15:32 Removing intermediate container 63c55bbf5eef 21:15:32 ---> a819b6550049 21:15:32 Successfully built a819b6550049 21:15:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:32 + docker inspect -f . ci-base-image-x86_64 21:15:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:32 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:15:33 $ docker top a4352a915a441a29e1f5d29ceb918acc447f841ed7300dd2a905e1f1358d4d5b -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:33 + go version 21:15:33 go version go1.20.2 linux/amd64 [Pipeline] } 21:15:33 $ docker stop --time=1 a4352a915a441a29e1f5d29ceb918acc447f841ed7300dd2a905e1f1358d4d5b 21:15:34 $ docker rm -f --volumes a4352a915a441a29e1f5d29ceb918acc447f841ed7300dd2a905e1f1358d4d5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:35 + docker inspect -f . ci-base-image-x86_64 21:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:35 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:15:35 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:15:35 $ docker top 39b36620ffeb270da118ccbcf043528c6669973e332cc3883ddf347fb601d926 -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:35 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 21:15:36 + make test 21:15:36 go test -race ./... -coverprofile=coverage.out ./... 21:15:54 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:15:54 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:15:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.155s coverage: 86.2% of statements 21:15:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.746s coverage: 71.9% of statements 21:16:18 go vet ./... 21:16:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:19 ./bin/test-attribution.sh [Pipeline] echo 21:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:19 $ docker stop --time=1 39b36620ffeb270da118ccbcf043528c6669973e332cc3883ddf347fb601d926 21:16:24 $ docker rm -f --volumes 39b36620ffeb270da118ccbcf043528c6669973e332cc3883ddf347fb601d926 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:16:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:25 + ls -al . 21:16:25 total 228 21:16:25 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 21:15 . 21:16:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:14 .. 21:16:25 -rw-rw-r-- 1 jenkins jenkins 262 Mar 13 21:14 .dockerignore 21:16:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 21:14 .git 21:16:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 21:14 .github 21:16:25 -rw-rw-r-- 1 jenkins jenkins 788 Mar 13 21:14 .gitignore 21:16:25 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 21:14 .golangci.yml 21:16:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 21:14 .semver 21:16:25 -rw-rw-r-- 1 jenkins jenkins 10037 Mar 13 21:14 Attribution.txt 21:16:25 -rw-rw-r-- 1 jenkins jenkins 4331 Mar 13 21:14 CHANGELOG.md 21:16:25 -rw-rw-r-- 1 jenkins jenkins 1659 Mar 13 21:14 Dockerfile 21:16:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 21:14 GOVERNANCE.md 21:16:25 -rw-rw-r-- 1 jenkins jenkins 687 Mar 13 21:14 Jenkinsfile 21:16:25 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 13 21:14 LICENSE 21:16:25 -rw-rw-r-- 1 jenkins jenkins 2462 Mar 13 21:14 Makefile 21:16:25 -rw-rw-r-- 1 jenkins jenkins 617 Mar 13 21:14 OWNERS.md 21:16:25 -rw-rw-r-- 1 jenkins jenkins 31023 Mar 13 21:14 README.md 21:16:25 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 21:14 VERSION 21:16:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:14 bin 21:16:25 -rw-r--r-- 1 jenkins jenkins 41317 Mar 13 21:15 coverage.out 21:16:25 -rw-rw-r-- 1 jenkins jenkins 3511 Mar 13 21:14 go.mod 21:16:25 -rw-rw-r-- 1 jenkins jenkins 31563 Mar 13 21:14 go.sum 21:16:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:14 images 21:16:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:14 internal 21:16:25 -rw-rw-r-- 1 jenkins jenkins 531 Mar 13 21:14 main.go 21:16:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:14 res 21:16:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:14 snap 21:16:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 21:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:26 + 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=968f145a810f9e00874ff3fecb3e80d4017ec20e --label arch=amd64 --label version=3.0.0-dev.11 . 21:16:26 Sending build context to Docker daemon 12.57MB 21:16:26 Step 1/29 : ARG BASE=golang:1.18-alpine3.16 21:16:26 Step 2/29 : FROM ${BASE} AS builder 21:16:26 ---> a819b6550049 21:16:26 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 21:16:26 ---> Running in d9f4f6fac1df 21:16:26 Removing intermediate container d9f4f6fac1df 21:16:26 ---> 226d5ac6021e 21:16:26 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 21:16:26 ---> Running in 4c205698d3f5 21:16:26 Removing intermediate container 4c205698d3f5 21:16:26 ---> 3254cc97d89c 21:16:26 Step 5/29 : ARG ADD_BUILD_TAGS="" 21:16:26 ---> Running in 586ac8a5bd14 21:16:26 Removing intermediate container 586ac8a5bd14 21:16:26 ---> a1880cce7a90 21:16:26 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:26 ---> Running in d09f62877fe8 21:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:16:27 OK: 265 MiB in 53 packages 21:16:27 Removing intermediate container d09f62877fe8 21:16:27 ---> 3d7270a3dcc7 21:16:27 Step 7/29 : WORKDIR /app 21:16:28 ---> Running in c71bc6a33f90 21:16:28 Removing intermediate container c71bc6a33f90 21:16:28 ---> a4e2b4fc70e1 21:16:28 Step 8/29 : COPY go.mod vendor* ./ 21:16:28 ---> 4b5a6b3aac28 21:16:28 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:28 ---> Running in 2ab7d8fa6854 21:16:28 Removing intermediate container 2ab7d8fa6854 21:16:28 ---> ef5fc59b507b 21:16:28 Step 10/29 : COPY . . 21:16:29 ---> 14805e1fc6dc 21:16:29 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:29 ---> Running in bc7a9e972559 21:16:29 Removing intermediate container bc7a9e972559 21:16:29 ---> a22af2f440a5 21:16:29 Step 12/29 : RUN $MAKE 21:16:29 ---> Running in b2fad8282809 21:16:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.11 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.11" -trimpath -mod=readonly -o app-rfid-llrp-inventory 21:16:51 Removing intermediate container b2fad8282809 21:16:51 ---> 623a6994df37 21:16:51 Step 13/29 : FROM alpine:3.14 21:16:51 3.14: Pulling from library/alpine 21:16:51 d261077062b2: Pulling fs layer 21:16:51 d261077062b2: Verifying Checksum 21:16:51 d261077062b2: Download complete 21:16:51 d261077062b2: Pull complete 21:16:51 Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 21:16:51 Status: Downloaded newer image for alpine:3.14 21:16:51 ---> 6dff1269bc79 21:16:51 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:16:51 ---> Running in 6c0b9043d42e 21:16:51 Removing intermediate container 6c0b9043d42e 21:16:51 ---> 2343c6bbeac6 21:16:51 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:16:51 ---> Running in 7abbb4aa30f8 21:16:51 Removing intermediate container 7abbb4aa30f8 21:16:51 ---> 85a8ebfb03b6 21:16:51 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 21:16:51 ---> Running in 72caade871c5 21:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:16:51 (1/2) Installing ca-certificates (20220614-r0) 21:16:51 (2/2) Installing dumb-init (1.2.5-r1) 21:16:51 Executing busybox-1.33.1-r8.trigger 21:16:51 Executing ca-certificates-20220614-r0.trigger 21:16:51 OK: 6 MiB in 16 packages 21:16:51 Removing intermediate container 72caade871c5 21:16:51 ---> df669bd5285e 21:16:51 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:16:51 ---> 1b9a3de5418c 21:16:51 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 21:16:51 ---> 244c1fc639e9 21:16:51 Step 19/29 : COPY --from=builder /app/res/ /res/ 21:16:51 ---> 73a72bf763eb 21:16:51 Step 20/29 : COPY --from=builder /app/static/ /static/ 21:16:52 ---> 85daec7ad6c3 21:16:52 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:16:52 ---> 80481ec13f4a 21:16:52 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:16:52 ---> Running in 5ff42ff69863 21:16:53 Removing intermediate container 5ff42ff69863 21:16:53 ---> 7a7e07d15eb5 21:16:53 Step 23/29 : VOLUME /cache 21:16:53 ---> Running in 411d0326d0c7 21:16:53 Removing intermediate container 411d0326d0c7 21:16:53 ---> 074eff720e5f 21:16:53 Step 24/29 : EXPOSE 59711 21:16:53 ---> Running in bcb6e3f68c7b 21:16:53 Removing intermediate container bcb6e3f68c7b 21:16:53 ---> 063a35c15b75 21:16:53 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:16:53 ---> Running in 06a4db236477 21:16:53 Removing intermediate container 06a4db236477 21:16:53 ---> 235361b45de7 21:16:53 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 21:16:53 ---> Running in cde1650ac358 21:16:53 Removing intermediate container cde1650ac358 21:16:53 ---> 4afec20f7230 21:16:53 Step 27/29 : LABEL arch=amd64 21:16:53 ---> Running in 06e8939fb5f2 21:16:53 Removing intermediate container 06e8939fb5f2 21:16:53 ---> ac6f18295ae8 21:16:53 Step 28/29 : LABEL git_sha=968f145a810f9e00874ff3fecb3e80d4017ec20e 21:16:53 ---> Running in 64cf0cfa9cc1 21:16:53 Removing intermediate container 64cf0cfa9cc1 21:16:53 ---> 9a3e907bc655 21:16:53 Step 29/29 : LABEL version=3.0.0-dev.11 21:16:53 ---> Running in 503224e66dd1 21:16:53 Removing intermediate container 503224e66dd1 21:16:53 ---> 6908a0d67ebb 21:16:53 [Warning] One or more build-args [ARCH] were not consumed 21:16:53 Successfully built 6908a0d67ebb 21:16:53 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 21:16:54 provisioning config files... 21:16:54 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config12349509415967435736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:54 ---> docker-login.sh 21:16:54 nexus3.edgexfoundry.org:10001 21:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:54 Configure a credential helper to remove this warning. See 21:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:54 21:16:54 Login Succeeded 21:16:54 nexus3.edgexfoundry.org:10002 21:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:54 Configure a credential helper to remove this warning. See 21:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:54 21:16:54 Login Succeeded 21:16:54 nexus3.edgexfoundry.org:10003 21:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:54 Configure a credential helper to remove this warning. See 21:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:54 21:16:54 Login Succeeded 21:16:54 nexus3.edgexfoundry.org:10004 21:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:54 Configure a credential helper to remove this warning. See 21:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:54 21:16:54 Login Succeeded 21:16:54 docker.io 21:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:54 Configure a credential helper to remove this warning. See 21:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:54 21:16:54 Login Succeeded 21:16:54 ---> docker-login.sh ends [Pipeline] } 21:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:54 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 21:16:54 968f145a810f9e00874ff3fecb3e80d4017ec20e 21:16:54 latest 21:16:54 3.0.0-dev.11 21:16:54 968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 21:16:54 main 21:16:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:55 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:55 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:968f145a810f9e00874ff3fecb3e80d4017ec20e 21:16:55 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:55 5098c04d12d4: Preparing 21:16:55 1e4c644fdac3: Preparing 21:16:55 f4ba6ca496fd: Preparing 21:16:55 540f11b21e8f: Preparing 21:16:55 dad4b9db8b76: Preparing 21:16:55 f3f5e76e280a: Preparing 21:16:55 64f36963d14b: Preparing 21:16:55 625523cb9cce: Preparing 21:16:55 f3f5e76e280a: Waiting 21:16:55 64f36963d14b: Waiting 21:16:55 f4ba6ca496fd: Pushed 21:16:55 5098c04d12d4: Pushed 21:16:55 dad4b9db8b76: Pushed 21:16:55 540f11b21e8f: Pushed 21:16:55 625523cb9cce: Layer already exists 21:16:55 f3f5e76e280a: Pushed 21:16:55 64f36963d14b: Pushed 21:16:58 1e4c644fdac3: Pushed 21:16:58 968f145a810f9e00874ff3fecb3e80d4017ec20e: digest: sha256:f65bb9abe17132f50d8fdba64f02bcc49bd00866c50d10e5f5b8ff57c85f040f size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:58 + 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 21:16:59 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:16:59 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:59 5098c04d12d4: Preparing 21:16:59 1e4c644fdac3: Preparing 21:16:59 f4ba6ca496fd: Preparing 21:16:59 540f11b21e8f: Preparing 21:16:59 dad4b9db8b76: Preparing 21:16:59 f3f5e76e280a: Preparing 21:16:59 64f36963d14b: Preparing 21:16:59 625523cb9cce: Preparing 21:16:59 64f36963d14b: Waiting 21:16:59 625523cb9cce: Waiting 21:16:59 f3f5e76e280a: Waiting 21:16:59 f4ba6ca496fd: Layer already exists 21:16:59 1e4c644fdac3: Layer already exists 21:16:59 5098c04d12d4: Layer already exists 21:16:59 dad4b9db8b76: Layer already exists 21:16:59 540f11b21e8f: Layer already exists 21:16:59 625523cb9cce: Layer already exists 21:16:59 64f36963d14b: Layer already exists 21:16:59 f3f5e76e280a: Layer already exists 21:16:59 latest: digest: sha256:f65bb9abe17132f50d8fdba64f02bcc49bd00866c50d10e5f5b8ff57c85f040f size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:59 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:59 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.11 21:16:59 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:59 5098c04d12d4: Preparing 21:16:59 1e4c644fdac3: Preparing 21:16:59 f4ba6ca496fd: Preparing 21:16:59 540f11b21e8f: Preparing 21:16:59 dad4b9db8b76: Preparing 21:16:59 f3f5e76e280a: Preparing 21:16:59 64f36963d14b: Preparing 21:16:59 625523cb9cce: Preparing 21:16:59 f3f5e76e280a: Waiting 21:16:59 64f36963d14b: Waiting 21:16:59 625523cb9cce: Waiting 21:16:59 1e4c644fdac3: Layer already exists 21:16:59 dad4b9db8b76: Layer already exists 21:16:59 f4ba6ca496fd: Layer already exists 21:16:59 540f11b21e8f: Layer already exists 21:16:59 5098c04d12d4: Layer already exists 21:16:59 625523cb9cce: Layer already exists 21:16:59 f3f5e76e280a: Layer already exists 21:16:59 64f36963d14b: Layer already exists 21:16:59 3.0.0-dev.11: digest: sha256:f65bb9abe17132f50d8fdba64f02bcc49bd00866c50d10e5f5b8ff57c85f040f size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:59 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:00 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 21:17:00 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:17:00 5098c04d12d4: Preparing 21:17:00 1e4c644fdac3: Preparing 21:17:00 f4ba6ca496fd: Preparing 21:17:00 540f11b21e8f: Preparing 21:17:00 dad4b9db8b76: Preparing 21:17:00 f3f5e76e280a: Preparing 21:17:00 64f36963d14b: Preparing 21:17:00 625523cb9cce: Preparing 21:17:00 f3f5e76e280a: Waiting 21:17:00 64f36963d14b: Waiting 21:17:00 625523cb9cce: Waiting 21:17:00 1e4c644fdac3: Layer already exists 21:17:00 f4ba6ca496fd: Layer already exists 21:17:00 dad4b9db8b76: Layer already exists 21:17:00 5098c04d12d4: Layer already exists 21:17:00 540f11b21e8f: Layer already exists 21:17:00 f3f5e76e280a: Layer already exists 21:17:00 64f36963d14b: Layer already exists 21:17:00 625523cb9cce: Layer already exists 21:17:00 968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11: digest: sha256:f65bb9abe17132f50d8fdba64f02bcc49bd00866c50d10e5f5b8ff57c85f040f size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:00 + 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 21:17:00 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 21:17:00 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:17:00 5098c04d12d4: Preparing 21:17:00 1e4c644fdac3: Preparing 21:17:00 f4ba6ca496fd: Preparing 21:17:00 540f11b21e8f: Preparing 21:17:00 dad4b9db8b76: Preparing 21:17:00 f3f5e76e280a: Preparing 21:17:00 64f36963d14b: Preparing 21:17:00 625523cb9cce: Preparing 21:17:00 64f36963d14b: Waiting 21:17:00 625523cb9cce: Waiting 21:17:00 f3f5e76e280a: Waiting 21:17:00 1e4c644fdac3: Layer already exists 21:17:00 f4ba6ca496fd: Layer already exists 21:17:00 dad4b9db8b76: Layer already exists 21:17:00 540f11b21e8f: Layer already exists 21:17:00 5098c04d12d4: Layer already exists 21:17:00 f3f5e76e280a: Layer already exists 21:17:00 625523cb9cce: Layer already exists 21:17:00 64f36963d14b: Layer already exists 21:17:00 main: digest: sha256:f65bb9abe17132f50d8fdba64f02bcc49bd00866c50d10e5f5b8ff57c85f040f size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:17:00 ===================================================== [Pipeline] echo 21:17:00 taggedImages: 21:17:00 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:968f145a810f9e00874ff3fecb3e80d4017ec20e 21:17:00 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:17:00 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.11 21:17:00 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 21:17:00 - 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 21:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:01 21:17:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:01 latest: Pulling from edgex-lftools-log-publisher 21:17:01 5eb5b503b376: Pulling fs layer 21:17:01 5c69ac0246d0: Pulling fs layer 21:17:01 ec43610c2a17: Pulling fs layer 21:17:01 3a2ae6a8a46f: Pulling fs layer 21:17:01 33b1e0a273af: Pulling fs layer 21:17:01 5d3b04190fa2: Pulling fs layer 21:17:01 2f39f015ded8: Pulling fs layer 21:17:01 3a2ae6a8a46f: Waiting 21:17:01 33b1e0a273af: Waiting 21:17:01 5d3b04190fa2: Waiting 21:17:01 2f39f015ded8: Waiting 21:17:01 5c69ac0246d0: Verifying Checksum 21:17:01 5c69ac0246d0: Download complete 21:17:01 3a2ae6a8a46f: Verifying Checksum 21:17:01 3a2ae6a8a46f: Download complete 21:17:01 33b1e0a273af: Verifying Checksum 21:17:01 33b1e0a273af: Download complete 21:17:01 5d3b04190fa2: Download complete 21:17:01 ec43610c2a17: Verifying Checksum 21:17:01 ec43610c2a17: Download complete 21:17:01 5eb5b503b376: Verifying Checksum 21:17:01 5eb5b503b376: Download complete 21:17:02 2f39f015ded8: Download complete 21:17:03 5eb5b503b376: Pull complete 21:17:03 5c69ac0246d0: Pull complete 21:17:03 ec43610c2a17: Pull complete 21:17:03 3a2ae6a8a46f: Pull complete 21:17:04 33b1e0a273af: Pull complete 21:17:04 5d3b04190fa2: Pull complete 21:17:08 2f39f015ded8: Pull complete 21:17:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:17:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:08 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:17:12 $ docker top b22e0c886b29923ed7e17212f4fe71d44a359ca4ff09b19647ad403f6cb9d648 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:13 ---> job-cost.sh 21:17:13 lf-activate-venv: SKIPPING 21:17:13 INFO: No Stack... 21:17:13 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:13 INFO: Archiving Costs [Pipeline] sh 21:17:13 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 21:17:13 + cut -d, -f6 [Pipeline] lock 21:17:13 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] 21:17:13 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] did not exist. Created. 21:17:13 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:17:14 + echo total: 0.2199999988079071 [Pipeline] stash 21:17:14 Stashed 1 file(s) [Pipeline] } 21:17:14 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 21:17:14 $ docker stop --time=1 b22e0c886b29923ed7e17212f4fe71d44a359ca4ff09b19647ad403f6cb9d648 21:17:15 $ docker rm -f --volumes b22e0c886b29923ed7e17212f4fe71d44a359ca4ff09b19647ad403f6cb9d648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:17:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9971 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 21:17:47 Running in /w/workspace/app-rfid-llrp-inventory/80 [Pipeline] { [Pipeline] checkout 21:17:47 The recommended git tool is: git 21:17:53 using credential edgex-jenkins-ssh 21:17:53 Cloning the remote Git repository 21:17:53 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:17:53 > git init /w/workspace/app-rfid-llrp-inventory/80 # timeout=10 21:17:54 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:17:54 > git --version # timeout=10 21:17:54 > git --version # 'git version 2.25.1' 21:17:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:56 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:17:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:57 Avoid second fetch 21:17:57 Checking out Revision 968f145a810f9e00874ff3fecb3e80d4017ec20e (main) 21:17:57 > git config core.sparsecheckout # timeout=10 21:17:57 > git checkout -f 968f145a810f9e00874ff3fecb3e80d4017ec20e # timeout=10 21:17:57 Commit message: "refactor: Go 1.20 gofmt (#157)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:17:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:58 Dload Upload Total Spent Left Speed 21:17:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 21:17:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:17:59 + sudo+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:17:59 tee /etc/docker/daemon.new 21:17:59 { 21:17:59 "registry-mirrors": [ 21:17:59 "https://nexus3.edgexfoundry.org:10001" 21:17:59 ], 21:17:59 "bip": "10.250.0.254/24", 21:17:59 "hosts": [ 21:17:59 "tcp://0.0.0.0:5555", 21:17:59 "unix:///var/run/docker.sock" 21:17:59 ], 21:17:59 "mtu": 1458, 21:17:59 "selinux-enabled": true, 21:17:59 "seccomp-profile": "/etc/docker/seccomp.json" 21:17:59 } [Pipeline] sh 21:18:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:18:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:18 provisioning config files... 21:18:18 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/80@tmp/config1127439257419346852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:19 ---> docker-login.sh 21:18:19 nexus3.edgexfoundry.org:10001 21:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:19 Configure a credential helper to remove this warning. See 21:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:19 21:18:19 Login Succeeded 21:18:19 nexus3.edgexfoundry.org:10002 21:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:20 Configure a credential helper to remove this warning. See 21:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:20 21:18:20 Login Succeeded 21:18:20 nexus3.edgexfoundry.org:10003 21:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:20 Configure a credential helper to remove this warning. See 21:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:20 21:18:20 Login Succeeded 21:18:20 nexus3.edgexfoundry.org:10004 21:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:21 Configure a credential helper to remove this warning. See 21:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:21 21:18:21 Login Succeeded 21:18:21 docker.io 21:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:21 Configure a credential helper to remove this warning. See 21:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:21 21:18:21 Login Succeeded 21:18:21 ---> docker-login.sh ends [Pipeline] } 21:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:22 ========================================================= 21:18:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:18:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:22 + 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 . 21:18:22 Sending build context to Docker daemon 678.9kB 21:18:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:18:22 Step 2/12 : FROM ${BASE} AS builder 21:18:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:18:23 af6eaf76a39c: Pulling fs layer 21:18:23 55522c791124: Pulling fs layer 21:18:23 ce5c4a1c91eb: Pulling fs layer 21:18:23 169dfbe0d373: Pulling fs layer 21:18:23 e1ff8fa3b103: Pulling fs layer 21:18:23 52ebb69f0ebf: Pulling fs layer 21:18:23 5abe8eddf0d5: Pulling fs layer 21:18:23 169dfbe0d373: Waiting 21:18:23 52ebb69f0ebf: Waiting 21:18:23 55522c791124: Verifying Checksum 21:18:23 55522c791124: Download complete 21:18:23 169dfbe0d373: Verifying Checksum 21:18:23 169dfbe0d373: Download complete 21:18:23 e1ff8fa3b103: Download complete 21:18:23 af6eaf76a39c: Download complete 21:18:24 af6eaf76a39c: Pull complete 21:18:24 5abe8eddf0d5: Verifying Checksum 21:18:24 5abe8eddf0d5: Download complete 21:18:24 55522c791124: Pull complete 21:18:26 ce5c4a1c91eb: Verifying Checksum 21:18:26 ce5c4a1c91eb: Download complete 21:18:26 52ebb69f0ebf: Verifying Checksum 21:18:26 52ebb69f0ebf: Download complete 21:18:38 ce5c4a1c91eb: Pull complete 21:18:38 169dfbe0d373: Pull complete 21:18:38 e1ff8fa3b103: Pull complete 21:18:45 52ebb69f0ebf: Pull complete 21:18:46 5abe8eddf0d5: Pull complete 21:18:46 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:18:46 ---> 6cb57ee374ae 21:18:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:18:48 ---> Running in 01ff5b89bf05 21:18:49 Removing intermediate container 01ff5b89bf05 21:18:49 ---> c2761750db1c 21:18:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:18:49 ---> Running in 7316c8b64972 21:18:49 Removing intermediate container 7316c8b64972 21:18:49 ---> 49be627d9f6b 21:18:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:18:49 ---> Running in 94e08fdfafbd 21:18:49 Removing intermediate container 94e08fdfafbd 21:18:49 ---> 6bf7a9975f43 21:18:49 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:49 ---> Running in 846af8f9e13e 21:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:18:53 OK: 263 MiB in 53 packages 21:18:53 Removing intermediate container 846af8f9e13e 21:18:53 ---> 5f516d0a3d3b 21:18:53 Step 7/12 : WORKDIR /app 21:18:54 ---> Running in 99eff46f6098 21:18:54 Removing intermediate container 99eff46f6098 21:18:54 ---> eee4b43c3be4 21:18:54 Step 8/12 : COPY go.mod vendor* ./ 21:18:55 ---> cb44e8ff2761 21:18:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:55 ---> Running in 0b062a9050fe 21:20:03 Removing intermediate container 0b062a9050fe 21:20:03 ---> 9fd35a28def4 21:20:03 Step 10/12 : COPY . . 21:20:03 ---> 0db640366ec4 21:20:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:20:03 ---> Running in fbdb0c9edcec 21:20:03 Removing intermediate container fbdb0c9edcec 21:20:03 ---> 1cc5d22cbc27 21:20:03 Step 12/12 : RUN $MAKE 21:20:03 ---> Running in a7772cfcd121 21:20:03 noop 21:20:03 Removing intermediate container a7772cfcd121 21:20:03 ---> e56115809153 21:20:03 Successfully built e56115809153 21:20:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:03 + docker inspect -f . ci-base-image-arm64 21:20:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:03 prd-ubuntu20.04-docker-arm64-4c-16g-9971 does not seem to be running inside a container 21:20:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/80 -v /w/workspace/app-rfid-llrp-inventory/80:/w/workspace/app-rfid-llrp-inventory/80:rw,z -v /w/workspace/app-rfid-llrp-inventory/80@tmp:/w/workspace/app-rfid-llrp-inventory/80@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 21:20:05 $ docker top 85b2aba5f927a10bc010616076e68460decf8e4baca22bf39ed580410fd002bc -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:05 + go version 21:20:05 go version go1.20.2 linux/arm64 [Pipeline] } 21:20:06 $ docker stop --time=1 85b2aba5f927a10bc010616076e68460decf8e4baca22bf39ed580410fd002bc 21:20:10 $ docker rm -f --volumes 85b2aba5f927a10bc010616076e68460decf8e4baca22bf39ed580410fd002bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:11 + docker inspect -f . ci-base-image-arm64 21:20:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:11 prd-ubuntu20.04-docker-arm64-4c-16g-9971 does not seem to be running inside a container 21:20:11 $ 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/80 -v /w/workspace/app-rfid-llrp-inventory/80:/w/workspace/app-rfid-llrp-inventory/80:rw,z -v /w/workspace/app-rfid-llrp-inventory/80@tmp:/w/workspace/app-rfid-llrp-inventory/80@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 21:20:12 $ docker top 3d1d80043bc1f5d0dd665a86a2d8faa0b018769a93af2da55d307e7026c35d8f -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:13 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/80 [Pipeline] fileExists [Pipeline] sh 21:20:14 + make test 21:20:14 go test -race ./... -coverprofile=coverage.out ./... 21:23:36 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:23:36 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:23:36 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.396s coverage: 86.2% of statements 21:23:49 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.584s coverage: 71.9% of statements 21:23:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:23:49 go vet ./... 21:26:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:26:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:26:26 ./bin/test-attribution.sh [Pipeline] echo 21:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:26:26 $ docker stop --time=1 3d1d80043bc1f5d0dd665a86a2d8faa0b018769a93af2da55d307e7026c35d8f 21:26:28 $ docker rm -f --volumes 3d1d80043bc1f5d0dd665a86a2d8faa0b018769a93af2da55d307e7026c35d8f [Pipeline] // withDockerContainer [Pipeline] sh 21:26:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:26:29 Warning: overwriting stash ‘coverage-report’ 21:26:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:26:30 + ls -al . 21:26:30 total 224 21:26:30 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 21:20 . 21:26:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:17 .. 21:26:30 -rw-rw-r-- 1 jenkins jenkins 262 Mar 13 21:17 .dockerignore 21:26:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 21:17 .git 21:26:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 21:17 .github 21:26:30 -rw-rw-r-- 1 jenkins jenkins 788 Mar 13 21:17 .gitignore 21:26:30 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 21:17 .golangci.yml 21:26:30 -rw-rw-r-- 1 jenkins jenkins 10037 Mar 13 21:17 Attribution.txt 21:26:30 -rw-rw-r-- 1 jenkins jenkins 4331 Mar 13 21:17 CHANGELOG.md 21:26:30 -rw-rw-r-- 1 jenkins jenkins 1659 Mar 13 21:17 Dockerfile 21:26:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 21:17 GOVERNANCE.md 21:26:30 -rw-rw-r-- 1 jenkins jenkins 687 Mar 13 21:17 Jenkinsfile 21:26:30 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 13 21:17 LICENSE 21:26:30 -rw-rw-r-- 1 jenkins jenkins 2462 Mar 13 21:17 Makefile 21:26:30 -rw-rw-r-- 1 jenkins jenkins 617 Mar 13 21:17 OWNERS.md 21:26:30 -rw-rw-r-- 1 jenkins jenkins 31023 Mar 13 21:17 README.md 21:26:30 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 21:14 VERSION 21:26:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:17 bin 21:26:30 -rw-r--r-- 1 jenkins jenkins 41317 Mar 13 21:23 coverage.out 21:26:30 -rw-rw-r-- 1 jenkins jenkins 3511 Mar 13 21:17 go.mod 21:26:30 -rw-rw-r-- 1 jenkins jenkins 31563 Mar 13 21:17 go.sum 21:26:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:17 images 21:26:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:17 internal 21:26:30 -rw-rw-r-- 1 jenkins jenkins 531 Mar 13 21:17 main.go 21:26:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 21:17 res 21:26:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 21:17 snap 21:26:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 21:17 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:31 + 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=968f145a810f9e00874ff3fecb3e80d4017ec20e --label arch=arm64 --label version=3.0.0-dev.11 . 21:26:31 Sending build context to Docker daemon 678.9kB 21:26:31 Step 1/29 : ARG BASE=golang:1.18-alpine3.16 21:26:31 Step 2/29 : FROM ${BASE} AS builder 21:26:31 ---> e56115809153 21:26:31 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 21:26:31 ---> Running in 9f0c238517b9 21:26:31 Removing intermediate container 9f0c238517b9 21:26:31 ---> 1412cd98ed54 21:26:31 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 21:26:32 ---> Running in e499aae08c5e 21:26:32 Removing intermediate container e499aae08c5e 21:26:32 ---> 1bea01075262 21:26:32 Step 5/29 : ARG ADD_BUILD_TAGS="" 21:26:32 ---> Running in 935b5e6f2017 21:26:32 Removing intermediate container 935b5e6f2017 21:26:32 ---> 91f10f527449 21:26:32 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:32 ---> Running in 5188d71e9f22 21:26:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:26:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:26:35 OK: 263 MiB in 53 packages 21:26:36 Removing intermediate container 5188d71e9f22 21:26:36 ---> c5fd2b8ea2e0 21:26:36 Step 7/29 : WORKDIR /app 21:26:36 ---> Running in 348752a42955 21:26:36 Removing intermediate container 348752a42955 21:26:36 ---> 75506dd6be0d 21:26:36 Step 8/29 : COPY go.mod vendor* ./ 21:26:40 ---> 772f97bec4dd 21:26:40 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:40 ---> Running in c7a4ca074059 21:26:42 Removing intermediate container c7a4ca074059 21:26:42 ---> 397e2872e5ff 21:26:42 Step 10/29 : COPY . . 21:26:43 ---> 5509dcbac217 21:26:43 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:26:43 ---> Running in 05c3e009deec 21:26:43 Removing intermediate container 05c3e009deec 21:26:43 ---> 3ac6ea7e7372 21:26:43 Step 12/29 : RUN $MAKE 21:26:43 ---> Running in f4f7c8aeefbc 21:26:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.11 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.11" -trimpath -mod=readonly -o app-rfid-llrp-inventory 21:29:06 Removing intermediate container f4f7c8aeefbc 21:29:06 ---> 975a9a34c59b 21:29:06 Step 13/29 : FROM alpine:3.14 21:29:06 3.14: Pulling from library/alpine 21:29:06 6f0e733d82e2: Pulling fs layer 21:29:06 6f0e733d82e2: Download complete 21:29:06 6f0e733d82e2: Pull complete 21:29:06 Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 21:29:06 Status: Downloaded newer image for alpine:3.14 21:29:06 ---> bf97f6347a60 21:29:06 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:29:06 ---> Running in 0a2d097ecab8 21:29:06 Removing intermediate container 0a2d097ecab8 21:29:06 ---> 7be8f1443012 21:29:06 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:29:06 ---> Running in a9462ff9cd26 21:29:06 Removing intermediate container a9462ff9cd26 21:29:06 ---> dd27b589884b 21:29:06 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 21:29:06 ---> Running in 585ba5eb4a3d 21:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:29:07 (1/2) Installing ca-certificates (20220614-r0) 21:29:07 (2/2) Installing dumb-init (1.2.5-r1) 21:29:07 Executing busybox-1.33.1-r8.trigger 21:29:07 Executing ca-certificates-20220614-r0.trigger 21:29:07 OK: 6 MiB in 16 packages 21:29:08 Removing intermediate container 585ba5eb4a3d 21:29:08 ---> 9581a88df968 21:29:08 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:29:09 ---> 93ae31a94dc2 21:29:09 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 21:29:09 ---> 4e990f25f82b 21:29:09 Step 19/29 : COPY --from=builder /app/res/ /res/ 21:29:10 ---> 1c9daabbbac9 21:29:10 Step 20/29 : COPY --from=builder /app/static/ /static/ 21:29:10 ---> f8ab227147ec 21:29:10 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:29:12 ---> 21fca5470f27 21:29:12 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:29:12 ---> Running in 46a9337fb478 21:29:14 Removing intermediate container 46a9337fb478 21:29:14 ---> d9a871e7fd13 21:29:14 Step 23/29 : VOLUME /cache 21:29:14 ---> Running in bf5d90284122 21:29:14 Removing intermediate container bf5d90284122 21:29:14 ---> 4b85f37d8f34 21:29:14 Step 24/29 : EXPOSE 59711 21:29:14 ---> Running in ce72358a17e9 21:29:15 Removing intermediate container ce72358a17e9 21:29:15 ---> 74e6972592d2 21:29:15 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:29:15 ---> Running in de8231e89c9a 21:29:15 Removing intermediate container de8231e89c9a 21:29:15 ---> 404814d65bba 21:29:15 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 21:29:15 ---> Running in f6d9afef6b95 21:29:15 Removing intermediate container f6d9afef6b95 21:29:15 ---> dc26cfb00dca 21:29:15 Step 27/29 : LABEL arch=arm64 21:29:16 ---> Running in 04e22d8640f5 21:29:16 Removing intermediate container 04e22d8640f5 21:29:16 ---> 6c6543246e18 21:29:16 Step 28/29 : LABEL git_sha=968f145a810f9e00874ff3fecb3e80d4017ec20e 21:29:16 ---> Running in e775c6dfa46b 21:29:16 Removing intermediate container e775c6dfa46b 21:29:16 ---> e068d5fbb829 21:29:16 Step 29/29 : LABEL version=3.0.0-dev.11 21:29:16 ---> Running in 6a837c150ee8 21:29:17 Removing intermediate container 6a837c150ee8 21:29:17 ---> 383ac66dd170 21:29:17 [Warning] One or more build-args [ARCH] were not consumed 21:29:17 Successfully built 383ac66dd170 21:29:17 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 21:29:17 provisioning config files... 21:29:17 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/80@tmp/config17697790062120477404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:17 ---> docker-login.sh 21:29:17 nexus3.edgexfoundry.org:10001 21:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:17 Configure a credential helper to remove this warning. See 21:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:17 21:29:17 Login Succeeded 21:29:17 nexus3.edgexfoundry.org:10002 21:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:18 Configure a credential helper to remove this warning. See 21:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:18 21:29:18 Login Succeeded 21:29:18 nexus3.edgexfoundry.org:10003 21:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:18 Configure a credential helper to remove this warning. See 21:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:18 21:29:18 Login Succeeded 21:29:18 nexus3.edgexfoundry.org:10004 21:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:19 Configure a credential helper to remove this warning. See 21:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:19 21:29:19 Login Succeeded 21:29:19 docker.io 21:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:19 Configure a credential helper to remove this warning. See 21:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:19 21:29:19 Login Succeeded 21:29:19 ---> docker-login.sh ends [Pipeline] } 21:29:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:29:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:19 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 21:29:19 968f145a810f9e00874ff3fecb3e80d4017ec20e 21:29:19 latest 21:29:19 3.0.0-dev.11 21:29:19 968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 21:29:19 main 21:29:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:20 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:20 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:968f145a810f9e00874ff3fecb3e80d4017ec20e 21:29:20 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:29:20 e691f29b842c: Preparing 21:29:20 978d57ee4394: Preparing 21:29:20 1bc5917b177e: Preparing 21:29:20 9eb96bd77c3d: Preparing 21:29:20 ec9def79027a: Preparing 21:29:20 c755c0985c28: Preparing 21:29:20 35262635cfcc: Preparing 21:29:20 c39af2d4cb8d: Preparing 21:29:20 c755c0985c28: Waiting 21:29:20 35262635cfcc: Waiting 21:29:20 c39af2d4cb8d: Waiting 21:29:20 e691f29b842c: Pushed 21:29:20 ec9def79027a: Pushed 21:29:20 1bc5917b177e: Pushed 21:29:20 9eb96bd77c3d: Pushed 21:29:20 c39af2d4cb8d: Layer already exists 21:29:20 c755c0985c28: Pushed 21:29:20 35262635cfcc: Pushed 21:29:26 978d57ee4394: Pushed 21:29:26 968f145a810f9e00874ff3fecb3e80d4017ec20e: digest: sha256:23963395071f4bb47d94d8535dfed65ca685aaa8a2d0fd0ba5ec06138dc7685a size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:26 + 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 21:29:27 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:29:27 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:29:27 e691f29b842c: Preparing 21:29:27 978d57ee4394: Preparing 21:29:27 1bc5917b177e: Preparing 21:29:27 9eb96bd77c3d: Preparing 21:29:27 ec9def79027a: Preparing 21:29:27 c755c0985c28: Preparing 21:29:27 35262635cfcc: Preparing 21:29:27 c39af2d4cb8d: Preparing 21:29:27 c755c0985c28: Waiting 21:29:27 35262635cfcc: Waiting 21:29:27 c39af2d4cb8d: Waiting 21:29:27 ec9def79027a: Layer already exists 21:29:27 e691f29b842c: Layer already exists 21:29:27 978d57ee4394: Layer already exists 21:29:27 1bc5917b177e: Layer already exists 21:29:27 9eb96bd77c3d: Layer already exists 21:29:27 35262635cfcc: Layer already exists 21:29:27 c755c0985c28: Layer already exists 21:29:27 c39af2d4cb8d: Layer already exists 21:29:27 latest: digest: sha256:23963395071f4bb47d94d8535dfed65ca685aaa8a2d0fd0ba5ec06138dc7685a size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:27 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:28 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.11 21:29:28 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:29:28 e691f29b842c: Preparing 21:29:28 978d57ee4394: Preparing 21:29:28 1bc5917b177e: Preparing 21:29:28 9eb96bd77c3d: Preparing 21:29:28 ec9def79027a: Preparing 21:29:28 c755c0985c28: Preparing 21:29:28 35262635cfcc: Preparing 21:29:28 c39af2d4cb8d: Preparing 21:29:28 35262635cfcc: Waiting 21:29:28 c39af2d4cb8d: Waiting 21:29:28 c755c0985c28: Waiting 21:29:28 1bc5917b177e: Layer already exists 21:29:28 ec9def79027a: Layer already exists 21:29:28 e691f29b842c: Layer already exists 21:29:28 9eb96bd77c3d: Layer already exists 21:29:28 978d57ee4394: Layer already exists 21:29:28 c39af2d4cb8d: Layer already exists 21:29:28 c755c0985c28: Layer already exists 21:29:28 35262635cfcc: Layer already exists 21:29:28 3.0.0-dev.11: digest: sha256:23963395071f4bb47d94d8535dfed65ca685aaa8a2d0fd0ba5ec06138dc7685a size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:28 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:28 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 21:29:28 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:29:28 e691f29b842c: Preparing 21:29:28 978d57ee4394: Preparing 21:29:28 1bc5917b177e: Preparing 21:29:28 9eb96bd77c3d: Preparing 21:29:28 ec9def79027a: Preparing 21:29:28 c755c0985c28: Preparing 21:29:28 35262635cfcc: Preparing 21:29:28 c39af2d4cb8d: Preparing 21:29:28 c755c0985c28: Waiting 21:29:28 35262635cfcc: Waiting 21:29:28 c39af2d4cb8d: Waiting 21:29:28 1bc5917b177e: Layer already exists 21:29:28 ec9def79027a: Layer already exists 21:29:28 978d57ee4394: Layer already exists 21:29:28 9eb96bd77c3d: Layer already exists 21:29:28 e691f29b842c: Layer already exists 21:29:28 c755c0985c28: Layer already exists 21:29:28 c39af2d4cb8d: Layer already exists 21:29:28 35262635cfcc: Layer already exists 21:29:29 968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11: digest: sha256:23963395071f4bb47d94d8535dfed65ca685aaa8a2d0fd0ba5ec06138dc7685a size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:29 + 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 21:29:29 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 21:29:29 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:29:29 e691f29b842c: Preparing 21:29:29 978d57ee4394: Preparing 21:29:29 1bc5917b177e: Preparing 21:29:29 9eb96bd77c3d: Preparing 21:29:29 ec9def79027a: Preparing 21:29:29 c755c0985c28: Preparing 21:29:29 35262635cfcc: Preparing 21:29:29 c39af2d4cb8d: Preparing 21:29:29 35262635cfcc: Waiting 21:29:29 c39af2d4cb8d: Waiting 21:29:29 c755c0985c28: Waiting 21:29:29 978d57ee4394: Layer already exists 21:29:29 e691f29b842c: Layer already exists 21:29:29 1bc5917b177e: Layer already exists 21:29:29 ec9def79027a: Layer already exists 21:29:29 9eb96bd77c3d: Layer already exists 21:29:29 35262635cfcc: Layer already exists 21:29:29 c755c0985c28: Layer already exists 21:29:29 c39af2d4cb8d: Layer already exists 21:29:30 main: digest: sha256:23963395071f4bb47d94d8535dfed65ca685aaa8a2d0fd0ba5ec06138dc7685a size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:29:30 ===================================================== [Pipeline] echo 21:29:30 taggedImages: 21:29:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:968f145a810f9e00874ff3fecb3e80d4017ec20e 21:29:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:29:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.11 21:29:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:968f145a810f9e00874ff3fecb3e80d4017ec20e-3.0.0-dev.11 21:29:30 - 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 21:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:29:30 21:29:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:29:30 arm64: Pulling from edgex-lftools-log-publisher 21:29:30 8998bd30e6a1: Pulling fs layer 21:29:30 04944245beec: Pulling fs layer 21:29:30 699f458cf7ca: Pulling fs layer 21:29:30 765212b225bb: Pulling fs layer 21:29:30 f23df028b6ca: Pulling fs layer 21:29:30 d65c8cfc05b1: Pulling fs layer 21:29:30 2437ff75d9bd: Pulling fs layer 21:29:30 f23df028b6ca: Waiting 21:29:30 d65c8cfc05b1: Waiting 21:29:30 2437ff75d9bd: Waiting 21:29:30 765212b225bb: Waiting 21:29:31 04944245beec: Verifying Checksum 21:29:31 04944245beec: Download complete 21:29:31 765212b225bb: Verifying Checksum 21:29:31 765212b225bb: Download complete 21:29:31 f23df028b6ca: Download complete 21:29:31 d65c8cfc05b1: Verifying Checksum 21:29:31 d65c8cfc05b1: Download complete 21:29:31 699f458cf7ca: Verifying Checksum 21:29:31 699f458cf7ca: Download complete 21:29:31 8998bd30e6a1: Verifying Checksum 21:29:31 8998bd30e6a1: Download complete 21:29:34 2437ff75d9bd: Verifying Checksum 21:29:34 2437ff75d9bd: Download complete 21:29:36 8998bd30e6a1: Pull complete 21:29:36 04944245beec: Pull complete 21:29:39 699f458cf7ca: Pull complete 21:29:39 765212b225bb: Pull complete 21:29:40 f23df028b6ca: Pull complete 21:29:40 d65c8cfc05b1: Pull complete 21:29:55 2437ff75d9bd: Pull complete 21:29:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:29:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:55 prd-ubuntu20.04-docker-arm64-4c-16g-9971 does not seem to be running inside a container 21:29:55 $ 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/80 -v /w/workspace/app-rfid-llrp-inventory/80:/w/workspace/app-rfid-llrp-inventory/80:rw,z -v /w/workspace/app-rfid-llrp-inventory/80@tmp:/w/workspace/app-rfid-llrp-inventory/80@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 21:29:58 $ docker top fb2059b38bba7e4189c944fc371ab225b2114a9c31b28d0b636fbd2f2817ba2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:59 ---> job-cost.sh 21:29:59 lf-activate-venv: SKIPPING 21:29:59 INFO: No Stack... 21:29:59 INFO: Retrieving Pricing Info for: v3-standard-4 21:30:00 INFO: Archiving Costs [Pipeline] sh 21:30:01 + cut -d, -f6 21:30:01 + cat /w/workspace/app-rfid-llrp-inventory/80/archives/cost.csv [Pipeline] lock 21:30:01 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] 21:30:01 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] did not exist. Created. 21:30:01 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:30:02 /w/workspace/app-rfid-llrp-inventory/80@tmp/durable-ed9b6040/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:30:02 + echo total: 0.10999999940395355 [Pipeline] stash 21:30:02 Warning: overwriting stash ‘stack-cost’ 21:30:03 Stashed 1 file(s) [Pipeline] } 21:30:03 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 21:30:03 $ docker stop --time=1 fb2059b38bba7e4189c944fc371ab225b2114a9c31b28d0b636fbd2f2817ba2e 21:30:05 $ docker rm -f --volumes fb2059b38bba7e4189c944fc371ab225b2114a9c31b28d0b636fbd2f2817ba2e [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 21:30:06 provisioning config files... 21:30:06 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config17199795063777000515tmp [Pipeline] { [Pipeline] sh 21:30:06 + set +x 21:30:06 + curl -s+ https://codecov.io/bash 21:30:06 bash -s -- 21:30:06 21:30:06 _____ _ 21:30:06 / ____| | | 21:30:06 | | ___ __| | ___ ___ _____ __ 21:30:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:30:06 | |___| (_) | (_| | __/ (_| (_) \ V / 21:30:06 \_____\___/ \__,_|\___|\___\___/ \_/ 21:30:06 Bash-1.0.6 21:30:06 21:30:06 21:30:06 ==> git version 2.25.1 found 21:30:06 ==> 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 21:30:06 Release-Date: 2020-01-08 21:30:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:30:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:30:06 ==> Jenkins CI detected. 21:30:06 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 21:30:06 project root: . 21:30:06 --> token set from env 21:30:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:30:06 ==> Running gcov in . (disable via -X gcov) 21:30:06 ==> Python coveragepy not found 21:30:06 ==> Searching for coverage reports in: 21:30:06 + . 21:30:06 -> Found 1 reports 21:30:06 ==> Detecting git/mercurial file structure 21:30:06 ==> Reading reports 21:30:06 + ./coverage.out bytes=41317 21:30:06 ==> Appending adjustments 21:30:06 https://docs.codecov.io/docs/fixing-reports 21:30:06 + Found adjustments 21:30:06 ==> Gzipping contents 21:30:06 12K /tmp/codecov.zo2AmF.gz 21:30:06 ==> Uploading reports 21:30:06 url: https://codecov.io 21:30:06 query: branch=main&commit=968f145a810f9e00874ff3fecb3e80d4017ec20e&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:30:06 -> Pinging Codecov 21:30:06 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=968f145a810f9e00874ff3fecb3e80d4017ec20e&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:30:07 -> Uploading to 21:30:07 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/581DD39554BDF9B6E22D074273EAD858/968f145a810f9e00874ff3fecb3e80d4017ec20e/305329d7-b6fb-4da2-a22f-8fc13677a113.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T213006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b0c77263de487d8f1b9bc422fb63e34898c12568ef7d40437ae1ab6ca3677a4 21:30:07 % Total % Received % Xferd Average Speed Time Time Time Current 21:30:07 Dload Upload Total Spent Left Speed 21:30:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11805 0 0 100 11805 0 48983 --:--:-- --:--:-- --:--:-- 48983 21:30:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] } 21:30:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:30:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:30:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:30:07 21:30:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:30:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:30:07 df9b9388f04a: Pulling fs layer 21:30:07 52dc419b0ee2: Pulling fs layer 21:30:07 25bc292e5bac: Pulling fs layer 21:30:07 114826534d7a: Pulling fs layer 21:30:07 4657fd5d0bcf: Pulling fs layer 21:30:07 6ad1cebc031e: Pulling fs layer 21:30:07 8a3aa393b2d8: Pulling fs layer 21:30:07 114826534d7a: Waiting 21:30:07 4657fd5d0bcf: Waiting 21:30:07 6ad1cebc031e: Waiting 21:30:07 25bc292e5bac: Download complete 21:30:07 52dc419b0ee2: Download complete 21:30:07 4657fd5d0bcf: Download complete 21:30:08 df9b9388f04a: Verifying Checksum 21:30:08 df9b9388f04a: Download complete 21:30:08 df9b9388f04a: Pull complete 21:30:08 6ad1cebc031e: Verifying Checksum 21:30:08 6ad1cebc031e: Download complete 21:30:08 52dc419b0ee2: Pull complete 21:30:08 25bc292e5bac: Pull complete 21:30:09 114826534d7a: Verifying Checksum 21:30:09 114826534d7a: Download complete 21:30:09 8a3aa393b2d8: Verifying Checksum 21:30:09 8a3aa393b2d8: Download complete 21:30:12 114826534d7a: Pull complete 21:30:12 4657fd5d0bcf: Pull complete 21:30:12 6ad1cebc031e: Pull complete 21:30:15 8a3aa393b2d8: Pull complete 21:30:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:30:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:15 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:30:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:30:19 $ docker top 9fdbc72e2ec39010e9f702ffae2de05fc9760dc022d226f6097f6e78117fac4d -eo pid,comm [Pipeline] { [Pipeline] echo 21:30:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 21:30:19 + set -o pipefail 21:30:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 21:30:23 21:30:23 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 21:30:23 21:30:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/f88605f1-a937-4a3d-b7be-5178c14c2c1f 21:30:23 21:30:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:30:23 21:30:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:30:23 21:30:23 21:30:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:30:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:30:23 More details here: https://snyk.co/ue1NS 21:30:23 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:30:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:30:23 $ docker stop --time=1 9fdbc72e2ec39010e9f702ffae2de05fc9760dc022d226f6097f6e78117fac4d 21:30:27 $ docker rm -f --volumes 9fdbc72e2ec39010e9f702ffae2de05fc9760dc022d226f6097f6e78117fac4d [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 21:30:27 + git log --format=format:%s -1 968f145a810f9e00874ff3fecb3e80d4017ec20e [Pipeline] sh 21:30:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:30:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:28 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:30: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:30:28 $ docker top e9bbfae5a863ecc42787c17b0600e0fdb8f9bd74e64c8bafb414fb4e3f7c010f -eo pid,comm 21:30:29 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). 21:30:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:30:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:29 [ssh-agent] Looking for ssh-agent implementation... 21:30:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:29 $ docker exec e9bbfae5a863ecc42787c17b0600e0fdb8f9bd74e64c8bafb414fb4e3f7c010f ssh-agent 21:30:29 SSH_AUTH_SOCK=/tmp/ssh-6YfczRiHjdfj/agent.33 21:30:29 SSH_AGENT_PID=39 21:30:29 Running ssh-add (command line suppressed) 21:30:29 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1833510850667171801.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1833510850667171801.key) 21:30:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:29 + git semver tag 21:30:29 2023-03-13 21:30:29,817 [run_tag] DEBUG tag force:False 21:30:29 2023-03-13 21:30:29,817 [check_head_tag] DEBUG check head tag 21:30:29 2023-03-13 21:30:29,818 [execute] INFO git cat-file --batch-check 21:30:29 2023-03-13 21:30:29,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:30:29 2023-03-13 21:30:29,821 [execute] INFO git cat-file --batch 21:30:29 2023-03-13 21:30:29,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:30:29 2023-03-13 21:30:29,838 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:30:29 2023-03-13 21:30:29,838 [execute] INFO git tag -a v3.0.0-dev.11 -m v3.0.0-dev.11 21:30:29 2023-03-13 21:30:29,838 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.11', '-m', 'v3.0.0-dev.11'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:30:29 2023-03-13 21:30:29,843 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:30:29 3.0.0-dev.11 [Pipeline] } 21:30:29 $ docker exec --env ******** --env ******** e9bbfae5a863ecc42787c17b0600e0fdb8f9bd74e64c8bafb414fb4e3f7c010f ssh-agent -k 21:30:30 unset SSH_AUTH_SOCK; 21:30:30 unset SSH_AGENT_PID; 21:30:30 echo Agent pid 39 killed; 21:30:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:30:30 + git semver [Pipeline] } 21:30:30 $ docker stop --time=1 e9bbfae5a863ecc42787c17b0600e0fdb8f9bd74e64c8bafb414fb4e3f7c010f 21:30:31 $ docker rm -f --volumes e9bbfae5a863ecc42787c17b0600e0fdb8f9bd74e64c8bafb414fb4e3f7c010f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:30:32 21:30:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:30:32 0.23.1-centos7: Pulling from edgex-lftools 21:30:32 ab5ef0e58194: Pulling fs layer 21:30:32 9712f1f96733: Pulling fs layer 21:30:32 63f879dbbcfc: Pulling fs layer 21:30:32 0d9ebad4ef96: Pulling fs layer 21:30:32 e9a5061849ea: Pulling fs layer 21:30:32 0d9ebad4ef96: Waiting 21:30:32 e9a5061849ea: Waiting 21:30:32 d747dcd14b5f: Pulling fs layer 21:30:32 2de7ff778b66: Pulling fs layer 21:30:32 d747dcd14b5f: Waiting 21:30:32 2de7ff778b66: Waiting 21:30:32 9712f1f96733: Verifying Checksum 21:30:32 9712f1f96733: Download complete 21:30:33 63f879dbbcfc: Verifying Checksum 21:30:33 63f879dbbcfc: Download complete 21:30:33 e9a5061849ea: Verifying Checksum 21:30:33 e9a5061849ea: Download complete 21:30:33 d747dcd14b5f: Verifying Checksum 21:30:33 d747dcd14b5f: Download complete 21:30:33 0d9ebad4ef96: Verifying Checksum 21:30:33 0d9ebad4ef96: Download complete 21:30:33 ab5ef0e58194: Verifying Checksum 21:30:33 ab5ef0e58194: Download complete 21:30:33 2de7ff778b66: Verifying Checksum 21:30:33 2de7ff778b66: Download complete 21:30:35 ab5ef0e58194: Pull complete 21:30:35 9712f1f96733: Pull complete 21:30:36 63f879dbbcfc: Pull complete 21:30:41 0d9ebad4ef96: Pull complete 21:30:41 e9a5061849ea: Pull complete 21:30:41 d747dcd14b5f: Pull complete 21:30:41 2de7ff778b66: Pull complete 21:30:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:30:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:30:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:41 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:30:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:30:46 $ docker top 90f7df6754e4a3f45c571826c6b1b2d7e419c757f28811609630af922b9cc29c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:30:46 provisioning config files... 21:30:46 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15884680227586863952tmp 21:30:46 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5394068011223595881tmp 21:30:46 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1166717543313405526tmp [Pipeline] { [Pipeline] echo 21:30:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:30:47 ---> sigul-configuration.sh 21:30:47 gpg: directory `/root/.gnupg' created 21:30:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:30:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:30:47 gpg: keyring `/root/.gnupg/secring.gpg' created 21:30:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:30:47 gpg: CAST5 encrypted data 21:30:47 gpg: encrypted with 1 passphrase 21:30:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:30:47 + mkdir /home/jenkins 21:30:47 + mkdir /home/jenkins/sigul [Pipeline] sh 21:30:47 + 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 21:30:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:30:47 ---> sigul-install.sh 21:30:47 Sigul already installed; skipping installation. [Pipeline] sh 21:30:48 + git tag --list 21:30:48 v0.0.0 21:30:48 v1.0.0 21:30:48 v2.1.0 21:30:48 v2.1.1 21:30:48 v2.1.1-dev.1 21:30:48 v2.2.0 21:30:48 v2.2.1-dev.1 21:30:48 v2.2.1-dev.2 21:30:48 v2.2.1-dev.3 21:30:48 v2.2.1-dev.4 21:30:48 v2.2.1-dev.5 21:30:48 v2.2.1-dev.6 21:30:48 v2.2.1-dev.7 21:30:48 v2.3.0 21:30:48 v2.3.0-dev.10 21:30:48 v2.3.0-dev.11 21:30:48 v2.3.0-dev.12 21:30:48 v2.3.0-dev.13 21:30:48 v2.3.0-dev.14 21:30:48 v2.3.0-dev.15 21:30:48 v2.3.0-dev.16 21:30:48 v2.3.0-dev.17 21:30:48 v2.3.0-dev.18 21:30:48 v2.3.0-dev.19 21:30:48 v2.3.0-dev.20 21:30:48 v2.3.0-dev.21 21:30:48 v2.3.0-dev.22 21:30:48 v2.3.0-dev.23 21:30:48 v2.3.0-dev.24 21:30:48 v2.3.0-dev.25 21:30:48 v2.3.0-dev.26 21:30:48 v2.3.0-dev.9 21:30:48 v2.3.1-dev.1 21:30:48 v3.0.0-dev.1 21:30:48 v3.0.0-dev.10 21:30:48 v3.0.0-dev.11 21:30:48 v3.0.0-dev.2 21:30:48 v3.0.0-dev.3 21:30:48 v3.0.0-dev.4 21:30:48 v3.0.0-dev.5 21:30:48 v3.0.0-dev.6 21:30:48 v3.0.0-dev.7 21:30:48 v3.0.0-dev.8 21:30:48 v3.0.0-dev.9 [Pipeline] sh 21:30:48 + lftools sign git-tag v3.0.0-dev.11 21:30:49 Signing Git tag with Sigul... 21:30:49 Signing v3.0.0-dev.11 [Pipeline] echo 21:30:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:30:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:30:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:30:49 $ docker stop --time=1 90f7df6754e4a3f45c571826c6b1b2d7e419c757f28811609630af922b9cc29c 21:30:50 $ docker rm -f --volumes 90f7df6754e4a3f45c571826c6b1b2d7e419c757f28811609630af922b9cc29c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:30:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:30:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:51 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:30:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:30:52 $ docker top 970feda1d7cf8d8841cc01d7a2292df1d4731eaf23dd038b387932e09b6b4ad9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:30:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:52 [ssh-agent] Looking for ssh-agent implementation... 21:30:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:52 $ docker exec 970feda1d7cf8d8841cc01d7a2292df1d4731eaf23dd038b387932e09b6b4ad9 ssh-agent 21:30:52 SSH_AUTH_SOCK=/tmp/ssh-7TV8MtXzgz4Q/agent.32 21:30:52 SSH_AGENT_PID=38 21:30:52 Running ssh-add (command line suppressed) 21:30:52 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17478556874699903254.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17478556874699903254.key) 21:30:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:52 + git semver bump pre 21:30:53 2023-03-13 21:30:52,996 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:30:53 2023-03-13 21:30:52,996 [bump_version] DEBUG bumping version:3.0.0-dev.11 on axis:pre with prefix:dev 21:30:53 2023-03-13 21:30:52,996 [bump_version] DEBUG bumped version:3.0.0-dev.12 21:30:53 2023-03-13 21:30:52,996 [write_version] DEBUG write version:3.0.0-dev.12 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 21:30:53 2023-03-13 21:30:52,996 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:30:53 2023-03-13 21:30:52,996 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:30:53 2023-03-13 21:30:52,998 [execute] INFO git cat-file --batch-check 21:30:53 2023-03-13 21:30:52,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:30:53 2023-03-13 21:30:53,003 [execute] INFO git cat-file --batch 21:30:53 2023-03-13 21:30:53,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:30:53 2023-03-13 21:30:53,009 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:30:53 3.0.0-dev.12 [Pipeline] } 21:30:53 $ docker exec --env ******** --env ******** 970feda1d7cf8d8841cc01d7a2292df1d4731eaf23dd038b387932e09b6b4ad9 ssh-agent -k 21:30:53 unset SSH_AUTH_SOCK; 21:30:53 unset SSH_AGENT_PID; 21:30:53 echo Agent pid 38 killed; 21:30:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:30:53 + git semver [Pipeline] } 21:30:53 $ docker stop --time=1 970feda1d7cf8d8841cc01d7a2292df1d4731eaf23dd038b387932e09b6b4ad9 21:30:55 $ docker rm -f --volumes 970feda1d7cf8d8841cc01d7a2292df1d4731eaf23dd038b387932e09b6b4ad9 [Pipeline] // withDockerContainer [Pipeline] sh 21:30:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:30:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:55 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:30:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:30:56 $ docker top 15bd3f1b5d15f6511c556679e51ce3e19252d327a427b65bbf18d9e55940fc75 -eo pid,comm 21:30:56 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). 21:30:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:30:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:56 [ssh-agent] Looking for ssh-agent implementation... 21:30:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:56 $ docker exec 15bd3f1b5d15f6511c556679e51ce3e19252d327a427b65bbf18d9e55940fc75 ssh-agent 21:30:56 SSH_AUTH_SOCK=/tmp/ssh-eIaZM7CqNtfo/agent.32 21:30:56 SSH_AGENT_PID=38 21:30:56 Running ssh-add (command line suppressed) 21:30:56 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_9463629230867232198.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_9463629230867232198.key) 21:30:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:56 + git semver push 21:30:57 2023-03-13 21:30:57,016 [run_push] DEBUG push 21:30:57 2023-03-13 21:30:57,016 [execute] INFO git cat-file --batch-check 21:30:57 2023-03-13 21:30:57,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:30:57 2023-03-13 21:30:57,021 [execute] INFO git rev-list 9fcd77cecdfa97b5fe0f307e7210fd4403457e2e -- 21:30:57 2023-03-13 21:30:57,021 [execute] DEBUG Popen(['git', 'rev-list', '9fcd77cecdfa97b5fe0f307e7210fd4403457e2e', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:30:57 2023-03-13 21:30:57,028 [execute] INFO git fetch -v origin 21:30:57 2023-03-13 21:30:57,028 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 21:30:57 2023-03-13 21:30:57,617 [run_push] DEBUG no remote changes detected 21:30:57 2023-03-13 21:30:57,618 [execute] INFO git push origin semver 21:30:57 2023-03-13 21:30:57,618 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:30:58 2023-03-13 21:30:58,358 [run_push] DEBUG push all version tags 21:30:58 2023-03-13 21:30:58,358 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:30:58 2023-03-13 21:30:58,359 [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) 21:30:59 2023-03-13 21:30:59,117 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:30:59 3.0.0-dev.12 [Pipeline] } 21:30:59 $ docker exec --env ******** --env ******** 15bd3f1b5d15f6511c556679e51ce3e19252d327a427b65bbf18d9e55940fc75 ssh-agent -k 21:30:59 unset SSH_AUTH_SOCK; 21:30:59 unset SSH_AGENT_PID; 21:30:59 echo Agent pid 38 killed; 21:30:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:30:59 + git semver [Pipeline] } 21:30:59 $ docker stop --time=1 15bd3f1b5d15f6511c556679e51ce3e19252d327a427b65bbf18d9e55940fc75 21:31:01 $ docker rm -f --volumes 15bd3f1b5d15f6511c556679e51ce3e19252d327a427b65bbf18d9e55940fc75 [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 21:31:01 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 21:31:01 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:31:01 total 16 21:31:01 drwxr-xr-x 3 root root 4096 Mar 13 21:17 . 21:31:01 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 21:30 .. 21:31:01 drwxr-xr-x 2 root root 4096 Mar 13 21:17 cost 21:31:01 -rw-r--r-- 1 root root 94 Mar 13 21:17 cost.csv 21:31:01 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:31:01 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:31:01 total 16 21:31:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 21:17 . 21:31:01 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 21:30 .. 21:31:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 21:17 cost 21:31:01 -rw-r--r-- 1 jenkins jenkins 94 Mar 13 21:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:31:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:31:02 ---> package-listing.sh 21:31:02 ++ facter osfamily 21:31:02 ++ tr '[:upper:]' '[:lower:]' 21:31:02 + OS_FAMILY=debian 21:31:02 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 21:31:02 + START_PACKAGES=/tmp/packages_start.txt 21:31:02 + END_PACKAGES=/tmp/packages_end.txt 21:31:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:31:02 + PACKAGES=/tmp/packages_start.txt 21:31:02 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:31:02 + PACKAGES=/tmp/packages_end.txt 21:31:02 + case "${OS_FAMILY}" in 21:31:02 + dpkg -l 21:31:02 + grep '^ii' 21:31:03 + '[' -f /tmp/packages_start.txt ']' 21:31:03 + '[' -f /tmp/packages_end.txt ']' 21:31:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:31:03 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:31:03 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 21:31:03 + 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 21:31:03 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 21:31:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:03 prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container 21:31:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:31:04 $ docker top 6ca7267efabc175a27d8a54b3fce5581eedfa0f329975e522d0492b97fa407c9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:04 + touch /tmp/pre-build-complete [Pipeline] sh 21:31:04 + mkdir -p /var/log/sysstat [Pipeline] sh 21:31:05 + ls /var/log/sa-host 21:31:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:05 provisioning config files... 21:31:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9233705613387256379tmp [Pipeline] { [Pipeline] echo 21:31:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:31:05 ---> create-netrc.sh [Pipeline] } 21:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:31:06 ---> python-tools-install.sh [Pipeline] echo 21:31:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:31:06 ---> sudo-logs.sh 21:31:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:31:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:31:06 ---> job-cost.sh 21:31:06 lf-activate-venv: SKIPPING 21:31:06 DEBUG: total: 0.2199999988079071 21:31:06 INFO: Retrieving Stack Cost... 21:31:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:31:07 INFO: Archiving Costs [Pipeline] echo 21:31:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:31:07 ---> logs-deploy.sh 21:31:07 lf-activate-venv: SKIPPING 21:31:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/80 21:31:07 INFO: archiving workspace using pattern(s): 21:31:08 Archives upload complete. 21:31:08 INFO: archiving logs to Nexus