Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc9e117a94d755a571010ed0c8b643b5feaef654 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-ssh12156695743169414622.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-ssh2428562185732267758.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-ssh1351206221629678519.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-ssh15489267354619491325.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-ssh789952999978070883.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-14863 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 bc9e117a94d755a571010ed0c8b643b5feaef654 (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 bc9e117a94d755a571010ed0c8b643b5feaef654 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#190)" > git rev-list --no-walk cc44783049becc460a1729b066297a6387c816b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:57:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:57:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:57:47 ========================================================= 01:57:47 EdgeX Global Pipelines Version Info 01:57:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:57:48 ------------------- 01:57:48 stable info: 01:57:48 ------------------- 01:57:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:57:48 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:57:48 Message: update stable to v1.0.249 01:57:48 ------------------- 01:57:48 experimental info: 01:57:48 ------------------- 01:57:48 Commited By: **** collab-it+edgex@linuxfoundation.org 01:57:48 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:57:48 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc9e117 [Pipeline] echo 01:57:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:49 provisioning config files... 01:57:49 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2123319796838603069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:49 ---> docker-login.sh 01:57:49 nexus3.edgexfoundry.org:10001 01:57:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:00 Configure a credential helper to remove this warning. See 01:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:00 01:58:00 Login Succeeded 01:58:00 nexus3.edgexfoundry.org:10002 01:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:00 Configure a credential helper to remove this warning. See 01:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:00 01:58:00 Login Succeeded 01:58:00 nexus3.edgexfoundry.org:10003 01:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:00 Configure a credential helper to remove this warning. See 01:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:00 01:58:00 Login Succeeded 01:58:00 nexus3.edgexfoundry.org:10004 01:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:00 Configure a credential helper to remove this warning. See 01:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:00 01:58:00 Login Succeeded 01:58:00 docker.io 01:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:00 Configure a credential helper to remove this warning. See 01:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:00 01:58:00 Login Succeeded 01:58:00 ---> docker-login.sh ends [Pipeline] } 01:58:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:58:00 + git rev-list -1 --merges bc9e117a94d755a571010ed0c8b643b5feaef654~1..bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] echo 01:58:00 -----------> git rev-list -1 --merges bc9e117a94d755a571010ed0c8b643b5feaef654~1..bc9e117a94d755a571010ed0c8b643b5feaef654 bc9e117a94d755a571010ed0c8b643b5feaef654 [false] [Pipeline] sh 01:58:01 + git log --format=format:%s -1 bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] echo 01:58:01 ========================================================= 01:58:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:58:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:01 + git log --format=format:%s -1 bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] echo 01:58:01 [semverPrep] GIT_COMMIT: bc9e117a94d755a571010ed0c8b643b5feaef654, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#190) [Pipeline] echo 01:58:01 [semverPrep] This is not a build commit. [Pipeline] sh 01:58:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:01 + grep -v github /etc/ssh/ssh_known_hosts 01:58:01 + [ -e /tmp/ssh_known_hosts ] 01:58:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:58:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:58:01 + sudo tee -a /etc/ssh/ssh_known_hosts 01:58:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:02 01:58:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:02 0.1.4: Pulling from edgex-devops/py-git-semver 01:58:02 b85a868b505f: Pulling fs layer 01:58:02 e2be974225ed: Pulling fs layer 01:58:02 339a4e72a1f5: Pulling fs layer 01:58:02 988bab9f4d93: Pulling fs layer 01:58:02 1469e6f7b9e6: Pulling fs layer 01:58:02 eaf3925da568: Pulling fs layer 01:58:02 bab4dde63d76: Pulling fs layer 01:58:02 bde34c3a00c8: Pulling fs layer 01:58:02 b352a97aabf1: Pulling fs layer 01:58:02 4872d77fe225: Pulling fs layer 01:58:02 5851b861e8e6: Pulling fs layer 01:58:02 eaf3925da568: Waiting 01:58:02 bab4dde63d76: Waiting 01:58:02 988bab9f4d93: Waiting 01:58:02 bde34c3a00c8: Waiting 01:58:02 b352a97aabf1: Waiting 01:58:02 4872d77fe225: Waiting 01:58:02 5851b861e8e6: Waiting 01:58:02 1469e6f7b9e6: Waiting 01:58:02 e2be974225ed: Verifying Checksum 01:58:02 988bab9f4d93: Verifying Checksum 01:58:02 988bab9f4d93: Download complete 01:58:02 339a4e72a1f5: Verifying Checksum 01:58:02 339a4e72a1f5: Download complete 01:58:02 eaf3925da568: Download complete 01:58:02 1469e6f7b9e6: Verifying Checksum 01:58:02 1469e6f7b9e6: Download complete 01:58:02 bde34c3a00c8: Download complete 01:58:03 b352a97aabf1: Verifying Checksum 01:58:03 b352a97aabf1: Download complete 01:58:03 4872d77fe225: Download complete 01:58:03 5851b861e8e6: Verifying Checksum 01:58:03 5851b861e8e6: Download complete 01:58:03 b85a868b505f: Verifying Checksum 01:58:03 b85a868b505f: Download complete 01:58:03 bab4dde63d76: Verifying Checksum 01:58:03 bab4dde63d76: Download complete 01:58:04 b85a868b505f: Pull complete 01:58:04 e2be974225ed: Pull complete 01:58:05 339a4e72a1f5: Pull complete 01:58:05 988bab9f4d93: Pull complete 01:58:05 1469e6f7b9e6: Pull complete 01:58:05 eaf3925da568: Pull complete 01:58:07 bab4dde63d76: Pull complete 01:58:07 bde34c3a00c8: Pull complete 01:58:07 b352a97aabf1: Pull complete 01:58:07 4872d77fe225: Pull complete 01:58:07 5851b861e8e6: Pull complete 01:58:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:58:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:08 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 01:58: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:58:10 $ docker top 60c0413cd524cb5c2aaac4b6617e2df719ed1f6fb59454b5127f1d4dcb9e4ffe -eo pid,comm 01:58:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:58:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:10 [ssh-agent] Looking for ssh-agent implementation... 01:58:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:10 $ docker exec 60c0413cd524cb5c2aaac4b6617e2df719ed1f6fb59454b5127f1d4dcb9e4ffe ssh-agent 01:58:10 SSH_AUTH_SOCK=/tmp/ssh-jmwToizaUw75/agent.32 01:58:10 SSH_AGENT_PID=38 01:58:10 Running ssh-add (command line suppressed) 01:58:10 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13825979227715015994.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13825979227715015994.key) 01:58:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:11 + git tag --points-at HEAD [Pipeline] } 01:58:11 $ docker exec --env ******** --env ******** 60c0413cd524cb5c2aaac4b6617e2df719ed1f6fb59454b5127f1d4dcb9e4ffe ssh-agent -k 01:58:11 unset SSH_AUTH_SOCK; 01:58:11 unset SSH_AGENT_PID; 01:58:11 echo Agent pid 38 killed; 01:58:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:58:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:11 [ssh-agent] Looking for ssh-agent implementation... 01:58:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:11 $ docker exec 60c0413cd524cb5c2aaac4b6617e2df719ed1f6fb59454b5127f1d4dcb9e4ffe ssh-agent 01:58:11 SSH_AUTH_SOCK=/tmp/ssh-2mKRihWJpUA7/agent.70 01:58:11 SSH_AGENT_PID=76 01:58:11 Running ssh-add (command line suppressed) 01:58:11 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13869279213360249444.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13869279213360249444.key) 01:58:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:11 + git semver init 01:58:12 2023-05-10 01:58:12,200 [run_init] DEBUG init version:0.0.0 force:False 01:58:12 2023-05-10 01:58:12,201 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 01:58:12 2023-05-10 01:58:12,201 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 01:58:12 2023-05-10 01:58:12,202 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 01:58:13 2023-05-10 01:58:13,193 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 01:58:13 2023-05-10 01:58:13,193 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 01:58:13 2023-05-10 01:58:13,194 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:58:13 2023-05-10 01:58:13,194 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 01:58:13 3.0.0-dev.32 [Pipeline] } 01:58:13 $ docker exec --env ******** --env ******** 60c0413cd524cb5c2aaac4b6617e2df719ed1f6fb59454b5127f1d4dcb9e4ffe ssh-agent -k 01:58:13 unset SSH_AUTH_SOCK; 01:58:13 unset SSH_AGENT_PID; 01:58:13 echo Agent pid 76 killed; 01:58:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:13 + git semver [Pipeline] } 01:58:14 $ docker stop --time=1 60c0413cd524cb5c2aaac4b6617e2df719ed1f6fb59454b5127f1d4dcb9e4ffe 01:58:15 $ docker rm -f --volumes 60c0413cd524cb5c2aaac4b6617e2df719ed1f6fb59454b5127f1d4dcb9e4ffe [Pipeline] // withDockerContainer [Pipeline] sh 01:58:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:58:16 Stashed 1 file(s) [Pipeline] echo 01:58:16 [edgeXSemver]: initialized semver on version 3.0.0-dev.32 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:16 provisioning config files... 01:58:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config17758732677304075179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:16 ---> docker-login.sh 01:58:16 nexus3.edgexfoundry.org:10001 01:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:16 Configure a credential helper to remove this warning. See 01:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:16 01:58:16 Login Succeeded 01:58:16 nexus3.edgexfoundry.org:10002 01:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:16 Configure a credential helper to remove this warning. See 01:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:16 01:58:16 Login Succeeded 01:58:16 nexus3.edgexfoundry.org:10003 01:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:16 Configure a credential helper to remove this warning. See 01:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:16 01:58:16 Login Succeeded 01:58:16 nexus3.edgexfoundry.org:10004 01:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:17 Configure a credential helper to remove this warning. See 01:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:17 01:58:17 Login Succeeded 01:58:17 docker.io 01:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:17 Configure a credential helper to remove this warning. See 01:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:17 01:58:17 Login Succeeded 01:58:17 ---> docker-login.sh ends [Pipeline] } 01:58:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:58:17 ========================================================= 01:58:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:58:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:17 + 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 . 01:58:17 Sending build context to Docker daemon 12.64MB 01:58:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:58:17 Step 2/12 : FROM ${BASE} AS builder 01:58:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:58:17 f56be85fc22e: Pulling fs layer 01:58:17 85791d961cd3: Pulling fs layer 01:58:17 d694b5ae8c79: Pulling fs layer 01:58:17 9f32a84ed3da: Pulling fs layer 01:58:17 4d19c01a9841: Pulling fs layer 01:58:17 9325e15d5711: Pulling fs layer 01:58:17 556b6ee489ea: Pulling fs layer 01:58:17 c5a4b2cf53e6: Pulling fs layer 01:58:17 9f32a84ed3da: Waiting 01:58:17 4d19c01a9841: Waiting 01:58:17 556b6ee489ea: Waiting 01:58:17 9325e15d5711: Waiting 01:58:17 85791d961cd3: Verifying Checksum 01:58:17 85791d961cd3: Download complete 01:58:17 9f32a84ed3da: Verifying Checksum 01:58:17 9f32a84ed3da: Download complete 01:58:17 4d19c01a9841: Download complete 01:58:17 f56be85fc22e: Verifying Checksum 01:58:17 f56be85fc22e: Download complete 01:58:17 9325e15d5711: Verifying Checksum 01:58:17 9325e15d5711: Download complete 01:58:18 f56be85fc22e: Pull complete 01:58:18 85791d961cd3: Pull complete 01:58:18 d694b5ae8c79: Verifying Checksum 01:58:18 d694b5ae8c79: Download complete 01:58:18 c5a4b2cf53e6: Verifying Checksum 01:58:18 c5a4b2cf53e6: Download complete 01:58:18 556b6ee489ea: Verifying Checksum 01:58:18 556b6ee489ea: Download complete 01:58:22 d694b5ae8c79: Pull complete 01:58:22 9f32a84ed3da: Pull complete 01:58:22 4d19c01a9841: Pull complete 01:58:22 9325e15d5711: Pull complete 01:58:24 556b6ee489ea: Pull complete 01:58:25 c5a4b2cf53e6: Pull complete 01:58:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:58:25 ---> c4be618373d6 01:58:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 01:58:29 ---> Running in faedd8c1a067 01:58:29 Removing intermediate container faedd8c1a067 01:58:29 ---> 7b461d1d822e 01:58:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:58:29 ---> Running in 4f02e60e8cb4 01:58:29 Removing intermediate container 4f02e60e8cb4 01:58:29 ---> eca340423324 01:58:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:58:29 ---> Running in daebada8db01 01:58:29 Removing intermediate container daebada8db01 01:58:29 ---> 40e01267e288 01:58:29 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:58:29 ---> Running in 22f4a5521f6c 01:58:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:58:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:58:29 OK: 265 MiB in 53 packages 01:58:30 Removing intermediate container 22f4a5521f6c 01:58:30 ---> ab6eb6a41214 01:58:30 Step 7/12 : WORKDIR /app 01:58:30 ---> Running in 78a5491f66a2 01:58:30 Removing intermediate container 78a5491f66a2 01:58:30 ---> 9d8c46d06473 01:58:30 Step 8/12 : COPY go.mod vendor* ./ 01:58:30 ---> e33a0fc5d8d0 01:58:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:30 ---> Running in 88ea3603e342 01:58:31 Still waiting to schedule task 01:58:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 01:58:57 Removing intermediate container 88ea3603e342 01:58:57 ---> 8a1fdeafe648 01:58:57 Step 10/12 : COPY . . 01:58:57 ---> 7b348d601c7e 01:58:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:58:57 ---> Running in 938b9e37d5fa 01:58:57 Removing intermediate container 938b9e37d5fa 01:58:57 ---> 723318504a7c 01:58:57 Step 12/12 : RUN $MAKE 01:58:57 ---> Running in 0a2e3e166043 01:58:57 noop 01:58:57 Removing intermediate container 0a2e3e166043 01:58:57 ---> 98c1097d66db 01:58:57 Successfully built 98c1097d66db 01:58:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:57 + docker inspect -f . ci-base-image-x86_64 01:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:57 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 01:58:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:58:58 $ docker top f7e8bdf1b2020481aaea98f05aa86a4beda5c6366777f9138be4eaf703ef2d4c -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:58 + go version 01:58:58 go version go1.20.2 linux/amd64 [Pipeline] } 01:58:58 $ docker stop --time=1 f7e8bdf1b2020481aaea98f05aa86a4beda5c6366777f9138be4eaf703ef2d4c 01:58:59 $ docker rm -f --volumes f7e8bdf1b2020481aaea98f05aa86a4beda5c6366777f9138be4eaf703ef2d4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:00 + docker inspect -f . ci-base-image-x86_64 01:59:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:00 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 01:59:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:59:00 $ docker top 633558e1cf1803b94e25726d20fb70e476ff0d86118307b9ef8f0ebac9a7997c -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:01 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 01:59:01 + make test 01:59:01 go test -race ./... -coverprofile=coverage.out ./... 01:59:23 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 01:59:23 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 01:59:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.147s coverage: 86.2% of statements 01:59:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.689s coverage: 71.9% of statements 01:59:45 go vet ./... 01:59:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:59:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:59:45 ./bin/test-attribution.sh 01:59:45 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 01:59:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:59:45 $ docker stop --time=1 633558e1cf1803b94e25726d20fb70e476ff0d86118307b9ef8f0ebac9a7997c 01:59:49 $ docker rm -f --volumes 633558e1cf1803b94e25726d20fb70e476ff0d86118307b9ef8f0ebac9a7997c [Pipeline] // withDockerContainer [Pipeline] sh 01:59:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:59:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:59:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:59:50 + ls -al . 01:59:50 total 228 01:59:50 drwxrwxr-x 11 jenkins jenkins 4096 May 10 01:59 . 01:59:50 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:57 .. 01:59:50 -rw-rw-r-- 1 jenkins jenkins 262 May 10 01:57 .dockerignore 01:59:50 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:58 .git 01:59:50 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:57 .github 01:59:50 -rw-rw-r-- 1 jenkins jenkins 788 May 10 01:57 .gitignore 01:59:50 -rw-rw-r-- 1 jenkins jenkins 41 May 10 01:57 .golangci.yml 01:59:50 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:58 .semver 01:59:50 -rw-rw-r-- 1 jenkins jenkins 9805 May 10 01:57 Attribution.txt 01:59:50 -rw-rw-r-- 1 jenkins jenkins 4331 May 10 01:57 CHANGELOG.md 01:59:50 -rw-rw-r-- 1 jenkins jenkins 1659 May 10 01:57 Dockerfile 01:59:50 -rw-rw-r-- 1 jenkins jenkins 677 May 10 01:57 GOVERNANCE.md 01:59:50 -rw-rw-r-- 1 jenkins jenkins 687 May 10 01:57 Jenkinsfile 01:59:50 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 01:57 LICENSE 01:59:50 -rw-rw-r-- 1 jenkins jenkins 2497 May 10 01:57 Makefile 01:59:50 -rw-rw-r-- 1 jenkins jenkins 617 May 10 01:57 OWNERS.md 01:59:50 -rw-rw-r-- 1 jenkins jenkins 31001 May 10 01:57 README.md 01:59:50 -rw-rw-r-- 1 jenkins jenkins 12 May 10 01:58 VERSION 01:59:50 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:57 bin 01:59:50 -rw-r--r-- 1 jenkins jenkins 41317 May 10 01:59 coverage.out 01:59:50 -rw-rw-r-- 1 jenkins jenkins 3467 May 10 01:57 go.mod 01:59:50 -rw-rw-r-- 1 jenkins jenkins 31505 May 10 01:57 go.sum 01:59:50 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:57 images 01:59:50 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:57 internal 01:59:50 -rw-rw-r-- 1 jenkins jenkins 531 May 10 01:57 main.go 01:59:50 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:57 res 01:59:50 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:57 snap 01:59:50 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:57 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:51 + 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=bc9e117a94d755a571010ed0c8b643b5feaef654 --label arch=amd64 --label version=3.0.0-dev.32 . 01:59:51 Sending build context to Docker daemon 12.64MB 01:59:51 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 01:59:51 Step 2/29 : FROM ${BASE} AS builder 01:59:51 ---> 98c1097d66db 01:59:51 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 01:59:51 ---> Running in 6f46d2848b9b 01:59:51 Removing intermediate container 6f46d2848b9b 01:59:51 ---> b5d3293f2b4d 01:59:51 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 01:59:51 ---> Running in a27b7fc1bd4f 01:59:51 Removing intermediate container a27b7fc1bd4f 01:59:51 ---> 2bc13ed952d3 01:59:51 Step 5/29 : ARG ADD_BUILD_TAGS="" 01:59:51 ---> Running in 050df71bb20b 01:59:51 Removing intermediate container 050df71bb20b 01:59:51 ---> 923cdbd7ebca 01:59:51 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:51 ---> Running in 6c2b0ec5c82d 01:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:59:52 OK: 265 MiB in 53 packages 01:59:52 Removing intermediate container 6c2b0ec5c82d 01:59:52 ---> 6c3f033a6100 01:59:52 Step 7/29 : WORKDIR /app 01:59:52 ---> Running in 25541765ead2 01:59:52 Removing intermediate container 25541765ead2 01:59:52 ---> 613294f5657c 01:59:52 Step 8/29 : COPY go.mod vendor* ./ 01:59:52 ---> a30ce957aea9 01:59:52 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:52 ---> Running in e86307073399 01:59:53 Removing intermediate container e86307073399 01:59:53 ---> e630987b4259 01:59:53 Step 10/29 : COPY . . 01:59:53 ---> 683d0e773b2f 01:59:53 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:53 ---> Running in d6383449fd45 01:59:53 Removing intermediate container d6383449fd45 01:59:53 ---> 3e585b29015e 01:59:53 Step 12/29 : RUN $MAKE 01:59:53 ---> Running in efe531e42939 01:59:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.62 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.32 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.32" -trimpath -mod=readonly -o app-rfid-llrp-inventory 02:00:16 Removing intermediate container efe531e42939 02:00:16 ---> 6e2eeeb08b02 02:00:16 Step 13/29 : FROM alpine:3.17 02:00:16 3.17: Pulling from library/alpine 02:00:16 f56be85fc22e: Already exists 02:00:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:00:16 Status: Downloaded newer image for alpine:3.17 02:00:16 ---> 9ed4aefc74f6 02:00:16 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:00:16 ---> Running in 967a5f25d575 02:00:16 Removing intermediate container 967a5f25d575 02:00:16 ---> 51e359bdfe01 02:00:16 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 02:00:16 ---> Running in e0cd11683413 02:00:16 Removing intermediate container e0cd11683413 02:00:16 ---> 8b78183f365e 02:00:16 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 02:00:16 ---> Running in af21cbdbb3ee 02:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:16 (1/2) Installing ca-certificates (20230506-r0) 02:00:16 (2/2) Installing dumb-init (1.2.5-r2) 02:00:16 Executing busybox-1.35.0-r29.trigger 02:00:16 Executing ca-certificates-20230506-r0.trigger 02:00:16 OK: 8 MiB in 17 packages 02:00:16 Removing intermediate container af21cbdbb3ee 02:00:16 ---> 52d48b4655cd 02:00:16 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 02:00:16 ---> 168e17601af3 02:00:16 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 02:00:16 ---> 1d079bca7f6f 02:00:16 Step 19/29 : COPY --from=builder /app/res/ /res/ 02:00:16 ---> b27f6709df0f 02:00:16 Step 20/29 : COPY --from=builder /app/static/ /static/ 02:00:16 ---> bad5cf2fbc0e 02:00:16 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 02:00:16 ---> fa724dd35ef4 02:00:16 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 02:00:16 ---> Running in 9f530475e8ec 02:00:16 Removing intermediate container 9f530475e8ec 02:00:16 ---> 9a911a709bcd 02:00:16 Step 23/29 : VOLUME /cache 02:00:16 ---> Running in 619bdf0d69d0 02:00:16 Removing intermediate container 619bdf0d69d0 02:00:16 ---> 84ae791e8885 02:00:16 Step 24/29 : EXPOSE 59711 02:00:16 ---> Running in 0951e8a52c1c 02:00:16 Removing intermediate container 0951e8a52c1c 02:00:16 ---> 65c0c0f3bc83 02:00:16 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 02:00:16 ---> Running in e15ab5d0d068 02:00:16 Removing intermediate container e15ab5d0d068 02:00:16 ---> f168a9f8b10e 02:00:16 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 02:00:16 ---> Running in cfd868d1aaae 02:00:17 Removing intermediate container cfd868d1aaae 02:00:17 ---> 7afa4e340ba5 02:00:17 Step 27/29 : LABEL arch=amd64 02:00:17 ---> Running in 34dd31d45bd1 02:00:17 Removing intermediate container 34dd31d45bd1 02:00:17 ---> ed32ab099ce9 02:00:17 Step 28/29 : LABEL git_sha=bc9e117a94d755a571010ed0c8b643b5feaef654 02:00:17 ---> Running in c5fadb79aa85 02:00:17 Removing intermediate container c5fadb79aa85 02:00:17 ---> 98ce9a8acf34 02:00:17 Step 29/29 : LABEL version=3.0.0-dev.32 02:00:17 ---> Running in ab2fd9d7c26f 02:00:17 Removing intermediate container ab2fd9d7c26f 02:00:17 ---> 79d380ab37fa 02:00:17 [Warning] One or more build-args [ARCH] were not consumed 02:00:17 Successfully built 79d380ab37fa 02:00:17 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 02:00:17 provisioning config files... 02:00:17 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4013469840377680677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:17 ---> docker-login.sh 02:00:17 nexus3.edgexfoundry.org:10001 02:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:17 Configure a credential helper to remove this warning. See 02:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:17 02:00:17 Login Succeeded 02:00:17 nexus3.edgexfoundry.org:10002 02:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:17 Configure a credential helper to remove this warning. See 02:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:17 02:00:17 Login Succeeded 02:00:17 nexus3.edgexfoundry.org:10003 02:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:18 Configure a credential helper to remove this warning. See 02:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:18 02:00:18 Login Succeeded 02:00:18 nexus3.edgexfoundry.org:10004 02:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:18 Configure a credential helper to remove this warning. See 02:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:18 02:00:18 Login Succeeded 02:00:18 docker.io 02:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:18 Configure a credential helper to remove this warning. See 02:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:18 02:00:18 Login Succeeded 02:00:18 ---> docker-login.sh ends [Pipeline] } 02:00:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:18 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 02:00:18 bc9e117a94d755a571010ed0c8b643b5feaef654 02:00:18 latest 02:00:18 3.0.0-dev.32 02:00:18 bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 02:00:18 main 02:00:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:18 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:19 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bc9e117a94d755a571010ed0c8b643b5feaef654 02:00:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 02:00:19 9cb12844d846: Preparing 02:00:19 83e8566b55ee: Preparing 02:00:19 274bada7c308: Preparing 02:00:19 616bedc9b425: Preparing 02:00:19 b2da87b5cdfa: Preparing 02:00:19 692ca495bb22: Preparing 02:00:19 40fcd9efbd89: Preparing 02:00:19 f1417ff83b31: Preparing 02:00:19 692ca495bb22: Waiting 02:00:19 40fcd9efbd89: Waiting 02:00:19 f1417ff83b31: Waiting 02:00:19 b2da87b5cdfa: Pushed 02:00:19 274bada7c308: Pushed 02:00:19 9cb12844d846: Pushed 02:00:19 616bedc9b425: Pushed 02:00:19 f1417ff83b31: Layer already exists 02:00:19 692ca495bb22: Pushed 02:00:19 40fcd9efbd89: Pushed 02:00:22 83e8566b55ee: Pushed 02:00:22 bc9e117a94d755a571010ed0c8b643b5feaef654: digest: sha256:f6df6f46be3031caba2fdcfa5906122bea1c2471ac69fdb326d230603c224758 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:22 + 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 02:00:22 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 02:00:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 02:00:22 9cb12844d846: Preparing 02:00:22 83e8566b55ee: Preparing 02:00:22 274bada7c308: Preparing 02:00:22 616bedc9b425: Preparing 02:00:22 b2da87b5cdfa: Preparing 02:00:22 692ca495bb22: Preparing 02:00:22 40fcd9efbd89: Preparing 02:00:22 f1417ff83b31: Preparing 02:00:22 692ca495bb22: Waiting 02:00:22 40fcd9efbd89: Waiting 02:00:22 f1417ff83b31: Waiting 02:00:22 616bedc9b425: Layer already exists 02:00:22 9cb12844d846: Layer already exists 02:00:22 83e8566b55ee: Layer already exists 02:00:22 274bada7c308: Layer already exists 02:00:22 b2da87b5cdfa: Layer already exists 02:00:22 40fcd9efbd89: Layer already exists 02:00:22 692ca495bb22: Layer already exists 02:00:22 f1417ff83b31: Layer already exists 02:00:22 latest: digest: sha256:f6df6f46be3031caba2fdcfa5906122bea1c2471ac69fdb326d230603c224758 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:23 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:23 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.32 02:00:23 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 02:00:23 9cb12844d846: Preparing 02:00:23 83e8566b55ee: Preparing 02:00:23 274bada7c308: Preparing 02:00:23 616bedc9b425: Preparing 02:00:23 b2da87b5cdfa: Preparing 02:00:23 692ca495bb22: Preparing 02:00:23 40fcd9efbd89: Preparing 02:00:23 f1417ff83b31: Preparing 02:00:23 692ca495bb22: Waiting 02:00:23 40fcd9efbd89: Waiting 02:00:23 f1417ff83b31: Waiting 02:00:23 616bedc9b425: Layer already exists 02:00:23 83e8566b55ee: Layer already exists 02:00:23 9cb12844d846: Layer already exists 02:00:23 b2da87b5cdfa: Layer already exists 02:00:23 274bada7c308: Layer already exists 02:00:23 692ca495bb22: Layer already exists 02:00:23 40fcd9efbd89: Layer already exists 02:00:23 f1417ff83b31: Layer already exists 02:00:23 3.0.0-dev.32: digest: sha256:f6df6f46be3031caba2fdcfa5906122bea1c2471ac69fdb326d230603c224758 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:23 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:24 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 02:00:24 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 02:00:24 9cb12844d846: Preparing 02:00:24 83e8566b55ee: Preparing 02:00:24 274bada7c308: Preparing 02:00:24 616bedc9b425: Preparing 02:00:24 b2da87b5cdfa: Preparing 02:00:24 692ca495bb22: Preparing 02:00:24 40fcd9efbd89: Preparing 02:00:24 f1417ff83b31: Preparing 02:00:24 40fcd9efbd89: Waiting 02:00:24 f1417ff83b31: Waiting 02:00:24 692ca495bb22: Waiting 02:00:24 83e8566b55ee: Layer already exists 02:00:24 9cb12844d846: Layer already exists 02:00:24 274bada7c308: Layer already exists 02:00:24 616bedc9b425: Layer already exists 02:00:24 b2da87b5cdfa: Layer already exists 02:00:24 692ca495bb22: Layer already exists 02:00:24 40fcd9efbd89: Layer already exists 02:00:24 f1417ff83b31: Layer already exists 02:00:24 bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32: digest: sha256:f6df6f46be3031caba2fdcfa5906122bea1c2471ac69fdb326d230603c224758 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:24 + 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 02:00:24 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 02:00:24 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 02:00:24 9cb12844d846: Preparing 02:00:24 83e8566b55ee: Preparing 02:00:24 274bada7c308: Preparing 02:00:24 616bedc9b425: Preparing 02:00:24 b2da87b5cdfa: Preparing 02:00:24 692ca495bb22: Preparing 02:00:24 40fcd9efbd89: Preparing 02:00:24 f1417ff83b31: Preparing 02:00:24 692ca495bb22: Waiting 02:00:24 f1417ff83b31: Waiting 02:00:24 40fcd9efbd89: Waiting 02:00:24 616bedc9b425: Layer already exists 02:00:24 83e8566b55ee: Layer already exists 02:00:24 b2da87b5cdfa: Layer already exists 02:00:24 9cb12844d846: Layer already exists 02:00:24 274bada7c308: Layer already exists 02:00:24 692ca495bb22: Layer already exists 02:00:24 40fcd9efbd89: Layer already exists 02:00:24 f1417ff83b31: Layer already exists 02:00:24 main: digest: sha256:f6df6f46be3031caba2fdcfa5906122bea1c2471ac69fdb326d230603c224758 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:24 ===================================================== [Pipeline] echo 02:00:24 taggedImages: 02:00:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bc9e117a94d755a571010ed0c8b643b5feaef654 02:00:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 02:00:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.32 02:00:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 02:00:24 - 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 02:00:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:25 02:00:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:25 latest: Pulling from edgex-lftools-log-publisher 02:00:25 5eb5b503b376: Pulling fs layer 02:00:25 5c69ac0246d0: Pulling fs layer 02:00:25 ec43610c2a17: Pulling fs layer 02:00:25 3a2ae6a8a46f: Pulling fs layer 02:00:25 33b1e0a273af: Pulling fs layer 02:00:25 5d3b04190fa2: Pulling fs layer 02:00:25 2f39f015ded8: Pulling fs layer 02:00:25 33b1e0a273af: Waiting 02:00:25 5d3b04190fa2: Waiting 02:00:25 2f39f015ded8: Waiting 02:00:25 3a2ae6a8a46f: Waiting 02:00:25 5c69ac0246d0: Verifying Checksum 02:00:25 5c69ac0246d0: Download complete 02:00:25 3a2ae6a8a46f: Verifying Checksum 02:00:25 3a2ae6a8a46f: Download complete 02:00:25 33b1e0a273af: Verifying Checksum 02:00:25 33b1e0a273af: Download complete 02:00:25 5d3b04190fa2: Download complete 02:00:25 ec43610c2a17: Verifying Checksum 02:00:25 ec43610c2a17: Download complete 02:00:25 5eb5b503b376: Verifying Checksum 02:00:25 5eb5b503b376: Download complete 02:00:26 2f39f015ded8: Verifying Checksum 02:00:26 2f39f015ded8: Download complete 02:00:26 5eb5b503b376: Pull complete 02:00:27 5c69ac0246d0: Pull complete 02:00:27 ec43610c2a17: Pull complete 02:00:27 3a2ae6a8a46f: Pull complete 02:00:27 33b1e0a273af: Pull complete 02:00:27 5d3b04190fa2: Pull complete 02:00:32 2f39f015ded8: Pull complete 02:00:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:32 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 02:00:32 $ 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 02:00:35 $ docker top 395e86501f3fb2e8d8880b23846bb0907031a8d41cc890ee7e0aa93efa3cc34c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:36 ---> job-cost.sh 02:00:36 lf-activate-venv: SKIPPING 02:00:36 INFO: No Stack... 02:00:36 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:36 INFO: Archiving Costs [Pipeline] sh 02:00:37 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 02:00:37 + cut -d, -f6 [Pipeline] lock 02:00:37 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] 02:00:37 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] did not exist. Created. 02:00:37 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:00:37 + echo total: 0.2199999988079071 [Pipeline] stash 02:00:37 Stashed 1 file(s) [Pipeline] } 02:00:37 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 02:00:37 $ docker stop --time=1 395e86501f3fb2e8d8880b23846bb0907031a8d41cc890ee7e0aa93efa3cc34c 02:00:38 $ docker rm -f --volumes 395e86501f3fb2e8d8880b23846bb0907031a8d41cc890ee7e0aa93efa3cc34c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14867 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 02:01:17 Running in /w/workspace/app-rfid-llrp-inventory/101 [Pipeline] { [Pipeline] checkout 02:01:17 The recommended git tool is: git 02:01:24 using credential edgex-jenkins-ssh 02:01:24 Cloning the remote Git repository 02:01:24 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 02:01:24 > git init /w/workspace/app-rfid-llrp-inventory/101 # timeout=10 02:01:24 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 02:01:24 > git --version # timeout=10 02:01:24 > git --version # 'git version 2.25.1' 02:01:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:27 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 02:01:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:28 Avoid second fetch 02:01:28 Checking out Revision bc9e117a94d755a571010ed0c8b643b5feaef654 (main) 02:01:28 > git config core.sparsecheckout # timeout=10 02:01:28 > git checkout -f bc9e117a94d755a571010ed0c8b643b5feaef654 # timeout=10 02:01:29 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#190)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:01:30 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:30 Dload Upload Total Spent Left Speed 02:01:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 02:01:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:01:31 + sudo tee /etc/docker/daemon.new 02:01:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:01:31 { 02:01:31 "registry-mirrors": [ 02:01:31 "https://nexus3.edgexfoundry.org:10001" 02:01:31 ], 02:01:31 "bip": "10.250.0.254/24", 02:01:31 "hosts": [ 02:01:31 "tcp://0.0.0.0:5555", 02:01:31 "unix:///var/run/docker.sock" 02:01:31 ], 02:01:31 "mtu": 1458, 02:01:31 "selinux-enabled": true, 02:01:31 "seccomp-profile": "/etc/docker/seccomp.json" 02:01:31 } [Pipeline] sh 02:01:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:01:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:50 provisioning config files... 02:01:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/101@tmp/config11101127323430096882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:50 ---> docker-login.sh 02:01:50 nexus3.edgexfoundry.org:10001 02:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:51 Configure a credential helper to remove this warning. See 02:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:51 02:01:51 Login Succeeded 02:01:51 nexus3.edgexfoundry.org:10002 02:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:51 Configure a credential helper to remove this warning. See 02:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:51 02:01:51 Login Succeeded 02:01:51 nexus3.edgexfoundry.org:10003 02:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:51 Configure a credential helper to remove this warning. See 02:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:51 02:01:51 Login Succeeded 02:01:51 nexus3.edgexfoundry.org:10004 02:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:52 Configure a credential helper to remove this warning. See 02:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:52 02:01:52 Login Succeeded 02:01:52 docker.io 02:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:53 Configure a credential helper to remove this warning. See 02:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:53 02:01:53 Login Succeeded 02:01:53 ---> docker-login.sh ends [Pipeline] } 02:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:53 ========================================================= 02:01:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:01:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:53 + 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 . 02:01:54 Sending build context to Docker daemon 678.4kB 02:01:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:54 Step 2/12 : FROM ${BASE} AS builder 02:01:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:01:54 c41833b44d91: Pulling fs layer 02:01:54 ed15518f5707: Pulling fs layer 02:01:54 feae8fd75edb: Pulling fs layer 02:01:54 242c74f7c9fa: Pulling fs layer 02:01:54 3cdef696dda3: Pulling fs layer 02:01:54 2ced38df9373: Pulling fs layer 02:01:54 58f1dce35555: Pulling fs layer 02:01:54 242c74f7c9fa: Waiting 02:01:54 3cdef696dda3: Waiting 02:01:54 2ced38df9373: Waiting 02:01:54 58f1dce35555: Waiting 02:01:54 ed15518f5707: Verifying Checksum 02:01:54 ed15518f5707: Download complete 02:01:54 242c74f7c9fa: Verifying Checksum 02:01:54 242c74f7c9fa: Download complete 02:01:54 3cdef696dda3: Verifying Checksum 02:01:54 3cdef696dda3: Download complete 02:01:54 c41833b44d91: Verifying Checksum 02:01:54 c41833b44d91: Download complete 02:01:55 58f1dce35555: Verifying Checksum 02:01:55 58f1dce35555: Download complete 02:01:56 c41833b44d91: Pull complete 02:01:56 ed15518f5707: Pull complete 02:01:56 feae8fd75edb: Verifying Checksum 02:01:56 feae8fd75edb: Download complete 02:01:57 2ced38df9373: Verifying Checksum 02:01:57 2ced38df9373: Download complete 02:02:07 feae8fd75edb: Pull complete 02:02:07 242c74f7c9fa: Pull complete 02:02:07 3cdef696dda3: Pull complete 02:02:14 2ced38df9373: Pull complete 02:02:16 58f1dce35555: Pull complete 02:02:16 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:02:16 ---> fadd8f120f05 02:02:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 02:02:18 ---> Running in e59e2f93a40e 02:02:18 Removing intermediate container e59e2f93a40e 02:02:18 ---> 05424e16e478 02:02:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:02:18 ---> Running in b7708ea495f2 02:02:19 Removing intermediate container b7708ea495f2 02:02:19 ---> 54be44fdb6e9 02:02:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:02:19 ---> Running in d8e0509eb4b0 02:02:19 Removing intermediate container d8e0509eb4b0 02:02:19 ---> 1da8b1e92619 02:02:19 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:19 ---> Running in a783137f24aa 02:02:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:02:22 OK: 263 MiB in 53 packages 02:02:23 Removing intermediate container a783137f24aa 02:02:23 ---> 594d3115092d 02:02:23 Step 7/12 : WORKDIR /app 02:02:23 ---> Running in a651004692ee 02:02:24 Removing intermediate container a651004692ee 02:02:24 ---> f58b2e13d4f9 02:02:24 Step 8/12 : COPY go.mod vendor* ./ 02:02:24 ---> 8a54f5bc7cae 02:02:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:24 ---> Running in d1635c2fd6e6 02:03:32 Removing intermediate container d1635c2fd6e6 02:03:32 ---> 4f1309ee70e2 02:03:32 Step 10/12 : COPY . . 02:03:32 ---> 4636a17dae67 02:03:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:32 ---> Running in 906a5c36ea47 02:03:32 Removing intermediate container 906a5c36ea47 02:03:32 ---> d867070686ac 02:03:32 Step 12/12 : RUN $MAKE 02:03:32 ---> Running in c6615ed8d806 02:03:32 noop 02:03:32 Removing intermediate container c6615ed8d806 02:03:32 ---> 0906defcda12 02:03:32 Successfully built 0906defcda12 02:03:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:32 + docker inspect -f . ci-base-image-arm64 02:03:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:33 prd-ubuntu20.04-docker-arm64-4c-16g-14867 does not seem to be running inside a container 02:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/101 -v /w/workspace/app-rfid-llrp-inventory/101:/w/workspace/app-rfid-llrp-inventory/101:rw,z -v /w/workspace/app-rfid-llrp-inventory/101@tmp:/w/workspace/app-rfid-llrp-inventory/101@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 02:03:34 $ docker top f7ab786e41d0aeffd9243618e61de954c677b23518b4f754623ed0a41c8b0d7d -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:35 + go version 02:03:35 go version go1.20.2 linux/arm64 [Pipeline] } 02:03:35 $ docker stop --time=1 f7ab786e41d0aeffd9243618e61de954c677b23518b4f754623ed0a41c8b0d7d 02:03:37 $ docker rm -f --volumes f7ab786e41d0aeffd9243618e61de954c677b23518b4f754623ed0a41c8b0d7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:37 + docker inspect -f . ci-base-image-arm64 02:03:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:37 prd-ubuntu20.04-docker-arm64-4c-16g-14867 does not seem to be running inside a container 02:03:37 $ 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/101 -v /w/workspace/app-rfid-llrp-inventory/101:/w/workspace/app-rfid-llrp-inventory/101:rw,z -v /w/workspace/app-rfid-llrp-inventory/101@tmp:/w/workspace/app-rfid-llrp-inventory/101@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 02:03:39 $ docker top 58a12c4fb25ccede5b73ce189d01a2e20d62411d5f0cdf20a136c4567e4c21a7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:40 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/101 [Pipeline] fileExists [Pipeline] sh 02:03:40 + make test 02:03:40 go test -race ./... -coverprofile=coverage.out ./... 02:06:47 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 02:06:47 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 02:06:47 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.298s coverage: 86.2% of statements 02:06:55 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.644s coverage: 71.9% of statements 02:06:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:06:56 go vet ./... 02:09:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:09:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:09:33 ./bin/test-attribution.sh 02:09:33 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:09:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:09:33 $ docker stop --time=1 58a12c4fb25ccede5b73ce189d01a2e20d62411d5f0cdf20a136c4567e4c21a7 02:09:36 $ docker rm -f --volumes 58a12c4fb25ccede5b73ce189d01a2e20d62411d5f0cdf20a136c4567e4c21a7 [Pipeline] // withDockerContainer [Pipeline] sh 02:09:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:09:38 Warning: overwriting stash ‘coverage-report’ 02:09:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:09:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:09:39 + ls -al . 02:09:39 total 224 02:09:39 drwxrwxr-x 10 jenkins jenkins 4096 May 10 02:03 . 02:09:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 02:01 .. 02:09:39 -rw-rw-r-- 1 jenkins jenkins 262 May 10 02:01 .dockerignore 02:09:39 drwxrwxr-x 8 jenkins jenkins 4096 May 10 02:01 .git 02:09:39 drwxrwxr-x 3 jenkins jenkins 4096 May 10 02:01 .github 02:09:39 -rw-rw-r-- 1 jenkins jenkins 788 May 10 02:01 .gitignore 02:09:39 -rw-rw-r-- 1 jenkins jenkins 41 May 10 02:01 .golangci.yml 02:09:39 -rw-rw-r-- 1 jenkins jenkins 9805 May 10 02:01 Attribution.txt 02:09:39 -rw-rw-r-- 1 jenkins jenkins 4331 May 10 02:01 CHANGELOG.md 02:09:39 -rw-rw-r-- 1 jenkins jenkins 1659 May 10 02:01 Dockerfile 02:09:39 -rw-rw-r-- 1 jenkins jenkins 677 May 10 02:01 GOVERNANCE.md 02:09:39 -rw-rw-r-- 1 jenkins jenkins 687 May 10 02:01 Jenkinsfile 02:09:39 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 02:01 LICENSE 02:09:39 -rw-rw-r-- 1 jenkins jenkins 2497 May 10 02:01 Makefile 02:09:39 -rw-rw-r-- 1 jenkins jenkins 617 May 10 02:01 OWNERS.md 02:09:39 -rw-rw-r-- 1 jenkins jenkins 31001 May 10 02:01 README.md 02:09:39 -rw-rw-r-- 1 jenkins jenkins 12 May 10 01:58 VERSION 02:09:39 drwxrwxr-x 2 jenkins jenkins 4096 May 10 02:01 bin 02:09:39 -rw-r--r-- 1 jenkins jenkins 41317 May 10 02:06 coverage.out 02:09:39 -rw-rw-r-- 1 jenkins jenkins 3467 May 10 02:01 go.mod 02:09:39 -rw-rw-r-- 1 jenkins jenkins 31505 May 10 02:01 go.sum 02:09:39 drwxrwxr-x 2 jenkins jenkins 4096 May 10 02:01 images 02:09:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 02:01 internal 02:09:39 -rw-rw-r-- 1 jenkins jenkins 531 May 10 02:01 main.go 02:09:39 drwxrwxr-x 2 jenkins jenkins 4096 May 10 02:01 res 02:09:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 02:01 snap 02:09:39 drwxrwxr-x 3 jenkins jenkins 4096 May 10 02:01 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:40 + 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=bc9e117a94d755a571010ed0c8b643b5feaef654 --label arch=arm64 --label version=3.0.0-dev.32 . 02:09:40 Sending build context to Docker daemon 678.4kB 02:09:40 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 02:09:40 Step 2/29 : FROM ${BASE} AS builder 02:09:40 ---> 0906defcda12 02:09:40 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 02:09:40 ---> Running in fe10c1cf342e 02:09:41 Removing intermediate container fe10c1cf342e 02:09:41 ---> c78d83749940 02:09:41 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 02:09:41 ---> Running in a42eec02d3ef 02:09:41 Removing intermediate container a42eec02d3ef 02:09:41 ---> 0b2b4870ec10 02:09:41 Step 5/29 : ARG ADD_BUILD_TAGS="" 02:09:41 ---> Running in 1c79aca30950 02:09:41 Removing intermediate container 1c79aca30950 02:09:41 ---> a637ca8e6008 02:09:41 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:09:41 ---> Running in fb9088fa9be3 02:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:09:44 OK: 263 MiB in 53 packages 02:09:45 Removing intermediate container fb9088fa9be3 02:09:45 ---> 528a095d4359 02:09:45 Step 7/29 : WORKDIR /app 02:09:45 ---> Running in 07ab5d96c7e8 02:09:46 Removing intermediate container 07ab5d96c7e8 02:09:46 ---> 99323ac3f073 02:09:46 Step 8/29 : COPY go.mod vendor* ./ 02:09:46 ---> 3b41a8935d94 02:09:46 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:09:46 ---> Running in 20ed73af5f2b 02:09:49 Removing intermediate container 20ed73af5f2b 02:09:49 ---> 4614f93d30bf 02:09:49 Step 10/29 : COPY . . 02:09:50 ---> 40577f8f5e4b 02:09:50 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:09:50 ---> Running in 78db17958d05 02:09:50 Removing intermediate container 78db17958d05 02:09:50 ---> 11ec3818a89f 02:09:50 Step 12/29 : RUN $MAKE 02:09:50 ---> Running in c802ddf29a3a 02:09:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.62 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.32 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.32" -trimpath -mod=readonly -o app-rfid-llrp-inventory 02:12:13 Removing intermediate container c802ddf29a3a 02:12:13 ---> dbb0c1d12b77 02:12:13 Step 13/29 : FROM alpine:3.17 02:12:13 3.17: Pulling from library/alpine 02:12:13 c41833b44d91: Already exists 02:12:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:12:13 Status: Downloaded newer image for alpine:3.17 02:12:13 ---> 51e60588ff2c 02:12:13 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:12:13 ---> Running in 1461055a5e31 02:12:13 Removing intermediate container 1461055a5e31 02:12:13 ---> 6eb4f4c81b82 02:12:13 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 02:12:13 ---> Running in c81d1e30a484 02:12:13 Removing intermediate container c81d1e30a484 02:12:13 ---> dff3e6441d5c 02:12:13 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 02:12:13 ---> Running in 16f86421ae26 02:12:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:12:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:12:14 (1/2) Installing ca-certificates (20230506-r0) 02:12:14 (2/2) Installing dumb-init (1.2.5-r2) 02:12:14 Executing busybox-1.35.0-r29.trigger 02:12:14 Executing ca-certificates-20230506-r0.trigger 02:12:14 OK: 8 MiB in 17 packages 02:12:15 Removing intermediate container 16f86421ae26 02:12:15 ---> aaa6237a8503 02:12:15 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 02:12:16 ---> c090aea6d2f4 02:12:16 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 02:12:16 ---> 2a2f5bd7baed 02:12:16 Step 19/29 : COPY --from=builder /app/res/ /res/ 02:12:17 ---> b585d3d942f5 02:12:17 Step 20/29 : COPY --from=builder /app/static/ /static/ 02:12:17 ---> 57168e0685f1 02:12:17 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 02:12:19 ---> 27bf0e63c4f8 02:12:19 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 02:12:19 ---> Running in e4b773911ef1 02:12:21 Removing intermediate container e4b773911ef1 02:12:21 ---> e1660825e743 02:12:21 Step 23/29 : VOLUME /cache 02:12:21 ---> Running in f6b79d6debf9 02:12:21 Removing intermediate container f6b79d6debf9 02:12:21 ---> e48e97495dcb 02:12:21 Step 24/29 : EXPOSE 59711 02:12:21 ---> Running in e5160a857956 02:12:21 Removing intermediate container e5160a857956 02:12:21 ---> 6e760ce845c8 02:12:21 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 02:12:21 ---> Running in 0a252c604397 02:12:21 Removing intermediate container 0a252c604397 02:12:21 ---> 1ff297a4f658 02:12:21 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 02:12:21 ---> Running in 4eaf0877ac66 02:12:22 Removing intermediate container 4eaf0877ac66 02:12:22 ---> 55684a9c402c 02:12:22 Step 27/29 : LABEL arch=arm64 02:12:22 ---> Running in 88838e422388 02:12:22 Removing intermediate container 88838e422388 02:12:22 ---> ff49cb2ce475 02:12:22 Step 28/29 : LABEL git_sha=bc9e117a94d755a571010ed0c8b643b5feaef654 02:12:22 ---> Running in fdcb19a45c6a 02:12:23 Removing intermediate container fdcb19a45c6a 02:12:23 ---> 247d64b49a91 02:12:23 Step 29/29 : LABEL version=3.0.0-dev.32 02:12:23 ---> Running in d785a46800f9 02:12:23 Removing intermediate container d785a46800f9 02:12:23 ---> cdbc8a7eb2b1 02:12:23 [Warning] One or more build-args [ARCH] were not consumed 02:12:23 Successfully built cdbc8a7eb2b1 02:12:23 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 02:12:23 provisioning config files... 02:12:23 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/101@tmp/config4849862366707345718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:23 ---> docker-login.sh 02:12:23 nexus3.edgexfoundry.org:10001 02:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:24 Configure a credential helper to remove this warning. See 02:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:24 02:12:24 Login Succeeded 02:12:24 nexus3.edgexfoundry.org:10002 02:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:24 Configure a credential helper to remove this warning. See 02:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:24 02:12:24 Login Succeeded 02:12:24 nexus3.edgexfoundry.org:10003 02:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:24 Configure a credential helper to remove this warning. See 02:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:24 02:12:24 Login Succeeded 02:12:24 nexus3.edgexfoundry.org:10004 02:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:25 Configure a credential helper to remove this warning. See 02:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:25 02:12:25 Login Succeeded 02:12:25 docker.io 02:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:25 Configure a credential helper to remove this warning. See 02:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:25 02:12:25 Login Succeeded 02:12:25 ---> docker-login.sh ends [Pipeline] } 02:12:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:12:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:25 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 02:12:25 bc9e117a94d755a571010ed0c8b643b5feaef654 02:12:25 latest 02:12:25 3.0.0-dev.32 02:12:25 bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 02:12:25 main 02:12:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:26 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:26 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bc9e117a94d755a571010ed0c8b643b5feaef654 02:12:26 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 02:12:26 3f8ecc0b55f5: Preparing 02:12:26 1eff046b9215: Preparing 02:12:26 e05872a87f85: Preparing 02:12:26 7214acc0a049: Preparing 02:12:26 613b1b5f3837: Preparing 02:12:26 534c72e37578: Preparing 02:12:26 ceba86b1989e: Preparing 02:12:26 26cbea5cba74: Preparing 02:12:26 ceba86b1989e: Waiting 02:12:26 26cbea5cba74: Waiting 02:12:26 534c72e37578: Waiting 02:12:26 3f8ecc0b55f5: Pushed 02:12:26 613b1b5f3837: Pushed 02:12:26 7214acc0a049: Pushed 02:12:26 e05872a87f85: Pushed 02:12:26 26cbea5cba74: Layer already exists 02:12:26 534c72e37578: Pushed 02:12:27 ceba86b1989e: Pushed 02:12:32 1eff046b9215: Pushed 02:12:32 bc9e117a94d755a571010ed0c8b643b5feaef654: digest: sha256:98917b69b0d50652ef5336713476707d183fc5ebc0d8e4429522feaa71989c7d size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:32 + 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 02:12:33 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 02:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 02:12:33 3f8ecc0b55f5: Preparing 02:12:33 1eff046b9215: Preparing 02:12:33 e05872a87f85: Preparing 02:12:33 7214acc0a049: Preparing 02:12:33 613b1b5f3837: Preparing 02:12:33 534c72e37578: Preparing 02:12:33 ceba86b1989e: Preparing 02:12:33 26cbea5cba74: Preparing 02:12:33 ceba86b1989e: Waiting 02:12:33 26cbea5cba74: Waiting 02:12:33 534c72e37578: Waiting 02:12:33 e05872a87f85: Layer already exists 02:12:33 7214acc0a049: Layer already exists 02:12:33 1eff046b9215: Layer already exists 02:12:33 613b1b5f3837: Layer already exists 02:12:33 3f8ecc0b55f5: Layer already exists 02:12:33 ceba86b1989e: Layer already exists 02:12:33 26cbea5cba74: Layer already exists 02:12:33 534c72e37578: Layer already exists 02:12:33 latest: digest: sha256:98917b69b0d50652ef5336713476707d183fc5ebc0d8e4429522feaa71989c7d size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:33 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:34 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.32 02:12:34 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 02:12:34 3f8ecc0b55f5: Preparing 02:12:34 1eff046b9215: Preparing 02:12:34 e05872a87f85: Preparing 02:12:34 7214acc0a049: Preparing 02:12:34 613b1b5f3837: Preparing 02:12:34 534c72e37578: Preparing 02:12:34 ceba86b1989e: Preparing 02:12:34 26cbea5cba74: Preparing 02:12:34 ceba86b1989e: Waiting 02:12:34 26cbea5cba74: Waiting 02:12:34 534c72e37578: Waiting 02:12:34 e05872a87f85: Layer already exists 02:12:34 7214acc0a049: Layer already exists 02:12:34 1eff046b9215: Layer already exists 02:12:34 613b1b5f3837: Layer already exists 02:12:34 3f8ecc0b55f5: Layer already exists 02:12:34 ceba86b1989e: Layer already exists 02:12:34 534c72e37578: Layer already exists 02:12:34 26cbea5cba74: Layer already exists 02:12:34 3.0.0-dev.32: digest: sha256:98917b69b0d50652ef5336713476707d183fc5ebc0d8e4429522feaa71989c7d size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:34 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:35 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 02:12:35 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 02:12:35 3f8ecc0b55f5: Preparing 02:12:35 1eff046b9215: Preparing 02:12:35 e05872a87f85: Preparing 02:12:35 7214acc0a049: Preparing 02:12:35 613b1b5f3837: Preparing 02:12:35 534c72e37578: Preparing 02:12:35 ceba86b1989e: Preparing 02:12:35 26cbea5cba74: Preparing 02:12:35 534c72e37578: Waiting 02:12:35 ceba86b1989e: Waiting 02:12:35 26cbea5cba74: Waiting 02:12:35 3f8ecc0b55f5: Layer already exists 02:12:35 e05872a87f85: Layer already exists 02:12:35 1eff046b9215: Layer already exists 02:12:35 613b1b5f3837: Layer already exists 02:12:35 7214acc0a049: Layer already exists 02:12:35 26cbea5cba74: Layer already exists 02:12:35 ceba86b1989e: Layer already exists 02:12:35 534c72e37578: Layer already exists 02:12:35 bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32: digest: sha256:98917b69b0d50652ef5336713476707d183fc5ebc0d8e4429522feaa71989c7d size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:35 + 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 02:12:35 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 02:12:35 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 02:12:35 3f8ecc0b55f5: Preparing 02:12:35 1eff046b9215: Preparing 02:12:35 e05872a87f85: Preparing 02:12:35 7214acc0a049: Preparing 02:12:35 613b1b5f3837: Preparing 02:12:35 534c72e37578: Preparing 02:12:35 ceba86b1989e: Preparing 02:12:35 26cbea5cba74: Preparing 02:12:35 534c72e37578: Waiting 02:12:35 26cbea5cba74: Waiting 02:12:35 ceba86b1989e: Waiting 02:12:35 613b1b5f3837: Layer already exists 02:12:35 3f8ecc0b55f5: Layer already exists 02:12:35 1eff046b9215: Layer already exists 02:12:35 e05872a87f85: Layer already exists 02:12:35 7214acc0a049: Layer already exists 02:12:35 26cbea5cba74: Layer already exists 02:12:35 ceba86b1989e: Layer already exists 02:12:35 534c72e37578: Layer already exists 02:12:36 main: digest: sha256:98917b69b0d50652ef5336713476707d183fc5ebc0d8e4429522feaa71989c7d size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:12:36 ===================================================== [Pipeline] echo 02:12:36 taggedImages: 02:12:36 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bc9e117a94d755a571010ed0c8b643b5feaef654 02:12:36 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 02:12:36 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.32 02:12:36 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bc9e117a94d755a571010ed0c8b643b5feaef654-3.0.0-dev.32 02:12:36 - 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 02:12:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:36 02:12:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:36 arm64: Pulling from edgex-lftools-log-publisher 02:12:36 8998bd30e6a1: Pulling fs layer 02:12:36 04944245beec: Pulling fs layer 02:12:36 699f458cf7ca: Pulling fs layer 02:12:36 765212b225bb: Pulling fs layer 02:12:36 f23df028b6ca: Pulling fs layer 02:12:36 765212b225bb: Waiting 02:12:36 f23df028b6ca: Waiting 02:12:36 d65c8cfc05b1: Pulling fs layer 02:12:36 2437ff75d9bd: Pulling fs layer 02:12:36 d65c8cfc05b1: Waiting 02:12:36 2437ff75d9bd: Waiting 02:12:37 04944245beec: Verifying Checksum 02:12:37 04944245beec: Download complete 02:12:37 765212b225bb: Verifying Checksum 02:12:37 765212b225bb: Download complete 02:12:37 f23df028b6ca: Verifying Checksum 02:12:37 f23df028b6ca: Download complete 02:12:37 d65c8cfc05b1: Verifying Checksum 02:12:37 d65c8cfc05b1: Download complete 02:12:37 699f458cf7ca: Verifying Checksum 02:12:37 699f458cf7ca: Download complete 02:12:37 8998bd30e6a1: Verifying Checksum 02:12:37 8998bd30e6a1: Download complete 02:12:39 2437ff75d9bd: Verifying Checksum 02:12:39 2437ff75d9bd: Download complete 02:12:41 8998bd30e6a1: Pull complete 02:12:41 04944245beec: Pull complete 02:12:43 699f458cf7ca: Pull complete 02:12:43 765212b225bb: Pull complete 02:12:44 f23df028b6ca: Pull complete 02:12:44 d65c8cfc05b1: Pull complete 02:12:59 2437ff75d9bd: Pull complete 02:12:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:12:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:59 prd-ubuntu20.04-docker-arm64-4c-16g-14867 does not seem to be running inside a container 02:12:59 $ 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/101 -v /w/workspace/app-rfid-llrp-inventory/101:/w/workspace/app-rfid-llrp-inventory/101:rw,z -v /w/workspace/app-rfid-llrp-inventory/101@tmp:/w/workspace/app-rfid-llrp-inventory/101@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 02:13:02 $ docker top ae219ecf8c6a02b8f98ccb1f144336db7664ea74ad17efdea6f1afa88501c990 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:03 ---> job-cost.sh 02:13:03 lf-activate-venv: SKIPPING 02:13:03 INFO: No Stack... 02:13:03 INFO: Retrieving Pricing Info for: v3-standard-4 02:13:04 INFO: Archiving Costs [Pipeline] sh 02:13:04 + cat /w/workspace/app-rfid-llrp-inventory/101/archives/cost.csv 02:13:04 + cut -d, -f6 [Pipeline] lock 02:13:04 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] 02:13:04 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] did not exist. Created. 02:13:04 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:05 /w/workspace/app-rfid-llrp-inventory/101@tmp/durable-d20b6316/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:13:05 + echo total: 0.10999999940395355 [Pipeline] stash 02:13:05 Warning: overwriting stash ‘stack-cost’ 02:13:06 Stashed 1 file(s) [Pipeline] } 02:13:06 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:06 $ docker stop --time=1 ae219ecf8c6a02b8f98ccb1f144336db7664ea74ad17efdea6f1afa88501c990 02:13:07 $ docker rm -f --volumes ae219ecf8c6a02b8f98ccb1f144336db7664ea74ad17efdea6f1afa88501c990 [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 02:13:07 provisioning config files... 02:13:07 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15333405469043524090tmp [Pipeline] { [Pipeline] sh 02:13:08 + set +x 02:13:08 + + curl -s https://codecov.io/bash 02:13:08 bash -s -- 02:13:08 02:13:08 _____ _ 02:13:08 / ____| | | 02:13:08 | | ___ __| | ___ ___ _____ __ 02:13:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:13:08 | |___| (_) | (_| | __/ (_| (_) \ V / 02:13:08 \_____\___/ \__,_|\___|\___\___/ \_/ 02:13:08 Bash-1.0.6 02:13:08 02:13:08 02:13:08 ==> git version 2.25.1 found 02:13:08 ==> 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 02:13:08 Release-Date: 2020-01-08 02:13:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:13:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:13:08 ==> Jenkins CI detected. 02:13:08 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 02:13:08 project root: . 02:13:08 --> token set from env 02:13:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:13:08 ==> Running gcov in . (disable via -X gcov) 02:13:08 ==> Python coveragepy not found 02:13:08 ==> Searching for coverage reports in: 02:13:08 + . 02:13:08 -> Found 1 reports 02:13:08 ==> Detecting git/mercurial file structure 02:13:08 ==> Reading reports 02:13:08 + ./coverage.out bytes=41317 02:13:08 ==> Appending adjustments 02:13:08 https://docs.codecov.io/docs/fixing-reports 02:13:08 + Found adjustments 02:13:08 ==> Gzipping contents 02:13:08 12K /tmp/codecov.7u8LoD.gz 02:13:08 ==> Uploading reports 02:13:08 url: https://codecov.io 02:13:08 query: branch=main&commit=bc9e117a94d755a571010ed0c8b643b5feaef654&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 02:13:08 -> Pinging Codecov 02:13:08 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=bc9e117a94d755a571010ed0c8b643b5feaef654&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 02:13:08 -> Uploading to 02:13:08 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/581DD39554BDF9B6E22D074273EAD858/bc9e117a94d755a571010ed0c8b643b5feaef654/af16b1c4-f5ea-41fe-85d5-8aae6efeb269.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T021308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ab6cb0ee4a5b326b446e49313dd2e1495dd6971d7fad700dff45ef7f212db77 02:13:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:08 Dload Upload Total Spent Left Speed 02:13:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11800 0 0 100 11800 0 53153 --:--:-- --:--:-- --:--:-- 53153 02:13:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] } 02:13:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:13:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:13:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:13:09 02:13:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:13:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:13:09 df9b9388f04a: Pulling fs layer 02:13:09 52dc419b0ee2: Pulling fs layer 02:13:09 25bc292e5bac: Pulling fs layer 02:13:09 114826534d7a: Pulling fs layer 02:13:09 4657fd5d0bcf: Pulling fs layer 02:13:09 6ad1cebc031e: Pulling fs layer 02:13:09 8a3aa393b2d8: Pulling fs layer 02:13:09 4657fd5d0bcf: Waiting 02:13:09 6ad1cebc031e: Waiting 02:13:09 8a3aa393b2d8: Waiting 02:13:09 25bc292e5bac: Verifying Checksum 02:13:09 25bc292e5bac: Download complete 02:13:09 52dc419b0ee2: Verifying Checksum 02:13:09 52dc419b0ee2: Download complete 02:13:09 4657fd5d0bcf: Download complete 02:13:09 df9b9388f04a: Download complete 02:13:10 6ad1cebc031e: Verifying Checksum 02:13:10 6ad1cebc031e: Download complete 02:13:10 df9b9388f04a: Pull complete 02:13:10 52dc419b0ee2: Pull complete 02:13:10 25bc292e5bac: Pull complete 02:13:10 114826534d7a: Verifying Checksum 02:13:10 114826534d7a: Download complete 02:13:10 8a3aa393b2d8: Verifying Checksum 02:13:10 8a3aa393b2d8: Download complete 02:13:14 114826534d7a: Pull complete 02:13:14 4657fd5d0bcf: Pull complete 02:13:14 6ad1cebc031e: Pull complete 02:13:17 8a3aa393b2d8: Pull complete 02:13:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:13:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:17 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 02:13:17 $ 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 02:13:21 $ docker top 8eb0bb35c40185724b7cf57ae27d26ea8106343280f2bdcd8e363464fd679392 -eo pid,comm [Pipeline] { [Pipeline] echo 02:13:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 02:13:22 + set -o pipefail 02:13:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 02:13:27 02:13:27 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 02:13:27 02:13:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/6ecf3841-8973-4ba9-99e8-fe8675087e77 02:13:27 02:13:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:13:27 02:13:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:13:27 02:13:35 02:13:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:13:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:13:35 More details here: https://snyk.co/ue1NS 02:13:35 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:13:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:13:35 $ docker stop --time=1 8eb0bb35c40185724b7cf57ae27d26ea8106343280f2bdcd8e363464fd679392 02:13:39 $ docker rm -f --volumes 8eb0bb35c40185724b7cf57ae27d26ea8106343280f2bdcd8e363464fd679392 [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 02:13:40 + git log --format=format:%s -1 bc9e117a94d755a571010ed0c8b643b5feaef654 [Pipeline] sh 02:13:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:13:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:13:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:41 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 02:13:41 $ 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 02:13:41 $ docker top 041fbf6e3fb3a71b119b8c18440097799e7f021fdf6dce8b69dd32d9bb8bc2a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:13:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:13:41 [ssh-agent] Looking for ssh-agent implementation... 02:13:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:13:41 $ docker exec 041fbf6e3fb3a71b119b8c18440097799e7f021fdf6dce8b69dd32d9bb8bc2a8 ssh-agent 02:13:41 SSH_AUTH_SOCK=/tmp/ssh-PHST4TZQbh85/agent.32 02:13:41 SSH_AGENT_PID=38 02:13:41 Running ssh-add (command line suppressed) 02:13:41 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5492629911661459830.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5492629911661459830.key) 02:13:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:13:42 + git semver tag 02:13:42 2023-05-10 02:13:42,435 [run_tag] DEBUG tag force:False 02:13:42 2023-05-10 02:13:42,435 [check_head_tag] DEBUG check head tag 02:13:42 2023-05-10 02:13:42,436 [execute] INFO git cat-file --batch-check 02:13:42 2023-05-10 02:13:42,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 02:13:42 2023-05-10 02:13:42,441 [execute] INFO git cat-file --batch 02:13:42 2023-05-10 02:13:42,441 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 02:13:42 2023-05-10 02:13:42,465 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 02:13:42 2023-05-10 02:13:42,465 [execute] INFO git tag -a v3.0.0-dev.32 -m v3.0.0-dev.32 02:13:42 2023-05-10 02:13:42,466 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.32', '-m', 'v3.0.0-dev.32'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 02:13:42 2023-05-10 02:13:42,471 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 02:13:42 3.0.0-dev.32 [Pipeline] } 02:13:42 $ docker exec --env ******** --env ******** 041fbf6e3fb3a71b119b8c18440097799e7f021fdf6dce8b69dd32d9bb8bc2a8 ssh-agent -k 02:13:42 unset SSH_AUTH_SOCK; 02:13:42 unset SSH_AGENT_PID; 02:13:42 echo Agent pid 38 killed; 02:13:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:13:42 + git semver [Pipeline] } 02:13:43 $ docker stop --time=1 041fbf6e3fb3a71b119b8c18440097799e7f021fdf6dce8b69dd32d9bb8bc2a8 02:13:44 $ docker rm -f --volumes 041fbf6e3fb3a71b119b8c18440097799e7f021fdf6dce8b69dd32d9bb8bc2a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:13:44 02:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:13:45 0.23.1-centos7: Pulling from edgex-lftools 02:13:45 ab5ef0e58194: Pulling fs layer 02:13:45 9712f1f96733: Pulling fs layer 02:13:45 63f879dbbcfc: Pulling fs layer 02:13:45 0d9ebad4ef96: Pulling fs layer 02:13:45 e9a5061849ea: Pulling fs layer 02:13:45 d747dcd14b5f: Pulling fs layer 02:13:45 2de7ff778b66: Pulling fs layer 02:13:45 0d9ebad4ef96: Waiting 02:13:45 e9a5061849ea: Waiting 02:13:45 d747dcd14b5f: Waiting 02:13:45 2de7ff778b66: Waiting 02:13:45 9712f1f96733: Verifying Checksum 02:13:45 9712f1f96733: Download complete 02:13:45 63f879dbbcfc: Verifying Checksum 02:13:45 63f879dbbcfc: Download complete 02:13:45 e9a5061849ea: Verifying Checksum 02:13:45 e9a5061849ea: Download complete 02:13:45 d747dcd14b5f: Download complete 02:13:45 ab5ef0e58194: Download complete 02:13:45 0d9ebad4ef96: Verifying Checksum 02:13:45 0d9ebad4ef96: Download complete 02:13:45 2de7ff778b66: Verifying Checksum 02:13:45 2de7ff778b66: Download complete 02:13:48 ab5ef0e58194: Pull complete 02:13:48 9712f1f96733: Pull complete 02:13:49 63f879dbbcfc: Pull complete 02:13:53 0d9ebad4ef96: Pull complete 02:13:53 e9a5061849ea: Pull complete 02:13:53 d747dcd14b5f: Pull complete 02:13:54 2de7ff778b66: Pull complete 02:13:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:13:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:54 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 02:13:54 $ 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 02:13:59 $ docker top 8b61b7b8c0fb795dd0efcb1f0c7a164b4a1b862a71e5edc35755b12c19d37f50 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:13:59 provisioning config files... 02:13:59 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config12097511431165244489tmp 02:13:59 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config10470803446429628168tmp 02:13:59 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config13632468914199767729tmp [Pipeline] { [Pipeline] echo 02:13:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:14:00 ---> sigul-configuration.sh 02:14:00 gpg: directory `/root/.gnupg' created 02:14:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:14:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:14:00 gpg: keyring `/root/.gnupg/secring.gpg' created 02:14:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:14:00 gpg: CAST5 encrypted data 02:14:00 gpg: encrypted with 1 passphrase 02:14:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:14:00 + mkdir /home/jenkins 02:14:00 + mkdir /home/jenkins/sigul [Pipeline] sh 02:14:00 + 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 02:14:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:14:00 ---> sigul-install.sh 02:14:00 Sigul already installed; skipping installation. [Pipeline] sh 02:14:01 + git tag --list 02:14:01 v0.0.0 02:14:01 v1.0.0 02:14:01 v2.1.0 02:14:01 v2.1.1 02:14:01 v2.1.1-dev.1 02:14:01 v2.2.0 02:14:01 v2.2.1-dev.1 02:14:01 v2.2.1-dev.2 02:14:01 v2.2.1-dev.3 02:14:01 v2.2.1-dev.4 02:14:01 v2.2.1-dev.5 02:14:01 v2.2.1-dev.6 02:14:01 v2.2.1-dev.7 02:14:01 v2.3.0 02:14:01 v2.3.0-dev.10 02:14:01 v2.3.0-dev.11 02:14:01 v2.3.0-dev.12 02:14:01 v2.3.0-dev.13 02:14:01 v2.3.0-dev.14 02:14:01 v2.3.0-dev.15 02:14:01 v2.3.0-dev.16 02:14:01 v2.3.0-dev.17 02:14:01 v2.3.0-dev.18 02:14:01 v2.3.0-dev.19 02:14:01 v2.3.0-dev.20 02:14:01 v2.3.0-dev.21 02:14:01 v2.3.0-dev.22 02:14:01 v2.3.0-dev.23 02:14:01 v2.3.0-dev.24 02:14:01 v2.3.0-dev.25 02:14:01 v2.3.0-dev.26 02:14:01 v2.3.0-dev.9 02:14:01 v2.3.1-dev.1 02:14:01 v3.0.0-dev.1 02:14:01 v3.0.0-dev.10 02:14:01 v3.0.0-dev.11 02:14:01 v3.0.0-dev.12 02:14:01 v3.0.0-dev.13 02:14:01 v3.0.0-dev.14 02:14:01 v3.0.0-dev.15 02:14:01 v3.0.0-dev.16 02:14:01 v3.0.0-dev.17 02:14:01 v3.0.0-dev.18 02:14:01 v3.0.0-dev.19 02:14:01 v3.0.0-dev.2 02:14:01 v3.0.0-dev.20 02:14:01 v3.0.0-dev.21 02:14:01 v3.0.0-dev.22 02:14:01 v3.0.0-dev.23 02:14:01 v3.0.0-dev.24 02:14:01 v3.0.0-dev.25 02:14:01 v3.0.0-dev.26 02:14:01 v3.0.0-dev.27 02:14:01 v3.0.0-dev.28 02:14:01 v3.0.0-dev.29 02:14:01 v3.0.0-dev.3 02:14:01 v3.0.0-dev.30 02:14:01 v3.0.0-dev.31 02:14:01 v3.0.0-dev.32 02:14:01 v3.0.0-dev.4 02:14:01 v3.0.0-dev.5 02:14:01 v3.0.0-dev.6 02:14:01 v3.0.0-dev.7 02:14:01 v3.0.0-dev.8 02:14:01 v3.0.0-dev.9 [Pipeline] sh 02:14:01 + lftools sign git-tag v3.0.0-dev.32 02:14:02 Signing Git tag with Sigul... 02:14:02 Signing v3.0.0-dev.32 [Pipeline] echo 02:14:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:14:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:14:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:14:02 $ docker stop --time=1 8b61b7b8c0fb795dd0efcb1f0c7a164b4a1b862a71e5edc35755b12c19d37f50 02:14:04 $ docker rm -f --volumes 8b61b7b8c0fb795dd0efcb1f0c7a164b4a1b862a71e5edc35755b12c19d37f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:14:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:14:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:04 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 02:14:04 $ 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 02:14:05 $ docker top 2713eddfa339a0c560a1344e6d934a536e3281d00e733830e47d4f269a5aa526 -eo pid,comm 02:14:05 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). 02:14:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:14:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:14:05 [ssh-agent] Looking for ssh-agent implementation... 02:14:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:14:05 $ docker exec 2713eddfa339a0c560a1344e6d934a536e3281d00e733830e47d4f269a5aa526 ssh-agent 02:14:05 SSH_AUTH_SOCK=/tmp/ssh-7FjBNwOuEY7e/agent.32 02:14:05 SSH_AGENT_PID=38 02:14:05 Running ssh-add (command line suppressed) 02:14:05 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10857588914040208971.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10857588914040208971.key) 02:14:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:14:05 + git semver bump pre 02:14:06 2023-05-10 02:14:06,238 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 02:14:06 2023-05-10 02:14:06,238 [bump_version] DEBUG bumping version:3.0.0-dev.32 on axis:pre with prefix:dev 02:14:06 2023-05-10 02:14:06,239 [bump_version] DEBUG bumped version:3.0.0-dev.33 02:14:06 2023-05-10 02:14:06,239 [write_version] DEBUG write version:3.0.0-dev.33 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 02:14:06 2023-05-10 02:14:06,239 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 02:14:06 2023-05-10 02:14:06,239 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 02:14:06 2023-05-10 02:14:06,240 [execute] INFO git cat-file --batch-check 02:14:06 2023-05-10 02:14:06,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 02:14:06 2023-05-10 02:14:06,247 [execute] INFO git cat-file --batch 02:14:06 2023-05-10 02:14:06,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 02:14:06 2023-05-10 02:14:06,252 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 02:14:06 3.0.0-dev.33 [Pipeline] } 02:14:06 $ docker exec --env ******** --env ******** 2713eddfa339a0c560a1344e6d934a536e3281d00e733830e47d4f269a5aa526 ssh-agent -k 02:14:06 unset SSH_AUTH_SOCK; 02:14:06 unset SSH_AGENT_PID; 02:14:06 echo Agent pid 38 killed; 02:14:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:14:06 + git semver [Pipeline] } 02:14:06 $ docker stop --time=1 2713eddfa339a0c560a1344e6d934a536e3281d00e733830e47d4f269a5aa526 02:14:08 $ docker rm -f --volumes 2713eddfa339a0c560a1344e6d934a536e3281d00e733830e47d4f269a5aa526 [Pipeline] // withDockerContainer [Pipeline] sh 02:14:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:14:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:08 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 02:14: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 02:14:09 $ docker top a2185b3961eda61a2fd6a6100ce305d639545bb3085e110b31ff0a22053bf8ff -eo pid,comm 02:14:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:14:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:14:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:14:09 [ssh-agent] Looking for ssh-agent implementation... 02:14:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:14:09 $ docker exec a2185b3961eda61a2fd6a6100ce305d639545bb3085e110b31ff0a22053bf8ff ssh-agent 02:14:09 SSH_AUTH_SOCK=/tmp/ssh-iTLTLB6BSs3y/agent.33 02:14:09 SSH_AGENT_PID=39 02:14:09 Running ssh-add (command line suppressed) 02:14:09 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_291784412022985035.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_291784412022985035.key) 02:14:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:14:10 + git semver push 02:14:10 2023-05-10 02:14:10,308 [run_push] DEBUG push 02:14:10 2023-05-10 02:14:10,309 [execute] INFO git cat-file --batch-check 02:14:10 2023-05-10 02:14:10,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 02:14:10 2023-05-10 02:14:10,314 [execute] INFO git rev-list 781ada797ed8adb16ae41349f1ac3dd7f54684e7 -- 02:14:10 2023-05-10 02:14:10,314 [execute] DEBUG Popen(['git', 'rev-list', '781ada797ed8adb16ae41349f1ac3dd7f54684e7', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 02:14:10 2023-05-10 02:14:10,321 [execute] INFO git fetch -v origin 02:14:10 2023-05-10 02:14:10,322 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 02:14:10 2023-05-10 02:14:10,785 [run_push] DEBUG no remote changes detected 02:14:10 2023-05-10 02:14:10,786 [execute] INFO git push origin semver 02:14:10 2023-05-10 02:14:10,786 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 02:14:11 2023-05-10 02:14:11,519 [run_push] DEBUG push all version tags 02:14:11 2023-05-10 02:14:11,520 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:14:11 2023-05-10 02:14:11,520 [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) 02:14:12 2023-05-10 02:14:12,237 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 02:14:12 3.0.0-dev.33 [Pipeline] } 02:14:12 $ docker exec --env ******** --env ******** a2185b3961eda61a2fd6a6100ce305d639545bb3085e110b31ff0a22053bf8ff ssh-agent -k 02:14:12 unset SSH_AUTH_SOCK; 02:14:12 unset SSH_AGENT_PID; 02:14:12 echo Agent pid 39 killed; 02:14:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:14:12 + git semver [Pipeline] } 02:14:13 $ docker stop --time=1 a2185b3961eda61a2fd6a6100ce305d639545bb3085e110b31ff0a22053bf8ff 02:14:14 $ docker rm -f --volumes a2185b3961eda61a2fd6a6100ce305d639545bb3085e110b31ff0a22053bf8ff [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 02:14:14 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 02:14:14 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 02:14:14 total 16 02:14:14 drwxr-xr-x 3 root root 4096 May 10 02:00 . 02:14:14 drwxrwxr-x 12 jenkins jenkins 4096 May 10 02:14 .. 02:14:14 drwxr-xr-x 2 root root 4096 May 10 02:00 cost 02:14:14 -rw-r--r-- 1 root root 95 May 10 02:00 cost.csv 02:14:14 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 02:14:14 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 02:14:14 total 16 02:14:14 drwxr-xr-x 3 jenkins jenkins 4096 May 10 02:00 . 02:14:14 drwxrwxr-x 12 jenkins jenkins 4096 May 10 02:14 .. 02:14:14 drwxr-xr-x 2 jenkins jenkins 4096 May 10 02:00 cost 02:14:14 -rw-r--r-- 1 jenkins jenkins 95 May 10 02:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:14:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:14:16 ---> package-listing.sh 02:14:16 ++ facter osfamily 02:14:16 ++ tr '[:upper:]' '[:lower:]' 02:14:16 + OS_FAMILY=debian 02:14:16 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 02:14:16 + START_PACKAGES=/tmp/packages_start.txt 02:14:16 + END_PACKAGES=/tmp/packages_end.txt 02:14:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:14:16 + PACKAGES=/tmp/packages_start.txt 02:14:16 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 02:14:16 + PACKAGES=/tmp/packages_end.txt 02:14:16 + case "${OS_FAMILY}" in 02:14:16 + dpkg -l 02:14:16 + grep '^ii' 02:14:16 + '[' -f /tmp/packages_start.txt ']' 02:14:16 + '[' -f /tmp/packages_end.txt ']' 02:14:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:14:16 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 02:14:16 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 02:14:16 + 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 02:14:16 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 02:14:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:14:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:17 prd-ubuntu20.04-docker-8c-8g-14863 does not seem to be running inside a container 02:14:17 $ 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 02:14:17 $ docker top d70fe87b0d285aeca61c9055da066b9d5bd69aa81d75a9eaad227635324383e2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:17 + touch /tmp/pre-build-complete [Pipeline] sh 02:14:18 + mkdir -p /var/log/sysstat [Pipeline] sh 02:14:18 + ls /var/log/sa-host 02:14:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:18 provisioning config files... 02:14:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4383806272801291546tmp [Pipeline] { [Pipeline] echo 02:14:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:14:18 ---> create-netrc.sh [Pipeline] } 02:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:14:19 ---> python-tools-install.sh [Pipeline] echo 02:14:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:14:19 ---> sudo-logs.sh 02:14:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:14:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:14:19 ---> job-cost.sh 02:14:19 lf-activate-venv: SKIPPING 02:14:19 DEBUG: total: 0.2199999988079071 02:14:19 INFO: Retrieving Stack Cost... 02:14:20 INFO: Retrieving Pricing Info for: v3-standard-8 02:14:20 INFO: Archiving Costs [Pipeline] echo 02:14:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:14:20 ---> logs-deploy.sh 02:14:20 lf-activate-venv: SKIPPING 02:14:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/101 02:14:20 INFO: archiving workspace using pattern(s): 02:14:21 Archives upload complete. 02:14:22 INFO: archiving logs to Nexus