Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 42fa94e7a01bb85ea5a8778b4167b161641c6daf 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-ssh4868217136044333800.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5155822028752690320.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10763635686706467647.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12765303462592416791.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-ssh3769108818237798480.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15955 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/dry_app-rfid-llrp-inventory_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 42fa94e7a01bb85ea5a8778b4167b161641c6daf (main) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42fa94e7a01bb85ea5a8778b4167b161641c6daf # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#195)" > git rev-list --no-walk 2872e2c49484b05e6c92c887c8800fc2b400ac38 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:16:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:16:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:16:24 ========================================================= 21:16:24 EdgeX Global Pipelines Version Info 21:16:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:16:25 ------------------- 21:16:25 stable info: 21:16:25 ------------------- 21:16:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:16:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:16:25 Message: update stable to v1.0.249 21:16:26 ------------------- 21:16:26 experimental info: 21:16:26 ------------------- 21:16:26 Commited By: **** collab-it+edgex@linuxfoundation.org 21:16:26 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:16:26 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42fa94e [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:26 provisioning config files... 21:16:26 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config574417337140140053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:27 ---> docker-login.sh 21:16:27 nexus3.edgexfoundry.org:10001 21:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:27 Configure a credential helper to remove this warning. See 21:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:27 21:16:27 Login Succeeded 21:16:27 nexus3.edgexfoundry.org:10002 21:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:27 Configure a credential helper to remove this warning. See 21:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:27 21:16:27 Login Succeeded 21:16:27 nexus3.edgexfoundry.org:10003 21:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:27 Configure a credential helper to remove this warning. See 21:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:27 21:16:27 Login Succeeded 21:16:27 nexus3.edgexfoundry.org:10004 21:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:28 Configure a credential helper to remove this warning. See 21:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:28 21:16:28 Login Succeeded 21:16:28 docker.io 21:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:30 Configure a credential helper to remove this warning. See 21:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:30 21:16:30 Login Succeeded 21:16:30 ---> docker-login.sh ends [Pipeline] } 21:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:16:30 + git rev-list -1 --merges 42fa94e7a01bb85ea5a8778b4167b161641c6daf~1..42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] echo 21:16:30 -----------> git rev-list -1 --merges 42fa94e7a01bb85ea5a8778b4167b161641c6daf~1..42fa94e7a01bb85ea5a8778b4167b161641c6daf 42fa94e7a01bb85ea5a8778b4167b161641c6daf [false] [Pipeline] sh 21:16:30 + git log --format=format:%s -1 42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] echo 21:16:30 ========================================================= 21:16:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:16:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:31 + git log --format=format:%s -1 42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] echo 21:16:31 [semverPrep] GIT_COMMIT: 42fa94e7a01bb85ea5a8778b4167b161641c6daf, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#195) [Pipeline] echo 21:16:31 [semverPrep] This is not a build commit. [Pipeline] sh 21:16:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:31 + grep -v github /etc/ssh/ssh_known_hosts 21:16:31 + [ -e /tmp/ssh_known_hosts ] 21:16:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:16:31 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 21:16:31 /etc/ssh/ssh_known_hosts 21:16:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:32 21:16:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:32 0.1.4: Pulling from edgex-devops/py-git-semver 21:16:32 b85a868b505f: Pulling fs layer 21:16:32 e2be974225ed: Pulling fs layer 21:16:32 339a4e72a1f5: Pulling fs layer 21:16:32 988bab9f4d93: Pulling fs layer 21:16:32 1469e6f7b9e6: Pulling fs layer 21:16:32 eaf3925da568: Pulling fs layer 21:16:32 bab4dde63d76: Pulling fs layer 21:16:32 bde34c3a00c8: Pulling fs layer 21:16:32 b352a97aabf1: Pulling fs layer 21:16:32 4872d77fe225: Pulling fs layer 21:16:32 5851b861e8e6: Pulling fs layer 21:16:32 988bab9f4d93: Waiting 21:16:32 1469e6f7b9e6: Waiting 21:16:32 eaf3925da568: Waiting 21:16:32 bab4dde63d76: Waiting 21:16:32 bde34c3a00c8: Waiting 21:16:32 b352a97aabf1: Waiting 21:16:32 4872d77fe225: Waiting 21:16:32 5851b861e8e6: Waiting 21:16:32 e2be974225ed: Verifying Checksum 21:16:32 e2be974225ed: Download complete 21:16:32 988bab9f4d93: Verifying Checksum 21:16:32 988bab9f4d93: Download complete 21:16:32 1469e6f7b9e6: Verifying Checksum 21:16:32 1469e6f7b9e6: Download complete 21:16:32 eaf3925da568: Download complete 21:16:32 339a4e72a1f5: Verifying Checksum 21:16:32 339a4e72a1f5: Download complete 21:16:32 bde34c3a00c8: Verifying Checksum 21:16:32 bde34c3a00c8: Download complete 21:16:32 b352a97aabf1: Verifying Checksum 21:16:32 b352a97aabf1: Download complete 21:16:32 5851b861e8e6: Download complete 21:16:32 b85a868b505f: Verifying Checksum 21:16:32 b85a868b505f: Download complete 21:16:33 bab4dde63d76: Verifying Checksum 21:16:33 bab4dde63d76: Download complete 21:16:34 b85a868b505f: Pull complete 21:16:34 e2be974225ed: Pull complete 21:16:35 339a4e72a1f5: Pull complete 21:16:35 988bab9f4d93: Pull complete 21:16:35 1469e6f7b9e6: Pull complete 21:16:36 eaf3925da568: Pull complete 21:16:37 bab4dde63d76: Pull complete 21:16:38 bde34c3a00c8: Pull complete 21:16:38 b352a97aabf1: Pull complete 21:16:38 4872d77fe225: Pull complete 21:16:38 5851b861e8e6: Pull complete 21:16:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:38 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:16:41 $ docker top f243a27c0558ecf27dfc56c538bca1e63177120fc2dce4e7eed9104baddffdbb -eo pid,comm 21:16:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:16:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:41 [ssh-agent] Looking for ssh-agent implementation... 21:16:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:41 $ docker exec f243a27c0558ecf27dfc56c538bca1e63177120fc2dce4e7eed9104baddffdbb ssh-agent 21:16:41 SSH_AUTH_SOCK=/tmp/ssh-u5iALkcAWdVf/agent.32 21:16:41 SSH_AGENT_PID=38 21:16:41 Running ssh-add (command line suppressed) 21:16:41 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14301097824170660332.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_14301097824170660332.key) 21:16:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:45 + git tag --points-at HEAD [Pipeline] } 21:16:45 $ docker exec --env ******** --env ******** f243a27c0558ecf27dfc56c538bca1e63177120fc2dce4e7eed9104baddffdbb ssh-agent -k 21:16:45 unset SSH_AUTH_SOCK; 21:16:45 unset SSH_AGENT_PID; 21:16:45 echo Agent pid 38 killed; 21:16:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:16:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:45 [ssh-agent] Looking for ssh-agent implementation... 21:16:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:46 $ docker exec f243a27c0558ecf27dfc56c538bca1e63177120fc2dce4e7eed9104baddffdbb ssh-agent 21:16:48 SSH_AUTH_SOCK=/tmp/ssh-zkocd2DwLY2X/agent.70 21:16:48 SSH_AGENT_PID=76 21:16:48 Running ssh-add (command line suppressed) 21:16:48 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7809905690218322605.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7809905690218322605.key) 21:16:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:48 + git semver init 21:16:49 2023-05-17 21:16:49,152 [run_init] DEBUG init version:0.0.0 force:False 21:16:49 2023-05-17 21:16:49,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:16:49 2023-05-17 21:16:49,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:16:49 2023-05-17 21:16:49,153 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:16:50 2023-05-17 21:16:50,229 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 21:16:50 2023-05-17 21:16:50,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 21:16:50 2023-05-17 21:16:50,230 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:16:50 2023-05-17 21:16:50,230 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:16:50 3.0.0-dev.37 [Pipeline] } 21:16:50 $ docker exec --env ******** --env ******** f243a27c0558ecf27dfc56c538bca1e63177120fc2dce4e7eed9104baddffdbb ssh-agent -k 21:16:50 unset SSH_AUTH_SOCK; 21:16:50 unset SSH_AGENT_PID; 21:16:50 echo Agent pid 76 killed; 21:16:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:51 + git semver [Pipeline] } 21:16:51 $ docker stop --time=1 f243a27c0558ecf27dfc56c538bca1e63177120fc2dce4e7eed9104baddffdbb 21:16:52 $ docker rm -f --volumes f243a27c0558ecf27dfc56c538bca1e63177120fc2dce4e7eed9104baddffdbb [Pipeline] // withDockerContainer [Pipeline] sh 21:16:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:16:53 Stashed 1 file(s) [Pipeline] echo 21:16:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.37 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:53 provisioning config files... 21:16:53 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2017415047771005521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:53 ---> docker-login.sh 21:16:53 nexus3.edgexfoundry.org:10001 21:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:53 Configure a credential helper to remove this warning. See 21:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:53 21:16:53 Login Succeeded 21:16:53 nexus3.edgexfoundry.org:10002 21:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:53 Configure a credential helper to remove this warning. See 21:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:53 21:16:53 Login Succeeded 21:16:53 nexus3.edgexfoundry.org:10003 21:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:53 Configure a credential helper to remove this warning. See 21:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:53 21:16:53 Login Succeeded 21:16:53 nexus3.edgexfoundry.org:10004 21:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:53 Configure a credential helper to remove this warning. See 21:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:53 21:16:53 Login Succeeded 21:16:53 docker.io 21:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:54 Configure a credential helper to remove this warning. See 21:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:54 21:16:54 Login Succeeded 21:16:54 ---> docker-login.sh ends [Pipeline] } 21:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:54 ========================================================= 21:16:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:16:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:16:54 Sending build context to Docker daemon 12.65MB 21:16:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:16:54 Step 2/12 : FROM ${BASE} AS builder 21:16:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:16:54 f56be85fc22e: Pulling fs layer 21:16:54 85791d961cd3: Pulling fs layer 21:16:54 d694b5ae8c79: Pulling fs layer 21:16:54 9f32a84ed3da: Pulling fs layer 21:16:54 4d19c01a9841: Pulling fs layer 21:16:54 9f32a84ed3da: Waiting 21:16:54 9325e15d5711: Pulling fs layer 21:16:54 556b6ee489ea: Pulling fs layer 21:16:54 c5a4b2cf53e6: Pulling fs layer 21:16:54 556b6ee489ea: Waiting 21:16:54 c5a4b2cf53e6: Waiting 21:16:54 9325e15d5711: Waiting 21:16:54 85791d961cd3: Verifying Checksum 21:16:54 85791d961cd3: Download complete 21:16:54 9f32a84ed3da: Download complete 21:16:54 4d19c01a9841: Verifying Checksum 21:16:54 4d19c01a9841: Download complete 21:16:54 f56be85fc22e: Verifying Checksum 21:16:54 f56be85fc22e: Download complete 21:16:54 9325e15d5711: Verifying Checksum 21:16:54 9325e15d5711: Download complete 21:16:54 f56be85fc22e: Pull complete 21:16:55 85791d961cd3: Pull complete 21:16:55 d694b5ae8c79: Verifying Checksum 21:16:55 d694b5ae8c79: Download complete 21:16:55 c5a4b2cf53e6: Verifying Checksum 21:16:55 c5a4b2cf53e6: Download complete 21:16:55 556b6ee489ea: Verifying Checksum 21:16:55 556b6ee489ea: Download complete 21:16:58 d694b5ae8c79: Pull complete 21:16:58 9f32a84ed3da: Pull complete 21:16:58 4d19c01a9841: Pull complete 21:16:58 9325e15d5711: Pull complete 21:17:00 556b6ee489ea: Pull complete 21:17:01 c5a4b2cf53e6: Pull complete 21:17:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:17:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:17:01 ---> c4be618373d6 21:17:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:17:05 ---> Running in eddb4b6a4107 21:17:05 Removing intermediate container eddb4b6a4107 21:17:05 ---> 259cdca20920 21:17:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:17:05 ---> Running in 58298aaec389 21:17:05 Removing intermediate container 58298aaec389 21:17:05 ---> 0f419b7ed2ff 21:17:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:17:05 ---> Running in 7431bbd54447 21:17:05 Removing intermediate container 7431bbd54447 21:17:05 ---> 3a6095ca3329 21:17:05 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:05 ---> Running in edd001165a8d 21:17:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:17:06 OK: 265 MiB in 53 packages 21:17:06 Removing intermediate container edd001165a8d 21:17:06 ---> cf9cec2edcb4 21:17:06 Step 7/12 : WORKDIR /app 21:17:06 ---> Running in c998502404ae 21:17:06 Removing intermediate container c998502404ae 21:17:06 ---> 827a5eaaec93 21:17:06 Step 8/12 : COPY go.mod vendor* ./ 21:17:06 ---> 550cb7f49e8f 21:17:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:06 ---> Running in 634af807818b 21:17:08 Still waiting to schedule task 21:17:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15952’ 21:17:38 Removing intermediate container 634af807818b 21:17:38 ---> 4157e5754be0 21:17:38 Step 10/12 : COPY . . 21:17:38 ---> b41ae4823144 21:17:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:38 ---> Running in 8e263ae53823 21:17:38 Removing intermediate container 8e263ae53823 21:17:38 ---> 300098c14613 21:17:38 Step 12/12 : RUN $MAKE 21:17:38 ---> Running in 6d62737a3039 21:17:38 noop 21:17:38 Removing intermediate container 6d62737a3039 21:17:38 ---> 4ef139bdbcfc 21:17:38 Successfully built 4ef139bdbcfc 21:17:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:39 + docker inspect -f . ci-base-image-x86_64 21:17:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:39 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:17:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:17:39 $ docker top 62d720affaa5388e3b8e31c7a1298201c79692856d2a2e3c545791a313b4fdff -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:40 + go version 21:17:40 go version go1.20.2 linux/amd64 [Pipeline] } 21:17:40 $ docker stop --time=1 62d720affaa5388e3b8e31c7a1298201c79692856d2a2e3c545791a313b4fdff 21:17:41 $ docker rm -f --volumes 62d720affaa5388e3b8e31c7a1298201c79692856d2a2e3c545791a313b4fdff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:41 + docker inspect -f . ci-base-image-x86_64 21:17:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:41 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:17:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:17:42 $ docker top 520ae78ca63fada1ac9f4f4b4540623137f14fc0c4097a0787d8d81725358839 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:42 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 21:17:42 + make test 21:17:42 go test -race ./... -coverprofile=coverage.out ./... 21:18:04 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:18:04 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:18:04 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.136s coverage: 86.2% of statements 21:18:04 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.701s coverage: 71.9% of statements 21:18:26 go vet ./... 21:18:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:29 ./bin/test-attribution.sh 21:18:29 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 21:18:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:29 $ docker stop --time=1 520ae78ca63fada1ac9f4f4b4540623137f14fc0c4097a0787d8d81725358839 21:18:34 $ docker rm -f --volumes 520ae78ca63fada1ac9f4f4b4540623137f14fc0c4097a0787d8d81725358839 [Pipeline] // withDockerContainer [Pipeline] sh 21:18:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:18:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:36 + ls -al . 21:18:36 total 228 21:18:36 drwxrwxr-x 11 jenkins jenkins 4096 May 17 21:17 . 21:18:36 drwxrwxr-x 4 jenkins jenkins 4096 May 17 21:16 .. 21:18:36 -rw-rw-r-- 1 jenkins jenkins 262 May 17 21:16 .dockerignore 21:18:36 drwxrwxr-x 8 jenkins jenkins 4096 May 17 21:16 .git 21:18:36 drwxrwxr-x 3 jenkins jenkins 4096 May 17 21:16 .github 21:18:36 -rw-rw-r-- 1 jenkins jenkins 788 May 17 21:16 .gitignore 21:18:36 -rw-rw-r-- 1 jenkins jenkins 41 May 17 21:16 .golangci.yml 21:18:36 drwxr-xr-x 3 jenkins jenkins 4096 May 17 21:16 .semver 21:18:36 -rw-rw-r-- 1 jenkins jenkins 9805 May 17 21:16 Attribution.txt 21:18:36 -rw-rw-r-- 1 jenkins jenkins 4331 May 17 21:16 CHANGELOG.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 1659 May 17 21:16 Dockerfile 21:18:36 -rw-rw-r-- 1 jenkins jenkins 677 May 17 21:16 GOVERNANCE.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 687 May 17 21:16 Jenkinsfile 21:18:36 -rw-rw-r-- 1 jenkins jenkins 11347 May 17 21:16 LICENSE 21:18:36 -rw-rw-r-- 1 jenkins jenkins 2497 May 17 21:16 Makefile 21:18:36 -rw-rw-r-- 1 jenkins jenkins 617 May 17 21:16 OWNERS.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 31516 May 17 21:16 README.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 12 May 17 21:16 VERSION 21:18:36 drwxrwxr-x 2 jenkins jenkins 4096 May 17 21:16 bin 21:18:36 -rw-r--r-- 1 jenkins jenkins 41317 May 17 21:18 coverage.out 21:18:36 -rw-rw-r-- 1 jenkins jenkins 3467 May 17 21:16 go.mod 21:18:36 -rw-rw-r-- 1 jenkins jenkins 31505 May 17 21:16 go.sum 21:18:36 drwxrwxr-x 2 jenkins jenkins 4096 May 17 21:16 images 21:18:36 drwxrwxr-x 4 jenkins jenkins 4096 May 17 21:16 internal 21:18:36 -rw-rw-r-- 1 jenkins jenkins 531 May 17 21:16 main.go 21:18:36 drwxrwxr-x 2 jenkins jenkins 4096 May 17 21:16 res 21:18:36 drwxrwxr-x 4 jenkins jenkins 4096 May 17 21:16 snap 21:18:36 drwxrwxr-x 3 jenkins jenkins 4096 May 17 21:16 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:36 + 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=42fa94e7a01bb85ea5a8778b4167b161641c6daf --label arch=amd64 --label version=3.0.0-dev.37 . 21:18:36 Sending build context to Docker daemon 12.65MB 21:18:36 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 21:18:36 Step 2/29 : FROM ${BASE} AS builder 21:18:36 ---> 4ef139bdbcfc 21:18:36 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 21:18:37 ---> Running in 1d94b3deaab5 21:18:37 Removing intermediate container 1d94b3deaab5 21:18:37 ---> 4adf24ce093e 21:18:37 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 21:18:37 ---> Running in 60df1151c18b 21:18:37 Removing intermediate container 60df1151c18b 21:18:37 ---> 29eba2a29d5d 21:18:37 Step 5/29 : ARG ADD_BUILD_TAGS="" 21:18:38 ---> Running in 1e858a8327bb 21:18:38 Removing intermediate container 1e858a8327bb 21:18:38 ---> f71e6d3cf5ef 21:18:38 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:38 ---> Running in 325c076f01ae 21:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:18:39 OK: 265 MiB in 53 packages 21:18:39 Removing intermediate container 325c076f01ae 21:18:39 ---> deaf3c6cbfb8 21:18:39 Step 7/29 : WORKDIR /app 21:18:39 ---> Running in 2d47ab029d3a 21:18:39 Removing intermediate container 2d47ab029d3a 21:18:39 ---> ef2008d12492 21:18:39 Step 8/29 : COPY go.mod vendor* ./ 21:18:39 ---> f719fb58d926 21:18:39 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:39 ---> Running in c7e87289c155 21:18:40 Removing intermediate container c7e87289c155 21:18:40 ---> cf6e59dccafc 21:18:40 Step 10/29 : COPY . . 21:18:41 ---> 9de5dee6ec50 21:18:41 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:41 ---> Running in e700d1dc6dd2 21:18:41 Removing intermediate container e700d1dc6dd2 21:18:41 ---> 8c413247f9c7 21:18:41 Step 12/29 : RUN $MAKE 21:18:41 ---> Running in 2418fb6c3ce1 21:18:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.66 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.37 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.37" -trimpath -mod=readonly -o app-rfid-llrp-inventory 21:19:03 Removing intermediate container 2418fb6c3ce1 21:19:03 ---> 8dd7d932ff53 21:19:03 Step 13/29 : FROM alpine:3.17 21:19:03 3.17: Pulling from library/alpine 21:19:03 f56be85fc22e: Already exists 21:19:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:19:03 Status: Downloaded newer image for alpine:3.17 21:19:03 ---> 9ed4aefc74f6 21:19:03 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:19:03 ---> Running in 4ebc4764bfa0 21:19:03 Removing intermediate container 4ebc4764bfa0 21:19:03 ---> 1bcf60792c2a 21:19:03 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:19:03 ---> Running in e9deca44a105 21:19:03 Removing intermediate container e9deca44a105 21:19:03 ---> 2ac84c51a95c 21:19:03 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 21:19:03 ---> Running in 2bd67d6e9d00 21:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:19:03 (1/2) Installing ca-certificates (20230506-r0) 21:19:03 (2/2) Installing dumb-init (1.2.5-r2) 21:19:03 Executing busybox-1.35.0-r29.trigger 21:19:03 Executing ca-certificates-20230506-r0.trigger 21:19:03 OK: 8 MiB in 17 packages 21:19:03 Removing intermediate container 2bd67d6e9d00 21:19:03 ---> 1b8c0e5488aa 21:19:03 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:19:03 ---> d7bb6898a098 21:19:03 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 21:19:03 ---> eea3ad0c9093 21:19:03 Step 19/29 : COPY --from=builder /app/res/ /res/ 21:19:03 ---> 7b94ca6e945d 21:19:03 Step 20/29 : COPY --from=builder /app/static/ /static/ 21:19:03 ---> 430a1956b07a 21:19:03 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:19:04 ---> be9ac774025d 21:19:04 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:19:04 ---> Running in 58f9227bd084 21:19:04 Removing intermediate container 58f9227bd084 21:19:04 ---> 0cb286454d66 21:19:04 Step 23/29 : VOLUME /cache 21:19:04 ---> Running in 5b8dc0ed63be 21:19:04 Removing intermediate container 5b8dc0ed63be 21:19:04 ---> 7ba648abb7e1 21:19:04 Step 24/29 : EXPOSE 59711 21:19:04 ---> Running in 77a71d18e997 21:19:04 Removing intermediate container 77a71d18e997 21:19:04 ---> 3910317ee636 21:19:04 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:19:04 ---> Running in d153e56f827b 21:19:04 Removing intermediate container d153e56f827b 21:19:04 ---> 6551bfd7ed6e 21:19:04 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 21:19:05 ---> Running in 6aa1ac86a117 21:19:05 Removing intermediate container 6aa1ac86a117 21:19:05 ---> 99405636868c 21:19:05 Step 27/29 : LABEL arch=amd64 21:19:05 ---> Running in 85a6ea8fcd9d 21:19:05 Removing intermediate container 85a6ea8fcd9d 21:19:05 ---> 0d69d22acdf7 21:19:05 Step 28/29 : LABEL git_sha=42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:19:05 ---> Running in b36572f99e14 21:19:05 Removing intermediate container b36572f99e14 21:19:05 ---> 547362adc09a 21:19:05 Step 29/29 : LABEL version=3.0.0-dev.37 21:19:05 ---> Running in 4f4b08e9f4bc 21:19:05 Removing intermediate container 4f4b08e9f4bc 21:19:05 ---> 02b4f1023bca 21:19:05 [Warning] One or more build-args [ARCH] were not consumed 21:19:05 Successfully built 02b4f1023bca 21:19:05 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:05 provisioning config files... 21:19:05 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3737425629512901494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:05 ---> docker-login.sh 21:19:05 nexus3.edgexfoundry.org:10001 21:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:05 Configure a credential helper to remove this warning. See 21:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:05 21:19:05 Login Succeeded 21:19:05 nexus3.edgexfoundry.org:10002 21:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:05 Configure a credential helper to remove this warning. See 21:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:05 21:19:05 Login Succeeded 21:19:05 nexus3.edgexfoundry.org:10003 21:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:06 Configure a credential helper to remove this warning. See 21:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:06 21:19:06 Login Succeeded 21:19:06 nexus3.edgexfoundry.org:10004 21:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:06 Configure a credential helper to remove this warning. See 21:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:06 21:19:06 Login Succeeded 21:19:06 docker.io 21:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:06 Configure a credential helper to remove this warning. See 21:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:06 21:19:06 Login Succeeded 21:19:06 ---> docker-login.sh ends [Pipeline] } 21:19:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:19:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:19:06 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 21:19:06 42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:19:06 latest 21:19:06 3.0.0-dev.37 21:19:06 42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 21:19:06 main 21:19:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:06 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:07 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:19:07 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:19:07 a8ee3b33943d: Preparing 21:19:07 2280941c605f: Preparing 21:19:07 03809b2cf7c0: Preparing 21:19:07 f2e5ab3520ff: Preparing 21:19:07 4632881307d6: Preparing 21:19:07 e595a61ce344: Preparing 21:19:07 f8961649901f: Preparing 21:19:07 f1417ff83b31: Preparing 21:19:07 e595a61ce344: Waiting 21:19:07 f1417ff83b31: Waiting 21:19:07 f8961649901f: Waiting 21:19:07 a8ee3b33943d: Pushed 21:19:07 03809b2cf7c0: Pushed 21:19:07 4632881307d6: Pushed 21:19:07 f2e5ab3520ff: Pushed 21:19:07 f1417ff83b31: Layer already exists 21:19:07 e595a61ce344: Pushed 21:19:07 f8961649901f: Pushed 21:19:10 2280941c605f: Pushed 21:19:10 42fa94e7a01bb85ea5a8778b4167b161641c6daf: digest: sha256:578cc6d25f228d1d5128b6ae0b1a80f2107b3e0e3e0d4a433c4b5f96364974bc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:10 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:10 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:19:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:19:10 a8ee3b33943d: Preparing 21:19:10 2280941c605f: Preparing 21:19:10 03809b2cf7c0: Preparing 21:19:10 f2e5ab3520ff: Preparing 21:19:10 4632881307d6: Preparing 21:19:10 e595a61ce344: Preparing 21:19:10 f8961649901f: Preparing 21:19:10 f1417ff83b31: Preparing 21:19:10 e595a61ce344: Waiting 21:19:10 f8961649901f: Waiting 21:19:10 f1417ff83b31: Waiting 21:19:10 4632881307d6: Layer already exists 21:19:10 f2e5ab3520ff: Layer already exists 21:19:10 03809b2cf7c0: Layer already exists 21:19:10 2280941c605f: Layer already exists 21:19:10 a8ee3b33943d: Layer already exists 21:19:10 f1417ff83b31: Layer already exists 21:19:10 e595a61ce344: Layer already exists 21:19:10 f8961649901f: Layer already exists 21:19:10 latest: digest: sha256:578cc6d25f228d1d5128b6ae0b1a80f2107b3e0e3e0d4a433c4b5f96364974bc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:10 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:11 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.37 21:19:11 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:19:11 a8ee3b33943d: Preparing 21:19:11 2280941c605f: Preparing 21:19:11 03809b2cf7c0: Preparing 21:19:11 f2e5ab3520ff: Preparing 21:19:11 4632881307d6: Preparing 21:19:11 e595a61ce344: Preparing 21:19:11 f8961649901f: Preparing 21:19:11 f1417ff83b31: Preparing 21:19:11 e595a61ce344: Waiting 21:19:11 f8961649901f: Waiting 21:19:11 f1417ff83b31: Waiting 21:19:11 4632881307d6: Layer already exists 21:19:11 03809b2cf7c0: Layer already exists 21:19:11 2280941c605f: Layer already exists 21:19:11 f2e5ab3520ff: Layer already exists 21:19:11 a8ee3b33943d: Layer already exists 21:19:11 e595a61ce344: Layer already exists 21:19:11 f8961649901f: Layer already exists 21:19:11 f1417ff83b31: Layer already exists 21:19:11 3.0.0-dev.37: digest: sha256:578cc6d25f228d1d5128b6ae0b1a80f2107b3e0e3e0d4a433c4b5f96364974bc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:11 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:11 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 21:19:11 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:19:11 a8ee3b33943d: Preparing 21:19:11 2280941c605f: Preparing 21:19:11 03809b2cf7c0: Preparing 21:19:11 f2e5ab3520ff: Preparing 21:19:11 4632881307d6: Preparing 21:19:11 e595a61ce344: Preparing 21:19:11 f8961649901f: Preparing 21:19:11 f1417ff83b31: Preparing 21:19:11 e595a61ce344: Waiting 21:19:11 f8961649901f: Waiting 21:19:11 f1417ff83b31: Waiting 21:19:11 a8ee3b33943d: Layer already exists 21:19:11 2280941c605f: Layer already exists 21:19:11 f2e5ab3520ff: Layer already exists 21:19:11 03809b2cf7c0: Layer already exists 21:19:11 4632881307d6: Layer already exists 21:19:11 e595a61ce344: Layer already exists 21:19:11 f1417ff83b31: Layer already exists 21:19:11 f8961649901f: Layer already exists 21:19:11 42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37: digest: sha256:578cc6d25f228d1d5128b6ae0b1a80f2107b3e0e3e0d4a433c4b5f96364974bc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:12 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:12 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 21:19:12 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:19:12 a8ee3b33943d: Preparing 21:19:12 2280941c605f: Preparing 21:19:12 03809b2cf7c0: Preparing 21:19:12 f2e5ab3520ff: Preparing 21:19:12 4632881307d6: Preparing 21:19:12 e595a61ce344: Preparing 21:19:12 f8961649901f: Preparing 21:19:12 f1417ff83b31: Preparing 21:19:12 e595a61ce344: Waiting 21:19:12 f8961649901f: Waiting 21:19:12 f1417ff83b31: Waiting 21:19:12 a8ee3b33943d: Layer already exists 21:19:12 f2e5ab3520ff: Layer already exists 21:19:12 03809b2cf7c0: Layer already exists 21:19:12 2280941c605f: Layer already exists 21:19:12 4632881307d6: Layer already exists 21:19:12 e595a61ce344: Layer already exists 21:19:12 f1417ff83b31: Layer already exists 21:19:12 f8961649901f: Layer already exists 21:19:12 main: digest: sha256:578cc6d25f228d1d5128b6ae0b1a80f2107b3e0e3e0d4a433c4b5f96364974bc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:19:12 ===================================================== [Pipeline] echo 21:19:12 taggedImages: 21:19:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:19:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:19:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.37 21:19:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 21:19:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:12 21:19:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:13 latest: Pulling from edgex-lftools-log-publisher 21:19:13 5eb5b503b376: Pulling fs layer 21:19:13 5c69ac0246d0: Pulling fs layer 21:19:13 ec43610c2a17: Pulling fs layer 21:19:13 3a2ae6a8a46f: Pulling fs layer 21:19:13 33b1e0a273af: Pulling fs layer 21:19:13 5d3b04190fa2: Pulling fs layer 21:19:13 2f39f015ded8: Pulling fs layer 21:19:13 5d3b04190fa2: Waiting 21:19:13 3a2ae6a8a46f: Waiting 21:19:13 33b1e0a273af: Waiting 21:19:13 2f39f015ded8: Waiting 21:19:13 5c69ac0246d0: Verifying Checksum 21:19:13 5c69ac0246d0: Download complete 21:19:13 3a2ae6a8a46f: Download complete 21:19:13 33b1e0a273af: Verifying Checksum 21:19:13 33b1e0a273af: Download complete 21:19:13 5d3b04190fa2: Verifying Checksum 21:19:13 5d3b04190fa2: Download complete 21:19:13 ec43610c2a17: Verifying Checksum 21:19:13 ec43610c2a17: Download complete 21:19:13 5eb5b503b376: Download complete 21:19:13 2f39f015ded8: Verifying Checksum 21:19:13 2f39f015ded8: Download complete 21:19:14 5eb5b503b376: Pull complete 21:19:14 5c69ac0246d0: Pull complete 21:19:15 ec43610c2a17: Pull complete 21:19:15 3a2ae6a8a46f: Pull complete 21:19:15 33b1e0a273af: Pull complete 21:19:15 5d3b04190fa2: Pull complete 21:19:19 2f39f015ded8: Pull complete 21:19:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:19:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:19 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:19:24 $ docker top 2c80cd2eb1f27978c67586d65fb7054a2111260471886ba66948d3d8fdbfc1bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:25 ---> job-cost.sh 21:19:25 lf-activate-venv: SKIPPING 21:19:25 INFO: No Stack... 21:19:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:25 INFO: Archiving Costs [Pipeline] sh 21:19:25 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 21:19:25 + cut -d, -f6 [Pipeline] lock 21:19:25 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] 21:19:25 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] did not exist. Created. 21:19:25 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:26 + echo total: 0.2199999988079071 [Pipeline] stash 21:19:26 Stashed 1 file(s) [Pipeline] } 21:19:26 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:26 $ docker stop --time=1 2c80cd2eb1f27978c67586d65fb7054a2111260471886ba66948d3d8fdbfc1bc 21:19:27 $ docker rm -f --volumes 2c80cd2eb1f27978c67586d65fb7054a2111260471886ba66948d3d8fdbfc1bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:20:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15956 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 21:20:41 Running in /w/workspace/app-rfid-llrp-inventory/106 [Pipeline] { [Pipeline] checkout 21:20:41 The recommended git tool is: git 21:20:46 using credential edgex-jenkins-ssh 21:20:46 Cloning the remote Git repository 21:20:46 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:20:46 > git init /w/workspace/app-rfid-llrp-inventory/106 # timeout=10 21:20:46 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:20:46 > git --version # timeout=10 21:20:46 > git --version # 'git version 2.25.1' 21:20:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:49 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:20:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:50 Avoid second fetch 21:20:50 Checking out Revision 42fa94e7a01bb85ea5a8778b4167b161641c6daf (main) 21:20:50 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#195)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:50 > git config core.sparsecheckout # timeout=10 21:20:50 > git checkout -f 42fa94e7a01bb85ea5a8778b4167b161641c6daf # timeout=10 21:20:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:20:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:51 Dload Upload Total Spent Left Speed 21:20:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 21:20:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:20:52 + sudo tee /etc/docker/daemon.new 21:20:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:20:52 { 21:20:52 "registry-mirrors": [ 21:20:52 "https://nexus3.edgexfoundry.org:10001" 21:20:52 ], 21:20:52 "bip": "10.250.0.254/24", 21:20:52 "hosts": [ 21:20:52 "tcp://0.0.0.0:5555", 21:20:52 "unix:///var/run/docker.sock" 21:20:52 ], 21:20:52 "mtu": 1458, 21:20:52 "selinux-enabled": true, 21:20:52 "seccomp-profile": "/etc/docker/seccomp.json" 21:20:52 } [Pipeline] sh 21:20:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:20:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:11 provisioning config files... 21:21:11 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/106@tmp/config8348197215676501646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:11 ---> docker-login.sh 21:21:11 nexus3.edgexfoundry.org:10001 21:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:12 Configure a credential helper to remove this warning. See 21:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:12 21:21:12 Login Succeeded 21:21:12 nexus3.edgexfoundry.org:10002 21:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:12 Configure a credential helper to remove this warning. See 21:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:12 21:21:12 Login Succeeded 21:21:12 nexus3.edgexfoundry.org:10003 21:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:13 Configure a credential helper to remove this warning. See 21:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:13 21:21:13 Login Succeeded 21:21:13 nexus3.edgexfoundry.org:10004 21:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:13 Configure a credential helper to remove this warning. See 21:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:13 21:21:13 Login Succeeded 21:21:13 docker.io 21:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:13 Configure a credential helper to remove this warning. See 21:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:13 21:21:13 Login Succeeded 21:21:13 ---> docker-login.sh ends [Pipeline] } 21:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:14 ========================================================= 21:21:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:21:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:21:14 Sending build context to Docker daemon 678.4kB 21:21:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:21:14 Step 2/12 : FROM ${BASE} AS builder 21:21:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:21:16 c41833b44d91: Pulling fs layer 21:21:16 ed15518f5707: Pulling fs layer 21:21:16 feae8fd75edb: Pulling fs layer 21:21:16 242c74f7c9fa: Pulling fs layer 21:21:16 3cdef696dda3: Pulling fs layer 21:21:16 2ced38df9373: Pulling fs layer 21:21:16 58f1dce35555: Pulling fs layer 21:21:16 242c74f7c9fa: Waiting 21:21:16 2ced38df9373: Waiting 21:21:16 3cdef696dda3: Waiting 21:21:16 58f1dce35555: Waiting 21:21:16 ed15518f5707: Verifying Checksum 21:21:16 ed15518f5707: Download complete 21:21:16 242c74f7c9fa: Download complete 21:21:16 3cdef696dda3: Download complete 21:21:16 c41833b44d91: Verifying Checksum 21:21:16 c41833b44d91: Download complete 21:21:17 c41833b44d91: Pull complete 21:21:17 58f1dce35555: Verifying Checksum 21:21:17 58f1dce35555: Download complete 21:21:18 ed15518f5707: Pull complete 21:21:19 feae8fd75edb: Verifying Checksum 21:21:19 feae8fd75edb: Download complete 21:21:19 2ced38df9373: Verifying Checksum 21:21:19 2ced38df9373: Download complete 21:21:31 feae8fd75edb: Pull complete 21:21:31 242c74f7c9fa: Pull complete 21:21:31 3cdef696dda3: Pull complete 21:21:38 2ced38df9373: Pull complete 21:21:40 58f1dce35555: Pull complete 21:21:40 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:21:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:21:40 ---> fadd8f120f05 21:21:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:21:42 ---> Running in b58053050832 21:21:42 Removing intermediate container b58053050832 21:21:42 ---> 26f0b95f24ee 21:21:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:21:42 ---> Running in b1d601d29622 21:21:43 Removing intermediate container b1d601d29622 21:21:43 ---> 9b2d2df6d24d 21:21:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:21:43 ---> Running in ad50117a8e15 21:21:43 Removing intermediate container ad50117a8e15 21:21:43 ---> 18105ec65811 21:21:43 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:43 ---> Running in c6efa05bc900 21:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:21:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:21:46 OK: 263 MiB in 53 packages 21:21:47 Removing intermediate container c6efa05bc900 21:21:47 ---> 2f0652215385 21:21:47 Step 7/12 : WORKDIR /app 21:21:47 ---> Running in 8f4ef5743ef3 21:21:47 Removing intermediate container 8f4ef5743ef3 21:21:47 ---> 17d3fed0746d 21:21:47 Step 8/12 : COPY go.mod vendor* ./ 21:21:48 ---> 6f157d7716eb 21:21:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:48 ---> Running in 40f5956222b7 21:22:55 Removing intermediate container 40f5956222b7 21:22:55 ---> f17e0b10504f 21:22:55 Step 10/12 : COPY . . 21:22:55 ---> 006278db4200 21:22:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:55 ---> Running in d9e072e49f61 21:22:55 Removing intermediate container d9e072e49f61 21:22:55 ---> 2d33539e4111 21:22:55 Step 12/12 : RUN $MAKE 21:22:55 ---> Running in 5efeb94f543a 21:22:55 noop 21:22:55 Removing intermediate container 5efeb94f543a 21:22:55 ---> 960c72183e6b 21:22:55 Successfully built 960c72183e6b 21:22:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:56 + docker inspect -f . ci-base-image-arm64 21:22:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:56 prd-ubuntu20.04-docker-arm64-4c-16g-15956 does not seem to be running inside a container 21:22:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/106 -v /w/workspace/app-rfid-llrp-inventory/106:/w/workspace/app-rfid-llrp-inventory/106:rw,z -v /w/workspace/app-rfid-llrp-inventory/106@tmp:/w/workspace/app-rfid-llrp-inventory/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:22:57 $ docker top d56a4727e6c6a2c943d9a76aad64764948d34b8228ea8e76d35f25b7d2568195 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:58 + go version 21:22:58 go version go1.20.2 linux/arm64 [Pipeline] } 21:22:58 $ docker stop --time=1 d56a4727e6c6a2c943d9a76aad64764948d34b8228ea8e76d35f25b7d2568195 21:23:00 $ docker rm -f --volumes d56a4727e6c6a2c943d9a76aad64764948d34b8228ea8e76d35f25b7d2568195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:00 + docker inspect -f . ci-base-image-arm64 21:23:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:00 prd-ubuntu20.04-docker-arm64-4c-16g-15956 does not seem to be running inside a container 21:23:01 $ 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/106 -v /w/workspace/app-rfid-llrp-inventory/106:/w/workspace/app-rfid-llrp-inventory/106:rw,z -v /w/workspace/app-rfid-llrp-inventory/106@tmp:/w/workspace/app-rfid-llrp-inventory/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:23:03 $ docker top 86dfa35d65cfda6ebc0f3ef190e89e50611e930049b1ef8b61b3da81d4d30961 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:03 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/106 [Pipeline] fileExists [Pipeline] sh 21:23:04 + make test 21:23:04 go test -race ./... -coverprofile=coverage.out ./... 21:25:40 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:25:46 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:25:46 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.115s coverage: 86.2% of statements 21:25:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.500s coverage: 71.9% of statements 21:25:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:25:57 go vet ./... 21:28:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:28:19 ./bin/test-attribution.sh 21:28:19 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 21:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:28:19 $ docker stop --time=1 86dfa35d65cfda6ebc0f3ef190e89e50611e930049b1ef8b61b3da81d4d30961 21:28:21 $ docker rm -f --volumes 86dfa35d65cfda6ebc0f3ef190e89e50611e930049b1ef8b61b3da81d4d30961 [Pipeline] // withDockerContainer [Pipeline] sh 21:28:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:28:22 Warning: overwriting stash ‘coverage-report’ 21:28:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:28:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:28:24 + ls -al . 21:28:24 total 224 21:28:24 drwxrwxr-x 10 jenkins jenkins 4096 May 17 21:23 . 21:28:24 drwxrwxr-x 4 jenkins jenkins 4096 May 17 21:20 .. 21:28:24 -rw-rw-r-- 1 jenkins jenkins 262 May 17 21:20 .dockerignore 21:28:24 drwxrwxr-x 8 jenkins jenkins 4096 May 17 21:20 .git 21:28:24 drwxrwxr-x 3 jenkins jenkins 4096 May 17 21:20 .github 21:28:24 -rw-rw-r-- 1 jenkins jenkins 788 May 17 21:20 .gitignore 21:28:24 -rw-rw-r-- 1 jenkins jenkins 41 May 17 21:20 .golangci.yml 21:28:24 -rw-rw-r-- 1 jenkins jenkins 9805 May 17 21:20 Attribution.txt 21:28:24 -rw-rw-r-- 1 jenkins jenkins 4331 May 17 21:20 CHANGELOG.md 21:28:24 -rw-rw-r-- 1 jenkins jenkins 1659 May 17 21:20 Dockerfile 21:28:24 -rw-rw-r-- 1 jenkins jenkins 677 May 17 21:20 GOVERNANCE.md 21:28:24 -rw-rw-r-- 1 jenkins jenkins 687 May 17 21:20 Jenkinsfile 21:28:24 -rw-rw-r-- 1 jenkins jenkins 11347 May 17 21:20 LICENSE 21:28:24 -rw-rw-r-- 1 jenkins jenkins 2497 May 17 21:20 Makefile 21:28:24 -rw-rw-r-- 1 jenkins jenkins 617 May 17 21:20 OWNERS.md 21:28:24 -rw-rw-r-- 1 jenkins jenkins 31516 May 17 21:20 README.md 21:28:24 -rw-rw-r-- 1 jenkins jenkins 12 May 17 21:16 VERSION 21:28:24 drwxrwxr-x 2 jenkins jenkins 4096 May 17 21:20 bin 21:28:24 -rw-r--r-- 1 jenkins jenkins 41317 May 17 21:25 coverage.out 21:28:24 -rw-rw-r-- 1 jenkins jenkins 3467 May 17 21:20 go.mod 21:28:24 -rw-rw-r-- 1 jenkins jenkins 31505 May 17 21:20 go.sum 21:28:24 drwxrwxr-x 2 jenkins jenkins 4096 May 17 21:20 images 21:28:24 drwxrwxr-x 4 jenkins jenkins 4096 May 17 21:20 internal 21:28:24 -rw-rw-r-- 1 jenkins jenkins 531 May 17 21:20 main.go 21:28:24 drwxrwxr-x 2 jenkins jenkins 4096 May 17 21:20 res 21:28:24 drwxrwxr-x 4 jenkins jenkins 4096 May 17 21:20 snap 21:28:24 drwxrwxr-x 3 jenkins jenkins 4096 May 17 21:20 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:24 + 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=42fa94e7a01bb85ea5a8778b4167b161641c6daf --label arch=arm64 --label version=3.0.0-dev.37 . 21:28:24 Sending build context to Docker daemon 678.4kB 21:28:24 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 21:28:24 Step 2/29 : FROM ${BASE} AS builder 21:28:24 ---> 960c72183e6b 21:28:24 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 21:28:24 ---> Running in 16233886e798 21:28:25 Removing intermediate container 16233886e798 21:28:25 ---> d3d7c1052f64 21:28:25 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 21:28:25 ---> Running in deb3a01caba0 21:28:25 Removing intermediate container deb3a01caba0 21:28:25 ---> 08cc02007e63 21:28:25 Step 5/29 : ARG ADD_BUILD_TAGS="" 21:28:25 ---> Running in 0b424e7e7a10 21:28:26 Removing intermediate container 0b424e7e7a10 21:28:26 ---> 9396c0267352 21:28:26 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:28:26 ---> Running in f9cbee0e8718 21:28:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:28:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:28:29 OK: 263 MiB in 53 packages 21:28:29 Removing intermediate container f9cbee0e8718 21:28:29 ---> 296d185e0861 21:28:29 Step 7/29 : WORKDIR /app 21:28:29 ---> Running in 5a00e56f2226 21:28:29 Removing intermediate container 5a00e56f2226 21:28:29 ---> fdd133439479 21:28:29 Step 8/29 : COPY go.mod vendor* ./ 21:28:30 ---> 498fab2b7388 21:28:30 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:30 ---> Running in 21a113c09648 21:28:33 Removing intermediate container 21a113c09648 21:28:33 ---> cd9a9a4927df 21:28:33 Step 10/29 : COPY . . 21:28:33 ---> 0ac549907f98 21:28:33 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:33 ---> Running in c56e4d1a867d 21:28:33 Removing intermediate container c56e4d1a867d 21:28:33 ---> d2c0130549fc 21:28:33 Step 12/29 : RUN $MAKE 21:28:33 ---> Running in e3d03c40c460 21:28:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.66 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.37 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.37" -trimpath -mod=readonly -o app-rfid-llrp-inventory 21:30:56 Removing intermediate container e3d03c40c460 21:30:56 ---> 51a6c6881328 21:30:56 Step 13/29 : FROM alpine:3.17 21:30:56 3.17: Pulling from library/alpine 21:30:56 c41833b44d91: Already exists 21:30:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:30:56 Status: Downloaded newer image for alpine:3.17 21:30:56 ---> 51e60588ff2c 21:30:56 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:30:56 ---> Running in 3f9aa5b68ba3 21:30:56 Removing intermediate container 3f9aa5b68ba3 21:30:56 ---> c34f16974675 21:30:56 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:30:56 ---> Running in b958cd3779ce 21:30:56 Removing intermediate container b958cd3779ce 21:30:56 ---> 71fe0265b4a5 21:30:56 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 21:30:56 ---> Running in 2a76a3160d2f 21:30:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:30:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:30:56 (1/2) Installing ca-certificates (20230506-r0) 21:30:56 (2/2) Installing dumb-init (1.2.5-r2) 21:30:56 Executing busybox-1.35.0-r29.trigger 21:30:56 Executing ca-certificates-20230506-r0.trigger 21:30:56 OK: 8 MiB in 17 packages 21:30:56 Removing intermediate container 2a76a3160d2f 21:30:56 ---> c6dbdbf09cb6 21:30:56 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:30:56 ---> 6c59055b9052 21:30:56 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 21:30:56 ---> 0940aa5b1e0d 21:30:56 Step 19/29 : COPY --from=builder /app/res/ /res/ 21:30:56 ---> edd7523b7450 21:30:56 Step 20/29 : COPY --from=builder /app/static/ /static/ 21:30:56 ---> 1c519b62c410 21:30:56 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:30:56 ---> d8e0fdb1fdba 21:30:56 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:30:56 ---> Running in 13ab96137629 21:30:56 Removing intermediate container 13ab96137629 21:30:56 ---> cb917bc20ed8 21:30:56 Step 23/29 : VOLUME /cache 21:30:56 ---> Running in 07734853803d 21:30:56 Removing intermediate container 07734853803d 21:30:56 ---> ead92965a330 21:30:56 Step 24/29 : EXPOSE 59711 21:30:56 ---> Running in 99490a28217f 21:30:56 Removing intermediate container 99490a28217f 21:30:56 ---> 273e36ae0e0f 21:30:56 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:30:56 ---> Running in 43f97c27dbbf 21:30:56 Removing intermediate container 43f97c27dbbf 21:30:56 ---> c3a8e9a62f9b 21:30:56 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 21:30:56 ---> Running in e902a35c60b1 21:30:56 Removing intermediate container e902a35c60b1 21:30:56 ---> d80c0cd3a2aa 21:30:56 Step 27/29 : LABEL arch=arm64 21:30:56 ---> Running in e705db5592f2 21:30:57 Removing intermediate container e705db5592f2 21:30:57 ---> 222ec02421a6 21:30:57 Step 28/29 : LABEL git_sha=42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:30:57 ---> Running in 5388f72e16a6 21:30:57 Removing intermediate container 5388f72e16a6 21:30:57 ---> 53b781d78efd 21:30:57 Step 29/29 : LABEL version=3.0.0-dev.37 21:30:57 ---> Running in 71ebc98294ee 21:30:57 Removing intermediate container 71ebc98294ee 21:30:57 ---> 4ee5882114f4 21:30:57 [Warning] One or more build-args [ARCH] were not consumed 21:30:57 Successfully built 4ee5882114f4 21:30:57 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:58 provisioning config files... 21:30:58 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/106@tmp/config6502866531038982253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:58 ---> docker-login.sh 21:30:58 nexus3.edgexfoundry.org:10001 21:30:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:58 Configure a credential helper to remove this warning. See 21:30:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:58 21:30:58 Login Succeeded 21:30:58 nexus3.edgexfoundry.org:10002 21:30:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:58 Configure a credential helper to remove this warning. See 21:30:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:58 21:30:58 Login Succeeded 21:30:58 nexus3.edgexfoundry.org:10003 21:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:59 Configure a credential helper to remove this warning. See 21:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:59 21:30:59 Login Succeeded 21:30:59 nexus3.edgexfoundry.org:10004 21:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:59 Configure a credential helper to remove this warning. See 21:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:59 21:30:59 Login Succeeded 21:30:59 docker.io 21:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:00 Configure a credential helper to remove this warning. See 21:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:00 21:31:00 Login Succeeded 21:31:00 ---> docker-login.sh ends [Pipeline] } 21:31:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:00 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 21:31:00 42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:31:00 latest 21:31:00 3.0.0-dev.37 21:31:00 42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 21:31:00 main 21:31:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:00 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:01 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:31:01 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:31:01 e01a67c5be77: Preparing 21:31:01 f12c2fddddb6: Preparing 21:31:01 b3a8cd62d4bc: Preparing 21:31:01 b937e87d887b: Preparing 21:31:01 d393fe47728a: Preparing 21:31:01 0a7d2323125f: Preparing 21:31:01 8b10986ef296: Preparing 21:31:01 26cbea5cba74: Preparing 21:31:01 0a7d2323125f: Waiting 21:31:01 8b10986ef296: Waiting 21:31:01 26cbea5cba74: Waiting 21:31:01 e01a67c5be77: Pushed 21:31:01 b937e87d887b: Pushed 21:31:01 d393fe47728a: Pushed 21:31:01 b3a8cd62d4bc: Pushed 21:31:01 26cbea5cba74: Layer already exists 21:31:01 0a7d2323125f: Pushed 21:31:01 8b10986ef296: Pushed 21:31:07 f12c2fddddb6: Pushed 21:31:07 42fa94e7a01bb85ea5a8778b4167b161641c6daf: digest: sha256:f724c2109a840b8eb2070ac882322825ff6e43e01e7f1fab929f71190bf0bd74 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:07 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:07 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:31:07 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:31:07 e01a67c5be77: Preparing 21:31:07 f12c2fddddb6: Preparing 21:31:07 b3a8cd62d4bc: Preparing 21:31:07 b937e87d887b: Preparing 21:31:07 d393fe47728a: Preparing 21:31:07 0a7d2323125f: Preparing 21:31:07 8b10986ef296: Preparing 21:31:07 26cbea5cba74: Preparing 21:31:07 0a7d2323125f: Waiting 21:31:07 26cbea5cba74: Waiting 21:31:07 8b10986ef296: Waiting 21:31:07 b3a8cd62d4bc: Layer already exists 21:31:07 e01a67c5be77: Layer already exists 21:31:07 b937e87d887b: Layer already exists 21:31:07 d393fe47728a: Layer already exists 21:31:07 f12c2fddddb6: Layer already exists 21:31:07 26cbea5cba74: Layer already exists 21:31:07 0a7d2323125f: Layer already exists 21:31:07 8b10986ef296: Layer already exists 21:31:08 latest: digest: sha256:f724c2109a840b8eb2070ac882322825ff6e43e01e7f1fab929f71190bf0bd74 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:08 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:08 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.37 21:31:08 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:31:08 e01a67c5be77: Preparing 21:31:08 f12c2fddddb6: Preparing 21:31:08 b3a8cd62d4bc: Preparing 21:31:08 b937e87d887b: Preparing 21:31:08 d393fe47728a: Preparing 21:31:08 0a7d2323125f: Preparing 21:31:08 8b10986ef296: Preparing 21:31:08 26cbea5cba74: Preparing 21:31:08 0a7d2323125f: Waiting 21:31:08 8b10986ef296: Waiting 21:31:08 26cbea5cba74: Waiting 21:31:08 d393fe47728a: Layer already exists 21:31:08 e01a67c5be77: Layer already exists 21:31:08 b937e87d887b: Layer already exists 21:31:08 f12c2fddddb6: Layer already exists 21:31:08 b3a8cd62d4bc: Layer already exists 21:31:08 8b10986ef296: Layer already exists 21:31:08 26cbea5cba74: Layer already exists 21:31:08 0a7d2323125f: Layer already exists 21:31:09 3.0.0-dev.37: digest: sha256:f724c2109a840b8eb2070ac882322825ff6e43e01e7f1fab929f71190bf0bd74 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:09 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:09 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 21:31:09 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:31:09 e01a67c5be77: Preparing 21:31:09 f12c2fddddb6: Preparing 21:31:09 b3a8cd62d4bc: Preparing 21:31:09 b937e87d887b: Preparing 21:31:09 d393fe47728a: Preparing 21:31:09 0a7d2323125f: Preparing 21:31:09 8b10986ef296: Preparing 21:31:09 26cbea5cba74: Preparing 21:31:09 0a7d2323125f: Waiting 21:31:09 8b10986ef296: Waiting 21:31:09 b937e87d887b: Layer already exists 21:31:09 f12c2fddddb6: Layer already exists 21:31:09 e01a67c5be77: Layer already exists 21:31:09 b3a8cd62d4bc: Layer already exists 21:31:09 d393fe47728a: Layer already exists 21:31:09 26cbea5cba74: Layer already exists 21:31:09 0a7d2323125f: Layer already exists 21:31:09 8b10986ef296: Layer already exists 21:31:10 42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37: digest: sha256:f724c2109a840b8eb2070ac882322825ff6e43e01e7f1fab929f71190bf0bd74 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:10 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:10 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 21:31:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:31:10 e01a67c5be77: Preparing 21:31:10 f12c2fddddb6: Preparing 21:31:10 b3a8cd62d4bc: Preparing 21:31:10 b937e87d887b: Preparing 21:31:10 d393fe47728a: Preparing 21:31:10 0a7d2323125f: Preparing 21:31:10 8b10986ef296: Preparing 21:31:10 26cbea5cba74: Preparing 21:31:10 0a7d2323125f: Waiting 21:31:10 8b10986ef296: Waiting 21:31:10 26cbea5cba74: Waiting 21:31:10 d393fe47728a: Layer already exists 21:31:10 b3a8cd62d4bc: Layer already exists 21:31:10 f12c2fddddb6: Layer already exists 21:31:10 b937e87d887b: Layer already exists 21:31:10 e01a67c5be77: Layer already exists 21:31:10 26cbea5cba74: Layer already exists 21:31:10 0a7d2323125f: Layer already exists 21:31:10 8b10986ef296: Layer already exists 21:31:11 main: digest: sha256:f724c2109a840b8eb2070ac882322825ff6e43e01e7f1fab929f71190bf0bd74 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:11 ===================================================== [Pipeline] echo 21:31:11 taggedImages: 21:31:11 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42fa94e7a01bb85ea5a8778b4167b161641c6daf 21:31:11 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:31:11 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.37 21:31:11 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42fa94e7a01bb85ea5a8778b4167b161641c6daf-3.0.0-dev.37 21:31:11 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:11 21:31:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:12 arm64: Pulling from edgex-lftools-log-publisher 21:31:12 8998bd30e6a1: Pulling fs layer 21:31:12 04944245beec: Pulling fs layer 21:31:12 699f458cf7ca: Pulling fs layer 21:31:12 765212b225bb: Pulling fs layer 21:31:12 f23df028b6ca: Pulling fs layer 21:31:12 d65c8cfc05b1: Pulling fs layer 21:31:12 2437ff75d9bd: Pulling fs layer 21:31:12 f23df028b6ca: Waiting 21:31:12 765212b225bb: Waiting 21:31:12 d65c8cfc05b1: Waiting 21:31:12 2437ff75d9bd: Waiting 21:31:12 04944245beec: Verifying Checksum 21:31:12 04944245beec: Download complete 21:31:12 765212b225bb: Verifying Checksum 21:31:12 765212b225bb: Download complete 21:31:12 f23df028b6ca: Verifying Checksum 21:31:12 f23df028b6ca: Download complete 21:31:12 d65c8cfc05b1: Verifying Checksum 21:31:12 d65c8cfc05b1: Download complete 21:31:12 699f458cf7ca: Verifying Checksum 21:31:12 699f458cf7ca: Download complete 21:31:12 8998bd30e6a1: Verifying Checksum 21:31:12 8998bd30e6a1: Download complete 21:31:14 2437ff75d9bd: Verifying Checksum 21:31:14 2437ff75d9bd: Download complete 21:31:16 8998bd30e6a1: Pull complete 21:31:17 04944245beec: Pull complete 21:31:18 699f458cf7ca: Pull complete 21:31:18 765212b225bb: Pull complete 21:31:19 f23df028b6ca: Pull complete 21:31:19 d65c8cfc05b1: Pull complete 21:31:34 2437ff75d9bd: Pull complete 21:31:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:34 prd-ubuntu20.04-docker-arm64-4c-16g-15956 does not seem to be running inside a container 21:31:34 $ 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/106 -v /w/workspace/app-rfid-llrp-inventory/106:/w/workspace/app-rfid-llrp-inventory/106:rw,z -v /w/workspace/app-rfid-llrp-inventory/106@tmp:/w/workspace/app-rfid-llrp-inventory/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:31:37 $ docker top 63fcb98bedac372c7b9ed85046740a0d5c060663d8d06fb1f4fa76e7f68027b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:38 ---> job-cost.sh 21:31:38 lf-activate-venv: SKIPPING 21:31:38 INFO: No Stack... 21:31:39 INFO: Retrieving Pricing Info for: v3-standard-4 21:31:40 INFO: Archiving Costs [Pipeline] sh 21:31:40 + cat /w/workspace/app-rfid-llrp-inventory/106/archives/cost.csv 21:31:40 + cut -d, -f6 [Pipeline] lock 21:31:40 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] 21:31:40 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] did not exist. Created. 21:31:40 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:31:41 /w/workspace/app-rfid-llrp-inventory/106@tmp/durable-b10d9840/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:31:42 + echo total: 0.10999999940395355 [Pipeline] stash 21:31:42 Warning: overwriting stash ‘stack-cost’ 21:31:42 Stashed 1 file(s) [Pipeline] } 21:31:42 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 21:31:42 $ docker stop --time=1 63fcb98bedac372c7b9ed85046740a0d5c060663d8d06fb1f4fa76e7f68027b1 21:31:43 $ docker rm -f --volumes 63fcb98bedac372c7b9ed85046740a0d5c060663d8d06fb1f4fa76e7f68027b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:31:44 provisioning config files... 21:31:44 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config14075233396150247532tmp [Pipeline] { [Pipeline] sh 21:31:44 + set +x 21:31:44 + curl -s https://codecov.io/bash 21:31:44 + bash -s -- 21:31:44 21:31:44 _____ _ 21:31:44 / ____| | | 21:31:44 | | ___ __| | ___ ___ _____ __ 21:31:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:31:44 | |___| (_) | (_| | __/ (_| (_) \ V / 21:31:44 \_____\___/ \__,_|\___|\___\___/ \_/ 21:31:44 Bash-1.0.6 21:31:44 21:31:44 21:31:44 ==> git version 2.25.1 found 21:31:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:31:44 Release-Date: 2020-01-08 21:31:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:31:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:31:44 ==> Jenkins CI detected. 21:31:44 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 21:31:44 project root: . 21:31:44 --> token set from env 21:31:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:31:44 ==> Running gcov in . (disable via -X gcov) 21:31:44 ==> Python coveragepy not found 21:31:44 ==> Searching for coverage reports in: 21:31:44 + . 21:31:44 -> Found 1 reports 21:31:44 ==> Detecting git/mercurial file structure 21:31:44 ==> Reading reports 21:31:44 + ./coverage.out bytes=41317 21:31:44 ==> Appending adjustments 21:31:44 https://docs.codecov.io/docs/fixing-reports 21:31:44 + Found adjustments 21:31:44 ==> Gzipping contents 21:31:44 12K /tmp/codecov.3reCbh.gz 21:31:44 ==> Uploading reports 21:31:44 url: https://codecov.io 21:31:44 query: branch=main&commit=42fa94e7a01bb85ea5a8778b4167b161641c6daf&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:31:44 -> Pinging Codecov 21:31:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=main&commit=42fa94e7a01bb85ea5a8778b4167b161641c6daf&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:31:44 -> Uploading to 21:31:44 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/581DD39554BDF9B6E22D074273EAD858/42fa94e7a01bb85ea5a8778b4167b161641c6daf/62f7dae3-5fb2-4808-b1da-b3cf77dbef5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T213144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5680644a529901a714cf5c6ebdcb4c1bd296c98cac03e5d1ca3a99a0f9c35706 21:31:44 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:44 Dload Upload Total Spent Left Speed 21:31:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11799 0 0 100 11799 0 58701 --:--:-- --:--:-- --:--:-- 58701 21:31:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] } 21:31:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:31:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:31:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:45 21:31:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:31:46 df9b9388f04a: Pulling fs layer 21:31:46 52dc419b0ee2: Pulling fs layer 21:31:46 25bc292e5bac: Pulling fs layer 21:31:46 114826534d7a: Pulling fs layer 21:31:46 4657fd5d0bcf: Pulling fs layer 21:31:46 6ad1cebc031e: Pulling fs layer 21:31:46 8a3aa393b2d8: Pulling fs layer 21:31:46 4657fd5d0bcf: Waiting 21:31:46 6ad1cebc031e: Waiting 21:31:46 8a3aa393b2d8: Waiting 21:31:46 114826534d7a: Waiting 21:31:46 25bc292e5bac: Verifying Checksum 21:31:46 25bc292e5bac: Download complete 21:31:46 52dc419b0ee2: Download complete 21:31:46 4657fd5d0bcf: Verifying Checksum 21:31:46 4657fd5d0bcf: Download complete 21:31:46 df9b9388f04a: Verifying Checksum 21:31:46 df9b9388f04a: Pull complete 21:31:46 6ad1cebc031e: Verifying Checksum 21:31:46 52dc419b0ee2: Pull complete 21:31:46 25bc292e5bac: Pull complete 21:31:46 114826534d7a: Verifying Checksum 21:31:46 114826534d7a: Download complete 21:31:46 8a3aa393b2d8: Verifying Checksum 21:31:46 8a3aa393b2d8: Download complete 21:31:50 114826534d7a: Pull complete 21:31:50 4657fd5d0bcf: Pull complete 21:31:50 6ad1cebc031e: Pull complete 21:31:53 8a3aa393b2d8: Pull complete 21:31:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:31:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:53 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:31:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:31:56 $ docker top 2796ddf5d96b3fb90d3c5314ab6cf60cb9e29c7117d274e8b79769920939bd7f -eo pid,comm [Pipeline] { [Pipeline] echo 21:31:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 21:31:57 + set -o pipefail 21:31:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 21:32:03 21:32:03 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 21:32:03 21:32:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/52c8fa43-f099-4db1-8f03-e07dc1bf9e1a 21:32:03 21:32:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:32:03 21:32:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:32:03 21:32:04 21:32:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:32:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:32:04 More details here: https://snyk.co/ue1NS [Pipeline] } 21:32:04 $ docker stop --time=1 2796ddf5d96b3fb90d3c5314ab6cf60cb9e29c7117d274e8b79769920939bd7f 21:32:06 $ docker rm -f --volumes 2796ddf5d96b3fb90d3c5314ab6cf60cb9e29c7117d274e8b79769920939bd7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:32:07 + git log --format=format:%s -1 42fa94e7a01bb85ea5a8778b4167b161641c6daf [Pipeline] sh 21:32:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:08 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:32: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 21:32:08 $ docker top 349488e82cccf9a0ddcbc03b8091c7be906fe639edd378c33fae19c35cb42a8a -eo pid,comm 21:32:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:32:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:08 [ssh-agent] Looking for ssh-agent implementation... 21:32:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:08 $ docker exec 349488e82cccf9a0ddcbc03b8091c7be906fe639edd378c33fae19c35cb42a8a ssh-agent 21:32:09 SSH_AUTH_SOCK=/tmp/ssh-HIaX6hTrdWkN/agent.33 21:32:09 SSH_AGENT_PID=39 21:32:09 Running ssh-add (command line suppressed) 21:32:09 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_554360493728206802.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_554360493728206802.key) 21:32:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:09 + git semver tag 21:32:09 2023-05-17 21:32:09,587 [run_tag] DEBUG tag force:False 21:32:09 2023-05-17 21:32:09,587 [check_head_tag] DEBUG check head tag 21:32:09 2023-05-17 21:32:09,588 [execute] INFO git cat-file --batch-check 21:32:09 2023-05-17 21:32:09,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:32:09 2023-05-17 21:32:09,592 [execute] INFO git cat-file --batch 21:32:09 2023-05-17 21:32:09,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:32:09 2023-05-17 21:32:09,614 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:32:09 2023-05-17 21:32:09,614 [execute] INFO git tag -a v3.0.0-dev.37 -m v3.0.0-dev.37 21:32:09 2023-05-17 21:32:09,614 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.37', '-m', 'v3.0.0-dev.37'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:32:09 2023-05-17 21:32:09,619 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:32:09 3.0.0-dev.37 [Pipeline] } 21:32:09 $ docker exec --env ******** --env ******** 349488e82cccf9a0ddcbc03b8091c7be906fe639edd378c33fae19c35cb42a8a ssh-agent -k 21:32:09 unset SSH_AUTH_SOCK; 21:32:09 unset SSH_AGENT_PID; 21:32:09 echo Agent pid 39 killed; 21:32:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:10 + git semver [Pipeline] } 21:32:10 $ docker stop --time=1 349488e82cccf9a0ddcbc03b8091c7be906fe639edd378c33fae19c35cb42a8a 21:32:11 $ docker rm -f --volumes 349488e82cccf9a0ddcbc03b8091c7be906fe639edd378c33fae19c35cb42a8a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:12 21:32:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:12 0.23.1-centos7: Pulling from edgex-lftools 21:32:12 ab5ef0e58194: Pulling fs layer 21:32:12 9712f1f96733: Pulling fs layer 21:32:12 63f879dbbcfc: Pulling fs layer 21:32:12 0d9ebad4ef96: Pulling fs layer 21:32:12 e9a5061849ea: Pulling fs layer 21:32:12 d747dcd14b5f: Pulling fs layer 21:32:12 2de7ff778b66: Pulling fs layer 21:32:12 0d9ebad4ef96: Waiting 21:32:12 d747dcd14b5f: Waiting 21:32:12 9712f1f96733: Verifying Checksum 21:32:12 9712f1f96733: Download complete 21:32:12 63f879dbbcfc: Verifying Checksum 21:32:12 63f879dbbcfc: Download complete 21:32:12 e9a5061849ea: Verifying Checksum 21:32:12 e9a5061849ea: Download complete 21:32:12 d747dcd14b5f: Verifying Checksum 21:32:12 d747dcd14b5f: Download complete 21:32:12 0d9ebad4ef96: Verifying Checksum 21:32:12 ab5ef0e58194: Verifying Checksum 21:32:12 ab5ef0e58194: Download complete 21:32:12 2de7ff778b66: Verifying Checksum 21:32:12 2de7ff778b66: Download complete 21:32:15 ab5ef0e58194: Pull complete 21:32:15 9712f1f96733: Pull complete 21:32:16 63f879dbbcfc: Pull complete 21:32:19 0d9ebad4ef96: Pull complete 21:32:19 e9a5061849ea: Pull complete 21:32:19 d747dcd14b5f: Pull complete 21:32:20 2de7ff778b66: Pull complete 21:32:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:20 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:32:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:32:25 $ docker top 3b6b2830f562d7ceb6c8ea713c74076428f031cc520a6ea9ba24bcb8026279fa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:32:25 provisioning config files... 21:32:25 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config13919350725273387802tmp 21:32:25 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8101820443323299169tmp 21:32:25 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3572232457565340955tmp [Pipeline] { [Pipeline] echo 21:32:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:32:25 ---> sigul-configuration.sh 21:32:25 gpg: directory `/root/.gnupg' created 21:32:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:32:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:32:25 gpg: keyring `/root/.gnupg/secring.gpg' created 21:32:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:32:25 gpg: CAST5 encrypted data 21:32:25 gpg: encrypted with 1 passphrase 21:32:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:32:25 + mkdir /home/jenkins 21:32:25 + mkdir /home/jenkins/sigul [Pipeline] sh 21:32:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:32:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:32:26 ---> sigul-install.sh 21:32:26 Sigul already installed; skipping installation. [Pipeline] sh 21:32:26 + git tag --list 21:32:26 v0.0.0 21:32:26 v1.0.0 21:32:26 v2.1.0 21:32:26 v2.1.1 21:32:26 v2.1.1-dev.1 21:32:26 v2.2.0 21:32:26 v2.2.1-dev.1 21:32:26 v2.2.1-dev.2 21:32:26 v2.2.1-dev.3 21:32:26 v2.2.1-dev.4 21:32:26 v2.2.1-dev.5 21:32:26 v2.2.1-dev.6 21:32:26 v2.2.1-dev.7 21:32:26 v2.3.0 21:32:26 v2.3.0-dev.10 21:32:26 v2.3.0-dev.11 21:32:26 v2.3.0-dev.12 21:32:26 v2.3.0-dev.13 21:32:26 v2.3.0-dev.14 21:32:26 v2.3.0-dev.15 21:32:26 v2.3.0-dev.16 21:32:26 v2.3.0-dev.17 21:32:26 v2.3.0-dev.18 21:32:26 v2.3.0-dev.19 21:32:26 v2.3.0-dev.20 21:32:26 v2.3.0-dev.21 21:32:26 v2.3.0-dev.22 21:32:26 v2.3.0-dev.23 21:32:26 v2.3.0-dev.24 21:32:26 v2.3.0-dev.25 21:32:26 v2.3.0-dev.26 21:32:26 v2.3.0-dev.9 21:32:26 v2.3.1-dev.1 21:32:26 v3.0.0-dev.1 21:32:26 v3.0.0-dev.10 21:32:26 v3.0.0-dev.11 21:32:26 v3.0.0-dev.12 21:32:26 v3.0.0-dev.13 21:32:26 v3.0.0-dev.14 21:32:26 v3.0.0-dev.15 21:32:26 v3.0.0-dev.16 21:32:26 v3.0.0-dev.17 21:32:26 v3.0.0-dev.18 21:32:26 v3.0.0-dev.19 21:32:26 v3.0.0-dev.2 21:32:26 v3.0.0-dev.20 21:32:26 v3.0.0-dev.21 21:32:26 v3.0.0-dev.22 21:32:26 v3.0.0-dev.23 21:32:26 v3.0.0-dev.24 21:32:26 v3.0.0-dev.25 21:32:26 v3.0.0-dev.26 21:32:26 v3.0.0-dev.27 21:32:26 v3.0.0-dev.28 21:32:26 v3.0.0-dev.29 21:32:26 v3.0.0-dev.3 21:32:26 v3.0.0-dev.30 21:32:26 v3.0.0-dev.31 21:32:26 v3.0.0-dev.32 21:32:26 v3.0.0-dev.33 21:32:26 v3.0.0-dev.34 21:32:26 v3.0.0-dev.35 21:32:26 v3.0.0-dev.36 21:32:26 v3.0.0-dev.37 21:32:26 v3.0.0-dev.4 21:32:26 v3.0.0-dev.5 21:32:26 v3.0.0-dev.6 21:32:26 v3.0.0-dev.7 21:32:26 v3.0.0-dev.8 21:32:26 v3.0.0-dev.9 [Pipeline] sh 21:32:27 + lftools sign git-tag v3.0.0-dev.37 21:32:27 Signing Git tag with Sigul... 21:32:27 Signing v3.0.0-dev.37 [Pipeline] echo 21:32:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:32:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:32:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:32:28 $ docker stop --time=1 3b6b2830f562d7ceb6c8ea713c74076428f031cc520a6ea9ba24bcb8026279fa 21:32:29 $ docker rm -f --volumes 3b6b2830f562d7ceb6c8ea713c74076428f031cc520a6ea9ba24bcb8026279fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:32:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:30 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:32:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:32:30 $ docker top 2a77a86305739d921ce040f3acc09bfd9631ae6e81965a2b1919335bbee75c46 -eo pid,comm 21:32:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:32:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:30 [ssh-agent] Looking for ssh-agent implementation... 21:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:30 $ docker exec 2a77a86305739d921ce040f3acc09bfd9631ae6e81965a2b1919335bbee75c46 ssh-agent 21:32:30 SSH_AUTH_SOCK=/tmp/ssh-cD2OrUOvdUOH/agent.32 21:32:30 SSH_AGENT_PID=38 21:32:30 Running ssh-add (command line suppressed) 21:32:31 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13088847527507957527.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13088847527507957527.key) 21:32:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:31 + git semver bump pre 21:32:31 2023-05-17 21:32:31,495 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:32:31 2023-05-17 21:32:31,495 [bump_version] DEBUG bumping version:3.0.0-dev.37 on axis:pre with prefix:dev 21:32:31 2023-05-17 21:32:31,495 [bump_version] DEBUG bumped version:3.0.0-dev.38 21:32:31 2023-05-17 21:32:31,495 [write_version] DEBUG write version:3.0.0-dev.38 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 21:32:31 2023-05-17 21:32:31,496 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:32:31 2023-05-17 21:32:31,496 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:32:31 2023-05-17 21:32:31,498 [execute] INFO git cat-file --batch-check 21:32:31 2023-05-17 21:32:31,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:31 2023-05-17 21:32:31,504 [execute] INFO git cat-file --batch 21:32:31 2023-05-17 21:32:31,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:31 2023-05-17 21:32:31,509 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:32:31 3.0.0-dev.38 [Pipeline] } 21:32:31 $ docker exec --env ******** --env ******** 2a77a86305739d921ce040f3acc09bfd9631ae6e81965a2b1919335bbee75c46 ssh-agent -k 21:32:31 unset SSH_AUTH_SOCK; 21:32:31 unset SSH_AGENT_PID; 21:32:31 echo Agent pid 38 killed; 21:32:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:31 + git semver [Pipeline] } 21:32:32 $ docker stop --time=1 2a77a86305739d921ce040f3acc09bfd9631ae6e81965a2b1919335bbee75c46 21:32:33 $ docker rm -f --volumes 2a77a86305739d921ce040f3acc09bfd9631ae6e81965a2b1919335bbee75c46 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:34 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:32:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:32:34 $ docker top c5b7b40594c74580a81aa0eb5278e84291ad563e75d003fdb0d07e8bd45910ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:34 [ssh-agent] Looking for ssh-agent implementation... 21:32:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:34 $ docker exec c5b7b40594c74580a81aa0eb5278e84291ad563e75d003fdb0d07e8bd45910ff ssh-agent 21:32:34 SSH_AUTH_SOCK=/tmp/ssh-h0R0hX3ovrFV/agent.32 21:32:34 SSH_AGENT_PID=39 21:32:34 Running ssh-add (command line suppressed) 21:32:35 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_705848242364568862.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_705848242364568862.key) 21:32:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:35 + git semver push 21:32:35 2023-05-17 21:32:35,528 [run_push] DEBUG push 21:32:35 2023-05-17 21:32:35,528 [execute] INFO git cat-file --batch-check 21:32:35 2023-05-17 21:32:35,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:35 2023-05-17 21:32:35,532 [execute] INFO git rev-list afb4db91d560670051aa78c30ecfe25ef58e3247 -- 21:32:35 2023-05-17 21:32:35,532 [execute] DEBUG Popen(['git', 'rev-list', 'afb4db91d560670051aa78c30ecfe25ef58e3247', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:32:35 2023-05-17 21:32:35,539 [execute] INFO git fetch -v origin 21:32:35 2023-05-17 21:32:35,540 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 21:32:36 2023-05-17 21:32:36,007 [run_push] DEBUG no remote changes detected 21:32:36 2023-05-17 21:32:36,007 [execute] INFO git push origin semver 21:32:36 2023-05-17 21:32:36,007 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:32:36 2023-05-17 21:32:36,750 [run_push] DEBUG push all version tags 21:32:36 2023-05-17 21:32:36,751 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:32:36 2023-05-17 21:32:36,751 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:32:37 2023-05-17 21:32:37,478 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:32:37 3.0.0-dev.38 [Pipeline] } 21:32:37 $ docker exec --env ******** --env ******** c5b7b40594c74580a81aa0eb5278e84291ad563e75d003fdb0d07e8bd45910ff ssh-agent -k 21:32:37 unset SSH_AUTH_SOCK; 21:32:37 unset SSH_AGENT_PID; 21:32:37 echo Agent pid 39 killed; 21:32:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:38 + git semver [Pipeline] } 21:32:38 $ docker stop --time=1 c5b7b40594c74580a81aa0eb5278e84291ad563e75d003fdb0d07e8bd45910ff 21:32:39 $ docker rm -f --volumes c5b7b40594c74580a81aa0eb5278e84291ad563e75d003fdb0d07e8bd45910ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:32:40 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 21:32:40 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:32:40 total 16 21:32:40 drwxr-xr-x 3 root root 4096 May 17 21:19 . 21:32:40 drwxrwxr-x 12 jenkins jenkins 4096 May 17 21:32 .. 21:32:40 drwxr-xr-x 2 root root 4096 May 17 21:19 cost 21:32:40 -rw-r--r-- 1 root root 95 May 17 21:19 cost.csv 21:32:40 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:32:40 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:32:40 total 16 21:32:40 drwxr-xr-x 3 jenkins jenkins 4096 May 17 21:19 . 21:32:40 drwxrwxr-x 12 jenkins jenkins 4096 May 17 21:32 .. 21:32:40 drwxr-xr-x 2 jenkins jenkins 4096 May 17 21:19 cost 21:32:40 -rw-r--r-- 1 jenkins jenkins 95 May 17 21:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:32:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:32:41 ---> package-listing.sh 21:32:41 ++ facter osfamily 21:32:41 ++ tr '[:upper:]' '[:lower:]' 21:32:41 + OS_FAMILY=debian 21:32:41 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 21:32:41 + START_PACKAGES=/tmp/packages_start.txt 21:32:41 + END_PACKAGES=/tmp/packages_end.txt 21:32:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:32:41 + PACKAGES=/tmp/packages_start.txt 21:32:41 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:32:41 + PACKAGES=/tmp/packages_end.txt 21:32:41 + case "${OS_FAMILY}" in 21:32:41 + dpkg -l 21:32:41 + grep '^ii' 21:32:41 + '[' -f /tmp/packages_start.txt ']' 21:32:41 + '[' -f /tmp/packages_end.txt ']' 21:32:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:32:41 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:32:41 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 21:32:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 21:32:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:32:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:42 prd-ubuntu20.04-docker-8c-8g-15955 does not seem to be running inside a container 21:32:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:32:43 $ docker top 46d14766dbbe2a856d21e5d4bd31ca801f022d23a1f76baf54ef280323bcc766 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:43 + touch /tmp/pre-build-complete [Pipeline] sh 21:32:43 + mkdir -p /var/log/sysstat [Pipeline] sh 21:32:44 + ls /var/log/sa-host 21:32:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:44 provisioning config files... 21:32:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config12764632178852096208tmp [Pipeline] { [Pipeline] echo 21:32:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:32:44 ---> create-netrc.sh [Pipeline] } 21:32:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:32:44 ---> python-tools-install.sh [Pipeline] echo 21:32:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:32:45 ---> sudo-logs.sh 21:32:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:32:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:32:45 ---> job-cost.sh 21:32:45 lf-activate-venv: SKIPPING 21:32:45 DEBUG: total: 0.2199999988079071 21:32:45 INFO: Retrieving Stack Cost... 21:32:45 INFO: Retrieving Pricing Info for: v3-standard-8 21:32:46 INFO: Archiving Costs [Pipeline] echo 21:32:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:32:46 ---> logs-deploy.sh 21:32:46 lf-activate-venv: SKIPPING 21:32:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/106 21:32:46 INFO: archiving workspace using pattern(s): 21:32:47 Archives upload complete. 21:32:47 INFO: archiving logs to Nexus