Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 826bf94fa21597c4032996cd263344f18e127d9f 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-ssh4144707824081800255.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh9783935338229903201.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh553435760144476568.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh8857409362395996009.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-ssh14987340471278109834.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16947 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 826bf94fa21597c4032996cd263344f18e127d9f (main) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#250)" > git config core.sparsecheckout # timeout=10 > git checkout -f 826bf94fa21597c4032996cd263344f18e127d9f # timeout=10 > git rev-list --no-walk 03dfe80146e416d2b04b2eaefcdaa11753ed70f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:02:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:02:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:02:18 ========================================================= 01:02:18 EdgeX Global Pipelines Version Info 01:02:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:02:19 ------------------- 01:02:19 stable info: 01:02:19 ------------------- 01:02:19 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 01:02:19 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 01:02:19 Message: update stable to v1.0.257 01:02:20 ------------------- 01:02:20 experimental info: 01:02:20 ------------------- 01:02:20 Commited By: **** collab-it+edgex@linuxfoundation.org 01:02:20 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 01:02:20 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 826bf94 [Pipeline] echo 01:02:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:20 provisioning config files... 01:02:20 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8892715861541577088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:21 ---> docker-login.sh 01:02:21 nexus3.edgexfoundry.org:10001 01:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:21 Configure a credential helper to remove this warning. See 01:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:21 01:02:21 Login Succeeded 01:02:21 nexus3.edgexfoundry.org:10002 01:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:21 Configure a credential helper to remove this warning. See 01:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:21 01:02:21 Login Succeeded 01:02:21 nexus3.edgexfoundry.org:10003 01:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:21 Configure a credential helper to remove this warning. See 01:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:21 01:02:21 Login Succeeded 01:02:21 nexus3.edgexfoundry.org:10004 01:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:21 Configure a credential helper to remove this warning. See 01:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:21 01:02:21 Login Succeeded 01:02:21 docker.io 01:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:22 Configure a credential helper to remove this warning. See 01:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:22 01:02:22 Login Succeeded 01:02:22 ---> docker-login.sh ends [Pipeline] } 01:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:02:22 + git rev-list -1 --merges 826bf94fa21597c4032996cd263344f18e127d9f~1..826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] echo 01:02:22 -----------> git rev-list -1 --merges 826bf94fa21597c4032996cd263344f18e127d9f~1..826bf94fa21597c4032996cd263344f18e127d9f 826bf94fa21597c4032996cd263344f18e127d9f [false] [Pipeline] sh 01:02:22 + git log --format=format:%s -1 826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] echo 01:02:22 ========================================================= 01:02:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:02:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:02:23 + git log --format=format:%s -1 826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] echo 01:02:23 [semverPrep] GIT_COMMIT: 826bf94fa21597c4032996cd263344f18e127d9f, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#250) [Pipeline] echo 01:02:23 [semverPrep] This is not a build commit. [Pipeline] sh 01:02:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:02:23 + grep -v github /etc/ssh/ssh_known_hosts 01:02:23 + [ -e /tmp/ssh_known_hosts ] 01:02:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:02:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:02:23 + sudo tee -a /etc/ssh/ssh_known_hosts 01:02:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:23 01:02:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:24 0.1.4: Pulling from edgex-devops/py-git-semver 01:02:24 b85a868b505f: Pulling fs layer 01:02:24 e2be974225ed: Pulling fs layer 01:02:24 339a4e72a1f5: Pulling fs layer 01:02:24 988bab9f4d93: Pulling fs layer 01:02:24 1469e6f7b9e6: Pulling fs layer 01:02:24 eaf3925da568: Pulling fs layer 01:02:24 bab4dde63d76: Pulling fs layer 01:02:24 bde34c3a00c8: Pulling fs layer 01:02:24 b352a97aabf1: Pulling fs layer 01:02:24 4872d77fe225: Pulling fs layer 01:02:24 5851b861e8e6: Pulling fs layer 01:02:24 b352a97aabf1: Waiting 01:02:24 4872d77fe225: Waiting 01:02:24 988bab9f4d93: Waiting 01:02:24 bde34c3a00c8: Waiting 01:02:24 5851b861e8e6: Waiting 01:02:24 eaf3925da568: Waiting 01:02:24 bab4dde63d76: Waiting 01:02:24 1469e6f7b9e6: Waiting 01:02:24 e2be974225ed: Download complete 01:02:24 988bab9f4d93: Verifying Checksum 01:02:24 988bab9f4d93: Download complete 01:02:24 1469e6f7b9e6: Verifying Checksum 01:02:24 1469e6f7b9e6: Download complete 01:02:24 eaf3925da568: Verifying Checksum 01:02:24 eaf3925da568: Download complete 01:02:24 339a4e72a1f5: Verifying Checksum 01:02:24 339a4e72a1f5: Download complete 01:02:24 bde34c3a00c8: Download complete 01:02:24 b352a97aabf1: Verifying Checksum 01:02:24 b352a97aabf1: Download complete 01:02:24 4872d77fe225: Download complete 01:02:24 5851b861e8e6: Verifying Checksum 01:02:24 5851b861e8e6: Download complete 01:02:24 b85a868b505f: Verifying Checksum 01:02:24 b85a868b505f: Download complete 01:02:24 bab4dde63d76: Verifying Checksum 01:02:24 bab4dde63d76: Download complete 01:02:25 b85a868b505f: Pull complete 01:02:25 e2be974225ed: Pull complete 01:02:26 339a4e72a1f5: Pull complete 01:02:26 988bab9f4d93: Pull complete 01:02:26 1469e6f7b9e6: Pull complete 01:02:26 eaf3925da568: Pull complete 01:02:28 bab4dde63d76: Pull complete 01:02:28 bde34c3a00c8: Pull complete 01:02:28 b352a97aabf1: Pull complete 01:02:28 4872d77fe225: Pull complete 01:02:28 5851b861e8e6: Pull complete 01:02:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:02:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:29 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:02:29 $ 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 01:02:36 $ docker top 11eafa077a0007444c57e442f7c48be111466395c88c3a69ca61776d75c50421 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:02:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:36 [ssh-agent] Looking for ssh-agent implementation... 01:02:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:36 $ docker exec 11eafa077a0007444c57e442f7c48be111466395c88c3a69ca61776d75c50421 ssh-agent 01:02:36 SSH_AUTH_SOCK=/tmp/ssh-HAlGT7B3YVbz/agent.32 01:02:36 SSH_AGENT_PID=38 01:02:36 Running ssh-add (command line suppressed) 01:02:36 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14000094978265028468.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14000094978265028468.key) 01:02:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:36 + git tag --points-at HEAD [Pipeline] } 01:02:36 $ docker exec --env ******** --env ******** 11eafa077a0007444c57e442f7c48be111466395c88c3a69ca61776d75c50421 ssh-agent -k 01:02:37 unset SSH_AUTH_SOCK; 01:02:37 unset SSH_AGENT_PID; 01:02:37 echo Agent pid 38 killed; 01:02:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:02:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:37 [ssh-agent] Looking for ssh-agent implementation... 01:02:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:37 $ docker exec 11eafa077a0007444c57e442f7c48be111466395c88c3a69ca61776d75c50421 ssh-agent 01:02:37 SSH_AUTH_SOCK=/tmp/ssh-ABhUKCxqCJLn/agent.70 01:02:37 SSH_AGENT_PID=76 01:02:37 Running ssh-add (command line suppressed) 01:02:37 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14806331315231733517.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14806331315231733517.key) 01:02:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:37 + git semver init 01:02:38 2023-11-08 01:02:37,984 [run_init] DEBUG init version:0.0.0 force:False 01:02:38 2023-11-08 01:02:37,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 01:02:38 2023-11-08 01:02:37,986 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 01:02:38 2023-11-08 01:02:37,986 [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) 01:02:39 2023-11-08 01:02:39,490 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 01:02:39 2023-11-08 01:02:39,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 01:02:39 2023-11-08 01:02:39,491 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:02:39 2023-11-08 01:02:39,491 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:02:39 3.1.0-dev.38 [Pipeline] } 01:02:39 $ docker exec --env ******** --env ******** 11eafa077a0007444c57e442f7c48be111466395c88c3a69ca61776d75c50421 ssh-agent -k 01:02:40 unset SSH_AUTH_SOCK; 01:02:40 unset SSH_AGENT_PID; 01:02:40 echo Agent pid 76 killed; 01:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:02:40 + git semver [Pipeline] } 01:02:41 $ docker stop --time=1 11eafa077a0007444c57e442f7c48be111466395c88c3a69ca61776d75c50421 01:02:42 $ docker rm -f --volumes 11eafa077a0007444c57e442f7c48be111466395c88c3a69ca61776d75c50421 [Pipeline] // withDockerContainer [Pipeline] sh 01:02:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:02:43 Stashed 1 file(s) [Pipeline] echo 01:02:43 [edgeXSemver]: initialized semver on version 3.1.0-dev.38 [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 01:02:43 provisioning config files... 01:02:43 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8273675413718275261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:43 ---> docker-login.sh 01:02:43 nexus3.edgexfoundry.org:10001 01:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:43 Configure a credential helper to remove this warning. See 01:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:43 01:02:43 Login Succeeded 01:02:43 nexus3.edgexfoundry.org:10002 01:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:43 Configure a credential helper to remove this warning. See 01:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:43 01:02:43 Login Succeeded 01:02:43 nexus3.edgexfoundry.org:10003 01:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:44 Configure a credential helper to remove this warning. See 01:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:44 01:02:44 Login Succeeded 01:02:44 nexus3.edgexfoundry.org:10004 01:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:44 Configure a credential helper to remove this warning. See 01:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:44 01:02:44 Login Succeeded 01:02:44 docker.io 01:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:44 Configure a credential helper to remove this warning. See 01:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:44 01:02:44 Login Succeeded 01:02:44 ---> docker-login.sh ends [Pipeline] } 01:02:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:02:44 ========================================================= 01:02:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:02:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:02:44 Sending build context to Docker daemon 12.75MB 01:02:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:02:44 Step 2/12 : FROM ${BASE} AS builder 01:02:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:02:44 7264a8db6415: Pulling fs layer 01:02:44 c4d48a809fc2: Pulling fs layer 01:02:44 4f1c88b9dad5: Pulling fs layer 01:02:44 ad3a456e5733: Pulling fs layer 01:02:44 33e27b845d1e: Pulling fs layer 01:02:44 ad3a456e5733: Waiting 01:02:44 c68163c4e522: Pulling fs layer 01:02:44 50da416c3ac9: Pulling fs layer 01:02:44 23d2d4c4bb30: Pulling fs layer 01:02:44 33e27b845d1e: Waiting 01:02:44 c68163c4e522: Waiting 01:02:44 23d2d4c4bb30: Waiting 01:02:44 50da416c3ac9: Waiting 01:02:44 c4d48a809fc2: Download complete 01:02:44 ad3a456e5733: Verifying Checksum 01:02:44 ad3a456e5733: Download complete 01:02:44 33e27b845d1e: Download complete 01:02:44 7264a8db6415: Download complete 01:02:44 c68163c4e522: Verifying Checksum 01:02:44 c68163c4e522: Download complete 01:02:44 7264a8db6415: Pull complete 01:02:45 23d2d4c4bb30: Verifying Checksum 01:02:45 23d2d4c4bb30: Download complete 01:02:45 c4d48a809fc2: Pull complete 01:02:45 4f1c88b9dad5: Verifying Checksum 01:02:45 4f1c88b9dad5: Download complete 01:02:45 50da416c3ac9: Verifying Checksum 01:02:45 50da416c3ac9: Download complete 01:02:48 4f1c88b9dad5: Pull complete 01:02:48 ad3a456e5733: Pull complete 01:02:49 33e27b845d1e: Pull complete 01:02:49 c68163c4e522: Pull complete 01:02:51 50da416c3ac9: Pull complete 01:02:51 23d2d4c4bb30: Pull complete 01:02:51 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 01:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:02:51 ---> 0786185ac409 01:02:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 01:02:57 ---> Running in 9983d37cbac9 01:02:57 Removing intermediate container 9983d37cbac9 01:02:57 ---> ca24389d3b15 01:02:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:02:57 ---> Running in f6cc689c484e 01:02:57 Removing intermediate container f6cc689c484e 01:02:57 ---> 4b56d9e6ad80 01:02:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:02:57 ---> Running in 7c4ff1190922 01:02:57 Removing intermediate container 7c4ff1190922 01:02:57 ---> 3d0d9cc3bd36 01:02:57 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:02:57 ---> Running in 9e4820bcc9c2 01:02:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:02:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:02:57 OK: 264 MiB in 52 packages 01:02:57 Removing intermediate container 9e4820bcc9c2 01:02:57 ---> 2a6aeb78e155 01:02:57 Step 7/12 : WORKDIR /app 01:02:57 ---> Running in a41ef27a85ca 01:02:57 Removing intermediate container a41ef27a85ca 01:02:57 ---> e4df48907478 01:02:57 Step 8/12 : COPY go.mod vendor* ./ 01:02:57 ---> ad6beda2f0b8 01:02:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:02:57 ---> Running in 7789443d5eb4 01:02:58 Still waiting to schedule task 01:02:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:03:36 Removing intermediate container 7789443d5eb4 01:03:36 ---> 394a2c72154c 01:03:36 Step 10/12 : COPY . . 01:03:36 ---> fea3040b5948 01:03:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:03:36 ---> Running in 2dbba96a4126 01:03:36 Removing intermediate container 2dbba96a4126 01:03:36 ---> 87730ed81574 01:03:36 Step 12/12 : RUN $MAKE 01:03:36 ---> Running in 3605b188dabf 01:03:36 noop 01:03:36 Removing intermediate container 3605b188dabf 01:03:36 ---> 310fe4111666 01:03:36 Successfully built 310fe4111666 01:03:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:36 + docker inspect -f . ci-base-image-x86_64 01:03:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:37 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:03:37 $ 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 01:03:37 $ docker top 6b4990aa5fc53b89e62b878105d7f927c0e1a1ba2081d9f18a41f8a3d70022ce -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:37 + go version 01:03:37 go version go1.21.0 linux/amd64 [Pipeline] } 01:03:37 $ docker stop --time=1 6b4990aa5fc53b89e62b878105d7f927c0e1a1ba2081d9f18a41f8a3d70022ce 01:03:39 $ docker rm -f --volumes 6b4990aa5fc53b89e62b878105d7f927c0e1a1ba2081d9f18a41f8a3d70022ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:39 + docker inspect -f . ci-base-image-x86_64 01:03:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:39 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:03:39 $ 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 01:03:39 $ docker top 5ccc8cca12e0301992ccb855b93dea10f927be421ffa34e5cb1895f742d4057d -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:40 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 01:03:40 + make test 01:03:40 go test -race ./... -coverprofile=coverage.out ./... 01:04:02 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 01:04:02 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 01:04:02 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.147s coverage: 86.2% of statements 01:04:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.689s coverage: 71.9% of statements 01:04:25 go vet ./... 01:04:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:04:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:04:26 ./bin/test-attribution.sh 01:04:26 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 01:04:26 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 01:04:26 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 01:04:26 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 01:04:26 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 01:04:26 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 01:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:04:26 $ docker stop --time=1 5ccc8cca12e0301992ccb855b93dea10f927be421ffa34e5cb1895f742d4057d 01:04:30 $ docker rm -f --volumes 5ccc8cca12e0301992ccb855b93dea10f927be421ffa34e5cb1895f742d4057d [Pipeline] // withDockerContainer [Pipeline] sh 01:04:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:04:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:04:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:04:32 + ls -al . 01:04:32 total 208 01:04:32 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 01:03 . 01:04:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 01:02 .. 01:04:32 -rw-rw-r-- 1 jenkins jenkins 262 Nov 8 01:02 .dockerignore 01:04:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 01:04 .git 01:04:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 01:02 .github 01:04:32 -rw-rw-r-- 1 jenkins jenkins 773 Nov 8 01:02 .gitignore 01:04:32 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 01:02 .golangci.yml 01:04:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 01:02 .semver 01:04:32 -rw-rw-r-- 1 jenkins jenkins 10232 Nov 8 01:02 Attribution.txt 01:04:32 -rw-rw-r-- 1 jenkins jenkins 9317 Nov 8 01:02 CHANGELOG.md 01:04:32 -rw-rw-r-- 1 jenkins jenkins 1659 Nov 8 01:02 Dockerfile 01:04:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 01:02 GOVERNANCE.md 01:04:32 -rw-rw-r-- 1 jenkins jenkins 665 Nov 8 01:02 Jenkinsfile 01:04:32 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 8 01:02 LICENSE 01:04:32 -rw-rw-r-- 1 jenkins jenkins 2497 Nov 8 01:02 Makefile 01:04:32 -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 01:02 OWNERS.md 01:04:32 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 8 01:02 README.md 01:04:32 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 01:02 VERSION 01:04:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 01:02 bin 01:04:32 -rw-r--r-- 1 jenkins jenkins 41317 Nov 8 01:04 coverage.out 01:04:32 -rw-rw-r-- 1 jenkins jenkins 3922 Nov 8 01:02 go.mod 01:04:32 -rw-rw-r-- 1 jenkins jenkins 34986 Nov 8 01:02 go.sum 01:04:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 01:02 images 01:04:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 01:02 internal 01:04:32 -rw-rw-r-- 1 jenkins jenkins 531 Nov 8 01:02 main.go 01:04:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 01:02 openapi 01:04:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 01:02 res 01:04:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 01:02 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:32 + 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=826bf94fa21597c4032996cd263344f18e127d9f --label arch=amd64 --label version=3.1.0-dev.38 . 01:04:32 Sending build context to Docker daemon 12.75MB 01:04:32 Step 1/29 : ARG BASE=golang:1.21-alpine3.18 01:04:32 Step 2/29 : FROM ${BASE} AS builder 01:04:32 ---> 310fe4111666 01:04:32 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 01:04:32 ---> Running in 6d391183263b 01:04:32 Removing intermediate container 6d391183263b 01:04:32 ---> 98de35b80219 01:04:32 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 01:04:32 ---> Running in 528ff5255532 01:04:32 Removing intermediate container 528ff5255532 01:04:32 ---> 03591d0bc212 01:04:32 Step 5/29 : ARG ADD_BUILD_TAGS="" 01:04:32 ---> Running in e79c05ee0421 01:04:32 Removing intermediate container e79c05ee0421 01:04:32 ---> 0131c863c8fc 01:04:32 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:32 ---> Running in ea9c06b89e7f 01:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:04:33 OK: 264 MiB in 52 packages 01:04:33 Removing intermediate container ea9c06b89e7f 01:04:33 ---> 049c48abc88e 01:04:33 Step 7/29 : WORKDIR /app 01:04:33 ---> Running in ceb0d0dcd31a 01:04:33 Removing intermediate container ceb0d0dcd31a 01:04:33 ---> e21fb795a821 01:04:33 Step 8/29 : COPY go.mod vendor* ./ 01:04:33 ---> 564bd54b02ab 01:04:33 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:33 ---> Running in ce4e7b5958ec 01:04:34 Removing intermediate container ce4e7b5958ec 01:04:34 ---> e53b57d3bae2 01:04:34 Step 10/29 : COPY . . 01:04:35 ---> a27168784fd3 01:04:35 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:35 ---> Running in 4f0ad5b548c5 01:04:35 Removing intermediate container 4f0ad5b548c5 01:04:35 ---> 7498095a40e6 01:04:35 Step 12/29 : RUN $MAKE 01:04:35 ---> Running in a5620da07469 01:04:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.38 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.1.0-dev.38" -trimpath -mod=readonly -o app-rfid-llrp-inventory 01:04:53 Removing intermediate container a5620da07469 01:04:53 ---> b18825390dcb 01:04:53 Step 13/29 : FROM alpine:3.18 01:04:54 3.18: Pulling from library/alpine 01:04:54 96526aa774ef: Pulling fs layer 01:04:54 96526aa774ef: Verifying Checksum 01:04:54 96526aa774ef: Download complete 01:04:54 96526aa774ef: Pull complete 01:04:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 01:04:54 Status: Downloaded newer image for alpine:3.18 01:04:54 ---> 8ca4688f4f35 01:04:54 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:04:54 ---> Running in 491ac4059ea0 01:04:54 Removing intermediate container 491ac4059ea0 01:04:54 ---> bf615a44f23b 01:04:54 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 01:04:54 ---> Running in 994dfb9a00bf 01:04:54 Removing intermediate container 994dfb9a00bf 01:04:54 ---> 7c0ea82c7dbf 01:04:54 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 01:04:54 ---> Running in 7a57525383c2 01:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:04:55 (1/2) Installing ca-certificates (20230506-r0) 01:04:55 (2/2) Installing dumb-init (1.2.5-r2) 01:04:55 Executing busybox-1.36.1-r2.trigger 01:04:55 Executing ca-certificates-20230506-r0.trigger 01:04:55 OK: 8 MiB in 17 packages 01:04:56 Removing intermediate container 7a57525383c2 01:04:56 ---> be5657533645 01:04:56 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:04:56 ---> 3842d051fe47 01:04:56 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 01:04:56 ---> 118806f7d5a5 01:04:56 Step 19/29 : COPY --from=builder /app/res/ /res/ 01:04:56 ---> 290bde0b3733 01:04:56 Step 20/29 : COPY --from=builder /app/static/ /static/ 01:04:56 ---> 2d2a1e56828c 01:04:56 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 01:04:57 ---> 8bf4f1383511 01:04:57 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 01:04:57 ---> Running in 5af998469a62 01:04:57 Removing intermediate container 5af998469a62 01:04:57 ---> 99eb04e0b1f4 01:04:57 Step 23/29 : VOLUME /cache 01:04:57 ---> Running in cf66c19f780f 01:04:57 Removing intermediate container cf66c19f780f 01:04:57 ---> 3bba4d1998e7 01:04:57 Step 24/29 : EXPOSE 59711 01:04:57 ---> Running in 0cf0c3f4cdbe 01:04:58 Removing intermediate container 0cf0c3f4cdbe 01:04:58 ---> 8d7aeee2b4a4 01:04:58 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 01:04:58 ---> Running in 51051eaf98fd 01:04:58 Removing intermediate container 51051eaf98fd 01:04:58 ---> 80deb75d944c 01:04:58 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 01:04:58 ---> Running in fecdc82094d4 01:04:58 Removing intermediate container fecdc82094d4 01:04:58 ---> 3ec667b46df3 01:04:58 Step 27/29 : LABEL arch=amd64 01:04:58 ---> Running in da7fcd9a78e2 01:04:58 Removing intermediate container da7fcd9a78e2 01:04:58 ---> 7fe6334c6f0c 01:04:58 Step 28/29 : LABEL git_sha=826bf94fa21597c4032996cd263344f18e127d9f 01:04:58 ---> Running in 5e7808a226df 01:04:58 Removing intermediate container 5e7808a226df 01:04:58 ---> 0d9ec5c0ee86 01:04:58 Step 29/29 : LABEL version=3.1.0-dev.38 01:04:58 ---> Running in 8297c15b246b 01:04:58 Removing intermediate container 8297c15b246b 01:04:58 ---> c5762853e924 01:04:58 [Warning] One or more build-args [ARCH] were not consumed 01:04:58 Successfully built c5762853e924 01:04:58 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 01:04:58 provisioning config files... 01:04:58 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1993883581954922682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:58 ---> docker-login.sh 01:04:58 nexus3.edgexfoundry.org:10001 01:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:58 Configure a credential helper to remove this warning. See 01:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:58 01:04:58 Login Succeeded 01:04:58 nexus3.edgexfoundry.org:10002 01:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:58 Configure a credential helper to remove this warning. See 01:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:58 01:04:58 Login Succeeded 01:04:58 nexus3.edgexfoundry.org:10003 01:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:58 Configure a credential helper to remove this warning. See 01:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:58 01:04:58 Login Succeeded 01:04:58 nexus3.edgexfoundry.org:10004 01:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:58 Configure a credential helper to remove this warning. See 01:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:58 01:04:58 Login Succeeded 01:04:58 docker.io 01:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:59 Configure a credential helper to remove this warning. See 01:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:59 01:04:59 Login Succeeded 01:04:59 ---> docker-login.sh ends [Pipeline] } 01:04:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:04:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:04:59 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 01:04:59 826bf94fa21597c4032996cd263344f18e127d9f 01:04:59 latest 01:04:59 3.1.0-dev.38 01:04:59 826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 01:04:59 main 01:04:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:59 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:59 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:826bf94fa21597c4032996cd263344f18e127d9f 01:04:59 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 01:04:59 a1a5b1f4afe7: Preparing 01:04:59 8c63b267bc7f: Preparing 01:04:59 efc3d07e5d4a: Preparing 01:04:59 bc737954e36f: Preparing 01:04:59 57f831485fb4: Preparing 01:04:59 f32c737cb720: Preparing 01:04:59 1b59d15f3b2f: Preparing 01:04:59 cc2447e1835a: Preparing 01:04:59 f32c737cb720: Waiting 01:04:59 1b59d15f3b2f: Waiting 01:04:59 cc2447e1835a: Waiting 01:04:59 a1a5b1f4afe7: Pushed 01:04:59 bc737954e36f: Pushed 01:04:59 efc3d07e5d4a: Pushed 01:04:59 57f831485fb4: Pushed 01:05:00 f32c737cb720: Pushed 01:05:00 cc2447e1835a: Layer already exists 01:05:00 1b59d15f3b2f: Pushed 01:05:03 8c63b267bc7f: Pushed 01:05:03 826bf94fa21597c4032996cd263344f18e127d9f: digest: sha256:1ad049e019f065aae32b2695688b1391dd73f96e1875b12fc4a0baf252a5e0e9 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:03 + 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 01:05:04 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 01:05:04 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 01:05:04 a1a5b1f4afe7: Preparing 01:05:04 8c63b267bc7f: Preparing 01:05:04 efc3d07e5d4a: Preparing 01:05:04 bc737954e36f: Preparing 01:05:04 57f831485fb4: Preparing 01:05:04 f32c737cb720: Preparing 01:05:04 1b59d15f3b2f: Preparing 01:05:04 cc2447e1835a: Preparing 01:05:04 1b59d15f3b2f: Waiting 01:05:04 f32c737cb720: Waiting 01:05:04 cc2447e1835a: Waiting 01:05:04 8c63b267bc7f: Layer already exists 01:05:04 efc3d07e5d4a: Layer already exists 01:05:04 a1a5b1f4afe7: Layer already exists 01:05:04 bc737954e36f: Layer already exists 01:05:04 57f831485fb4: Layer already exists 01:05:04 f32c737cb720: Layer already exists 01:05:04 1b59d15f3b2f: Layer already exists 01:05:04 cc2447e1835a: Layer already exists 01:05:04 latest: digest: sha256:1ad049e019f065aae32b2695688b1391dd73f96e1875b12fc4a0baf252a5e0e9 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:04 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:04 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.1.0-dev.38 01:05:04 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 01:05:04 a1a5b1f4afe7: Preparing 01:05:04 8c63b267bc7f: Preparing 01:05:04 efc3d07e5d4a: Preparing 01:05:04 bc737954e36f: Preparing 01:05:04 57f831485fb4: Preparing 01:05:04 f32c737cb720: Preparing 01:05:04 1b59d15f3b2f: Preparing 01:05:04 cc2447e1835a: Preparing 01:05:04 cc2447e1835a: Waiting 01:05:04 f32c737cb720: Waiting 01:05:04 a1a5b1f4afe7: Layer already exists 01:05:04 57f831485fb4: Layer already exists 01:05:04 bc737954e36f: Layer already exists 01:05:04 efc3d07e5d4a: Layer already exists 01:05:04 8c63b267bc7f: Layer already exists 01:05:04 f32c737cb720: Layer already exists 01:05:04 cc2447e1835a: Layer already exists 01:05:04 1b59d15f3b2f: Layer already exists 01:05:04 3.1.0-dev.38: digest: sha256:1ad049e019f065aae32b2695688b1391dd73f96e1875b12fc4a0baf252a5e0e9 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:05 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:05 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 01:05:05 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 01:05:05 a1a5b1f4afe7: Preparing 01:05:05 8c63b267bc7f: Preparing 01:05:05 efc3d07e5d4a: Preparing 01:05:05 bc737954e36f: Preparing 01:05:05 57f831485fb4: Preparing 01:05:05 f32c737cb720: Preparing 01:05:05 1b59d15f3b2f: Preparing 01:05:05 cc2447e1835a: Preparing 01:05:05 1b59d15f3b2f: Waiting 01:05:05 cc2447e1835a: Waiting 01:05:05 f32c737cb720: Waiting 01:05:05 a1a5b1f4afe7: Layer already exists 01:05:05 bc737954e36f: Layer already exists 01:05:05 efc3d07e5d4a: Layer already exists 01:05:05 57f831485fb4: Layer already exists 01:05:05 8c63b267bc7f: Layer already exists 01:05:05 1b59d15f3b2f: Layer already exists 01:05:05 cc2447e1835a: Layer already exists 01:05:05 f32c737cb720: Layer already exists 01:05:05 826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38: digest: sha256:1ad049e019f065aae32b2695688b1391dd73f96e1875b12fc4a0baf252a5e0e9 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:05 + 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 01:05:05 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 01:05:05 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 01:05:05 a1a5b1f4afe7: Preparing 01:05:05 8c63b267bc7f: Preparing 01:05:05 efc3d07e5d4a: Preparing 01:05:05 bc737954e36f: Preparing 01:05:05 57f831485fb4: Preparing 01:05:05 f32c737cb720: Preparing 01:05:05 1b59d15f3b2f: Preparing 01:05:05 cc2447e1835a: Preparing 01:05:05 1b59d15f3b2f: Waiting 01:05:05 cc2447e1835a: Waiting 01:05:05 f32c737cb720: Waiting 01:05:05 bc737954e36f: Layer already exists 01:05:05 a1a5b1f4afe7: Layer already exists 01:05:05 efc3d07e5d4a: Layer already exists 01:05:05 8c63b267bc7f: Layer already exists 01:05:05 57f831485fb4: Layer already exists 01:05:05 f32c737cb720: Layer already exists 01:05:05 1b59d15f3b2f: Layer already exists 01:05:05 cc2447e1835a: Layer already exists 01:05:05 main: digest: sha256:1ad049e019f065aae32b2695688b1391dd73f96e1875b12fc4a0baf252a5e0e9 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:05:06 ===================================================== [Pipeline] echo 01:05:06 taggedImages: 01:05:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:826bf94fa21597c4032996cd263344f18e127d9f 01:05:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 01:05:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.1.0-dev.38 01:05:06 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 01:05:06 - 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 01:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:06 01:05:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:06 latest: Pulling from edgex-lftools-log-publisher 01:05:06 5eb5b503b376: Pulling fs layer 01:05:06 5c69ac0246d0: Pulling fs layer 01:05:06 ec43610c2a17: Pulling fs layer 01:05:06 3a2ae6a8a46f: Pulling fs layer 01:05:06 33b1e0a273af: Pulling fs layer 01:05:06 5d3b04190fa2: Pulling fs layer 01:05:06 2f39f015ded8: Pulling fs layer 01:05:06 3a2ae6a8a46f: Waiting 01:05:06 33b1e0a273af: Waiting 01:05:06 5d3b04190fa2: Waiting 01:05:06 2f39f015ded8: Waiting 01:05:06 5c69ac0246d0: Verifying Checksum 01:05:06 5c69ac0246d0: Download complete 01:05:06 3a2ae6a8a46f: Verifying Checksum 01:05:06 3a2ae6a8a46f: Download complete 01:05:06 33b1e0a273af: Verifying Checksum 01:05:06 33b1e0a273af: Download complete 01:05:06 5d3b04190fa2: Verifying Checksum 01:05:06 5d3b04190fa2: Download complete 01:05:06 ec43610c2a17: Download complete 01:05:06 5eb5b503b376: Verifying Checksum 01:05:06 5eb5b503b376: Download complete 01:05:07 2f39f015ded8: Verifying Checksum 01:05:07 2f39f015ded8: Download complete 01:05:08 5eb5b503b376: Pull complete 01:05:08 5c69ac0246d0: Pull complete 01:05:08 ec43610c2a17: Pull complete 01:05:08 3a2ae6a8a46f: Pull complete 01:05:08 33b1e0a273af: Pull complete 01:05:08 5d3b04190fa2: Pull complete 01:05:13 2f39f015ded8: Pull complete 01:05:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:13 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:05:13 $ 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 01:05:16 $ docker top 7b804397d5c7815b81075feb6e7133adfe1f15b081bbe84ed56db584ca1900fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:16 ---> job-cost.sh 01:05:16 lf-activate-venv: SKIPPING 01:05:16 INFO: No Stack... 01:05:16 INFO: Retrieving Pricing Info for: v3-standard-8 01:05:17 INFO: Archiving Costs [Pipeline] sh 01:05:17 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 01:05:17 + cut -d, -f6 [Pipeline] lock 01:05:17 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] 01:05:17 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] did not exist. Created. 01:05:17 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:05:17 + echo total: 0.2199999988079071 [Pipeline] stash 01:05:17 Stashed 1 file(s) [Pipeline] } 01:05:17 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 01:05:17 $ docker stop --time=1 7b804397d5c7815b81075feb6e7133adfe1f15b081bbe84ed56db584ca1900fd 01:05:19 $ docker rm -f --volumes 7b804397d5c7815b81075feb6e7133adfe1f15b081bbe84ed56db584ca1900fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:06:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16952 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 01:06:08 Running in /w/workspace/app-rfid-llrp-inventory/150 [Pipeline] { [Pipeline] checkout 01:06:08 The recommended git tool is: git 01:06:14 using credential edgex-jenkins-ssh 01:06:14 Cloning the remote Git repository 01:06:14 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 01:06:14 > git init /w/workspace/app-rfid-llrp-inventory/150 # timeout=10 01:06:14 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 01:06:14 > git --version # timeout=10 01:06:14 > git --version # 'git version 2.25.1' 01:06:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:17 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 01:06:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:18 Avoid second fetch 01:06:18 Checking out Revision 826bf94fa21597c4032996cd263344f18e127d9f (main) 01:06:19 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#250)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:18 > git config core.sparsecheckout # timeout=10 01:06:18 > git checkout -f 826bf94fa21597c4032996cd263344f18e127d9f # timeout=10 01:06:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:06:19 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:19 Dload Upload Total Spent Left Speed 01:06:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 01:06:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:06:21 + sudo tee /etc/docker/daemon.new 01:06:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:06:21 { 01:06:21 "registry-mirrors": [ 01:06:21 "https://nexus3.edgexfoundry.org:10001" 01:06:21 ], 01:06:21 "bip": "10.250.0.254/24", 01:06:21 "hosts": [ 01:06:21 "tcp://0.0.0.0:5555", 01:06:21 "unix:///var/run/docker.sock" 01:06:21 ], 01:06:21 "mtu": 1458, 01:06:21 "selinux-enabled": true, 01:06:21 "seccomp-profile": "/etc/docker/seccomp.json" 01:06:21 } [Pipeline] sh 01:06:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:06:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:43 provisioning config files... 01:06:43 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/150@tmp/config6066900479651013812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:44 ---> docker-login.sh 01:06:44 nexus3.edgexfoundry.org:10001 01:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:45 Configure a credential helper to remove this warning. See 01:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:45 01:06:45 Login Succeeded 01:06:45 nexus3.edgexfoundry.org:10002 01:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:45 Configure a credential helper to remove this warning. See 01:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:45 01:06:45 Login Succeeded 01:06:45 nexus3.edgexfoundry.org:10003 01:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:46 Configure a credential helper to remove this warning. See 01:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:46 01:06:46 Login Succeeded 01:06:46 nexus3.edgexfoundry.org:10004 01:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:46 Configure a credential helper to remove this warning. See 01:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:46 01:06:46 Login Succeeded 01:06:46 docker.io 01:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:47 Configure a credential helper to remove this warning. See 01:06:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:47 01:06:47 Login Succeeded 01:06:47 ---> docker-login.sh ends [Pipeline] } 01:06:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:06:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:06:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:06:47 ========================================================= 01:06:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:06:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:06:48 Sending build context to Docker daemon 669.2kB 01:06:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:06:48 Step 2/12 : FROM ${BASE} AS builder 01:06:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:06:48 9fda8d8052c6: Pulling fs layer 01:06:48 5d54e960e981: Pulling fs layer 01:06:48 c4a7e357bf2a: Pulling fs layer 01:06:48 f0e02332f6b5: Pulling fs layer 01:06:48 cefa15bbcfad: Pulling fs layer 01:06:48 17808c966233: Pulling fs layer 01:06:48 f4c1fc716caa: Pulling fs layer 01:06:48 cefa15bbcfad: Waiting 01:06:48 17808c966233: Waiting 01:06:48 f4c1fc716caa: Waiting 01:06:48 f0e02332f6b5: Waiting 01:06:48 5d54e960e981: Verifying Checksum 01:06:48 5d54e960e981: Download complete 01:06:48 f0e02332f6b5: Verifying Checksum 01:06:48 f0e02332f6b5: Download complete 01:06:48 cefa15bbcfad: Verifying Checksum 01:06:48 cefa15bbcfad: Download complete 01:06:48 9fda8d8052c6: Verifying Checksum 01:06:48 9fda8d8052c6: Download complete 01:06:49 f4c1fc716caa: Verifying Checksum 01:06:49 f4c1fc716caa: Download complete 01:06:49 9fda8d8052c6: Pull complete 01:06:50 5d54e960e981: Pull complete 01:06:50 c4a7e357bf2a: Verifying Checksum 01:06:50 c4a7e357bf2a: Download complete 01:06:51 17808c966233: Verifying Checksum 01:06:51 17808c966233: Download complete 01:07:06 c4a7e357bf2a: Pull complete 01:07:06 f0e02332f6b5: Pull complete 01:07:06 cefa15bbcfad: Pull complete 01:07:13 17808c966233: Pull complete 01:07:15 f4c1fc716caa: Pull complete 01:07:15 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 01:07:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:07:15 ---> ea914061e18c 01:07:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 01:07:16 ---> Running in 4beb4ef4da36 01:07:17 Removing intermediate container 4beb4ef4da36 01:07:17 ---> 03890e876279 01:07:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:07:17 ---> Running in 35d9274f919a 01:07:17 Removing intermediate container 35d9274f919a 01:07:17 ---> c06be4e6f66d 01:07:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:07:18 ---> Running in 5ed616087c4f 01:07:18 Removing intermediate container 5ed616087c4f 01:07:18 ---> d1f3e7043d81 01:07:18 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:18 ---> Running in ef019b6b9494 01:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:07:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:07:21 OK: 266 MiB in 52 packages 01:07:22 Removing intermediate container ef019b6b9494 01:07:22 ---> ed8d12517324 01:07:22 Step 7/12 : WORKDIR /app 01:07:22 ---> Running in 6492dee5bb9c 01:07:22 Removing intermediate container 6492dee5bb9c 01:07:22 ---> 2314790fe529 01:07:22 Step 8/12 : COPY go.mod vendor* ./ 01:07:23 ---> a91ba7bee81b 01:07:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:23 ---> Running in 4b0aee02247b 01:08:45 Removing intermediate container 4b0aee02247b 01:08:45 ---> fe312485b4f8 01:08:45 Step 10/12 : COPY . . 01:08:45 ---> 1eb1836303b7 01:08:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:08:45 ---> Running in 97031ab42dfd 01:08:45 Removing intermediate container 97031ab42dfd 01:08:45 ---> 4515cb1ea1b8 01:08:45 Step 12/12 : RUN $MAKE 01:08:45 ---> Running in af8ed025db9d 01:08:45 noop 01:08:49 Removing intermediate container af8ed025db9d 01:08:49 ---> 8db82c2f28a7 01:08:49 Successfully built 8db82c2f28a7 01:08:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:49 + docker inspect -f . ci-base-image-arm64 01:08:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:49 prd-ubuntu20.04-docker-arm64-4c-16g-16952 does not seem to be running inside a container 01:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/150 -v /w/workspace/app-rfid-llrp-inventory/150:/w/workspace/app-rfid-llrp-inventory/150:rw,z -v /w/workspace/app-rfid-llrp-inventory/150@tmp:/w/workspace/app-rfid-llrp-inventory/150@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 01:08:51 $ docker top f5beadbc935d376a36decd2915cd7f2bfc446aa3da4935c43aa8820218c5dc40 -eo pid,comm [Pipeline] { [Pipeline] sh 01:08:51 + go version 01:08:51 go version go1.21.0 linux/arm64 [Pipeline] } 01:08:51 $ docker stop --time=1 f5beadbc935d376a36decd2915cd7f2bfc446aa3da4935c43aa8820218c5dc40 01:08:53 $ docker rm -f --volumes f5beadbc935d376a36decd2915cd7f2bfc446aa3da4935c43aa8820218c5dc40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:54 + docker inspect -f . ci-base-image-arm64 01:08:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:54 prd-ubuntu20.04-docker-arm64-4c-16g-16952 does not seem to be running inside a container 01:08:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/150 -v /w/workspace/app-rfid-llrp-inventory/150:/w/workspace/app-rfid-llrp-inventory/150:rw,z -v /w/workspace/app-rfid-llrp-inventory/150@tmp:/w/workspace/app-rfid-llrp-inventory/150@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 01:08:55 $ docker top 97ef90c290a0a6079bffa9ce2b577ac576a21643d7a75a875cf85d4ca2a00853 -eo pid,comm [Pipeline] { [Pipeline] sh 01:08:56 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/150 [Pipeline] fileExists [Pipeline] sh 01:08:57 + make test 01:08:57 go test -race ./... -coverprofile=coverage.out ./... 01:12:04 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 01:12:04 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 01:12:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.257s coverage: 86.2% of statements 01:12:17 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.515s coverage: 71.9% of statements 01:12:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:12:20 go vet ./... 01:14:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:14:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:14:42 ./bin/test-attribution.sh 01:14:42 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 01:14:42 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 01:14:42 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 01:14:42 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 01:14:42 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 01:14:42 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 01:14:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:14:42 $ docker stop --time=1 97ef90c290a0a6079bffa9ce2b577ac576a21643d7a75a875cf85d4ca2a00853 01:14:44 $ docker rm -f --volumes 97ef90c290a0a6079bffa9ce2b577ac576a21643d7a75a875cf85d4ca2a00853 [Pipeline] // withDockerContainer [Pipeline] sh 01:14:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:14:45 Warning: overwriting stash ‘coverage-report’ 01:14:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:14:47 + ls -al . 01:14:47 total 204 01:14:47 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 01:09 . 01:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 01:06 .. 01:14:47 -rw-rw-r-- 1 jenkins jenkins 262 Nov 8 01:06 .dockerignore 01:14:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 01:06 .git 01:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 01:06 .github 01:14:47 -rw-rw-r-- 1 jenkins jenkins 773 Nov 8 01:06 .gitignore 01:14:47 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 01:06 .golangci.yml 01:14:47 -rw-rw-r-- 1 jenkins jenkins 10232 Nov 8 01:06 Attribution.txt 01:14:47 -rw-rw-r-- 1 jenkins jenkins 9317 Nov 8 01:06 CHANGELOG.md 01:14:47 -rw-rw-r-- 1 jenkins jenkins 1659 Nov 8 01:06 Dockerfile 01:14:47 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 01:06 GOVERNANCE.md 01:14:47 -rw-rw-r-- 1 jenkins jenkins 665 Nov 8 01:06 Jenkinsfile 01:14:47 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 8 01:06 LICENSE 01:14:47 -rw-rw-r-- 1 jenkins jenkins 2497 Nov 8 01:06 Makefile 01:14:47 -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 01:06 OWNERS.md 01:14:47 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 8 01:06 README.md 01:14:47 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 01:02 VERSION 01:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 01:06 bin 01:14:47 -rw-r--r-- 1 jenkins jenkins 41317 Nov 8 01:12 coverage.out 01:14:47 -rw-rw-r-- 1 jenkins jenkins 3922 Nov 8 01:06 go.mod 01:14:47 -rw-rw-r-- 1 jenkins jenkins 34986 Nov 8 01:06 go.sum 01:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 01:06 images 01:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 01:06 internal 01:14:47 -rw-rw-r-- 1 jenkins jenkins 531 Nov 8 01:06 main.go 01:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 01:06 openapi 01:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 01:06 res 01:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 01:06 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:47 + 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=826bf94fa21597c4032996cd263344f18e127d9f --label arch=arm64 --label version=3.1.0-dev.38 . 01:14:47 Sending build context to Docker daemon 669.2kB 01:14:47 Step 1/29 : ARG BASE=golang:1.21-alpine3.18 01:14:47 Step 2/29 : FROM ${BASE} AS builder 01:14:47 ---> 8db82c2f28a7 01:14:47 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 01:14:47 ---> Running in 1ea6ff596521 01:14:48 Removing intermediate container 1ea6ff596521 01:14:48 ---> f20da960c9de 01:14:48 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 01:14:48 ---> Running in f57f053956cd 01:14:48 Removing intermediate container f57f053956cd 01:14:48 ---> 34f91a80429e 01:14:48 Step 5/29 : ARG ADD_BUILD_TAGS="" 01:14:48 ---> Running in 36596ff6ac98 01:14:49 Removing intermediate container 36596ff6ac98 01:14:49 ---> ba9c23f727a7 01:14:49 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:14:49 ---> Running in 71ce3e9e7430 01:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:14:52 OK: 266 MiB in 52 packages 01:14:54 Removing intermediate container 71ce3e9e7430 01:14:54 ---> a155879c8adb 01:14:54 Step 7/29 : WORKDIR /app 01:14:55 ---> Running in f9cbcddf4acf 01:14:55 Removing intermediate container f9cbcddf4acf 01:14:55 ---> 820ec9c22004 01:14:55 Step 8/29 : COPY go.mod vendor* ./ 01:14:55 ---> b561aecc8d09 01:14:55 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:14:55 ---> Running in 20e40a1b8e10 01:14:58 Removing intermediate container 20e40a1b8e10 01:14:58 ---> 60e9185116ca 01:14:58 Step 10/29 : COPY . . 01:14:58 ---> c926ff312730 01:14:58 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:14:58 ---> Running in f5b048fcc399 01:14:59 Removing intermediate container f5b048fcc399 01:14:59 ---> 874bf8b964ec 01:14:59 Step 12/29 : RUN $MAKE 01:14:59 ---> Running in 317213645aa8 01:15:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.38 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.1.0-dev.38" -trimpath -mod=readonly -o app-rfid-llrp-inventory 01:17:07 Removing intermediate container 317213645aa8 01:17:07 ---> 120827153843 01:17:07 Step 13/29 : FROM alpine:3.18 01:17:07 3.18: Pulling from library/alpine 01:17:07 579b34f0a95b: Pulling fs layer 01:17:07 579b34f0a95b: Verifying Checksum 01:17:07 579b34f0a95b: Download complete 01:17:07 579b34f0a95b: Pull complete 01:17:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 01:17:07 Status: Downloaded newer image for alpine:3.18 01:17:07 ---> 3cc203321400 01:17:07 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:17:07 ---> Running in c998f84cfcac 01:17:07 Removing intermediate container c998f84cfcac 01:17:07 ---> d9f72fb410c1 01:17:07 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 01:17:07 ---> Running in e9377628fc0d 01:17:07 Removing intermediate container e9377628fc0d 01:17:07 ---> cfdc19cfc412 01:17:07 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 01:17:07 ---> Running in dd69b700b4c3 01:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:17:07 (1/2) Installing ca-certificates (20230506-r0) 01:17:07 (2/2) Installing dumb-init (1.2.5-r2) 01:17:07 Executing busybox-1.36.1-r2.trigger 01:17:07 Executing ca-certificates-20230506-r0.trigger 01:17:07 OK: 9 MiB in 17 packages 01:17:07 Removing intermediate container dd69b700b4c3 01:17:07 ---> 3f1a614f28a8 01:17:07 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:17:08 ---> 0ac62f0b9937 01:17:08 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 01:17:08 ---> 0bfc9bbd46c2 01:17:08 Step 19/29 : COPY --from=builder /app/res/ /res/ 01:17:09 ---> 1c4ba18772d1 01:17:09 Step 20/29 : COPY --from=builder /app/static/ /static/ 01:17:09 ---> 4444944b8005 01:17:09 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 01:17:11 ---> b05c7709ad31 01:17:11 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 01:17:11 ---> Running in e3fcb0015a84 01:17:13 Removing intermediate container e3fcb0015a84 01:17:13 ---> 3b2924a3e81e 01:17:13 Step 23/29 : VOLUME /cache 01:17:13 ---> Running in 44b70d638416 01:17:13 Removing intermediate container 44b70d638416 01:17:13 ---> 9a5ff4cb6218 01:17:13 Step 24/29 : EXPOSE 59711 01:17:13 ---> Running in 986ceada22bb 01:17:13 Removing intermediate container 986ceada22bb 01:17:13 ---> 196471cf5b7c 01:17:13 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 01:17:14 ---> Running in 1947b9292964 01:17:14 Removing intermediate container 1947b9292964 01:17:14 ---> ee131dcf16a4 01:17:14 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 01:17:14 ---> Running in c990cac9b9f3 01:17:14 Removing intermediate container c990cac9b9f3 01:17:14 ---> 35f5ae456801 01:17:14 Step 27/29 : LABEL arch=arm64 01:17:14 ---> Running in 17f0be5493e1 01:17:15 Removing intermediate container 17f0be5493e1 01:17:15 ---> 3f5cd536aa17 01:17:15 Step 28/29 : LABEL git_sha=826bf94fa21597c4032996cd263344f18e127d9f 01:17:15 ---> Running in 6a63db1b1f1f 01:17:15 Removing intermediate container 6a63db1b1f1f 01:17:15 ---> 61ff3885d928 01:17:15 Step 29/29 : LABEL version=3.1.0-dev.38 01:17:15 ---> Running in 56dc8bb6509f 01:17:16 Removing intermediate container 56dc8bb6509f 01:17:16 ---> c02c3cd4b1d7 01:17:16 [Warning] One or more build-args [ARCH] were not consumed 01:17:16 Successfully built c02c3cd4b1d7 01:17:16 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 01:17:16 provisioning config files... 01:17:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/150@tmp/config2334679476210020664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:16 ---> docker-login.sh 01:17:16 nexus3.edgexfoundry.org:10001 01:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:16 Configure a credential helper to remove this warning. See 01:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:16 01:17:16 Login Succeeded 01:17:16 nexus3.edgexfoundry.org:10002 01:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:17 Configure a credential helper to remove this warning. See 01:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:17 01:17:17 Login Succeeded 01:17:17 nexus3.edgexfoundry.org:10003 01:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:17 Configure a credential helper to remove this warning. See 01:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:17 01:17:17 Login Succeeded 01:17:17 nexus3.edgexfoundry.org:10004 01:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:17 Configure a credential helper to remove this warning. See 01:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:17 01:17:17 Login Succeeded 01:17:18 docker.io 01:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:18 Configure a credential helper to remove this warning. See 01:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:18 01:17:18 Login Succeeded 01:17:18 ---> docker-login.sh ends [Pipeline] } 01:17:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:17:18 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 01:17:18 826bf94fa21597c4032996cd263344f18e127d9f 01:17:18 latest 01:17:18 3.1.0-dev.38 01:17:18 826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 01:17:18 main 01:17:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:19 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:19 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:826bf94fa21597c4032996cd263344f18e127d9f 01:17:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 01:17:19 667aec5f1c39: Preparing 01:17:19 84ff15a909b8: Preparing 01:17:19 4cb5a474dd0d: Preparing 01:17:19 454680278f4e: Preparing 01:17:19 c97dcb2281ae: Preparing 01:17:19 5bec4641a618: Preparing 01:17:19 55619270321c: Preparing 01:17:19 5f4d9fc4d98d: Preparing 01:17:19 5bec4641a618: Waiting 01:17:19 55619270321c: Waiting 01:17:19 5f4d9fc4d98d: Waiting 01:17:19 4cb5a474dd0d: Pushed 01:17:19 667aec5f1c39: Pushed 01:17:19 454680278f4e: Pushed 01:17:19 c97dcb2281ae: Pushed 01:17:19 5f4d9fc4d98d: Layer already exists 01:17:19 5bec4641a618: Pushed 01:17:20 55619270321c: Pushed 01:17:26 84ff15a909b8: Pushed 01:17:26 826bf94fa21597c4032996cd263344f18e127d9f: digest: sha256:7fc615c6b94f555193273bf12f34196ebe75de9f50b44bcbdfcfbb7f7592588a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:27 + 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 01:17:27 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 01:17:27 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 01:17:27 667aec5f1c39: Preparing 01:17:27 84ff15a909b8: Preparing 01:17:27 4cb5a474dd0d: Preparing 01:17:27 454680278f4e: Preparing 01:17:27 c97dcb2281ae: Preparing 01:17:27 5bec4641a618: Preparing 01:17:27 55619270321c: Preparing 01:17:27 5f4d9fc4d98d: Preparing 01:17:27 55619270321c: Waiting 01:17:27 5f4d9fc4d98d: Waiting 01:17:27 5bec4641a618: Waiting 01:17:27 84ff15a909b8: Layer already exists 01:17:27 454680278f4e: Layer already exists 01:17:27 c97dcb2281ae: Layer already exists 01:17:27 667aec5f1c39: Layer already exists 01:17:27 4cb5a474dd0d: Layer already exists 01:17:27 5bec4641a618: Layer already exists 01:17:27 55619270321c: Layer already exists 01:17:27 5f4d9fc4d98d: Layer already exists 01:17:27 latest: digest: sha256:7fc615c6b94f555193273bf12f34196ebe75de9f50b44bcbdfcfbb7f7592588a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:28 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:30 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.1.0-dev.38 01:17:30 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 01:17:30 667aec5f1c39: Preparing 01:17:30 84ff15a909b8: Preparing 01:17:30 4cb5a474dd0d: Preparing 01:17:30 454680278f4e: Preparing 01:17:30 c97dcb2281ae: Preparing 01:17:30 5bec4641a618: Preparing 01:17:30 55619270321c: Preparing 01:17:30 5f4d9fc4d98d: Preparing 01:17:30 5bec4641a618: Waiting 01:17:30 5f4d9fc4d98d: Waiting 01:17:30 55619270321c: Waiting 01:17:30 4cb5a474dd0d: Layer already exists 01:17:30 667aec5f1c39: Layer already exists 01:17:30 454680278f4e: Layer already exists 01:17:30 c97dcb2281ae: Layer already exists 01:17:30 84ff15a909b8: Layer already exists 01:17:30 55619270321c: Layer already exists 01:17:30 5bec4641a618: Layer already exists 01:17:30 5f4d9fc4d98d: Layer already exists 01:17:31 3.1.0-dev.38: digest: sha256:7fc615c6b94f555193273bf12f34196ebe75de9f50b44bcbdfcfbb7f7592588a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:31 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:31 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 01:17:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 01:17:31 667aec5f1c39: Preparing 01:17:31 84ff15a909b8: Preparing 01:17:31 4cb5a474dd0d: Preparing 01:17:31 454680278f4e: Preparing 01:17:31 c97dcb2281ae: Preparing 01:17:31 5bec4641a618: Preparing 01:17:31 55619270321c: Preparing 01:17:31 5f4d9fc4d98d: Preparing 01:17:31 5bec4641a618: Waiting 01:17:31 55619270321c: Waiting 01:17:31 5f4d9fc4d98d: Waiting 01:17:31 667aec5f1c39: Layer already exists 01:17:31 4cb5a474dd0d: Layer already exists 01:17:31 84ff15a909b8: Layer already exists 01:17:31 c97dcb2281ae: Layer already exists 01:17:31 454680278f4e: Layer already exists 01:17:31 5bec4641a618: Layer already exists 01:17:31 55619270321c: Layer already exists 01:17:31 5f4d9fc4d98d: Layer already exists 01:17:32 826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38: digest: sha256:7fc615c6b94f555193273bf12f34196ebe75de9f50b44bcbdfcfbb7f7592588a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:32 + 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 01:17:32 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 01:17:32 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 01:17:32 667aec5f1c39: Preparing 01:17:32 84ff15a909b8: Preparing 01:17:32 4cb5a474dd0d: Preparing 01:17:32 454680278f4e: Preparing 01:17:32 c97dcb2281ae: Preparing 01:17:32 5bec4641a618: Preparing 01:17:32 55619270321c: Preparing 01:17:32 5f4d9fc4d98d: Preparing 01:17:32 5bec4641a618: Waiting 01:17:32 55619270321c: Waiting 01:17:32 5f4d9fc4d98d: Waiting 01:17:32 c97dcb2281ae: Layer already exists 01:17:32 84ff15a909b8: Layer already exists 01:17:32 454680278f4e: Layer already exists 01:17:32 667aec5f1c39: Layer already exists 01:17:32 4cb5a474dd0d: Layer already exists 01:17:32 55619270321c: Layer already exists 01:17:32 5bec4641a618: Layer already exists 01:17:32 5f4d9fc4d98d: Layer already exists 01:17:33 main: digest: sha256:7fc615c6b94f555193273bf12f34196ebe75de9f50b44bcbdfcfbb7f7592588a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:33 ===================================================== [Pipeline] echo 01:17:33 taggedImages: 01:17:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:826bf94fa21597c4032996cd263344f18e127d9f 01:17:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 01:17:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.1.0-dev.38 01:17:33 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:826bf94fa21597c4032996cd263344f18e127d9f-3.1.0-dev.38 01:17:33 - 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 01:17:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:33 01:17:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:33 arm64: Pulling from edgex-lftools-log-publisher 01:17:33 8998bd30e6a1: Pulling fs layer 01:17:33 04944245beec: Pulling fs layer 01:17:33 699f458cf7ca: Pulling fs layer 01:17:33 765212b225bb: Pulling fs layer 01:17:33 f23df028b6ca: Pulling fs layer 01:17:33 d65c8cfc05b1: Pulling fs layer 01:17:33 2437ff75d9bd: Pulling fs layer 01:17:33 765212b225bb: Waiting 01:17:33 f23df028b6ca: Waiting 01:17:33 d65c8cfc05b1: Waiting 01:17:33 2437ff75d9bd: Waiting 01:17:34 04944245beec: Verifying Checksum 01:17:34 04944245beec: Download complete 01:17:34 765212b225bb: Verifying Checksum 01:17:34 765212b225bb: Download complete 01:17:34 f23df028b6ca: Download complete 01:17:34 d65c8cfc05b1: Verifying Checksum 01:17:34 d65c8cfc05b1: Download complete 01:17:34 699f458cf7ca: Verifying Checksum 01:17:34 699f458cf7ca: Download complete 01:17:34 8998bd30e6a1: Download complete 01:17:37 2437ff75d9bd: Verifying Checksum 01:17:37 2437ff75d9bd: Download complete 01:17:39 8998bd30e6a1: Pull complete 01:17:40 04944245beec: Pull complete 01:17:42 699f458cf7ca: Pull complete 01:17:42 765212b225bb: Pull complete 01:17:42 f23df028b6ca: Pull complete 01:17:42 d65c8cfc05b1: Pull complete 01:18:01 2437ff75d9bd: Pull complete 01:18:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:01 prd-ubuntu20.04-docker-arm64-4c-16g-16952 does not seem to be running inside a container 01:18:01 $ 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/150 -v /w/workspace/app-rfid-llrp-inventory/150:/w/workspace/app-rfid-llrp-inventory/150:rw,z -v /w/workspace/app-rfid-llrp-inventory/150@tmp:/w/workspace/app-rfid-llrp-inventory/150@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 01:18:04 $ docker top 4c0ce52b37ea198d4fb508aa8256057ea25563008abe9f892f5fd68a2992b60d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:05 ---> job-cost.sh 01:18:05 lf-activate-venv: SKIPPING 01:18:05 INFO: No Stack... 01:18:05 INFO: Retrieving Pricing Info for: v3-standard-4 01:18:06 INFO: Archiving Costs [Pipeline] sh 01:18:07 + cat /w/workspace/app-rfid-llrp-inventory/150/archives/cost.csv 01:18:07 + cut -d, -f6 [Pipeline] lock 01:18:07 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] 01:18:07 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] did not exist. Created. 01:18:07 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:07 /w/workspace/app-rfid-llrp-inventory/150@tmp/durable-4774c00b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:18:08 + echo total: 0.10999999940395355 [Pipeline] stash 01:18:08 Warning: overwriting stash ‘stack-cost’ 01:18:08 Stashed 1 file(s) [Pipeline] } 01:18:08 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 01:18:08 $ docker stop --time=1 4c0ce52b37ea198d4fb508aa8256057ea25563008abe9f892f5fd68a2992b60d 01:18:09 $ docker rm -f --volumes 4c0ce52b37ea198d4fb508aa8256057ea25563008abe9f892f5fd68a2992b60d [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 01:18:10 provisioning config files... 01:18:10 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3706549852866785677tmp [Pipeline] { [Pipeline] sh 01:18:10 + set +x 01:18:10 + curl -s https://codecov.io/bash 01:18:10 + bash -s -- 01:18:10 01:18:10 _____ _ 01:18:10 / ____| | | 01:18:10 | | ___ __| | ___ ___ _____ __ 01:18:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:18:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:18:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:18:10 Bash-1.0.6 01:18:10 01:18:10 01:18:10 ==> git version 2.25.1 found 01:18:10 ==> 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 01:18:10 Release-Date: 2020-01-08 01:18:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:18:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:18:10 ==> Jenkins CI detected. 01:18:10 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 01:18:10 project root: . 01:18:10 --> token set from env 01:18:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:18:10 ==> Running gcov in . (disable via -X gcov) 01:18:10 ==> Python coveragepy not found 01:18:10 ==> Searching for coverage reports in: 01:18:10 + . 01:18:10 -> Found 1 reports 01:18:10 ==> Detecting git/mercurial file structure 01:18:10 ==> Reading reports 01:18:10 + ./coverage.out bytes=41317 01:18:10 ==> Appending adjustments 01:18:10 https://docs.codecov.io/docs/fixing-reports 01:18:10 + Found adjustments 01:18:10 ==> Gzipping contents 01:18:10 12K /tmp/codecov.jx70n0.gz 01:18:10 ==> Uploading reports 01:18:10 url: https://codecov.io 01:18:10 query: branch=main&commit=826bf94fa21597c4032996cd263344f18e127d9f&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 01:18:10 -> Pinging Codecov 01:18:10 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=826bf94fa21597c4032996cd263344f18e127d9f&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 01:18:11 -> Uploading to 01:18:11 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/581DD39554BDF9B6E22D074273EAD858/826bf94fa21597c4032996cd263344f18e127d9f/21e5f62a-be7e-4f09-bc99-2f5a7097abd6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T011810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62424900b181aec67845521a063cf23768a18fb19451b784f878f391ec33fe34 01:18:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:18:11 Dload Upload Total Spent Left Speed 01:18:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11602 0 0 100 11602 0 48953 --:--:-- --:--:-- --:--:-- 48953 01:18:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] } 01:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:18:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:18:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:18:11 01:18:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:18:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:18:12 df9b9388f04a: Pulling fs layer 01:18:12 52dc419b0ee2: Pulling fs layer 01:18:12 25bc292e5bac: Pulling fs layer 01:18:12 114826534d7a: Pulling fs layer 01:18:12 4657fd5d0bcf: Pulling fs layer 01:18:12 6ad1cebc031e: Pulling fs layer 01:18:12 8a3aa393b2d8: Pulling fs layer 01:18:12 114826534d7a: Waiting 01:18:12 4657fd5d0bcf: Waiting 01:18:12 6ad1cebc031e: Waiting 01:18:12 8a3aa393b2d8: Waiting 01:18:12 52dc419b0ee2: Verifying Checksum 01:18:12 52dc419b0ee2: Download complete 01:18:12 25bc292e5bac: Download complete 01:18:12 4657fd5d0bcf: Verifying Checksum 01:18:12 4657fd5d0bcf: Download complete 01:18:12 df9b9388f04a: Download complete 01:18:12 df9b9388f04a: Pull complete 01:18:12 6ad1cebc031e: Verifying Checksum 01:18:12 6ad1cebc031e: Download complete 01:18:12 52dc419b0ee2: Pull complete 01:18:12 25bc292e5bac: Pull complete 01:18:13 114826534d7a: Verifying Checksum 01:18:13 114826534d7a: Download complete 01:18:13 8a3aa393b2d8: Verifying Checksum 01:18:13 8a3aa393b2d8: Download complete 01:18:16 114826534d7a: Pull complete 01:18:16 4657fd5d0bcf: Pull complete 01:18:17 6ad1cebc031e: Pull complete 01:18:21 8a3aa393b2d8: Pull complete 01:18:21 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:18:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:21 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:18:21 $ 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 01:18:29 $ docker top c93400a6d5023b8a2d42b286484f4872637eeaec8fa7d90d4960719b9c5d4869 -eo pid,comm [Pipeline] { [Pipeline] echo 01:18:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 01:18:29 + set -o pipefail 01:18:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 01:18:36 01:18:36 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 01:18:36 01:18:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/7fa8a28e-b919-45ef-b229-4869b515bc2c 01:18:36 01:18:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:18:36 01:18:36 01:18:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:18:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:18:36 More details here: https://snyk.co/ue1NS 01:18:36 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:18:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:18:36 $ docker stop --time=1 c93400a6d5023b8a2d42b286484f4872637eeaec8fa7d90d4960719b9c5d4869 01:18:40 $ docker rm -f --volumes c93400a6d5023b8a2d42b286484f4872637eeaec8fa7d90d4960719b9c5d4869 [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 01:18:41 + git log --format=format:%s -1 826bf94fa21597c4032996cd263344f18e127d9f [Pipeline] sh 01:18:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:18:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:18:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:42 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:18:42 $ 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 01:18:42 $ docker top 0cd3b8083dd2c8d59bd3a6e10c7cea9c6e2ff8429125a3d5801ca363eb8d2542 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:42 [ssh-agent] Looking for ssh-agent implementation... 01:18:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:42 $ docker exec 0cd3b8083dd2c8d59bd3a6e10c7cea9c6e2ff8429125a3d5801ca363eb8d2542 ssh-agent 01:18:42 SSH_AUTH_SOCK=/tmp/ssh-VchCkKAe8sHF/agent.32 01:18:42 SSH_AGENT_PID=38 01:18:42 Running ssh-add (command line suppressed) 01:18:43 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8717414914970613576.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8717414914970613576.key) 01:18:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:43 + git semver tag 01:18:43 2023-11-08 01:18:43,487 [run_tag] DEBUG tag force:False 01:18:43 2023-11-08 01:18:43,487 [check_head_tag] DEBUG check head tag 01:18:43 2023-11-08 01:18:43,488 [execute] INFO git cat-file --batch-check 01:18:43 2023-11-08 01:18:43,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 01:18:43 2023-11-08 01:18:43,492 [execute] INFO git cat-file --batch 01:18:43 2023-11-08 01:18:43,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 01:18:43 2023-11-08 01:18:43,507 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:18:43 2023-11-08 01:18:43,508 [execute] INFO git tag -a v3.1.0-dev.38 -m v3.1.0-dev.38 01:18:43 2023-11-08 01:18:43,508 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.38', '-m', 'v3.1.0-dev.38'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 01:18:43 2023-11-08 01:18:43,513 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:18:43 3.1.0-dev.38 [Pipeline] } 01:18:43 $ docker exec --env ******** --env ******** 0cd3b8083dd2c8d59bd3a6e10c7cea9c6e2ff8429125a3d5801ca363eb8d2542 ssh-agent -k 01:18:43 unset SSH_AUTH_SOCK; 01:18:43 unset SSH_AGENT_PID; 01:18:43 echo Agent pid 38 killed; 01:18:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:44 + git semver [Pipeline] } 01:18:44 $ docker stop --time=1 0cd3b8083dd2c8d59bd3a6e10c7cea9c6e2ff8429125a3d5801ca363eb8d2542 01:18:45 $ docker rm -f --volumes 0cd3b8083dd2c8d59bd3a6e10c7cea9c6e2ff8429125a3d5801ca363eb8d2542 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:46 01:18:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:46 0.23.1-centos7: Pulling from edgex-lftools 01:18:46 ab5ef0e58194: Pulling fs layer 01:18:46 9712f1f96733: Pulling fs layer 01:18:46 63f879dbbcfc: Pulling fs layer 01:18:46 0d9ebad4ef96: Pulling fs layer 01:18:46 e9a5061849ea: Pulling fs layer 01:18:46 d747dcd14b5f: Pulling fs layer 01:18:46 2de7ff778b66: Pulling fs layer 01:18:46 d747dcd14b5f: Waiting 01:18:46 e9a5061849ea: Waiting 01:18:46 2de7ff778b66: Waiting 01:18:46 9712f1f96733: Verifying Checksum 01:18:46 9712f1f96733: Download complete 01:18:46 63f879dbbcfc: Verifying Checksum 01:18:46 63f879dbbcfc: Download complete 01:18:47 e9a5061849ea: Verifying Checksum 01:18:47 e9a5061849ea: Download complete 01:18:47 d747dcd14b5f: Verifying Checksum 01:18:47 d747dcd14b5f: Download complete 01:18:47 ab5ef0e58194: Verifying Checksum 01:18:47 ab5ef0e58194: Download complete 01:18:47 0d9ebad4ef96: Verifying Checksum 01:18:47 0d9ebad4ef96: Download complete 01:18:47 2de7ff778b66: Verifying Checksum 01:18:47 2de7ff778b66: Download complete 01:18:49 ab5ef0e58194: Pull complete 01:18:50 9712f1f96733: Pull complete 01:18:50 63f879dbbcfc: Pull complete 01:18:53 0d9ebad4ef96: Pull complete 01:18:54 e9a5061849ea: Pull complete 01:18:54 d747dcd14b5f: Pull complete 01:18:55 2de7ff778b66: Pull complete 01:18:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:18:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:18:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:55 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:18:55 $ 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 01:19:01 $ docker top 2683614cf31600574ce5ec898ec2cd2f9dec38902d740822933f83a451332a81 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:19:01 provisioning config files... 01:19:01 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11168192813974774293tmp 01:19:01 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8680785922901509754tmp 01:19:01 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11123969071632602805tmp [Pipeline] { [Pipeline] echo 01:19:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:19:01 ---> sigul-configuration.sh 01:19:01 gpg: directory `/root/.gnupg' created 01:19:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:19:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:19:01 gpg: keyring `/root/.gnupg/secring.gpg' created 01:19:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:19:01 gpg: CAST5 encrypted data 01:19:01 gpg: encrypted with 1 passphrase 01:19:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:19:02 + mkdir /home/jenkins 01:19:02 + mkdir /home/jenkins/sigul [Pipeline] sh 01:19:02 + 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 01:19:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:19:02 ---> sigul-install.sh 01:19:02 Sigul already installed; skipping installation. [Pipeline] sh 01:19:02 + git tag --list 01:19:02 v0.0.0 01:19:02 v1.0.0 01:19:02 v2.1.0 01:19:02 v2.1.1 01:19:02 v2.2.0 01:19:02 v2.3.0 01:19:02 v3.0 01:19:02 v3.0.0 01:19:02 v3.0.1 01:19:02 v3.0.1-dev.1 01:19:02 v3.1.0-dev.1 01:19:02 v3.1.0-dev.10 01:19:02 v3.1.0-dev.11 01:19:02 v3.1.0-dev.12 01:19:02 v3.1.0-dev.13 01:19:02 v3.1.0-dev.14 01:19:02 v3.1.0-dev.15 01:19:02 v3.1.0-dev.16 01:19:02 v3.1.0-dev.17 01:19:02 v3.1.0-dev.18 01:19:02 v3.1.0-dev.19 01:19:02 v3.1.0-dev.2 01:19:02 v3.1.0-dev.20 01:19:02 v3.1.0-dev.21 01:19:02 v3.1.0-dev.22 01:19:02 v3.1.0-dev.23 01:19:02 v3.1.0-dev.24 01:19:02 v3.1.0-dev.25 01:19:02 v3.1.0-dev.26 01:19:02 v3.1.0-dev.27 01:19:02 v3.1.0-dev.28 01:19:02 v3.1.0-dev.29 01:19:02 v3.1.0-dev.3 01:19:02 v3.1.0-dev.30 01:19:02 v3.1.0-dev.31 01:19:02 v3.1.0-dev.32 01:19:02 v3.1.0-dev.33 01:19:02 v3.1.0-dev.34 01:19:02 v3.1.0-dev.35 01:19:02 v3.1.0-dev.36 01:19:02 v3.1.0-dev.37 01:19:02 v3.1.0-dev.38 01:19:02 v3.1.0-dev.4 01:19:02 v3.1.0-dev.5 01:19:02 v3.1.0-dev.6 01:19:02 v3.1.0-dev.7 01:19:02 v3.1.0-dev.8 01:19:02 v3.1.0-dev.9 [Pipeline] sh 01:19:03 + lftools sign git-tag v3.1.0-dev.38 01:19:03 Signing Git tag with Sigul... 01:19:03 Signing v3.1.0-dev.38 [Pipeline] echo 01:19:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:19:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:19:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:19:04 $ docker stop --time=1 2683614cf31600574ce5ec898ec2cd2f9dec38902d740822933f83a451332a81 01:19:05 $ docker rm -f --volumes 2683614cf31600574ce5ec898ec2cd2f9dec38902d740822933f83a451332a81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:19:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:19:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:19:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:06 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:19:06 $ 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 01:19:06 $ docker top b385876195d6386d00cf2811251739c7d446655b75acdabfe837ae8763e60fbe -eo pid,comm 01:19:06 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). 01:19:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:19:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:19:06 [ssh-agent] Looking for ssh-agent implementation... 01:19:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:19:07 $ docker exec b385876195d6386d00cf2811251739c7d446655b75acdabfe837ae8763e60fbe ssh-agent 01:19:07 SSH_AUTH_SOCK=/tmp/ssh-1IoGANRCpW3n/agent.31 01:19:07 SSH_AGENT_PID=37 01:19:07 Running ssh-add (command line suppressed) 01:19:07 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5202550729151972213.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5202550729151972213.key) 01:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:19:07 + git semver bump pre 01:19:07 2023-11-08 01:19:07,721 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:19:07 2023-11-08 01:19:07,721 [bump_version] DEBUG bumping version:3.1.0-dev.38 on axis:pre with prefix:dev 01:19:07 2023-11-08 01:19:07,721 [bump_version] DEBUG bumped version:3.1.0-dev.39 01:19:07 2023-11-08 01:19:07,721 [write_version] DEBUG write version:3.1.0-dev.39 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 01:19:07 2023-11-08 01:19:07,721 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:19:07 2023-11-08 01:19:07,721 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:19:07 2023-11-08 01:19:07,723 [execute] INFO git cat-file --batch-check 01:19:07 2023-11-08 01:19:07,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 01:19:07 2023-11-08 01:19:07,727 [execute] INFO git cat-file --batch 01:19:07 2023-11-08 01:19:07,728 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 01:19:07 2023-11-08 01:19:07,732 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:19:07 3.1.0-dev.39 [Pipeline] } 01:19:07 $ docker exec --env ******** --env ******** b385876195d6386d00cf2811251739c7d446655b75acdabfe837ae8763e60fbe ssh-agent -k 01:19:07 unset SSH_AUTH_SOCK; 01:19:07 unset SSH_AGENT_PID; 01:19:07 echo Agent pid 37 killed; 01:19:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:19:08 + git semver [Pipeline] } 01:19:08 $ docker stop --time=1 b385876195d6386d00cf2811251739c7d446655b75acdabfe837ae8763e60fbe 01:19:09 $ docker rm -f --volumes b385876195d6386d00cf2811251739c7d446655b75acdabfe837ae8763e60fbe [Pipeline] // withDockerContainer [Pipeline] sh 01:19:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:19:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:19:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:10 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:19:10 $ 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 01:19:10 $ docker top af3be92f5a898bfb608143a133ec3e01248ecb3e9ba660c274d7a17020ab2013 -eo pid,comm 01:19:10 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). 01:19:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:19:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:19:10 [ssh-agent] Looking for ssh-agent implementation... 01:19:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:19:11 $ docker exec af3be92f5a898bfb608143a133ec3e01248ecb3e9ba660c274d7a17020ab2013 ssh-agent 01:19:11 SSH_AUTH_SOCK=/tmp/ssh-qET9n5xb54Di/agent.34 01:19:11 SSH_AGENT_PID=40 01:19:11 Running ssh-add (command line suppressed) 01:19:11 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7539720926591744572.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7539720926591744572.key) 01:19:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:19:11 + git semver push 01:19:11 2023-11-08 01:19:11,788 [run_push] DEBUG push 01:19:11 2023-11-08 01:19:11,789 [execute] INFO git cat-file --batch-check 01:19:11 2023-11-08 01:19:11,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 01:19:11 2023-11-08 01:19:11,792 [execute] INFO git rev-list ee81540965f2d5a87411bbabdf012b14ed03358d -- 01:19:11 2023-11-08 01:19:11,793 [execute] DEBUG Popen(['git', 'rev-list', 'ee81540965f2d5a87411bbabdf012b14ed03358d', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 01:19:11 2023-11-08 01:19:11,801 [execute] INFO git fetch -v origin 01:19:11 2023-11-08 01:19:11,801 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 01:19:12 2023-11-08 01:19:12,340 [run_push] DEBUG no remote changes detected 01:19:12 2023-11-08 01:19:12,341 [execute] INFO git push origin semver 01:19:12 2023-11-08 01:19:12,341 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 01:19:13 2023-11-08 01:19:13,095 [run_push] DEBUG push all version tags 01:19:13 2023-11-08 01:19:13,096 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:19:13 2023-11-08 01:19:13,096 [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) 01:19:13 2023-11-08 01:19:13,824 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:19:13 3.1.0-dev.39 [Pipeline] } 01:19:13 $ docker exec --env ******** --env ******** af3be92f5a898bfb608143a133ec3e01248ecb3e9ba660c274d7a17020ab2013 ssh-agent -k 01:19:14 unset SSH_AUTH_SOCK; 01:19:14 unset SSH_AGENT_PID; 01:19:14 echo Agent pid 40 killed; 01:19:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:19:14 + git semver [Pipeline] } 01:19:14 $ docker stop --time=1 af3be92f5a898bfb608143a133ec3e01248ecb3e9ba660c274d7a17020ab2013 01:19:15 $ docker rm -f --volumes af3be92f5a898bfb608143a133ec3e01248ecb3e9ba660c274d7a17020ab2013 [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 01:19:16 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 01:19:16 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 01:19:16 total 16 01:19:16 drwxr-xr-x 3 root root 4096 Nov 8 01:05 . 01:19:16 drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 01:19 .. 01:19:16 drwxr-xr-x 2 root root 4096 Nov 8 01:05 cost 01:19:16 -rw-r--r-- 1 root root 95 Nov 8 01:05 cost.csv 01:19:16 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 01:19:16 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 01:19:16 total 16 01:19:16 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 01:05 . 01:19:16 drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 01:19 .. 01:19:16 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 01:05 cost 01:19:16 -rw-r--r-- 1 jenkins jenkins 95 Nov 8 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:19:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:19:17 ---> package-listing.sh 01:19:17 ++ facter osfamily 01:19:17 ++ tr '[:upper:]' '[:lower:]' 01:19:17 + OS_FAMILY=debian 01:19:17 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 01:19:17 + START_PACKAGES=/tmp/packages_start.txt 01:19:17 + END_PACKAGES=/tmp/packages_end.txt 01:19:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:19:17 + PACKAGES=/tmp/packages_start.txt 01:19:17 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 01:19:17 + PACKAGES=/tmp/packages_end.txt 01:19:17 + case "${OS_FAMILY}" in 01:19:17 + dpkg -l 01:19:17 + grep '^ii' 01:19:17 + '[' -f /tmp/packages_start.txt ']' 01:19:17 + '[' -f /tmp/packages_end.txt ']' 01:19:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:19:17 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 01:19:17 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 01:19:17 + 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 01:19:17 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 01:19:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:18 prd-ubuntu20.04-docker-8c-8g-16947 does not seem to be running inside a container 01:19:18 $ 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 01:19:19 $ docker top acaa050497e57c6ced4cf795cec5bef6d25241c28ab47a671e477af46772c8c8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:19 + touch /tmp/pre-build-complete [Pipeline] sh 01:19:19 + mkdir -p /var/log/sysstat [Pipeline] sh 01:19:20 + ls /var/log/sa-host 01:19:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:20 provisioning config files... 01:19:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8187193188159119268tmp [Pipeline] { [Pipeline] echo 01:19:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:19:20 ---> create-netrc.sh [Pipeline] } 01:19:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:19:20 ---> python-tools-install.sh [Pipeline] echo 01:19:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:19:21 ---> sudo-logs.sh 01:19:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:19:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:19:21 ---> job-cost.sh 01:19:21 lf-activate-venv: SKIPPING 01:19:21 DEBUG: total: 0.2199999988079071 01:19:21 INFO: Retrieving Stack Cost... 01:19:22 INFO: Retrieving Pricing Info for: v3-standard-8 01:19:22 INFO: Archiving Costs [Pipeline] echo 01:19:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:19:22 ---> logs-deploy.sh 01:19:22 lf-activate-venv: SKIPPING 01:19:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/150 01:19:22 INFO: archiving workspace using pattern(s): 01:19:23 Archives upload complete. 01:19:23 INFO: archiving logs to Nexus