Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 125685d47fb5baadf84338e65a976beb966b1d5c 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-ssh1829362148409202503.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh3570813110845247840.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh877733913795748554.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh10886585891961950019.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-ssh11153615832788621076.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 ‘prd-ubuntu20.04-docker-8c-8g-167’ is offline Running on prd-ubuntu20.04-docker-8c-8g-169 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 125685d47fb5baadf84338e65a976beb966b1d5c (main) Commit message: "Merge pull request #280 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/app-functions-sdk-go/v3-3.2.0-dev.28" > git config core.sparsecheckout # timeout=10 > git checkout -f 125685d47fb5baadf84338e65a976beb966b1d5c # timeout=10 > git rev-list --no-walk 8266759df921fca8a5a267dc709fe351bba74c7c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:22:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:22:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:22:33 ========================================================= 03:22:33 EdgeX Global Pipelines Version Info 03:22:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:22:34 ------------------- 03:22:34 stable info: 03:22:34 ------------------- 03:22:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:22:34 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:22:34 Message: update stable to v1.0.258 03:22:35 ------------------- 03:22:35 experimental info: 03:22:35 ------------------- 03:22:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:22:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:22:35 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 125685d [Pipeline] echo 03:22:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:35 provisioning config files... 03:22:35 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config14738513749261071034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:36 ---> ****-login.sh 03:22:36 nexus3.edgexfoundry.org:10001 03:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:36 Configure a credential helper to remove this warning. See 03:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:36 03:22:36 Login Succeeded 03:22:36 nexus3.edgexfoundry.org:10002 03:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:36 Configure a credential helper to remove this warning. See 03:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:36 03:22:36 Login Succeeded 03:22:36 nexus3.edgexfoundry.org:10003 03:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:36 Configure a credential helper to remove this warning. See 03:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:36 03:22:36 Login Succeeded 03:22:36 nexus3.edgexfoundry.org:10004 03:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:36 Configure a credential helper to remove this warning. See 03:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:36 03:22:36 Login Succeeded 03:22:36 ****.io 03:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:37 Configure a credential helper to remove this warning. See 03:22:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:37 03:22:37 Login Succeeded 03:22:37 ---> ****-login.sh ends [Pipeline] } 03:22:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:22:37 + git rev-list -1 --merges 125685d47fb5baadf84338e65a976beb966b1d5c~1..125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] echo 03:22:37 -----------> git rev-list -1 --merges 125685d47fb5baadf84338e65a976beb966b1d5c~1..125685d47fb5baadf84338e65a976beb966b1d5c 125685d47fb5baadf84338e65a976beb966b1d5c 03:22:37 125685d47fb5baadf84338e65a976beb966b1d5c [false] [Pipeline] sh 03:22:37 + git log --format=format:%s -1 125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] echo 03:22:37 ========================================================= 03:22:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:22:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:38 + git log --format=format:%s -1 125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] echo 03:22:38 [semverPrep] GIT_COMMIT: 125685d47fb5baadf84338e65a976beb966b1d5c, Commit Message: Merge pull request #280 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/app-functions-sdk-go/v3-3.2.0-dev.28 [Pipeline] echo 03:22:38 [semverPrep] This is not a build commit. [Pipeline] sh 03:22:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:22:38 + grep -v github /etc/ssh/ssh_known_hosts 03:22:38 + [ -e /tmp/ssh_known_hosts ] 03:22:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:22:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:22:38 + sudo tee -a /etc/ssh/ssh_known_hosts 03:22:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:38 03:22:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:39 0.1.4: Pulling from edgex-devops/py-git-semver 03:22:39 b85a868b505f: Pulling fs layer 03:22:39 e2be974225ed: Pulling fs layer 03:22:39 339a4e72a1f5: Pulling fs layer 03:22:39 988bab9f4d93: Pulling fs layer 03:22:39 1469e6f7b9e6: Pulling fs layer 03:22:39 eaf3925da568: Pulling fs layer 03:22:39 bab4dde63d76: Pulling fs layer 03:22:39 bde34c3a00c8: Pulling fs layer 03:22:39 b352a97aabf1: Pulling fs layer 03:22:39 4872d77fe225: Pulling fs layer 03:22:39 5851b861e8e6: Pulling fs layer 03:22:39 bab4dde63d76: Waiting 03:22:39 5851b861e8e6: Waiting 03:22:39 988bab9f4d93: Waiting 03:22:39 4872d77fe225: Waiting 03:22:39 eaf3925da568: Waiting 03:22:39 b352a97aabf1: Waiting 03:22:39 bde34c3a00c8: Waiting 03:22:39 1469e6f7b9e6: Waiting 03:22:39 e2be974225ed: Verifying Checksum 03:22:39 e2be974225ed: Download complete 03:22:39 988bab9f4d93: Verifying Checksum 03:22:39 988bab9f4d93: Download complete 03:22:39 339a4e72a1f5: Verifying Checksum 03:22:39 339a4e72a1f5: Download complete 03:22:39 1469e6f7b9e6: Verifying Checksum 03:22:39 1469e6f7b9e6: Download complete 03:22:39 eaf3925da568: Verifying Checksum 03:22:39 eaf3925da568: Download complete 03:22:39 bde34c3a00c8: Verifying Checksum 03:22:39 bde34c3a00c8: Download complete 03:22:39 b352a97aabf1: Verifying Checksum 03:22:39 b352a97aabf1: Download complete 03:22:39 4872d77fe225: Verifying Checksum 03:22:39 4872d77fe225: Download complete 03:22:39 5851b861e8e6: Verifying Checksum 03:22:39 5851b861e8e6: Download complete 03:22:39 b85a868b505f: Verifying Checksum 03:22:39 b85a868b505f: Download complete 03:22:39 bab4dde63d76: Verifying Checksum 03:22:39 bab4dde63d76: Download complete 03:22:40 b85a868b505f: Pull complete 03:22:40 e2be974225ed: Pull complete 03:22:41 339a4e72a1f5: Pull complete 03:22:41 988bab9f4d93: Pull complete 03:22:41 1469e6f7b9e6: Pull complete 03:22:41 eaf3925da568: Pull complete 03:22:43 bab4dde63d76: Pull complete 03:22:43 bde34c3a00c8: Pull complete 03:22:43 b352a97aabf1: Pull complete 03:22:43 4872d77fe225: Pull complete 03:22:43 5851b861e8e6: Pull complete 03:22:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:44 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:22:44 $ 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 03:22:46 $ docker top 678aacb9946a3b369c064286443fde904121789750ab4fbdda7efe53a9b4c20f -eo pid,comm 03:22:47 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). 03:22:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:22:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:47 [ssh-agent] Looking for ssh-agent implementation... 03:22:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:47 $ docker exec 678aacb9946a3b369c064286443fde904121789750ab4fbdda7efe53a9b4c20f ssh-agent 03:22:47 SSH_AUTH_SOCK=/tmp/ssh-fI9t8FUuldVO/agent.31 03:22:47 SSH_AGENT_PID=37 03:22:47 Running ssh-add (command line suppressed) 03:22:47 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16538061006465333600.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16538061006465333600.key) 03:22:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:47 + git tag --points-at HEAD [Pipeline] } 03:22:47 $ docker exec --env ******** --env ******** 678aacb9946a3b369c064286443fde904121789750ab4fbdda7efe53a9b4c20f ssh-agent -k 03:22:47 unset SSH_AUTH_SOCK; 03:22:47 unset SSH_AGENT_PID; 03:22:47 echo Agent pid 37 killed; 03:22:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:22:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:47 [ssh-agent] Looking for ssh-agent implementation... 03:22:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:48 $ docker exec 678aacb9946a3b369c064286443fde904121789750ab4fbdda7efe53a9b4c20f ssh-agent 03:22:48 SSH_AUTH_SOCK=/tmp/ssh-qtOtgpH91SAv/agent.70 03:22:48 SSH_AGENT_PID=76 03:22:48 Running ssh-add (command line suppressed) 03:22:48 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17873931019341984730.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17873931019341984730.key) 03:22:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:48 + git semver init 03:22:48 2024-03-17 03:22:48,747 [run_init] DEBUG init version:0.0.0 force:False 03:22:48 2024-03-17 03:22:48,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 03:22:48 2024-03-17 03:22:48,748 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 03:22:48 2024-03-17 03:22:48,749 [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) 03:22:50 2024-03-17 03:22:50,034 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 03:22:50 2024-03-17 03:22:50,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 03:22:50 2024-03-17 03:22:50,035 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:22:50 2024-03-17 03:22:50,035 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:22:50 3.2.0-dev.18 [Pipeline] } 03:22:50 $ docker exec --env ******** --env ******** 678aacb9946a3b369c064286443fde904121789750ab4fbdda7efe53a9b4c20f ssh-agent -k 03:22:50 unset SSH_AUTH_SOCK; 03:22:50 unset SSH_AGENT_PID; 03:22:50 echo Agent pid 76 killed; 03:22:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:22:50 + git semver [Pipeline] } 03:22:50 $ docker stop --time=1 678aacb9946a3b369c064286443fde904121789750ab4fbdda7efe53a9b4c20f 03:22:52 $ docker rm -f --volumes 678aacb9946a3b369c064286443fde904121789750ab4fbdda7efe53a9b4c20f [Pipeline] // withDockerContainer [Pipeline] sh 03:22:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:22:52 Stashed 1 file(s) [Pipeline] echo 03:22:52 [edgeXSemver]: initialized semver on version 3.2.0-dev.18 [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 03:22:53 provisioning config files... 03:22:53 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6617879540558910594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:53 ---> ****-login.sh 03:22:53 nexus3.edgexfoundry.org:10001 03:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:53 Configure a credential helper to remove this warning. See 03:22:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:53 03:22:53 Login Succeeded 03:22:53 nexus3.edgexfoundry.org:10002 03:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:53 Configure a credential helper to remove this warning. See 03:22:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:53 03:22:53 Login Succeeded 03:22:53 nexus3.edgexfoundry.org:10003 03:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:53 Configure a credential helper to remove this warning. See 03:22:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:53 03:22:53 Login Succeeded 03:22:53 nexus3.edgexfoundry.org:10004 03:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:53 Configure a credential helper to remove this warning. See 03:22:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:53 03:22:53 Login Succeeded 03:22:53 ****.io 03:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:53 Configure a credential helper to remove this warning. See 03:22:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:53 03:22:53 Login Succeeded 03:22:53 ---> ****-login.sh ends [Pipeline] } 03:22:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:22:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:53 ========================================================= 03:22:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:22:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:54 + 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 . 03:22:54 Sending build context to Docker daemon 16.93MB 03:22:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:22:54 Step 2/12 : FROM ${BASE} AS builder 03:22:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:22:54 7264a8db6415: Pulling fs layer 03:22:54 c4d48a809fc2: Pulling fs layer 03:22:54 4f1c88b9dad5: Pulling fs layer 03:22:54 ad3a456e5733: Pulling fs layer 03:22:54 69c7f0334f64: Pulling fs layer 03:22:54 1f1c1a5573a3: Pulling fs layer 03:22:54 ad3a456e5733: Waiting 03:22:54 69c7f0334f64: Waiting 03:22:54 ce7588e14bc9: Pulling fs layer 03:22:54 b5e4710f87ac: Pulling fs layer 03:22:54 1f1c1a5573a3: Waiting 03:22:54 ce7588e14bc9: Waiting 03:22:54 b5e4710f87ac: Waiting 03:22:54 c4d48a809fc2: Download complete 03:22:54 ad3a456e5733: Verifying Checksum 03:22:54 ad3a456e5733: Download complete 03:22:54 69c7f0334f64: Verifying Checksum 03:22:54 69c7f0334f64: Download complete 03:22:54 7264a8db6415: Download complete 03:22:54 1f1c1a5573a3: Verifying Checksum 03:22:54 1f1c1a5573a3: Download complete 03:22:54 7264a8db6415: Pull complete 03:22:54 b5e4710f87ac: Verifying Checksum 03:22:54 b5e4710f87ac: Download complete 03:22:54 c4d48a809fc2: Pull complete 03:22:55 4f1c88b9dad5: Verifying Checksum 03:22:55 4f1c88b9dad5: Download complete 03:22:55 ce7588e14bc9: Verifying Checksum 03:22:55 ce7588e14bc9: Download complete 03:22:58 4f1c88b9dad5: Pull complete 03:22:58 ad3a456e5733: Pull complete 03:22:58 69c7f0334f64: Pull complete 03:22:58 1f1c1a5573a3: Pull complete 03:23:01 ce7588e14bc9: Pull complete 03:23:01 b5e4710f87ac: Pull complete 03:23:01 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:23:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:23:01 ---> 88b5674ff536 03:23:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:23:06 ---> Running in 5819581b37f2 03:23:06 Removing intermediate container 5819581b37f2 03:23:06 ---> 74b26d33e909 03:23:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:23:06 ---> Running in 381cfeb82c1d 03:23:06 Removing intermediate container 381cfeb82c1d 03:23:06 ---> d6bf26062e5e 03:23:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:23:06 ---> Running in d31bdad99d37 03:23:07 Removing intermediate container d31bdad99d37 03:23:07 ---> d73dd5df4f89 03:23:07 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:07 ---> Running in 1242006d0033 03:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:23:07 Still waiting to schedule task 03:23:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-172’ 03:23:08 OK: 264 MiB in 52 packages 03:23:08 Removing intermediate container 1242006d0033 03:23:08 ---> 5e0bba6cfeb5 03:23:08 Step 7/12 : WORKDIR /app 03:23:08 ---> Running in e577e12abe6b 03:23:08 Removing intermediate container e577e12abe6b 03:23:08 ---> aaa2c41dab3c 03:23:08 Step 8/12 : COPY go.mod vendor* ./ 03:23:08 ---> 9cb21ba6dd01 03:23:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:08 ---> Running in f7cf91d6b708 03:23:47 Removing intermediate container f7cf91d6b708 03:23:47 ---> 34b68598bc98 03:23:47 Step 10/12 : COPY . . 03:23:47 ---> 3cac98ee6097 03:23:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:23:47 ---> Running in 39e1e491e6a6 03:23:47 Removing intermediate container 39e1e491e6a6 03:23:47 ---> ee059cfe0629 03:23:47 Step 12/12 : RUN $MAKE 03:23:47 ---> Running in 3037124f8276 03:23:47 noop 03:23:47 Removing intermediate container 3037124f8276 03:23:47 ---> faac4fff22e7 03:23:47 Successfully built faac4fff22e7 03:23:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:47 + docker inspect -f . ci-base-image-x86_64 03:23:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:47 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:23:47 $ 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 03:23:48 $ docker top 037df1fa9c2d4e8d99b88e3c0d1a2c250b5532d38daab7451e7e3b58190068d7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:48 + go version 03:23:48 go version go1.21.0 linux/amd64 [Pipeline] } 03:23:48 $ docker stop --time=1 037df1fa9c2d4e8d99b88e3c0d1a2c250b5532d38daab7451e7e3b58190068d7 03:23:49 $ docker rm -f --volumes 037df1fa9c2d4e8d99b88e3c0d1a2c250b5532d38daab7451e7e3b58190068d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:50 + docker inspect -f . ci-base-image-x86_64 03:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:50 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:23:50 $ 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 03:23:50 $ docker top 1683b7a215e0bdaf58efd1bf0dc57760ff8ddf8b7b87efe36d34e84019224924 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:50 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 03:23:51 + make test 03:23:51 go test -race ./... -coverprofile=coverage.out ./... 03:24:13 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 03:24:13 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 03:24:13 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.133s coverage: 86.2% of statements 03:24:13 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.697s coverage: 71.9% of statements 03:24:35 go vet ./... 03:24:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:24:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:24:39 ./bin/test-attribution.sh 03:24:39 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 03:24:39 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 03:24:39 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 03:24:39 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 03:24:39 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 03:24:39 An attribution for golang.org/x/time is missing from Attribution.txt, please add 03:24:39 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:24:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:24:39 $ docker stop --time=1 1683b7a215e0bdaf58efd1bf0dc57760ff8ddf8b7b87efe36d34e84019224924 03:24:42 $ docker rm -f --volumes 1683b7a215e0bdaf58efd1bf0dc57760ff8ddf8b7b87efe36d34e84019224924 [Pipeline] // withDockerContainer [Pipeline] sh 03:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:24:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:24:44 + ls -al . 03:24:44 total 208 03:24:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 03:23 . 03:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:22 .. 03:24:44 -rw-rw-r-- 1 jenkins jenkins 262 Mar 17 03:22 .dockerignore 03:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:24 .git 03:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 .github 03:24:44 -rw-rw-r-- 1 jenkins jenkins 773 Mar 17 03:22 .gitignore 03:24:44 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:22 .golangci.yml 03:24:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:22 .semver 03:24:44 -rw-rw-r-- 1 jenkins jenkins 10232 Mar 17 03:22 Attribution.txt 03:24:44 -rw-rw-r-- 1 jenkins jenkins 11245 Mar 17 03:22 CHANGELOG.md 03:24:44 -rw-rw-r-- 1 jenkins jenkins 1768 Mar 17 03:22 Dockerfile 03:24:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:22 GOVERNANCE.md 03:24:44 -rw-rw-r-- 1 jenkins jenkins 665 Mar 17 03:22 Jenkinsfile 03:24:44 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 17 03:22 LICENSE 03:24:44 -rw-rw-r-- 1 jenkins jenkins 2503 Mar 17 03:22 Makefile 03:24:44 -rw-rw-r-- 1 jenkins jenkins 617 Mar 17 03:22 OWNERS.md 03:24:44 -rw-rw-r-- 1 jenkins jenkins 3851 Mar 17 03:22 README.md 03:24:44 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 03:22 VERSION 03:24:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:22 bin 03:24:44 -rw-r--r-- 1 jenkins jenkins 41317 Mar 17 03:24 coverage.out 03:24:44 -rw-rw-r-- 1 jenkins jenkins 3971 Mar 17 03:22 go.mod 03:24:44 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 17 03:22 go.sum 03:24:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:22 images 03:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:22 internal 03:24:44 -rw-rw-r-- 1 jenkins jenkins 531 Mar 17 03:22 main.go 03:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 openapi 03:24:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:22 res 03:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:44 + 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=125685d47fb5baadf84338e65a976beb966b1d5c --label arch=amd64 --label version=3.2.0-dev.18 . 03:24:44 Sending build context to Docker daemon 16.93MB 03:24:44 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 03:24:44 Step 2/30 : FROM ${BASE} AS builder 03:24:44 ---> faac4fff22e7 03:24:44 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 03:24:44 ---> Running in 11da659587c8 03:24:44 Removing intermediate container 11da659587c8 03:24:44 ---> 1463f2a9bf55 03:24:44 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 03:24:44 ---> Running in 6e329d39a1dc 03:24:44 Removing intermediate container 6e329d39a1dc 03:24:44 ---> 1fe3ef54847e 03:24:44 Step 5/30 : ARG ADD_BUILD_TAGS="" 03:24:44 ---> Running in ddf8473da2c8 03:24:44 Removing intermediate container ddf8473da2c8 03:24:44 ---> 262e4be9e0cb 03:24:44 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:44 ---> Running in 73e47e92f295 03:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:45 OK: 264 MiB in 52 packages 03:24:46 Removing intermediate container 73e47e92f295 03:24:46 ---> d0cd82b92a3d 03:24:46 Step 7/30 : WORKDIR /app 03:24:46 ---> Running in 7fbbd3a90b20 03:24:46 Removing intermediate container 7fbbd3a90b20 03:24:46 ---> e4f49ba0f195 03:24:46 Step 8/30 : COPY go.mod vendor* ./ 03:24:46 ---> cde052ede9c1 03:24:46 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:46 ---> Running in 13f9d0c5c8f7 03:24:46 Removing intermediate container 13f9d0c5c8f7 03:24:46 ---> 620bf22a0a81 03:24:46 Step 10/30 : COPY . . 03:24:47 ---> 5329febc1faa 03:24:47 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:24:47 ---> Running in 1720a3c39adb 03:24:47 Removing intermediate container 1720a3c39adb 03:24:47 ---> 42ad99c62388 03:24:47 Step 12/30 : RUN $MAKE 03:24:47 ---> Running in c9c02753ddc7 03:24:47 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.28 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.2.0-dev.18 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.2.0-dev.18" -trimpath -mod=readonly -o app-rfid-llrp-inventory 03:25:09 Removing intermediate container c9c02753ddc7 03:25:09 ---> a1f89eeaa023 03:25:09 Step 13/30 : FROM alpine:3.18 03:25:09 3.18: Pulling from library/alpine 03:25:09 619be1103602: Pulling fs layer 03:25:09 619be1103602: Verifying Checksum 03:25:09 619be1103602: Download complete 03:25:09 619be1103602: Pull complete 03:25:09 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:25:09 Status: Downloaded newer image for alpine:3.18 03:25:09 ---> d3782b16ccc9 03:25:09 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:25:09 ---> Running in 88d19b90cdf2 03:25:09 Removing intermediate container 88d19b90cdf2 03:25:09 ---> 86fe613f030a 03:25:09 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 03:25:09 ---> Running in cd4d3b29159c 03:25:09 Removing intermediate container cd4d3b29159c 03:25:09 ---> 975c1a435dfc 03:25:09 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 03:25:09 ---> Running in 1b6ea6d4a7cb 03:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:25:09 (1/2) Installing ca-certificates (20230506-r0) 03:25:09 (2/2) Installing dumb-init (1.2.5-r2) 03:25:09 Executing busybox-1.36.1-r5.trigger 03:25:09 Executing ca-certificates-20230506-r0.trigger 03:25:09 OK: 8 MiB in 17 packages 03:25:09 Removing intermediate container 1b6ea6d4a7cb 03:25:09 ---> 5370b416834b 03:25:09 Step 17/30 : RUN apk --no-cache upgrade 03:25:09 ---> Running in 0721d199c82c 03:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:25:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:25:10 OK: 8 MiB in 17 packages 03:25:10 Removing intermediate container 0721d199c82c 03:25:10 ---> 9ac1c0910a74 03:25:10 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:25:10 ---> 3ba4325ce374 03:25:10 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 03:25:10 ---> 817b8e33cde3 03:25:10 Step 20/30 : COPY --from=builder /app/res/ /res/ 03:25:10 ---> 9cb28bbc6253 03:25:10 Step 21/30 : COPY --from=builder /app/static/ /static/ 03:25:11 ---> 4c3db693f6f9 03:25:11 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 03:25:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-177 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 03:25:11 Running in /w/workspace/app-rfid-llrp-inventory/170 [Pipeline] { [Pipeline] checkout 03:25:11 ---> c0d65c6ff208 03:25:11 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 03:25:11 ---> Running in d7d26feef706 03:25:12 Removing intermediate container d7d26feef706 03:25:12 ---> b7d1f15c6780 03:25:12 Step 24/30 : VOLUME /cache 03:25:12 ---> Running in 9690332197f3 03:25:12 Removing intermediate container 9690332197f3 03:25:12 ---> a525042a6c26 03:25:12 Step 25/30 : EXPOSE 59711 03:25:12 ---> Running in 444b4ab7aebb 03:25:12 Removing intermediate container 444b4ab7aebb 03:25:12 ---> 51a8eaf99330 03:25:12 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 03:25:12 ---> Running in 56e3e6d7c8ea 03:25:12 Removing intermediate container 56e3e6d7c8ea 03:25:12 ---> 4c0a18508e02 03:25:12 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 03:25:12 ---> Running in df9ab3206f5d 03:25:12 Removing intermediate container df9ab3206f5d 03:25:12 ---> eee1f98efec3 03:25:12 Step 28/30 : LABEL arch=amd64 03:25:12 ---> Running in d9468d804bac 03:25:12 Removing intermediate container d9468d804bac 03:25:12 ---> d1bb5ae63f8c 03:25:12 Step 29/30 : LABEL git_sha=125685d47fb5baadf84338e65a976beb966b1d5c 03:25:12 ---> Running in c46f7517a030 03:25:12 Removing intermediate container c46f7517a030 03:25:12 ---> d599dd8fe7e8 03:25:12 Step 30/30 : LABEL version=3.2.0-dev.18 03:25:12 ---> Running in 7ac353c1baf4 03:25:13 Removing intermediate container 7ac353c1baf4 03:25:13 ---> b1edac402ec0 03:25:13 [Warning] One or more build-args [ARCH] were not consumed 03:25:13 Successfully built b1edac402ec0 03:25:13 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } 03:25:14 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:14 provisioning config files... 03:25:14 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9888605675867281504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:14 ---> ****-login.sh 03:25:14 nexus3.edgexfoundry.org:10001 03:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:14 Configure a credential helper to remove this warning. See 03:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:14 03:25:14 Login Succeeded 03:25:14 nexus3.edgexfoundry.org:10002 03:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:14 Configure a credential helper to remove this warning. See 03:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:14 03:25:14 Login Succeeded 03:25:14 nexus3.edgexfoundry.org:10003 03:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:14 Configure a credential helper to remove this warning. See 03:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:14 03:25:14 Login Succeeded 03:25:14 nexus3.edgexfoundry.org:10004 03:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:14 Configure a credential helper to remove this warning. See 03:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:14 03:25:14 Login Succeeded 03:25:14 ****.io 03:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:15 Configure a credential helper to remove this warning. See 03:25:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:15 03:25:15 Login Succeeded 03:25:15 ---> ****-login.sh ends [Pipeline] } 03:25:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:25:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:25:15 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 03:25:15 125685d47fb5baadf84338e65a976beb966b1d5c 03:25:15 latest 03:25:15 3.2.0-dev.18 03:25:15 125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 03:25:15 main 03:25:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:15 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:15 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:125685d47fb5baadf84338e65a976beb966b1d5c 03:25:15 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 03:25:15 3de0eb9aec82: Preparing 03:25:15 76298e282e66: Preparing 03:25:15 23e87c902411: Preparing 03:25:15 10c6ad0f921f: Preparing 03:25:15 27f189463133: Preparing 03:25:15 b326eedb32f7: Preparing 03:25:15 89f26cb83b9e: Preparing 03:25:15 adad76f34224: Preparing 03:25:15 aedc3bda2944: Preparing 03:25:15 89f26cb83b9e: Waiting 03:25:15 adad76f34224: Waiting 03:25:15 aedc3bda2944: Waiting 03:25:15 b326eedb32f7: Waiting 03:25:15 10c6ad0f921f: Pushed 03:25:15 3de0eb9aec82: Pushed 03:25:15 23e87c902411: Pushed 03:25:15 27f189463133: Pushed 03:25:15 aedc3bda2944: Layer already exists 03:25:16 89f26cb83b9e: Pushed 03:25:16 b326eedb32f7: Pushed 03:25:16 adad76f34224: Pushed 03:25:18 76298e282e66: Pushed 03:25:18 125685d47fb5baadf84338e65a976beb966b1d5c: digest: sha256:2c09ed373c6648638cdcc8146f5394e54f8326adade1211065dfe387f5fe8f37 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:18 + 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 03:25:18 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 03:25:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 03:25:18 3de0eb9aec82: Preparing 03:25:18 76298e282e66: Preparing 03:25:18 23e87c902411: Preparing 03:25:18 10c6ad0f921f: Preparing 03:25:18 27f189463133: Preparing 03:25:18 b326eedb32f7: Preparing 03:25:18 89f26cb83b9e: Preparing 03:25:18 b326eedb32f7: Waiting 03:25:18 89f26cb83b9e: Waiting 03:25:18 adad76f34224: Preparing 03:25:18 aedc3bda2944: Preparing 03:25:18 aedc3bda2944: Waiting 03:25:18 adad76f34224: Waiting 03:25:18 23e87c902411: Layer already exists 03:25:18 10c6ad0f921f: Layer already exists 03:25:18 3de0eb9aec82: Layer already exists 03:25:18 27f189463133: Layer already exists 03:25:18 76298e282e66: Layer already exists 03:25:18 aedc3bda2944: Layer already exists 03:25:18 adad76f34224: Layer already exists 03:25:18 b326eedb32f7: Layer already exists 03:25:18 89f26cb83b9e: Layer already exists 03:25:18 latest: digest: sha256:2c09ed373c6648638cdcc8146f5394e54f8326adade1211065dfe387f5fe8f37 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:19 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:19 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.2.0-dev.18 03:25:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 03:25:19 3de0eb9aec82: Preparing 03:25:19 76298e282e66: Preparing 03:25:19 23e87c902411: Preparing 03:25:19 10c6ad0f921f: Preparing 03:25:19 27f189463133: Preparing 03:25:19 b326eedb32f7: Preparing 03:25:19 89f26cb83b9e: Preparing 03:25:19 adad76f34224: Preparing 03:25:19 aedc3bda2944: Preparing 03:25:19 aedc3bda2944: Waiting 03:25:19 89f26cb83b9e: Waiting 03:25:19 b326eedb32f7: Waiting 03:25:19 10c6ad0f921f: Layer already exists 03:25:19 27f189463133: Layer already exists 03:25:19 3de0eb9aec82: Layer already exists 03:25:19 23e87c902411: Layer already exists 03:25:19 76298e282e66: Layer already exists 03:25:19 b326eedb32f7: Layer already exists 03:25:19 89f26cb83b9e: Layer already exists 03:25:19 adad76f34224: Layer already exists 03:25:19 aedc3bda2944: Layer already exists 03:25:19 3.2.0-dev.18: digest: sha256:2c09ed373c6648638cdcc8146f5394e54f8326adade1211065dfe387f5fe8f37 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:19 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:20 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 03:25:20 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 03:25:20 3de0eb9aec82: Preparing 03:25:20 76298e282e66: Preparing 03:25:20 23e87c902411: Preparing 03:25:20 10c6ad0f921f: Preparing 03:25:20 27f189463133: Preparing 03:25:20 b326eedb32f7: Preparing 03:25:20 89f26cb83b9e: Preparing 03:25:20 adad76f34224: Preparing 03:25:20 aedc3bda2944: Preparing 03:25:20 b326eedb32f7: Waiting 03:25:20 89f26cb83b9e: Waiting 03:25:20 adad76f34224: Waiting 03:25:20 aedc3bda2944: Waiting 03:25:20 23e87c902411: Layer already exists 03:25:20 76298e282e66: Layer already exists 03:25:20 3de0eb9aec82: Layer already exists 03:25:20 10c6ad0f921f: Layer already exists 03:25:20 27f189463133: Layer already exists 03:25:20 b326eedb32f7: Layer already exists 03:25:20 89f26cb83b9e: Layer already exists 03:25:20 aedc3bda2944: Layer already exists 03:25:20 adad76f34224: Layer already exists 03:25:20 125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18: digest: sha256:2c09ed373c6648638cdcc8146f5394e54f8326adade1211065dfe387f5fe8f37 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:20 using credential edgex-jenkins-ssh 03:25:20 Cloning the remote Git repository 03:25:20 + 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 03:25:20 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 03:25:20 > git init /w/workspace/app-rfid-llrp-inventory/170 # timeout=10 03:25:20 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 03:25:20 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 03:25:20 3de0eb9aec82: Preparing 03:25:20 76298e282e66: Preparing 03:25:20 23e87c902411: Preparing 03:25:20 10c6ad0f921f: Preparing 03:25:20 27f189463133: Preparing 03:25:20 b326eedb32f7: Preparing 03:25:20 89f26cb83b9e: Preparing 03:25:20 adad76f34224: Preparing 03:25:20 aedc3bda2944: Preparing 03:25:20 b326eedb32f7: Waiting 03:25:20 89f26cb83b9e: Waiting 03:25:20 aedc3bda2944: Waiting 03:25:20 adad76f34224: Waiting 03:25:20 23e87c902411: Layer already exists 03:25:20 76298e282e66: Layer already exists 03:25:20 27f189463133: Layer already exists 03:25:20 10c6ad0f921f: Layer already exists 03:25:20 3de0eb9aec82: Layer already exists 03:25:20 89f26cb83b9e: Layer already exists 03:25:20 b326eedb32f7: Layer already exists 03:25:20 aedc3bda2944: Layer already exists 03:25:20 adad76f34224: Layer already exists 03:25:20 main: digest: sha256:2c09ed373c6648638cdcc8146f5394e54f8326adade1211065dfe387f5fe8f37 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:25:20 ===================================================== [Pipeline] echo 03:25:20 taggedImages: 03:25:20 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:125685d47fb5baadf84338e65a976beb966b1d5c 03:25:20 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 03:25:20 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.2.0-dev.18 03:25:20 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 03:25:20 - 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 03:25:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:21 03:25:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:21 latest: Pulling from edgex-lftools-log-publisher 03:25:21 5eb5b503b376: Pulling fs layer 03:25:21 5c69ac0246d0: Pulling fs layer 03:25:21 ec43610c2a17: Pulling fs layer 03:25:21 3a2ae6a8a46f: Pulling fs layer 03:25:21 33b1e0a273af: Pulling fs layer 03:25:21 3a2ae6a8a46f: Waiting 03:25:21 5d3b04190fa2: Pulling fs layer 03:25:21 2f39f015ded8: Pulling fs layer 03:25:21 5d3b04190fa2: Waiting 03:25:21 2f39f015ded8: Waiting 03:25:21 33b1e0a273af: Waiting 03:25:21 5c69ac0246d0: Verifying Checksum 03:25:21 5c69ac0246d0: Download complete 03:25:21 3a2ae6a8a46f: Verifying Checksum 03:25:21 3a2ae6a8a46f: Download complete 03:25:21 33b1e0a273af: Verifying Checksum 03:25:21 33b1e0a273af: Download complete 03:25:21 5d3b04190fa2: Verifying Checksum 03:25:21 5d3b04190fa2: Download complete 03:25:21 ec43610c2a17: Verifying Checksum 03:25:21 ec43610c2a17: Download complete 03:25:21 5eb5b503b376: Download complete 03:25:20 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 03:25:20 > git --version # timeout=10 03:25:20 > git --version # 'git version 2.25.1' 03:25:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:22 2f39f015ded8: Download complete 03:25:22 5eb5b503b376: Pull complete 03:25:23 5c69ac0246d0: Pull complete 03:25:23 ec43610c2a17: Pull complete 03:25:23 3a2ae6a8a46f: Pull complete 03:25:23 33b1e0a273af: Pull complete 03:25:23 5d3b04190fa2: Pull complete 03:25:23 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 03:25:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:24 Avoid second fetch 03:25:24 Checking out Revision 125685d47fb5baadf84338e65a976beb966b1d5c (main) 03:25:25 Commit message: "Merge pull request #280 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/app-functions-sdk-go/v3-3.2.0-dev.28" 03:25:24 > git config core.sparsecheckout # timeout=10 03:25:25 > git checkout -f 125685d47fb5baadf84338e65a976beb966b1d5c # timeout=10 03:25:29 2f39f015ded8: Pull complete 03:25:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:25:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:29 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:25:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 03:25:29 03:25:29 GitHub has been notified of this commit’s build result 03:25:29 03:25:33 $ docker top be0bac3a54ebf186f6a1653f06c884f0268bf4661b1f19e56945e0656f549d87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:34 ---> job-cost.sh 03:25:34 lf-activate-venv: SKIPPING 03:25:34 INFO: No Stack... 03:25:34 INFO: Retrieving Pricing Info for: v3-standard-8 03:25:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:25:34 % Total % Received % Xferd Average Speed Time Time Time Current 03:25:34 Dload Upload Total Spent Left Speed 03:25:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 50703 0 --:--:-- --:--:-- --:--:-- 50703 [Pipeline] sh 03:25:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:25:34 INFO: Archiving Costs [Pipeline] sh 03:25:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:25:35 + sudo tee /etc/docker/daemon.new 03:25:35 { 03:25:35 "registry-mirrors": [ 03:25:35 "https://nexus3.edgexfoundry.org:10001" 03:25:35 ], 03:25:35 "bip": "10.250.0.254/24", 03:25:35 "hosts": [ 03:25:35 "tcp://0.0.0.0:5555", 03:25:35 "unix:///var/run/docker.sock" 03:25:35 ], 03:25:35 "mtu": 1458, 03:25:35 "selinux-enabled": true, 03:25:35 "seccomp-profile": "/etc/docker/seccomp.json" 03:25:35 } [Pipeline] sh 03:25:35 + + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 03:25:35 cut -d, -f6 [Pipeline] lock 03:25:35 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] 03:25:35 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] did not exist. Created. 03:25:35 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:25:35 + echo total: 0.2199999988079071 [Pipeline] stash 03:25:35 Stashed 1 file(s) [Pipeline] } 03:25:35 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:35 $ docker stop --time=1 be0bac3a54ebf186f6a1653f06c884f0268bf4661b1f19e56945e0656f549d87 03:25:35 + sudo service docker restart 03:25:36 $ docker rm -f --volumes be0bac3a54ebf186f6a1653f06c884f0268bf4661b1f19e56945e0656f549d87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:54 provisioning config files... 03:25:54 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/170@tmp/config15099768814261951033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:54 ---> ****-login.sh 03:25:54 nexus3.edgexfoundry.org:10001 03:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:55 Configure a credential helper to remove this warning. See 03:25:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:55 03:25:55 Login Succeeded 03:25:55 nexus3.edgexfoundry.org:10002 03:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:55 Configure a credential helper to remove this warning. See 03:25:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:55 03:25:55 Login Succeeded 03:25:55 nexus3.edgexfoundry.org:10003 03:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:56 Configure a credential helper to remove this warning. See 03:25:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:56 03:25:56 Login Succeeded 03:25:56 nexus3.edgexfoundry.org:10004 03:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:56 Configure a credential helper to remove this warning. See 03:25:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:56 03:25:56 Login Succeeded 03:25:56 ****.io 03:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:56 Configure a credential helper to remove this warning. See 03:25:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:56 03:25:56 Login Succeeded 03:25:57 ---> ****-login.sh ends [Pipeline] } 03:25:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:25:57 ========================================================= 03:25:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:25:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:57 + 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 . 03:25:58 Sending build context to Docker daemon 670.2kB 03:25:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:25:58 Step 2/12 : FROM ${BASE} AS builder 03:25:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:25:58 9fda8d8052c6: Pulling fs layer 03:25:58 5d54e960e981: Pulling fs layer 03:25:58 c4a7e357bf2a: Pulling fs layer 03:25:58 f0e02332f6b5: Pulling fs layer 03:25:58 872ee5b61b7b: Pulling fs layer 03:25:58 0c6a40ed1a82: Pulling fs layer 03:25:58 94ae7d8d031c: Pulling fs layer 03:25:58 872ee5b61b7b: Waiting 03:25:58 0c6a40ed1a82: Waiting 03:25:58 94ae7d8d031c: Waiting 03:25:58 f0e02332f6b5: Waiting 03:25:58 5d54e960e981: Download complete 03:25:58 f0e02332f6b5: Verifying Checksum 03:25:58 f0e02332f6b5: Download complete 03:25:58 872ee5b61b7b: Download complete 03:25:58 9fda8d8052c6: Verifying Checksum 03:25:58 9fda8d8052c6: Download complete 03:25:58 94ae7d8d031c: Verifying Checksum 03:25:58 94ae7d8d031c: Download complete 03:25:59 9fda8d8052c6: Pull complete 03:25:59 5d54e960e981: Pull complete 03:26:00 c4a7e357bf2a: Verifying Checksum 03:26:00 c4a7e357bf2a: Download complete 03:26:01 0c6a40ed1a82: Verifying Checksum 03:26:01 0c6a40ed1a82: Download complete 03:26:16 c4a7e357bf2a: Pull complete 03:26:16 f0e02332f6b5: Pull complete 03:26:16 872ee5b61b7b: Pull complete 03:26:23 0c6a40ed1a82: Pull complete 03:26:25 94ae7d8d031c: Pull complete 03:26:25 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:26:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:26:25 ---> 86de565de09d 03:26:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:26:26 ---> Running in a1afe17b97ce 03:26:26 Removing intermediate container a1afe17b97ce 03:26:26 ---> f6eb226127f7 03:26:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:26:26 ---> Running in 8423ee8c16ff 03:26:26 Removing intermediate container 8423ee8c16ff 03:26:26 ---> 77835505aa16 03:26:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:26:26 ---> Running in 39b96db7592f 03:26:27 Removing intermediate container 39b96db7592f 03:26:27 ---> 6198eadcdb69 03:26:27 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:27 ---> Running in 6a1e725af87f 03:26:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:26:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:26:31 OK: 266 MiB in 52 packages 03:26:32 Removing intermediate container 6a1e725af87f 03:26:32 ---> 69437cd16aa1 03:26:32 Step 7/12 : WORKDIR /app 03:26:32 ---> Running in e37883a782fc 03:26:33 Removing intermediate container e37883a782fc 03:26:33 ---> 1bf6c074b3c3 03:26:33 Step 8/12 : COPY go.mod vendor* ./ 03:26:33 ---> 0f90c27783b3 03:26:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:33 ---> Running in 419b42b033b2 03:27:41 Removing intermediate container 419b42b033b2 03:27:41 ---> 7e9342c5d65b 03:27:41 Step 10/12 : COPY . . 03:27:41 ---> 57f43ac2b2ba 03:27:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:27:41 ---> Running in d2176e1e2209 03:27:41 Removing intermediate container d2176e1e2209 03:27:41 ---> 1514c3503c15 03:27:41 Step 12/12 : RUN $MAKE 03:27:41 ---> Running in b9213a5243ba 03:27:41 noop 03:27:41 Removing intermediate container b9213a5243ba 03:27:41 ---> a7704b7c2760 03:27:41 Successfully built a7704b7c2760 03:27:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:42 + docker inspect -f . ci-base-image-arm64 03:27:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:42 prd-ubuntu20.04-docker-arm64-4c-16g-177 does not seem to be running inside a container 03:27:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/170 -v /w/workspace/app-rfid-llrp-inventory/170:/w/workspace/app-rfid-llrp-inventory/170:rw,z -v /w/workspace/app-rfid-llrp-inventory/170@tmp:/w/workspace/app-rfid-llrp-inventory/170@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 03:27:43 $ docker top ee3746af04a4a915dd4896a008f84615a6874b39a8459bb0809bd9e364e07e90 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:44 + go version 03:27:44 go version go1.21.0 linux/arm64 [Pipeline] } 03:27:44 $ docker stop --time=1 ee3746af04a4a915dd4896a008f84615a6874b39a8459bb0809bd9e364e07e90 03:27:46 $ docker rm -f --volumes ee3746af04a4a915dd4896a008f84615a6874b39a8459bb0809bd9e364e07e90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:47 + docker inspect -f . ci-base-image-arm64 03:27:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:47 prd-ubuntu20.04-docker-arm64-4c-16g-177 does not seem to be running inside a container 03:27:47 $ 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/170 -v /w/workspace/app-rfid-llrp-inventory/170:/w/workspace/app-rfid-llrp-inventory/170:rw,z -v /w/workspace/app-rfid-llrp-inventory/170@tmp:/w/workspace/app-rfid-llrp-inventory/170@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 03:27:49 $ docker top 824f8d534fd0852038b87b7001ff51011926c7146bd11d1efc14f2d0abaffcc9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:49 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/170 [Pipeline] fileExists [Pipeline] sh 03:27:50 + make test 03:27:50 go test -race ./... -coverprofile=coverage.out ./... 03:30:27 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 03:30:27 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 03:30:29 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 2.199s coverage: 86.2% of statements 03:30:39 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.566s coverage: 71.9% of statements 03:30:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:30:40 go vet ./... 03:33:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:33:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:33:01 ./bin/test-attribution.sh 03:33:01 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 03:33:01 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 03:33:01 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 03:33:01 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 03:33:01 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 03:33:01 An attribution for golang.org/x/time is missing from Attribution.txt, please add 03:33:01 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:33:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:33:01 $ docker stop --time=1 824f8d534fd0852038b87b7001ff51011926c7146bd11d1efc14f2d0abaffcc9 03:33:03 $ docker rm -f --volumes 824f8d534fd0852038b87b7001ff51011926c7146bd11d1efc14f2d0abaffcc9 [Pipeline] // withDockerContainer [Pipeline] sh 03:33:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:33:05 Warning: overwriting stash ‘coverage-report’ 03:33:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:33:06 + ls -al . 03:33:06 total 204 03:33:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 03:27 . 03:33:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:25 .. 03:33:06 -rw-rw-r-- 1 jenkins jenkins 262 Mar 17 03:25 .dockerignore 03:33:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:25 .git 03:33:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:25 .github 03:33:06 -rw-rw-r-- 1 jenkins jenkins 773 Mar 17 03:25 .gitignore 03:33:06 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:25 .golangci.yml 03:33:06 -rw-rw-r-- 1 jenkins jenkins 10232 Mar 17 03:25 Attribution.txt 03:33:06 -rw-rw-r-- 1 jenkins jenkins 11245 Mar 17 03:25 CHANGELOG.md 03:33:06 -rw-rw-r-- 1 jenkins jenkins 1768 Mar 17 03:25 Dockerfile 03:33:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:25 GOVERNANCE.md 03:33:06 -rw-rw-r-- 1 jenkins jenkins 665 Mar 17 03:25 Jenkinsfile 03:33:06 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 17 03:25 LICENSE 03:33:06 -rw-rw-r-- 1 jenkins jenkins 2503 Mar 17 03:25 Makefile 03:33:06 -rw-rw-r-- 1 jenkins jenkins 617 Mar 17 03:25 OWNERS.md 03:33:06 -rw-rw-r-- 1 jenkins jenkins 3851 Mar 17 03:25 README.md 03:33:06 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 03:22 VERSION 03:33:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:25 bin 03:33:06 -rw-r--r-- 1 jenkins jenkins 41317 Mar 17 03:30 coverage.out 03:33:06 -rw-rw-r-- 1 jenkins jenkins 3971 Mar 17 03:25 go.mod 03:33:06 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 17 03:25 go.sum 03:33:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:25 images 03:33:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:25 internal 03:33:06 -rw-rw-r-- 1 jenkins jenkins 531 Mar 17 03:25 main.go 03:33:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:25 openapi 03:33:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:25 res 03:33:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:25 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:06 + 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=125685d47fb5baadf84338e65a976beb966b1d5c --label arch=arm64 --label version=3.2.0-dev.18 . 03:33:07 Sending build context to Docker daemon 670.2kB 03:33:07 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 03:33:07 Step 2/30 : FROM ${BASE} AS builder 03:33:07 ---> a7704b7c2760 03:33:07 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 03:33:07 ---> Running in 1cd7f26f394b 03:33:07 Removing intermediate container 1cd7f26f394b 03:33:07 ---> 730f14d810f2 03:33:07 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 03:33:07 ---> Running in 03edea775093 03:33:08 Removing intermediate container 03edea775093 03:33:08 ---> 43222310571c 03:33:08 Step 5/30 : ARG ADD_BUILD_TAGS="" 03:33:08 ---> Running in 239d95696210 03:33:08 Removing intermediate container 239d95696210 03:33:08 ---> 88d0f29b3fb1 03:33:08 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:33:08 ---> Running in 44eadd04f121 03:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:33:11 OK: 266 MiB in 52 packages 03:33:11 Removing intermediate container 44eadd04f121 03:33:11 ---> 88a85c1f661e 03:33:11 Step 7/30 : WORKDIR /app 03:33:12 ---> Running in a6fca1e5b449 03:33:12 Removing intermediate container a6fca1e5b449 03:33:12 ---> c48ac5a0a635 03:33:12 Step 8/30 : COPY go.mod vendor* ./ 03:33:12 ---> 4d1ba00d520e 03:33:12 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:33:12 ---> Running in 78eab379bb2e 03:33:14 Removing intermediate container 78eab379bb2e 03:33:14 ---> 402bfdd436ae 03:33:14 Step 10/30 : COPY . . 03:33:15 ---> 543638b07e1e 03:33:15 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:33:15 ---> Running in 9edceff05cbb 03:33:15 Removing intermediate container 9edceff05cbb 03:33:15 ---> e21fbd178531 03:33:15 Step 12/30 : RUN $MAKE 03:33:15 ---> Running in ffc993ecbe71 03:33:16 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.28 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.2.0-dev.18 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.2.0-dev.18" -trimpath -mod=readonly -o app-rfid-llrp-inventory 03:35:23 Removing intermediate container ffc993ecbe71 03:35:23 ---> 04d63f2ecec5 03:35:23 Step 13/30 : FROM alpine:3.18 03:35:23 3.18: Pulling from library/alpine 03:35:23 c6b39de5b339: Pulling fs layer 03:35:23 c6b39de5b339: Verifying Checksum 03:35:23 c6b39de5b339: Download complete 03:35:23 c6b39de5b339: Pull complete 03:35:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:35:23 Status: Downloaded newer image for alpine:3.18 03:35:23 ---> 33abbf032149 03:35:23 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:35:23 ---> Running in 86cc2beb160e 03:35:23 Removing intermediate container 86cc2beb160e 03:35:23 ---> bdbe1f76b291 03:35:23 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 03:35:23 ---> Running in ffbf19b33fc0 03:35:23 Removing intermediate container ffbf19b33fc0 03:35:23 ---> 653c7fcea084 03:35:23 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 03:35:23 ---> Running in 881554fd57c9 03:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:35:23 (1/2) Installing ca-certificates (20230506-r0) 03:35:23 (2/2) Installing dumb-init (1.2.5-r2) 03:35:23 Executing busybox-1.36.1-r5.trigger 03:35:23 Executing ca-certificates-20230506-r0.trigger 03:35:23 OK: 9 MiB in 17 packages 03:35:23 Removing intermediate container 881554fd57c9 03:35:23 ---> 3b9b70ef07f9 03:35:23 Step 17/30 : RUN apk --no-cache upgrade 03:35:23 ---> Running in 699c03eca7df 03:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:35:23 OK: 9 MiB in 17 packages 03:35:23 Removing intermediate container 699c03eca7df 03:35:23 ---> f5312992d3fd 03:35:23 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:35:24 ---> 7f9303769693 03:35:24 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 03:35:24 ---> 33877ba6ff57 03:35:24 Step 20/30 : COPY --from=builder /app/res/ /res/ 03:35:25 ---> 1900cdc60727 03:35:25 Step 21/30 : COPY --from=builder /app/static/ /static/ 03:35:25 ---> 423bc13df6ad 03:35:25 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 03:35:27 ---> b7f2f39c96ec 03:35:27 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 03:35:27 ---> Running in 9b65649a25e7 03:35:28 Removing intermediate container 9b65649a25e7 03:35:28 ---> a62ae79ecac9 03:35:28 Step 24/30 : VOLUME /cache 03:35:28 ---> Running in 24395b74973d 03:35:28 Removing intermediate container 24395b74973d 03:35:28 ---> b0dd309286d5 03:35:28 Step 25/30 : EXPOSE 59711 03:35:29 ---> Running in 8f493695123e 03:35:29 Removing intermediate container 8f493695123e 03:35:29 ---> 02ae4b8e71a0 03:35:29 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 03:35:29 ---> Running in 8c59b53b8aa5 03:35:29 Removing intermediate container 8c59b53b8aa5 03:35:29 ---> e12fb42504ca 03:35:29 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 03:35:29 ---> Running in 7bfc2999d926 03:35:30 Removing intermediate container 7bfc2999d926 03:35:30 ---> 7a7d3078a36e 03:35:30 Step 28/30 : LABEL arch=arm64 03:35:30 ---> Running in 674f59c2cd3b 03:35:30 Removing intermediate container 674f59c2cd3b 03:35:30 ---> a635040cd68b 03:35:30 Step 29/30 : LABEL git_sha=125685d47fb5baadf84338e65a976beb966b1d5c 03:35:30 ---> Running in 4674c8960779 03:35:30 Removing intermediate container 4674c8960779 03:35:30 ---> f9359644ddac 03:35:30 Step 30/30 : LABEL version=3.2.0-dev.18 03:35:30 ---> Running in 0331a1c159fd 03:35:31 Removing intermediate container 0331a1c159fd 03:35:31 ---> 6c3912a96346 03:35:31 [Warning] One or more build-args [ARCH] were not consumed 03:35:31 Successfully built 6c3912a96346 03:35:31 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 03:35:31 provisioning config files... 03:35:31 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/170@tmp/config2785324370712194609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:31 ---> ****-login.sh 03:35:31 nexus3.edgexfoundry.org:10001 03:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:32 Configure a credential helper to remove this warning. See 03:35:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:32 03:35:32 Login Succeeded 03:35:32 nexus3.edgexfoundry.org:10002 03:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:32 Configure a credential helper to remove this warning. See 03:35:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:32 03:35:32 Login Succeeded 03:35:32 nexus3.edgexfoundry.org:10003 03:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:32 Configure a credential helper to remove this warning. See 03:35:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:32 03:35:32 Login Succeeded 03:35:32 nexus3.edgexfoundry.org:10004 03:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:33 Configure a credential helper to remove this warning. See 03:35:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:33 03:35:33 Login Succeeded 03:35:33 ****.io 03:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:33 Configure a credential helper to remove this warning. See 03:35:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:33 03:35:33 Login Succeeded 03:35:33 ---> ****-login.sh ends [Pipeline] } 03:35:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:35:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:35:33 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 03:35:33 125685d47fb5baadf84338e65a976beb966b1d5c 03:35:33 latest 03:35:33 3.2.0-dev.18 03:35:33 125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 03:35:33 main 03:35:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:34 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:34 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:125685d47fb5baadf84338e65a976beb966b1d5c 03:35:34 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 03:35:34 067392390fb9: Preparing 03:35:34 e2a708fc28e1: Preparing 03:35:34 f5498493d26f: Preparing 03:35:34 da17f391f895: Preparing 03:35:34 0246cc45a61f: Preparing 03:35:34 37fa622e4cb9: Preparing 03:35:34 37fa622e4cb9: Waiting 03:35:34 13892593be79: Preparing 03:35:34 6cdc78f069eb: Preparing 03:35:34 13892593be79: Waiting 03:35:34 7c504f21be85: Preparing 03:35:34 6cdc78f069eb: Waiting 03:35:34 7c504f21be85: Waiting 03:35:34 f5498493d26f: Pushed 03:35:34 da17f391f895: Pushed 03:35:34 067392390fb9: Pushed 03:35:34 0246cc45a61f: Pushed 03:35:34 7c504f21be85: Layer already exists 03:35:35 37fa622e4cb9: Pushed 03:35:35 13892593be79: Pushed 03:35:35 6cdc78f069eb: Pushed 03:35:39 e2a708fc28e1: Pushed 03:35:39 125685d47fb5baadf84338e65a976beb966b1d5c: digest: sha256:b3345884d7e1a1ca793bd06f36be5d9ae7af02a7fa83e6885790d5a2028a08c0 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:40 + 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 03:35:40 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 03:35:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 03:35:40 067392390fb9: Preparing 03:35:40 e2a708fc28e1: Preparing 03:35:40 f5498493d26f: Preparing 03:35:40 da17f391f895: Preparing 03:35:40 0246cc45a61f: Preparing 03:35:40 37fa622e4cb9: Preparing 03:35:40 13892593be79: Preparing 03:35:40 6cdc78f069eb: Preparing 03:35:40 7c504f21be85: Preparing 03:35:40 37fa622e4cb9: Waiting 03:35:40 13892593be79: Waiting 03:35:40 6cdc78f069eb: Waiting 03:35:40 7c504f21be85: Waiting 03:35:40 f5498493d26f: Layer already exists 03:35:40 da17f391f895: Layer already exists 03:35:40 e2a708fc28e1: Layer already exists 03:35:40 067392390fb9: Layer already exists 03:35:40 0246cc45a61f: Layer already exists 03:35:40 13892593be79: Layer already exists 03:35:40 6cdc78f069eb: Layer already exists 03:35:40 37fa622e4cb9: Layer already exists 03:35:40 7c504f21be85: Layer already exists 03:35:40 latest: digest: sha256:b3345884d7e1a1ca793bd06f36be5d9ae7af02a7fa83e6885790d5a2028a08c0 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:41 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:41 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.2.0-dev.18 03:35:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 03:35:41 067392390fb9: Preparing 03:35:41 e2a708fc28e1: Preparing 03:35:41 f5498493d26f: Preparing 03:35:41 da17f391f895: Preparing 03:35:41 0246cc45a61f: Preparing 03:35:41 37fa622e4cb9: Preparing 03:35:41 13892593be79: Preparing 03:35:41 6cdc78f069eb: Preparing 03:35:41 7c504f21be85: Preparing 03:35:41 13892593be79: Waiting 03:35:41 6cdc78f069eb: Waiting 03:35:41 7c504f21be85: Waiting 03:35:41 37fa622e4cb9: Waiting 03:35:41 f5498493d26f: Layer already exists 03:35:41 0246cc45a61f: Layer already exists 03:35:41 e2a708fc28e1: Layer already exists 03:35:41 067392390fb9: Layer already exists 03:35:41 da17f391f895: Layer already exists 03:35:41 6cdc78f069eb: Layer already exists 03:35:41 37fa622e4cb9: Layer already exists 03:35:41 13892593be79: Layer already exists 03:35:41 7c504f21be85: Layer already exists 03:35:41 3.2.0-dev.18: digest: sha256:b3345884d7e1a1ca793bd06f36be5d9ae7af02a7fa83e6885790d5a2028a08c0 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:42 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:42 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 03:35:42 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 03:35:42 067392390fb9: Preparing 03:35:42 e2a708fc28e1: Preparing 03:35:42 f5498493d26f: Preparing 03:35:42 da17f391f895: Preparing 03:35:42 0246cc45a61f: Preparing 03:35:42 37fa622e4cb9: Preparing 03:35:42 13892593be79: Preparing 03:35:42 37fa622e4cb9: Waiting 03:35:42 6cdc78f069eb: Preparing 03:35:42 13892593be79: Waiting 03:35:42 7c504f21be85: Preparing 03:35:42 6cdc78f069eb: Waiting 03:35:42 7c504f21be85: Waiting 03:35:42 067392390fb9: Layer already exists 03:35:42 0246cc45a61f: Layer already exists 03:35:42 e2a708fc28e1: Layer already exists 03:35:42 f5498493d26f: Layer already exists 03:35:42 da17f391f895: Layer already exists 03:35:42 6cdc78f069eb: Layer already exists 03:35:42 13892593be79: Layer already exists 03:35:42 7c504f21be85: Layer already exists 03:35:42 37fa622e4cb9: Layer already exists 03:35:42 125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18: digest: sha256:b3345884d7e1a1ca793bd06f36be5d9ae7af02a7fa83e6885790d5a2028a08c0 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:42 + 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 03:35:43 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 03:35:43 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 03:35:43 067392390fb9: Preparing 03:35:43 e2a708fc28e1: Preparing 03:35:43 f5498493d26f: Preparing 03:35:43 da17f391f895: Preparing 03:35:43 0246cc45a61f: Preparing 03:35:43 37fa622e4cb9: Preparing 03:35:43 13892593be79: Preparing 03:35:43 6cdc78f069eb: Preparing 03:35:43 7c504f21be85: Preparing 03:35:43 37fa622e4cb9: Waiting 03:35:43 13892593be79: Waiting 03:35:43 6cdc78f069eb: Waiting 03:35:43 7c504f21be85: Waiting 03:35:43 e2a708fc28e1: Layer already exists 03:35:43 da17f391f895: Layer already exists 03:35:43 067392390fb9: Layer already exists 03:35:43 f5498493d26f: Layer already exists 03:35:43 0246cc45a61f: Layer already exists 03:35:43 6cdc78f069eb: Layer already exists 03:35:43 37fa622e4cb9: Layer already exists 03:35:43 7c504f21be85: Layer already exists 03:35:43 13892593be79: Layer already exists 03:35:43 main: digest: sha256:b3345884d7e1a1ca793bd06f36be5d9ae7af02a7fa83e6885790d5a2028a08c0 size: 2196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:35:43 ===================================================== [Pipeline] echo 03:35:43 taggedImages: 03:35:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:125685d47fb5baadf84338e65a976beb966b1d5c 03:35:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 03:35:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.2.0-dev.18 03:35:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:125685d47fb5baadf84338e65a976beb966b1d5c-3.2.0-dev.18 03:35:43 - 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 03:35:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:44 03:35:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:44 arm64: Pulling from edgex-lftools-log-publisher 03:35:44 8998bd30e6a1: Pulling fs layer 03:35:44 04944245beec: Pulling fs layer 03:35:44 699f458cf7ca: Pulling fs layer 03:35:44 765212b225bb: Pulling fs layer 03:35:44 f23df028b6ca: Pulling fs layer 03:35:44 d65c8cfc05b1: Pulling fs layer 03:35:44 2437ff75d9bd: Pulling fs layer 03:35:44 765212b225bb: Waiting 03:35:44 f23df028b6ca: Waiting 03:35:44 2437ff75d9bd: Waiting 03:35:44 d65c8cfc05b1: Waiting 03:35:44 04944245beec: Verifying Checksum 03:35:44 04944245beec: Download complete 03:35:44 765212b225bb: Verifying Checksum 03:35:44 765212b225bb: Download complete 03:35:44 f23df028b6ca: Download complete 03:35:44 d65c8cfc05b1: Verifying Checksum 03:35:44 d65c8cfc05b1: Download complete 03:35:44 699f458cf7ca: Verifying Checksum 03:35:44 699f458cf7ca: Download complete 03:35:45 8998bd30e6a1: Download complete 03:35:47 2437ff75d9bd: Verifying Checksum 03:35:47 2437ff75d9bd: Download complete 03:35:49 8998bd30e6a1: Pull complete 03:35:50 04944245beec: Pull complete 03:35:51 699f458cf7ca: Pull complete 03:35:52 765212b225bb: Pull complete 03:35:52 f23df028b6ca: Pull complete 03:35:52 d65c8cfc05b1: Pull complete 03:36:11 2437ff75d9bd: Pull complete 03:36:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:36:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:11 prd-ubuntu20.04-docker-arm64-4c-16g-177 does not seem to be running inside a container 03:36:11 $ 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/170 -v /w/workspace/app-rfid-llrp-inventory/170:/w/workspace/app-rfid-llrp-inventory/170:rw,z -v /w/workspace/app-rfid-llrp-inventory/170@tmp:/w/workspace/app-rfid-llrp-inventory/170@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 03:36:14 $ docker top 7d9c1517d6fa69033c177a161eaf0a2aa72a7b54e82d6ca424badcd7a2b8cf91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:14 ---> job-cost.sh 03:36:14 lf-activate-venv: SKIPPING 03:36:14 INFO: No Stack... 03:36:15 INFO: Retrieving Pricing Info for: v3-standard-4 03:36:16 INFO: Archiving Costs [Pipeline] sh 03:36:16 + cat /w/workspace/app-rfid-llrp-inventory/170/archives/cost.csv 03:36:16 + cut -d, -f6 [Pipeline] lock 03:36:16 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] 03:36:16 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] did not exist. Created. 03:36:16 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:36:17 /w/workspace/app-rfid-llrp-inventory/170@tmp/durable-b61a8603/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:36:17 + echo total: 0.10999999940395355 [Pipeline] stash 03:36:17 Warning: overwriting stash ‘stack-cost’ 03:36:17 Stashed 1 file(s) [Pipeline] } 03:36:17 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-170-stack-cost] [Pipeline] // lock [Pipeline] } 03:36:17 $ docker stop --time=1 7d9c1517d6fa69033c177a161eaf0a2aa72a7b54e82d6ca424badcd7a2b8cf91 03:36:19 $ docker rm -f --volumes 7d9c1517d6fa69033c177a161eaf0a2aa72a7b54e82d6ca424badcd7a2b8cf91 [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 03:36:19 provisioning config files... 03:36:19 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11552379894259910827tmp [Pipeline] { [Pipeline] sh 03:36:19 + set +x 03:36:19 + bash -s -- 03:36:19 + curl -s https://codecov.io/bash 03:36:19 03:36:19 _____ _ 03:36:19 / ____| | | 03:36:19 | | ___ __| | ___ ___ _____ __ 03:36:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:36:19 | |___| (_) | (_| | __/ (_| (_) \ V / 03:36:19 \_____\___/ \__,_|\___|\___\___/ \_/ 03:36:19 Bash-1.0.6 03:36:19 03:36:19 03:36:19 ==> git version 2.25.1 found 03:36:19 ==> 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 03:36:19 Release-Date: 2020-01-08 03:36:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:36:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:36:19 ==> Jenkins CI detected. 03:36:19 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 03:36:19 project root: . 03:36:19 --> token set from env 03:36:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:36:19 ==> Running gcov in . (disable via -X gcov) 03:36:19 ==> Python coveragepy not found 03:36:19 ==> Searching for coverage reports in: 03:36:19 + . 03:36:19 -> Found 1 reports 03:36:19 ==> Detecting git/mercurial file structure 03:36:20 ==> Reading reports 03:36:20 + ./coverage.out bytes=41317 03:36:20 ==> Appending adjustments 03:36:20 https://docs.codecov.io/docs/fixing-reports 03:36:20 + Found adjustments 03:36:20 ==> Gzipping contents 03:36:20 12K /tmp/codecov.PP55e9.gz 03:36:20 ==> Uploading reports 03:36:20 url: https://codecov.io 03:36:20 query: branch=main&commit=125685d47fb5baadf84338e65a976beb966b1d5c&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F170%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 03:36:20 -> Pinging Codecov 03:36:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=125685d47fb5baadf84338e65a976beb966b1d5c&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F170%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 03:36:20 -> Uploading to 03:36:20 https://storage.googleapis.com/codecov/v4/raw/2024-03-17/581DD39554BDF9B6E22D074273EAD858/125685d47fb5baadf84338e65a976beb966b1d5c/df76a48c-be57-4f08-8be7-d4052382b88a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240317T033620Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9884b0183ef86787f296128d42a7a0ff0cf56080be748843b48fb098e636d2c9 03:36:20 % Total % Received % Xferd Average Speed Time Time Time Current 03:36:20 Dload Upload Total Spent Left Speed 03:36:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11610 0 0 100 11610 0 40880 --:--:-- --:--:-- --:--:-- 40880 03:36:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] } 03:36:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:36:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:36:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:36:21 03:36:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:36:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:36:21 df9b9388f04a: Pulling fs layer 03:36:21 52dc419b0ee2: Pulling fs layer 03:36:21 25bc292e5bac: Pulling fs layer 03:36:21 114826534d7a: Pulling fs layer 03:36:21 4657fd5d0bcf: Pulling fs layer 03:36:21 6ad1cebc031e: Pulling fs layer 03:36:21 8a3aa393b2d8: Pulling fs layer 03:36:21 6ad1cebc031e: Waiting 03:36:21 8a3aa393b2d8: Waiting 03:36:21 114826534d7a: Waiting 03:36:21 25bc292e5bac: Download complete 03:36:21 52dc419b0ee2: Verifying Checksum 03:36:21 52dc419b0ee2: Download complete 03:36:21 4657fd5d0bcf: Verifying Checksum 03:36:21 4657fd5d0bcf: Download complete 03:36:21 df9b9388f04a: Verifying Checksum 03:36:21 df9b9388f04a: Download complete 03:36:21 6ad1cebc031e: Verifying Checksum 03:36:21 6ad1cebc031e: Download complete 03:36:21 df9b9388f04a: Pull complete 03:36:21 52dc419b0ee2: Pull complete 03:36:21 25bc292e5bac: Pull complete 03:36:22 114826534d7a: Verifying Checksum 03:36:22 114826534d7a: Download complete 03:36:22 8a3aa393b2d8: Verifying Checksum 03:36:22 8a3aa393b2d8: Download complete 03:36:25 114826534d7a: Pull complete 03:36:25 4657fd5d0bcf: Pull complete 03:36:25 6ad1cebc031e: Pull complete 03:36:29 8a3aa393b2d8: Pull complete 03:36:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:36:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:36:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:29 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:36:29 $ 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 03:36:34 $ docker top 0a8f026c26a13130b87a3b2e6573e3d4ab4548b9c1fb1c3c1c4dc823dd55cf73 -eo pid,comm [Pipeline] { [Pipeline] echo 03:36:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 03:36:34 + set -o pipefail 03:36:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 03:36:39 03:36:39 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 03:36:39 03:36:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/db545bfa-557d-4db2-af08-515d39d9c1c6 03:36:39 03:36:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:36:39 03:36:39 03:36:39 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:36:39 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:36:39 More details here: https://snyk.co/ue1NS [Pipeline] } 03:36:39 $ docker stop --time=1 0a8f026c26a13130b87a3b2e6573e3d4ab4548b9c1fb1c3c1c4dc823dd55cf73 03:36:43 $ docker rm -f --volumes 0a8f026c26a13130b87a3b2e6573e3d4ab4548b9c1fb1c3c1c4dc823dd55cf73 [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 03:36:44 + git log --format=format:%s -1 125685d47fb5baadf84338e65a976beb966b1d5c [Pipeline] sh 03:36:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:44 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:36:44 $ 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 03:36:45 $ docker top c64105352205369731b272ea5e1a717708a1e2db1e4b25063c58c450164fd941 -eo pid,comm 03:36:45 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). 03:36:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:45 [ssh-agent] Looking for ssh-agent implementation... 03:36:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:45 $ docker exec c64105352205369731b272ea5e1a717708a1e2db1e4b25063c58c450164fd941 ssh-agent 03:36:45 SSH_AUTH_SOCK=/tmp/ssh-VW6JSpYl1ePE/agent.32 03:36:45 SSH_AGENT_PID=38 03:36:45 Running ssh-add (command line suppressed) 03:36:45 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_729042204621174756.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_729042204621174756.key) 03:36:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:45 + git semver tag 03:36:46 2024-03-17 03:36:46,149 [run_tag] DEBUG tag force:False 03:36:46 2024-03-17 03:36:46,150 [check_head_tag] DEBUG check head tag 03:36:46 2024-03-17 03:36:46,151 [execute] INFO git cat-file --batch-check 03:36:46 2024-03-17 03:36:46,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 03:36:46 2024-03-17 03:36:46,154 [execute] INFO git cat-file --batch 03:36:46 2024-03-17 03:36:46,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 03:36:46 2024-03-17 03:36:46,179 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:36:46 2024-03-17 03:36:46,179 [execute] INFO git tag -a v3.2.0-dev.18 -m v3.2.0-dev.18 03:36:46 2024-03-17 03:36:46,179 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.18', '-m', 'v3.2.0-dev.18'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 03:36:46 2024-03-17 03:36:46,183 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:36:46 3.2.0-dev.18 [Pipeline] } 03:36:46 $ docker exec --env ******** --env ******** c64105352205369731b272ea5e1a717708a1e2db1e4b25063c58c450164fd941 ssh-agent -k 03:36:46 unset SSH_AUTH_SOCK; 03:36:46 unset SSH_AGENT_PID; 03:36:46 echo Agent pid 38 killed; 03:36:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:46 + git semver [Pipeline] } 03:36:46 $ docker stop --time=1 c64105352205369731b272ea5e1a717708a1e2db1e4b25063c58c450164fd941 03:36:48 $ docker rm -f --volumes c64105352205369731b272ea5e1a717708a1e2db1e4b25063c58c450164fd941 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:36:48 03:36:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:36:48 0.23.1-centos7: Pulling from edgex-lftools 03:36:48 ab5ef0e58194: Pulling fs layer 03:36:48 9712f1f96733: Pulling fs layer 03:36:48 63f879dbbcfc: Pulling fs layer 03:36:48 0d9ebad4ef96: Pulling fs layer 03:36:48 e9a5061849ea: Pulling fs layer 03:36:48 d747dcd14b5f: Pulling fs layer 03:36:48 2de7ff778b66: Pulling fs layer 03:36:48 d747dcd14b5f: Waiting 03:36:48 2de7ff778b66: Waiting 03:36:48 0d9ebad4ef96: Waiting 03:36:48 e9a5061849ea: Waiting 03:36:48 9712f1f96733: Verifying Checksum 03:36:48 9712f1f96733: Download complete 03:36:49 63f879dbbcfc: Verifying Checksum 03:36:49 63f879dbbcfc: Download complete 03:36:49 ab5ef0e58194: Verifying Checksum 03:36:49 ab5ef0e58194: Download complete 03:36:49 e9a5061849ea: Verifying Checksum 03:36:49 e9a5061849ea: Download complete 03:36:49 d747dcd14b5f: Verifying Checksum 03:36:49 d747dcd14b5f: Download complete 03:36:49 2de7ff778b66: Verifying Checksum 03:36:49 2de7ff778b66: Download complete 03:36:49 0d9ebad4ef96: Verifying Checksum 03:36:49 0d9ebad4ef96: Download complete 03:36:52 ab5ef0e58194: Pull complete 03:36:52 9712f1f96733: Pull complete 03:36:52 63f879dbbcfc: Pull complete 03:36:56 0d9ebad4ef96: Pull complete 03:36:56 e9a5061849ea: Pull complete 03:36:56 d747dcd14b5f: Pull complete 03:36:57 2de7ff778b66: Pull complete 03:36:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:36:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:58 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:36:58 $ 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 03:37:03 $ docker top e9f8bc3652e1f63f062946d4b71ca03cc0f091e6be692076c2a417d6ce5ec707 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:37:03 provisioning config files... 03:37:03 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9340671536188522480tmp 03:37:03 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config16709685743830907921tmp 03:37:03 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config17078348578546919424tmp [Pipeline] { [Pipeline] echo 03:37:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:37:04 ---> sigul-configuration.sh 03:37:04 gpg: directory `/root/.gnupg' created 03:37:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:37:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:37:04 gpg: keyring `/root/.gnupg/secring.gpg' created 03:37:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:37:04 gpg: CAST5 encrypted data 03:37:04 gpg: encrypted with 1 passphrase 03:37:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:37:04 + mkdir /home/jenkins 03:37:04 + mkdir /home/jenkins/sigul [Pipeline] sh 03:37:04 + 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 03:37:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:37:05 ---> sigul-install.sh 03:37:05 Sigul already installed; skipping installation. [Pipeline] sh 03:37:05 + git tag --list 03:37:05 v0.0.0 03:37:05 v1.0.0 03:37:05 v2.1.0 03:37:05 v2.1.1 03:37:05 v2.2.0 03:37:05 v2.3.0 03:37:05 v3.0 03:37:05 v3.0.0 03:37:05 v3.0.1 03:37:05 v3.0.1-dev.1 03:37:05 v3.1 03:37:05 v3.1.0 03:37:05 v3.1.0-dev.1 03:37:05 v3.1.0-dev.10 03:37:05 v3.1.0-dev.11 03:37:05 v3.1.0-dev.12 03:37:05 v3.1.0-dev.13 03:37:05 v3.1.0-dev.14 03:37:05 v3.1.0-dev.15 03:37:05 v3.1.0-dev.16 03:37:05 v3.1.0-dev.17 03:37:05 v3.1.0-dev.18 03:37:05 v3.1.0-dev.19 03:37:05 v3.1.0-dev.2 03:37:05 v3.1.0-dev.20 03:37:05 v3.1.0-dev.21 03:37:05 v3.1.0-dev.22 03:37:05 v3.1.0-dev.23 03:37:05 v3.1.0-dev.24 03:37:05 v3.1.0-dev.25 03:37:05 v3.1.0-dev.26 03:37:05 v3.1.0-dev.27 03:37:05 v3.1.0-dev.28 03:37:05 v3.1.0-dev.29 03:37:05 v3.1.0-dev.3 03:37:05 v3.1.0-dev.30 03:37:05 v3.1.0-dev.31 03:37:05 v3.1.0-dev.32 03:37:05 v3.1.0-dev.33 03:37:05 v3.1.0-dev.34 03:37:05 v3.1.0-dev.35 03:37:05 v3.1.0-dev.36 03:37:05 v3.1.0-dev.37 03:37:05 v3.1.0-dev.38 03:37:05 v3.1.0-dev.39 03:37:05 v3.1.0-dev.4 03:37:05 v3.1.0-dev.40 03:37:05 v3.1.0-dev.5 03:37:05 v3.1.0-dev.6 03:37:05 v3.1.0-dev.7 03:37:05 v3.1.0-dev.8 03:37:05 v3.1.0-dev.9 03:37:05 v3.2.0-dev.1 03:37:05 v3.2.0-dev.10 03:37:05 v3.2.0-dev.11 03:37:05 v3.2.0-dev.12 03:37:05 v3.2.0-dev.13 03:37:05 v3.2.0-dev.14 03:37:05 v3.2.0-dev.15 03:37:05 v3.2.0-dev.16 03:37:05 v3.2.0-dev.17 03:37:05 v3.2.0-dev.18 03:37:05 v3.2.0-dev.2 03:37:05 v3.2.0-dev.3 03:37:05 v3.2.0-dev.4 03:37:05 v3.2.0-dev.5 03:37:05 v3.2.0-dev.6 03:37:05 v3.2.0-dev.7 03:37:05 v3.2.0-dev.8 03:37:05 v3.2.0-dev.9 [Pipeline] sh 03:37:05 + lftools sign git-tag v3.2.0-dev.18 03:37:06 Signing Git tag with Sigul... 03:37:06 Signing v3.2.0-dev.18 [Pipeline] echo 03:37:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:37:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:37:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:37:06 $ docker stop --time=1 e9f8bc3652e1f63f062946d4b71ca03cc0f091e6be692076c2a417d6ce5ec707 03:37:08 $ docker rm -f --volumes e9f8bc3652e1f63f062946d4b71ca03cc0f091e6be692076c2a417d6ce5ec707 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:37:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:37:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:08 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:37:08 $ 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 03:37:09 $ docker top 6151326e44725587c612654a2cf517439e23fb89bd68c2f1dc047c6280c005fe -eo pid,comm 03:37:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:37:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:37:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:09 [ssh-agent] Looking for ssh-agent implementation... 03:37:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:09 $ docker exec 6151326e44725587c612654a2cf517439e23fb89bd68c2f1dc047c6280c005fe ssh-agent 03:37:09 SSH_AUTH_SOCK=/tmp/ssh-3eyLMzDMtZfk/agent.33 03:37:09 SSH_AGENT_PID=39 03:37:09 Running ssh-add (command line suppressed) 03:37:09 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2270893083091261141.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2270893083091261141.key) 03:37:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:10 + git semver bump pre 03:37:10 2024-03-17 03:37:10,254 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:37:10 2024-03-17 03:37:10,254 [bump_version] DEBUG bumping version:3.2.0-dev.18 on axis:pre with prefix:dev 03:37:10 2024-03-17 03:37:10,254 [bump_version] DEBUG bumped version:3.2.0-dev.19 03:37:10 2024-03-17 03:37:10,254 [write_version] DEBUG write version:3.2.0-dev.19 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 03:37:10 2024-03-17 03:37:10,254 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:37:10 2024-03-17 03:37:10,254 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:37:10 2024-03-17 03:37:10,256 [execute] INFO git cat-file --batch-check 03:37:10 2024-03-17 03:37:10,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 03:37:10 2024-03-17 03:37:10,263 [execute] INFO git cat-file --batch 03:37:10 2024-03-17 03:37:10,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 03:37:10 2024-03-17 03:37:10,269 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:37:10 3.2.0-dev.19 [Pipeline] } 03:37:10 $ docker exec --env ******** --env ******** 6151326e44725587c612654a2cf517439e23fb89bd68c2f1dc047c6280c005fe ssh-agent -k 03:37:10 unset SSH_AUTH_SOCK; 03:37:10 unset SSH_AGENT_PID; 03:37:10 echo Agent pid 39 killed; 03:37:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:37:10 + git semver [Pipeline] } 03:37:11 $ docker stop --time=1 6151326e44725587c612654a2cf517439e23fb89bd68c2f1dc047c6280c005fe 03:37:12 $ docker rm -f --volumes 6151326e44725587c612654a2cf517439e23fb89bd68c2f1dc047c6280c005fe [Pipeline] // withDockerContainer [Pipeline] sh 03:37:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:37:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:13 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:37:13 $ 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 03:37:13 $ docker top 8248d040d40e98b18cdd62599866353e321c5307287710f5709849ef4a9ce69f -eo pid,comm 03:37:13 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). 03:37:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:37:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:13 [ssh-agent] Looking for ssh-agent implementation... 03:37:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:13 $ docker exec 8248d040d40e98b18cdd62599866353e321c5307287710f5709849ef4a9ce69f ssh-agent 03:37:13 SSH_AUTH_SOCK=/tmp/ssh-KQBfkbcuBGvg/agent.34 03:37:13 SSH_AGENT_PID=40 03:37:13 Running ssh-add (command line suppressed) 03:37:13 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1326729275566866339.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1326729275566866339.key) 03:37:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:14 + git semver push 03:37:14 2024-03-17 03:37:14,341 [run_push] DEBUG push 03:37:14 2024-03-17 03:37:14,341 [execute] INFO git cat-file --batch-check 03:37:14 2024-03-17 03:37:14,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 03:37:14 2024-03-17 03:37:14,345 [execute] INFO git rev-list 239d8c4d52d8487e606e271c43d211fa7b4eadfc -- 03:37:14 2024-03-17 03:37:14,345 [execute] DEBUG Popen(['git', 'rev-list', '239d8c4d52d8487e606e271c43d211fa7b4eadfc', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 03:37:14 2024-03-17 03:37:14,353 [execute] INFO git fetch -v origin 03:37:14 2024-03-17 03:37:14,353 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 03:37:15 2024-03-17 03:37:14,889 [run_push] DEBUG no remote changes detected 03:37:15 2024-03-17 03:37:14,890 [execute] INFO git push origin semver 03:37:15 2024-03-17 03:37:14,890 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 03:37:15 2024-03-17 03:37:15,601 [run_push] DEBUG push all version tags 03:37:15 2024-03-17 03:37:15,602 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:37:15 2024-03-17 03:37:15,602 [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) 03:37:16 2024-03-17 03:37:16,322 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 03:37:16 3.2.0-dev.19 [Pipeline] } 03:37:16 $ docker exec --env ******** --env ******** 8248d040d40e98b18cdd62599866353e321c5307287710f5709849ef4a9ce69f ssh-agent -k 03:37:16 unset SSH_AUTH_SOCK; 03:37:16 unset SSH_AGENT_PID; 03:37:16 echo Agent pid 40 killed; 03:37:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:37:16 + git semver [Pipeline] } 03:37:17 $ docker stop --time=1 8248d040d40e98b18cdd62599866353e321c5307287710f5709849ef4a9ce69f 03:37:18 $ docker rm -f --volumes 8248d040d40e98b18cdd62599866353e321c5307287710f5709849ef4a9ce69f [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 03:37:19 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 03:37:19 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 03:37:19 total 16 03:37:19 drwxr-xr-x 3 root root 4096 Mar 17 03:25 . 03:37:19 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 03:37 .. 03:37:19 drwxr-xr-x 2 root root 4096 Mar 17 03:25 cost 03:37:19 -rw-r--r-- 1 root root 95 Mar 17 03:25 cost.csv 03:37:19 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 03:37:19 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 03:37:19 total 16 03:37:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:25 . 03:37:19 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 03:37 .. 03:37:19 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 03:25 cost 03:37:19 -rw-r--r-- 1 jenkins jenkins 95 Mar 17 03:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:37:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:37:20 ---> package-listing.sh 03:37:20 ++ facter osfamily 03:37:20 ++ tr '[:upper:]' '[:lower:]' 03:37:20 + OS_FAMILY=debian 03:37:20 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 03:37:20 + START_PACKAGES=/tmp/packages_start.txt 03:37:20 + END_PACKAGES=/tmp/packages_end.txt 03:37:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:37:20 + PACKAGES=/tmp/packages_start.txt 03:37:20 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 03:37:20 + PACKAGES=/tmp/packages_end.txt 03:37:20 + case "${OS_FAMILY}" in 03:37:20 + dpkg -l 03:37:20 + grep '^ii' 03:37:20 + '[' -f /tmp/packages_start.txt ']' 03:37:20 + '[' -f /tmp/packages_end.txt ']' 03:37:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:37:20 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 03:37:20 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 03:37:20 + 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 03:37:20 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 03:37:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:37:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:21 prd-ubuntu20.04-docker-8c-8g-169 does not seem to be running inside a container 03:37:21 $ 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 03:37:21 $ docker top 2cf1a24f3fcd141ad4789aabcb08f259ce9561091180c5275c0f5b15f92c15e1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:22 + touch /tmp/pre-build-complete [Pipeline] sh 03:37:22 + mkdir -p /var/log/sysstat [Pipeline] sh 03:37:22 + ls /var/log/sa-host 03:37:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:22 provisioning config files... 03:37:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1873532814286646769tmp [Pipeline] { [Pipeline] echo 03:37:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:37:23 ---> create-netrc.sh [Pipeline] } 03:37:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:37:23 ---> python-tools-install.sh [Pipeline] echo 03:37:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:37:23 ---> sudo-logs.sh 03:37:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:37:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:37:23 ---> job-cost.sh 03:37:23 lf-activate-venv: SKIPPING 03:37:23 DEBUG: total: 0.2199999988079071 03:37:23 INFO: Retrieving Stack Cost... 03:37:24 INFO: Retrieving Pricing Info for: v3-standard-8 03:37:24 INFO: Archiving Costs [Pipeline] echo 03:37:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:37:25 ---> logs-deploy.sh 03:37:25 lf-activate-venv: SKIPPING 03:37:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/170 03:37:25 INFO: archiving workspace using pattern(s): 03:37:25 Archives upload complete. 03:37:25 INFO: archiving logs to Nexus