Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bffda19a327bd0e0f8f572f38d60b953f6d5e074 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-ssh15934544625763985683.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8837346126604690662.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9174969315824614285.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7316365972843400733.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-ssh7275120298221723831.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 ‘prd-ubuntu20.04-docker-8c-8g-1335’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1338 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/dry_app-rfid-llrp-inventory_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision bffda19a327bd0e0f8f572f38d60b953f6d5e074 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#208)" > git config core.sparsecheckout # timeout=10 > git checkout -f bffda19a327bd0e0f8f572f38d60b953f6d5e074 # timeout=10 > git rev-list --no-walk 3c9673bd00b0496122dab08c8c5119b35955174d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:53:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:53:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:53:49 ========================================================= 16:53:49 EdgeX Global Pipelines Version Info 16:53:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:53:50 ------------------- 16:53:50 stable info: 16:53:50 ------------------- 16:53:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:53:50 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 16:53:50 Message: update stable to v1.0.250 16:53:50 ------------------- 16:53:50 experimental info: 16:53:50 ------------------- 16:53:50 Commited By: **** collab-it+edgex@linuxfoundation.org 16:53:50 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 16:53:50 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bffda19 [Pipeline] echo 16:53:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:53:51 provisioning config files... 16:53:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config16301961006037051049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:51 ---> docker-login.sh 16:53:51 nexus3.edgexfoundry.org:10001 16:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:52 Configure a credential helper to remove this warning. See 16:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:52 16:53:52 Login Succeeded 16:53:52 nexus3.edgexfoundry.org:10002 16:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:52 Configure a credential helper to remove this warning. See 16:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:52 16:53:52 Login Succeeded 16:53:52 nexus3.edgexfoundry.org:10003 16:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:52 Configure a credential helper to remove this warning. See 16:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:52 16:53:52 Login Succeeded 16:53:52 nexus3.edgexfoundry.org:10004 16:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:52 Configure a credential helper to remove this warning. See 16:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:52 16:53:52 Login Succeeded 16:53:52 docker.io 16:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:52 Configure a credential helper to remove this warning. See 16:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:52 16:53:52 Login Succeeded 16:53:52 ---> docker-login.sh ends [Pipeline] } 16:53:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:53:52 + git rev-list -1 --merges bffda19a327bd0e0f8f572f38d60b953f6d5e074~1..bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] echo 16:53:53 -----------> git rev-list -1 --merges bffda19a327bd0e0f8f572f38d60b953f6d5e074~1..bffda19a327bd0e0f8f572f38d60b953f6d5e074 bffda19a327bd0e0f8f572f38d60b953f6d5e074 [false] [Pipeline] sh 16:53:53 + git log --format=format:%s -1 bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] echo 16:53:53 ========================================================= 16:53:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:53:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:53:53 + git log --format=format:%s -1 bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] echo 16:53:53 [semverPrep] GIT_COMMIT: bffda19a327bd0e0f8f572f38d60b953f6d5e074, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#208) [Pipeline] echo 16:53:53 [semverPrep] This is not a build commit. [Pipeline] sh 16:53:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:53:54 + grep -v github /etc/ssh/ssh_known_hosts 16:53:54 + [ -e /tmp/ssh_known_hosts ] 16:53:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:53:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:53:54 + sudo tee -a /etc/ssh/ssh_known_hosts 16:53:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:54 16:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:54 0.1.4: Pulling from edgex-devops/py-git-semver 16:53:54 b85a868b505f: Pulling fs layer 16:53:54 e2be974225ed: Pulling fs layer 16:53:54 339a4e72a1f5: Pulling fs layer 16:53:54 988bab9f4d93: Pulling fs layer 16:53:54 1469e6f7b9e6: Pulling fs layer 16:53:54 eaf3925da568: Pulling fs layer 16:53:54 bab4dde63d76: Pulling fs layer 16:53:54 bde34c3a00c8: Pulling fs layer 16:53:54 b352a97aabf1: Pulling fs layer 16:53:54 4872d77fe225: Pulling fs layer 16:53:54 5851b861e8e6: Pulling fs layer 16:53:54 bab4dde63d76: Waiting 16:53:54 bde34c3a00c8: Waiting 16:53:54 b352a97aabf1: Waiting 16:53:54 4872d77fe225: Waiting 16:53:54 5851b861e8e6: Waiting 16:53:54 988bab9f4d93: Waiting 16:53:54 eaf3925da568: Waiting 16:53:54 1469e6f7b9e6: Waiting 16:53:54 e2be974225ed: Verifying Checksum 16:53:54 e2be974225ed: Download complete 16:53:54 988bab9f4d93: Verifying Checksum 16:53:54 988bab9f4d93: Download complete 16:53:54 1469e6f7b9e6: Verifying Checksum 16:53:54 1469e6f7b9e6: Download complete 16:53:54 eaf3925da568: Download complete 16:53:54 339a4e72a1f5: Verifying Checksum 16:53:54 339a4e72a1f5: Download complete 16:53:54 bde34c3a00c8: Verifying Checksum 16:53:54 bde34c3a00c8: Download complete 16:53:54 b352a97aabf1: Download complete 16:53:54 4872d77fe225: Verifying Checksum 16:53:54 4872d77fe225: Download complete 16:53:54 5851b861e8e6: Verifying Checksum 16:53:54 5851b861e8e6: Download complete 16:53:54 b85a868b505f: Verifying Checksum 16:53:54 b85a868b505f: Download complete 16:53:55 bab4dde63d76: Verifying Checksum 16:53:55 bab4dde63d76: Download complete 16:53:56 b85a868b505f: Pull complete 16:53:56 e2be974225ed: Pull complete 16:53:56 339a4e72a1f5: Pull complete 16:53:56 988bab9f4d93: Pull complete 16:53:56 1469e6f7b9e6: Pull complete 16:53:57 eaf3925da568: Pull complete 16:53:58 bab4dde63d76: Pull complete 16:53:58 bde34c3a00c8: Pull complete 16:53:58 b352a97aabf1: Pull complete 16:53:58 4872d77fe225: Pull complete 16:53:58 5851b861e8e6: Pull complete 16:53:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:58 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 16:53:58 $ 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 16:54:02 $ docker top f9a0e3752e35403400af6190e3b89116960a4cfd17eb821f248e4fd1fe7bf09c -eo pid,comm 16:54:02 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). 16:54:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:02 [ssh-agent] Looking for ssh-agent implementation... 16:54:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:02 $ docker exec f9a0e3752e35403400af6190e3b89116960a4cfd17eb821f248e4fd1fe7bf09c ssh-agent 16:54:03 SSH_AUTH_SOCK=/tmp/ssh-HFFJkwqZADL8/agent.32 16:54:03 SSH_AGENT_PID=38 16:54:03 Running ssh-add (command line suppressed) 16:54:03 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4512604881557868205.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4512604881557868205.key) 16:54:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:03 + git tag --points-at HEAD [Pipeline] } 16:54:03 $ docker exec --env ******** --env ******** f9a0e3752e35403400af6190e3b89116960a4cfd17eb821f248e4fd1fe7bf09c ssh-agent -k 16:54:03 unset SSH_AUTH_SOCK; 16:54:03 unset SSH_AGENT_PID; 16:54:03 echo Agent pid 38 killed; 16:54:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:54:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:03 [ssh-agent] Looking for ssh-agent implementation... 16:54:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:03 $ docker exec f9a0e3752e35403400af6190e3b89116960a4cfd17eb821f248e4fd1fe7bf09c ssh-agent 16:54:03 SSH_AUTH_SOCK=/tmp/ssh-NP9IeeaD4Awu/agent.70 16:54:03 SSH_AGENT_PID=76 16:54:03 Running ssh-add (command line suppressed) 16:54:03 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13128399890565288662.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13128399890565288662.key) 16:54:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:04 + git semver init 16:54:04 2023-07-17 16:54:04,351 [run_init] DEBUG init version:0.0.0 force:False 16:54:04 2023-07-17 16:54:04,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 16:54:04 2023-07-17 16:54:04,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 16:54:04 2023-07-17 16:54:04,353 [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) 16:54:05 2023-07-17 16:54:05,416 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 16:54:05 2023-07-17 16:54:05,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 16:54:05 2023-07-17 16:54:05,417 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:54:05 2023-07-17 16:54:05,417 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:54:05 3.1.0-dev.3 [Pipeline] } 16:54:05 $ docker exec --env ******** --env ******** f9a0e3752e35403400af6190e3b89116960a4cfd17eb821f248e4fd1fe7bf09c ssh-agent -k 16:54:05 unset SSH_AUTH_SOCK; 16:54:05 unset SSH_AGENT_PID; 16:54:05 echo Agent pid 76 killed; 16:54:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:06 + git semver [Pipeline] } 16:54:06 $ docker stop --time=1 f9a0e3752e35403400af6190e3b89116960a4cfd17eb821f248e4fd1fe7bf09c 16:54:07 $ docker rm -f --volumes f9a0e3752e35403400af6190e3b89116960a4cfd17eb821f248e4fd1fe7bf09c [Pipeline] // withDockerContainer [Pipeline] sh 16:54:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:54:08 Stashed 1 file(s) [Pipeline] echo 16:54:08 [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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 16:54:08 provisioning config files... 16:54:08 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15645892556226688717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:08 ---> docker-login.sh 16:54:08 nexus3.edgexfoundry.org:10001 16:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:08 Configure a credential helper to remove this warning. See 16:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:08 16:54:08 Login Succeeded 16:54:08 nexus3.edgexfoundry.org:10002 16:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:08 Configure a credential helper to remove this warning. See 16:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:08 16:54:08 Login Succeeded 16:54:08 nexus3.edgexfoundry.org:10003 16:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:09 Configure a credential helper to remove this warning. See 16:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:09 16:54:09 Login Succeeded 16:54:09 nexus3.edgexfoundry.org:10004 16:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:09 Configure a credential helper to remove this warning. See 16:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:09 16:54:09 Login Succeeded 16:54:09 docker.io 16:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:09 Configure a credential helper to remove this warning. See 16:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:09 16:54:09 Login Succeeded 16:54:09 ---> docker-login.sh ends [Pipeline] } 16:54:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:54:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:09 ========================================================= 16:54:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:54:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:09 + 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 . 16:54:09 Sending build context to Docker daemon 12.65MB 16:54:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:54:09 Step 2/12 : FROM ${BASE} AS builder 16:54:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:54:09 4db1b89c0bd1: Pulling fs layer 16:54:09 6911f1a30b25: Pulling fs layer 16:54:09 e194b8c5c2a9: Pulling fs layer 16:54:09 6863d3e3a2b1: Pulling fs layer 16:54:09 ec0bb842ea78: Pulling fs layer 16:54:09 40a00589a448: Pulling fs layer 16:54:09 6c08303d61cc: Pulling fs layer 16:54:09 798269fcf238: Pulling fs layer 16:54:09 40a00589a448: Waiting 16:54:09 6863d3e3a2b1: Waiting 16:54:09 ec0bb842ea78: Waiting 16:54:09 6c08303d61cc: Waiting 16:54:09 798269fcf238: Waiting 16:54:09 6911f1a30b25: Download complete 16:54:09 6863d3e3a2b1: Verifying Checksum 16:54:09 6863d3e3a2b1: Download complete 16:54:09 ec0bb842ea78: Download complete 16:54:09 4db1b89c0bd1: Verifying Checksum 16:54:09 4db1b89c0bd1: Download complete 16:54:09 40a00589a448: Verifying Checksum 16:54:09 40a00589a448: Download complete 16:54:09 4db1b89c0bd1: Pull complete 16:54:10 6911f1a30b25: Pull complete 16:54:10 798269fcf238: Download complete 16:54:10 e194b8c5c2a9: Verifying Checksum 16:54:10 e194b8c5c2a9: Download complete 16:54:10 6c08303d61cc: Verifying Checksum 16:54:10 6c08303d61cc: Download complete 16:54:13 e194b8c5c2a9: Pull complete 16:54:13 6863d3e3a2b1: Pull complete 16:54:13 ec0bb842ea78: Pull complete 16:54:13 40a00589a448: Pull complete 16:54:16 6c08303d61cc: Pull complete 16:54:16 798269fcf238: Pull complete 16:54:16 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 16:54:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:54:16 ---> ec979cd7f677 16:54:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:54:21 ---> Running in c2421a5e35d7 16:54:21 Removing intermediate container c2421a5e35d7 16:54:21 ---> 8389274fe6bc 16:54:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:54:21 ---> Running in d608de199cbb 16:54:21 Removing intermediate container d608de199cbb 16:54:21 ---> 6e15657e7f24 16:54:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:54:22 ---> Running in 237c5526bb65 16:54:22 Removing intermediate container 237c5526bb65 16:54:22 ---> c908ff94735c 16:54:22 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:22 ---> Running in c45b8b404d5b 16:54:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:54:23 OK: 265 MiB in 53 packages 16:54:23 Still waiting to schedule task 16:54:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1336’ is offline 16:54:23 Removing intermediate container c45b8b404d5b 16:54:23 ---> 0eda242d80f2 16:54:23 Step 7/12 : WORKDIR /app 16:54:23 ---> Running in 09afc5453887 16:54:23 Removing intermediate container 09afc5453887 16:54:23 ---> 6c6217c9be01 16:54:23 Step 8/12 : COPY go.mod vendor* ./ 16:54:23 ---> fdaf66758817 16:54:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:23 ---> Running in ec472e62cf85 16:54:55 Removing intermediate container ec472e62cf85 16:54:55 ---> 91a0c4f26ecb 16:54:55 Step 10/12 : COPY . . 16:54:55 ---> 957df6f35051 16:54:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:54:55 ---> Running in 593cb6de211e 16:54:55 Removing intermediate container 593cb6de211e 16:54:55 ---> 6156262c26de 16:54:55 Step 12/12 : RUN $MAKE 16:54:55 ---> Running in 34d226701897 16:54:55 noop 16:54:55 Removing intermediate container 34d226701897 16:54:55 ---> 49c429ede59b 16:54:55 Successfully built 49c429ede59b 16:54:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:56 + docker inspect -f . ci-base-image-x86_64 16:54:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:56 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 16:54:56 $ 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 16:54:56 $ docker top 4f8bb9d5d38c548c40bdcad21e90d238147aab27d5fa8e3eced1337a8cf0d2c4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:57 + go version 16:54:57 go version go1.20.6 linux/amd64 [Pipeline] } 16:54:57 $ docker stop --time=1 4f8bb9d5d38c548c40bdcad21e90d238147aab27d5fa8e3eced1337a8cf0d2c4 16:54:58 $ docker rm -f --volumes 4f8bb9d5d38c548c40bdcad21e90d238147aab27d5fa8e3eced1337a8cf0d2c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:58 + docker inspect -f . ci-base-image-x86_64 16:54:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:58 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 16:54:58 $ 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 16:54:59 $ docker top c9941d3b5dbadcfe84d1d4ac20b75129c8f85165f94bd461193999285c715a80 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:59 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 16:54:59 + make test 16:54:59 go test -race ./... -coverprofile=coverage.out ./... 16:55:17 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:55:17 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:55:17 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.140s coverage: 86.2% of statements 16:55:19 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.692s coverage: 71.9% of statements 16:55:41 go vet ./... 16:55:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:55:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:55:41 ./bin/test-attribution.sh [Pipeline] echo 16:55:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:55:41 $ docker stop --time=1 c9941d3b5dbadcfe84d1d4ac20b75129c8f85165f94bd461193999285c715a80 16:55:47 $ docker rm -f --volumes c9941d3b5dbadcfe84d1d4ac20b75129c8f85165f94bd461193999285c715a80 [Pipeline] // withDockerContainer [Pipeline] sh 16:55:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:55:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:55:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:55:48 + ls -al . 16:55:48 total 236 16:55:48 drwxrwxr-x 11 jenkins jenkins 4096 Jul 17 16:55 . 16:55:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 16:53 .. 16:55:48 -rw-rw-r-- 1 jenkins jenkins 262 Jul 17 16:53 .dockerignore 16:55:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 16:54 .git 16:55:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 16:53 .github 16:55:48 -rw-rw-r-- 1 jenkins jenkins 788 Jul 17 16:53 .gitignore 16:55:48 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 16:53 .golangci.yml 16:55:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 16:54 .semver 16:55:48 -rw-rw-r-- 1 jenkins jenkins 10332 Jul 17 16:53 Attribution.txt 16:55:48 -rw-rw-r-- 1 jenkins jenkins 9042 Jul 17 16:53 CHANGELOG.md 16:55:48 -rw-rw-r-- 1 jenkins jenkins 1659 Jul 17 16:53 Dockerfile 16:55:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 16:53 GOVERNANCE.md 16:55:48 -rw-rw-r-- 1 jenkins jenkins 687 Jul 17 16:53 Jenkinsfile 16:55:48 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 17 16:53 LICENSE 16:55:48 -rw-rw-r-- 1 jenkins jenkins 2497 Jul 17 16:53 Makefile 16:55:48 -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 16:53 OWNERS.md 16:55:48 -rw-rw-r-- 1 jenkins jenkins 31516 Jul 17 16:53 README.md 16:55:48 -rw-rw-r-- 1 jenkins jenkins 11 Jul 17 16:54 VERSION 16:55:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 16:53 bin 16:55:48 -rw-r--r-- 1 jenkins jenkins 41317 Jul 17 16:55 coverage.out 16:55:48 -rw-rw-r-- 1 jenkins jenkins 3693 Jul 17 16:53 go.mod 16:55:48 -rw-rw-r-- 1 jenkins jenkins 32865 Jul 17 16:53 go.sum 16:55:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 16:53 images 16:55:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 16:53 internal 16:55:48 -rw-rw-r-- 1 jenkins jenkins 531 Jul 17 16:53 main.go 16:55:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 16:53 res 16:55:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 16:53 snap 16:55:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 16:53 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:49 + 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=bffda19a327bd0e0f8f572f38d60b953f6d5e074 --label arch=amd64 --label version=3.1.0-dev.3 . 16:55:49 Sending build context to Docker daemon 12.65MB 16:55:49 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 16:55:49 Step 2/29 : FROM ${BASE} AS builder 16:55:49 ---> 49c429ede59b 16:55:49 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 16:55:49 ---> Running in bbab1c0d8d3b 16:55:49 Removing intermediate container bbab1c0d8d3b 16:55:49 ---> 0c97563e9f87 16:55:49 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 16:55:49 ---> Running in fc4325f7ddd4 16:55:49 Removing intermediate container fc4325f7ddd4 16:55:49 ---> a37e93c2c56f 16:55:49 Step 5/29 : ARG ADD_BUILD_TAGS="" 16:55:49 ---> Running in 1067fb2cdf97 16:55:49 Removing intermediate container 1067fb2cdf97 16:55:49 ---> b0b04ca68475 16:55:49 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:49 ---> Running in 98ad5b9a1dc3 16:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:55:50 OK: 265 MiB in 53 packages 16:55:50 Removing intermediate container 98ad5b9a1dc3 16:55:50 ---> 7694303aeca3 16:55:50 Step 7/29 : WORKDIR /app 16:55:50 ---> Running in 08e757a7afef 16:55:50 Removing intermediate container 08e757a7afef 16:55:50 ---> 5fda32091b54 16:55:50 Step 8/29 : COPY go.mod vendor* ./ 16:55:51 ---> 973c14677cf7 16:55:51 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:51 ---> Running in c293f1c46d9a 16:55:51 Removing intermediate container c293f1c46d9a 16:55:51 ---> 0bad0ab71120 16:55:51 Step 10/29 : COPY . . 16:55:52 ---> 4d30fdb35feb 16:55:52 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:55:52 ---> Running in cea2381f2622 16:55:52 Removing intermediate container cea2381f2622 16:55:52 ---> ab02fb3b16f8 16:55:52 Step 12/29 : RUN $MAKE 16:55:52 ---> Running in 052c9d45fb96 16:55:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.7 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.3 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.1.0-dev.3" -trimpath -mod=readonly -o app-rfid-llrp-inventory 16:55:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1339 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 16:55:56 Running in /w/workspace/app-rfid-llrp-inventory/115 [Pipeline] { [Pipeline] checkout 16:55:56 The recommended git tool is: git 16:56:01 using credential edgex-jenkins-ssh 16:56:01 Cloning the remote Git repository 16:56:01 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:56:01 > git init /w/workspace/app-rfid-llrp-inventory/115 # timeout=10 16:56:01 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:56:01 > git --version # timeout=10 16:56:01 > git --version # 'git version 2.25.1' 16:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:04 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:56:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:04 Avoid second fetch 16:56:04 Checking out Revision bffda19a327bd0e0f8f572f38d60b953f6d5e074 (main) 16:56:05 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 (#208)" 16:56:04 > git config core.sparsecheckout # timeout=10 16:56:04 > git checkout -f bffda19a327bd0e0f8f572f38d60b953f6d5e074 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:56:06 % Total % Received % Xferd Average Speed Time Time Time Current 16:56:06 Dload Upload Total Spent Left Speed 16:56:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 57696 0 --:--:-- --:--:-- --:--:-- 57959 [Pipeline] sh 16:56:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:56:07 + sudo tee /etc/docker/daemon.new 16:56:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:56:07 { 16:56:07 "registry-mirrors": [ 16:56:07 "https://nexus3.edgexfoundry.org:10001" 16:56:07 ], 16:56:07 "bip": "10.250.0.254/24", 16:56:07 "hosts": [ 16:56:07 "tcp://0.0.0.0:5555", 16:56:07 "unix:///var/run/docker.sock" 16:56:07 ], 16:56:07 "mtu": 1458, 16:56:07 "selinux-enabled": true, 16:56:07 "seccomp-profile": "/etc/docker/seccomp.json" 16:56:07 } [Pipeline] sh 16:56:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:56:07 + sudo service docker restart 16:56:14 Removing intermediate container 052c9d45fb96 16:56:14 ---> 80f8387b1c55 16:56:14 Step 13/29 : FROM alpine:3.17 16:56:14 3.17: Pulling from library/alpine 16:56:14 4db1b89c0bd1: Already exists 16:56:14 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 16:56:14 Status: Downloaded newer image for alpine:3.17 16:56:14 ---> 1f73a9d63274 16:56:14 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:56:14 ---> Running in 1d19cf58524b 16:56:14 Removing intermediate container 1d19cf58524b 16:56:14 ---> f73be0d348a1 16:56:14 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:56:14 ---> Running in 8a76088b231a 16:56:14 Removing intermediate container 8a76088b231a 16:56:14 ---> b5538b1d219f 16:56:14 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 16:56:14 ---> Running in ddf456227461 16:56:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:56:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:56:14 (1/2) Installing ca-certificates (20230506-r0) 16:56:14 (2/2) Installing dumb-init (1.2.5-r2) 16:56:14 Executing busybox-1.35.0-r29.trigger 16:56:14 Executing ca-certificates-20230506-r0.trigger 16:56:14 OK: 8 MiB in 17 packages 16:56:14 Removing intermediate container ddf456227461 16:56:14 ---> 9f1c747d1111 16:56:14 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:56:14 ---> c04fb2e5d820 16:56:14 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 16:56:14 ---> a8ae96c1f2b1 16:56:14 Step 19/29 : COPY --from=builder /app/res/ /res/ 16:56:14 ---> 8eeb192e5d62 16:56:14 Step 20/29 : COPY --from=builder /app/static/ /static/ 16:56:14 ---> 2ca2396bd940 16:56:14 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:56:15 ---> 270eb909f97b 16:56:15 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:56:15 ---> Running in 10f318711d20 16:56:15 Removing intermediate container 10f318711d20 16:56:15 ---> 26e371a394d0 16:56:15 Step 23/29 : VOLUME /cache 16:56:15 ---> Running in 9083d80563cc 16:56:15 Removing intermediate container 9083d80563cc 16:56:15 ---> 1ee006178e39 16:56:15 Step 24/29 : EXPOSE 59711 16:56:15 ---> Running in 81c9762352ec 16:56:15 Removing intermediate container 81c9762352ec 16:56:15 ---> 6de0fed380f2 16:56:15 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:56:15 ---> Running in 54f43300b862 16:56:15 Removing intermediate container 54f43300b862 16:56:15 ---> ca7ab1bd77fc 16:56:15 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 16:56:15 ---> Running in ae13085e20bd 16:56:16 Removing intermediate container ae13085e20bd 16:56:16 ---> 55c08b136c5e 16:56:16 Step 27/29 : LABEL arch=amd64 16:56:16 ---> Running in 0019a0a49836 16:56:16 Removing intermediate container 0019a0a49836 16:56:16 ---> 13d3102a4346 16:56:16 Step 28/29 : LABEL git_sha=bffda19a327bd0e0f8f572f38d60b953f6d5e074 16:56:16 ---> Running in de25f651d6e0 16:56:16 Removing intermediate container de25f651d6e0 16:56:16 ---> 0fdc266daa16 16:56:16 Step 29/29 : LABEL version=3.1.0-dev.3 16:56:16 ---> Running in 073fde006177 16:56:16 Removing intermediate container 073fde006177 16:56:16 ---> 3d5ea2fea85a 16:56:16 [Warning] One or more build-args [ARCH] were not consumed 16:56:16 Successfully built 3d5ea2fea85a 16:56:16 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 16:56:16 provisioning config files... 16:56:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4213271693385238333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:16 ---> docker-login.sh 16:56:16 nexus3.edgexfoundry.org:10001 16:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:16 Configure a credential helper to remove this warning. See 16:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:16 16:56:16 Login Succeeded 16:56:16 nexus3.edgexfoundry.org:10002 16:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:16 Configure a credential helper to remove this warning. See 16:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:16 16:56:16 Login Succeeded 16:56:16 nexus3.edgexfoundry.org:10003 16:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:17 Configure a credential helper to remove this warning. See 16:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:17 16:56:17 Login Succeeded 16:56:17 nexus3.edgexfoundry.org:10004 16:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:17 Configure a credential helper to remove this warning. See 16:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:17 16:56:17 Login Succeeded 16:56:17 docker.io 16:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:17 Configure a credential helper to remove this warning. See 16:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:17 16:56:17 Login Succeeded 16:56:17 ---> docker-login.sh ends [Pipeline] } 16:56:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:17 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 16:56:17 bffda19a327bd0e0f8f572f38d60b953f6d5e074 16:56:17 latest 16:56:17 3.1.0-dev.3 16:56:17 bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 16:56:17 main 16:56:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:17 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:18 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bffda19a327bd0e0f8f572f38d60b953f6d5e074 16:56:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:56:18 5b4e182a9a30: Preparing 16:56:18 42d72030c890: Preparing 16:56:18 de50bce07716: Preparing 16:56:18 c71e8d5a8ae7: Preparing 16:56:18 579dd611882b: Preparing 16:56:18 5abf97fb72b9: Preparing 16:56:18 1e9c9b748331: Preparing 16:56:18 3dab9f8bf2d2: Preparing 16:56:18 5abf97fb72b9: Waiting 16:56:18 1e9c9b748331: Waiting 16:56:18 3dab9f8bf2d2: Waiting 16:56:18 5b4e182a9a30: Pushed 16:56:18 de50bce07716: Pushed 16:56:18 c71e8d5a8ae7: Pushed 16:56:18 579dd611882b: Pushed 16:56:18 3dab9f8bf2d2: Layer already exists 16:56:18 5abf97fb72b9: Pushed 16:56:18 1e9c9b748331: Pushed 16:56:20 42d72030c890: Pushed 16:56:20 bffda19a327bd0e0f8f572f38d60b953f6d5e074: digest: sha256:5ea8d8896710d3744c5f703241c74a539d96e6857928906e5b5aea93bcd8a732 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:20 + 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 16:56:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:56:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:56:21 5b4e182a9a30: Preparing 16:56:21 42d72030c890: Preparing 16:56:21 de50bce07716: Preparing 16:56:21 c71e8d5a8ae7: Preparing 16:56:21 579dd611882b: Preparing 16:56:21 5abf97fb72b9: Preparing 16:56:21 1e9c9b748331: Preparing 16:56:21 3dab9f8bf2d2: Preparing 16:56:21 1e9c9b748331: Waiting 16:56:21 3dab9f8bf2d2: Waiting 16:56:21 5abf97fb72b9: Waiting 16:56:21 42d72030c890: Layer already exists 16:56:21 5b4e182a9a30: Layer already exists 16:56:21 de50bce07716: Layer already exists 16:56:21 579dd611882b: Layer already exists 16:56:21 c71e8d5a8ae7: Layer already exists 16:56:21 3dab9f8bf2d2: Layer already exists 16:56:21 1e9c9b748331: Layer already exists 16:56:21 5abf97fb72b9: Layer already exists 16:56:21 latest: digest: sha256:5ea8d8896710d3744c5f703241c74a539d96e6857928906e5b5aea93bcd8a732 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:21 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.1.0-dev.3 16:56:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:56:21 5b4e182a9a30: Preparing 16:56:21 42d72030c890: Preparing 16:56:21 de50bce07716: Preparing 16:56:21 c71e8d5a8ae7: Preparing 16:56:21 579dd611882b: Preparing 16:56:21 5abf97fb72b9: Preparing 16:56:21 1e9c9b748331: Preparing 16:56:21 3dab9f8bf2d2: Preparing 16:56:21 5abf97fb72b9: Waiting 16:56:21 1e9c9b748331: Waiting 16:56:21 3dab9f8bf2d2: Waiting 16:56:21 5b4e182a9a30: Layer already exists 16:56:21 de50bce07716: Layer already exists 16:56:21 42d72030c890: Layer already exists 16:56:21 579dd611882b: Layer already exists 16:56:21 c71e8d5a8ae7: Layer already exists 16:56:21 5abf97fb72b9: Layer already exists 16:56:21 3dab9f8bf2d2: Layer already exists 16:56:21 1e9c9b748331: Layer already exists 16:56:21 3.1.0-dev.3: digest: sha256:5ea8d8896710d3744c5f703241c74a539d96e6857928906e5b5aea93bcd8a732 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:21 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:22 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 16:56:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:56:22 5b4e182a9a30: Preparing 16:56:22 42d72030c890: Preparing 16:56:22 de50bce07716: Preparing 16:56:22 c71e8d5a8ae7: Preparing 16:56:22 579dd611882b: Preparing 16:56:22 5abf97fb72b9: Preparing 16:56:22 1e9c9b748331: Preparing 16:56:22 3dab9f8bf2d2: Preparing 16:56:22 1e9c9b748331: Waiting 16:56:22 5abf97fb72b9: Waiting 16:56:22 3dab9f8bf2d2: Waiting 16:56:22 579dd611882b: Layer already exists 16:56:22 5b4e182a9a30: Layer already exists 16:56:22 de50bce07716: Layer already exists 16:56:22 42d72030c890: Layer already exists 16:56:22 c71e8d5a8ae7: Layer already exists 16:56:22 5abf97fb72b9: Layer already exists 16:56:22 1e9c9b748331: Layer already exists 16:56:22 3dab9f8bf2d2: Layer already exists 16:56:22 bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3: digest: sha256:5ea8d8896710d3744c5f703241c74a539d96e6857928906e5b5aea93bcd8a732 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:22 + 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 16:56:22 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 16:56:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:56:22 5b4e182a9a30: Preparing 16:56:22 42d72030c890: Preparing 16:56:22 de50bce07716: Preparing 16:56:22 c71e8d5a8ae7: Preparing 16:56:22 579dd611882b: Preparing 16:56:22 5abf97fb72b9: Preparing 16:56:22 1e9c9b748331: Preparing 16:56:22 3dab9f8bf2d2: Preparing 16:56:22 5abf97fb72b9: Waiting 16:56:22 1e9c9b748331: Waiting 16:56:22 3dab9f8bf2d2: Waiting 16:56:22 c71e8d5a8ae7: Layer already exists 16:56:22 42d72030c890: Layer already exists 16:56:22 de50bce07716: Layer already exists 16:56:22 579dd611882b: Layer already exists 16:56:22 5b4e182a9a30: Layer already exists 16:56:22 5abf97fb72b9: Layer already exists 16:56:22 1e9c9b748331: Layer already exists 16:56:22 3dab9f8bf2d2: Layer already exists 16:56:22 main: digest: sha256:5ea8d8896710d3744c5f703241c74a539d96e6857928906e5b5aea93bcd8a732 size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:56:22 ===================================================== [Pipeline] echo 16:56:22 taggedImages: 16:56:22 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bffda19a327bd0e0f8f572f38d60b953f6d5e074 16:56:22 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:56:22 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.1.0-dev.3 16:56:22 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 16:56:22 - 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 16:56:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:23 16:56:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:23 latest: Pulling from edgex-lftools-log-publisher 16:56:23 5eb5b503b376: Pulling fs layer 16:56:23 5c69ac0246d0: Pulling fs layer 16:56:23 ec43610c2a17: Pulling fs layer 16:56:23 3a2ae6a8a46f: Pulling fs layer 16:56:23 33b1e0a273af: Pulling fs layer 16:56:23 5d3b04190fa2: Pulling fs layer 16:56:23 2f39f015ded8: Pulling fs layer 16:56:23 33b1e0a273af: Waiting 16:56:23 3a2ae6a8a46f: Waiting 16:56:23 2f39f015ded8: Waiting 16:56:23 5c69ac0246d0: Verifying Checksum 16:56:23 5c69ac0246d0: Download complete 16:56:23 3a2ae6a8a46f: Verifying Checksum 16:56:23 3a2ae6a8a46f: Download complete 16:56:23 33b1e0a273af: Verifying Checksum 16:56:23 33b1e0a273af: Download complete 16:56:23 ec43610c2a17: Verifying Checksum 16:56:23 ec43610c2a17: Download complete 16:56:23 5d3b04190fa2: Verifying Checksum 16:56:23 5d3b04190fa2: Download complete 16:56:23 5eb5b503b376: Verifying Checksum 16:56:23 5eb5b503b376: Download complete 16:56:24 2f39f015ded8: Download complete 16:56:25 5eb5b503b376: Pull complete 16:56:25 5c69ac0246d0: Pull complete 16:56:25 ec43610c2a17: Pull complete 16:56:25 3a2ae6a8a46f: Pull complete 16:56:25 33b1e0a273af: Pull complete 16:56:25 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:26 provisioning config files... 16:56:26 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/115@tmp/config17028540030504656132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:26 ---> docker-login.sh 16:56:26 nexus3.edgexfoundry.org:10001 16:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:27 Configure a credential helper to remove this warning. See 16:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:27 16:56:27 Login Succeeded 16:56:27 nexus3.edgexfoundry.org:10002 16:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:27 Configure a credential helper to remove this warning. See 16:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:27 16:56:27 Login Succeeded 16:56:27 nexus3.edgexfoundry.org:10003 16:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:27 Configure a credential helper to remove this warning. See 16:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:27 16:56:27 Login Succeeded 16:56:27 nexus3.edgexfoundry.org:10004 16:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:28 Configure a credential helper to remove this warning. See 16:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:28 16:56:28 Login Succeeded 16:56:28 docker.io 16:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:28 Configure a credential helper to remove this warning. See 16:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:28 16:56:28 Login Succeeded 16:56:28 ---> docker-login.sh ends [Pipeline] } 16:56:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:29 ========================================================= 16:56:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:56:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:29 + 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 . 16:56:29 Sending build context to Docker daemon 684kB 16:56:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:56:29 Step 2/12 : FROM ${BASE} AS builder 16:56:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:56:29 edb6bdbacee9: Pulling fs layer 16:56:29 5f9638ab2659: Pulling fs layer 16:56:29 8d51d6327a98: Pulling fs layer 16:56:29 8b374f2dd631: Pulling fs layer 16:56:29 ec14aa9079de: Pulling fs layer 16:56:29 2f466654f4bb: Pulling fs layer 16:56:29 554e91adad29: Pulling fs layer 16:56:29 8b374f2dd631: Waiting 16:56:29 ec14aa9079de: Waiting 16:56:29 2f466654f4bb: Waiting 16:56:29 554e91adad29: Waiting 16:56:29 5f9638ab2659: Verifying Checksum 16:56:29 5f9638ab2659: Download complete 16:56:29 8b374f2dd631: Verifying Checksum 16:56:29 8b374f2dd631: Download complete 16:56:29 ec14aa9079de: Verifying Checksum 16:56:29 ec14aa9079de: Download complete 16:56:29 edb6bdbacee9: Verifying Checksum 16:56:29 2f39f015ded8: Pull complete 16:56:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:56:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:30 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 16:56:30 $ 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 16:56:30 edb6bdbacee9: Pull complete 16:56:31 554e91adad29: Verifying Checksum 16:56:31 554e91adad29: Download complete 16:56:31 5f9638ab2659: Pull complete 16:56:32 8d51d6327a98: Verifying Checksum 16:56:32 8d51d6327a98: Download complete 16:56:32 2f466654f4bb: Verifying Checksum 16:56:32 2f466654f4bb: Download complete 16:56:34 $ docker top cb78583492639d966d2880601c40907d8437751050a86a79d4bf87cdf5b810f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:35 ---> job-cost.sh 16:56:35 lf-activate-venv: SKIPPING 16:56:35 INFO: No Stack... 16:56:35 INFO: Retrieving Pricing Info for: v3-standard-8 16:56:35 INFO: Archiving Costs [Pipeline] sh 16:56:36 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 16:56:36 + cut -d, -f6 [Pipeline] lock 16:56:36 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] 16:56:36 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] did not exist. Created. 16:56:36 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:56:36 + echo total: 0.2199999988079071 [Pipeline] stash 16:56:36 Stashed 1 file(s) [Pipeline] } 16:56:36 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 16:56:36 $ docker stop --time=1 cb78583492639d966d2880601c40907d8437751050a86a79d4bf87cdf5b810f0 16:56:37 $ docker rm -f --volumes cb78583492639d966d2880601c40907d8437751050a86a79d4bf87cdf5b810f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:56:44 8d51d6327a98: Pull complete 16:56:44 8b374f2dd631: Pull complete 16:56:44 ec14aa9079de: Pull complete 16:56:50 2f466654f4bb: Pull complete 16:56:52 554e91adad29: Pull complete 16:56:52 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 16:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:56:52 ---> 1e15ea492957 16:56:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:56:54 ---> Running in 363e257dd61d 16:56:54 Removing intermediate container 363e257dd61d 16:56:54 ---> 3b46c04a67cb 16:56:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:56:54 ---> Running in 0dd0bb05eaa4 16:56:54 Removing intermediate container 0dd0bb05eaa4 16:56:54 ---> 8ae39eabf8e2 16:56:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:56:54 ---> Running in 9fd7493331d3 16:56:55 Removing intermediate container 9fd7493331d3 16:56:55 ---> 006df9aa7f36 16:56:55 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:56:55 ---> Running in d2e85d15862b 16:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:56:57 OK: 263 MiB in 53 packages 16:56:58 Removing intermediate container d2e85d15862b 16:56:58 ---> 03bdec317d68 16:56:58 Step 7/12 : WORKDIR /app 16:56:58 ---> Running in eab01b32c1fc 16:56:59 Removing intermediate container eab01b32c1fc 16:56:59 ---> f8026114b770 16:56:59 Step 8/12 : COPY go.mod vendor* ./ 16:56:59 ---> 5ecc5858e461 16:56:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:56:59 ---> Running in 857ea1f96355 16:58:07 Removing intermediate container 857ea1f96355 16:58:07 ---> c1e43442ca0e 16:58:07 Step 10/12 : COPY . . 16:58:07 ---> be42821032d8 16:58:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:58:07 ---> Running in 7df05ebe9226 16:58:07 Removing intermediate container 7df05ebe9226 16:58:07 ---> d0923fbee4d8 16:58:07 Step 12/12 : RUN $MAKE 16:58:07 ---> Running in c09b89cf8233 16:58:07 noop 16:58:07 Removing intermediate container c09b89cf8233 16:58:07 ---> 1b2361ac683c 16:58:07 Successfully built 1b2361ac683c 16:58:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:07 + docker inspect -f . ci-base-image-arm64 16:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:08 prd-ubuntu20.04-docker-arm64-4c-16g-1339 does not seem to be running inside a container 16:58:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/115 -v /w/workspace/app-rfid-llrp-inventory/115:/w/workspace/app-rfid-llrp-inventory/115:rw,z -v /w/workspace/app-rfid-llrp-inventory/115@tmp:/w/workspace/app-rfid-llrp-inventory/115@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 16:58:09 $ docker top bafbc1b71241897251d9b937ac8125e1fe371c6182425a76aaa7805cf8365893 -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:10 + go version 16:58:10 go version go1.20.6 linux/arm64 [Pipeline] } 16:58:10 $ docker stop --time=1 bafbc1b71241897251d9b937ac8125e1fe371c6182425a76aaa7805cf8365893 16:58:11 $ docker rm -f --volumes bafbc1b71241897251d9b937ac8125e1fe371c6182425a76aaa7805cf8365893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:12 + docker inspect -f . ci-base-image-arm64 16:58:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:12 prd-ubuntu20.04-docker-arm64-4c-16g-1339 does not seem to be running inside a container 16:58:12 $ 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/115 -v /w/workspace/app-rfid-llrp-inventory/115:/w/workspace/app-rfid-llrp-inventory/115:rw,z -v /w/workspace/app-rfid-llrp-inventory/115@tmp:/w/workspace/app-rfid-llrp-inventory/115@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 16:58:13 $ docker top 99254635bfb828b02d56e88fba17aff13251292193adac4cb652ad9490270195 -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:14 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/115 [Pipeline] fileExists [Pipeline] sh 16:58:14 + make test 16:58:14 go test -race ./... -coverprofile=coverage.out ./... 17:00:51 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:00:54 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:00:54 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.087s coverage: 86.2% of statements 17:01:05 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.380s coverage: 71.9% of statements 17:01:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:01:05 go vet ./... 17:03:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:03:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:03:26 ./bin/test-attribution.sh [Pipeline] echo 17:03:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:03:27 $ docker stop --time=1 99254635bfb828b02d56e88fba17aff13251292193adac4cb652ad9490270195 17:03:30 $ docker rm -f --volumes 99254635bfb828b02d56e88fba17aff13251292193adac4cb652ad9490270195 [Pipeline] // withDockerContainer [Pipeline] sh 17:03:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:03:31 Warning: overwriting stash ‘coverage-report’ 17:03:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:03:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:03:33 + ls -al . 17:03:33 total 232 17:03:33 drwxrwxr-x 10 jenkins jenkins 4096 Jul 17 16:58 . 17:03:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 16:56 .. 17:03:33 -rw-rw-r-- 1 jenkins jenkins 262 Jul 17 16:56 .dockerignore 17:03:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 16:56 .git 17:03:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 16:56 .github 17:03:33 -rw-rw-r-- 1 jenkins jenkins 788 Jul 17 16:56 .gitignore 17:03:33 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 16:56 .golangci.yml 17:03:33 -rw-rw-r-- 1 jenkins jenkins 10332 Jul 17 16:56 Attribution.txt 17:03:33 -rw-rw-r-- 1 jenkins jenkins 9042 Jul 17 16:56 CHANGELOG.md 17:03:33 -rw-rw-r-- 1 jenkins jenkins 1659 Jul 17 16:56 Dockerfile 17:03:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 16:56 GOVERNANCE.md 17:03:33 -rw-rw-r-- 1 jenkins jenkins 687 Jul 17 16:56 Jenkinsfile 17:03:33 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 17 16:56 LICENSE 17:03:33 -rw-rw-r-- 1 jenkins jenkins 2497 Jul 17 16:56 Makefile 17:03:33 -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 16:56 OWNERS.md 17:03:33 -rw-rw-r-- 1 jenkins jenkins 31516 Jul 17 16:56 README.md 17:03:33 -rw-rw-r-- 1 jenkins jenkins 11 Jul 17 16:54 VERSION 17:03:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 16:56 bin 17:03:33 -rw-r--r-- 1 jenkins jenkins 41317 Jul 17 17:01 coverage.out 17:03:33 -rw-rw-r-- 1 jenkins jenkins 3693 Jul 17 16:56 go.mod 17:03:33 -rw-rw-r-- 1 jenkins jenkins 32865 Jul 17 16:56 go.sum 17:03:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 16:56 images 17:03:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 16:56 internal 17:03:33 -rw-rw-r-- 1 jenkins jenkins 531 Jul 17 16:56 main.go 17:03:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 16:56 res 17:03:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 16:56 snap 17:03:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 16:56 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:33 + 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=bffda19a327bd0e0f8f572f38d60b953f6d5e074 --label arch=arm64 --label version=3.1.0-dev.3 . 17:03:33 Sending build context to Docker daemon 684kB 17:03:33 Step 1/29 : ARG BASE=golang:1.20-alpine3.17 17:03:33 Step 2/29 : FROM ${BASE} AS builder 17:03:33 ---> 1b2361ac683c 17:03:33 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 17:03:33 ---> Running in 4e06c55c7caa 17:03:33 Removing intermediate container 4e06c55c7caa 17:03:33 ---> cdfe64d14fce 17:03:33 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 17:03:34 ---> Running in 7e759382528c 17:03:34 Removing intermediate container 7e759382528c 17:03:34 ---> 4566b7ba3ed9 17:03:34 Step 5/29 : ARG ADD_BUILD_TAGS="" 17:03:34 ---> Running in adfa2902e014 17:03:34 Removing intermediate container adfa2902e014 17:03:34 ---> f24e5d3cae16 17:03:34 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:03:34 ---> Running in 5f4826e56f03 17:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:03:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:03:37 OK: 263 MiB in 53 packages 17:03:38 Removing intermediate container 5f4826e56f03 17:03:38 ---> 09f50b8fff6c 17:03:38 Step 7/29 : WORKDIR /app 17:03:38 ---> Running in bf636bbe37e8 17:03:38 Removing intermediate container bf636bbe37e8 17:03:38 ---> f9ff851dad95 17:03:38 Step 8/29 : COPY go.mod vendor* ./ 17:03:38 ---> fe889f33a251 17:03:38 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:03:38 ---> Running in 1b7bac2abec5 17:03:40 Removing intermediate container 1b7bac2abec5 17:03:40 ---> 84dad8089b9e 17:03:40 Step 10/29 : COPY . . 17:03:41 ---> 7c00c66356b9 17:03:41 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:03:41 ---> Running in 62e6e0171d70 17:03:41 Removing intermediate container 62e6e0171d70 17:03:41 ---> 942e3c3bddfc 17:03:41 Step 12/29 : RUN $MAKE 17:03:42 ---> Running in f52ff3104f6d 17:03:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.7 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.3 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.1.0-dev.3" -trimpath -mod=readonly -o app-rfid-llrp-inventory 17:05:49 Removing intermediate container f52ff3104f6d 17:05:49 ---> fc40aa86d983 17:05:49 Step 13/29 : FROM alpine:3.17 17:05:49 3.17: Pulling from library/alpine 17:05:49 edb6bdbacee9: Already exists 17:05:49 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:05:49 Status: Downloaded newer image for alpine:3.17 17:05:49 ---> 779605e5fbc0 17:05:49 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:05:49 ---> Running in 3ee6ab65478b 17:05:49 Removing intermediate container 3ee6ab65478b 17:05:49 ---> 41f487d5c23c 17:05:49 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:05:49 ---> Running in 98951cc2d939 17:05:49 Removing intermediate container 98951cc2d939 17:05:49 ---> 25cfbc699694 17:05:49 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 17:05:49 ---> Running in 4e2783e6db2f 17:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:05:49 (1/2) Installing ca-certificates (20230506-r0) 17:05:49 (2/2) Installing dumb-init (1.2.5-r2) 17:05:49 Executing busybox-1.35.0-r29.trigger 17:05:49 Executing ca-certificates-20230506-r0.trigger 17:05:49 OK: 8 MiB in 17 packages 17:05:50 Removing intermediate container 4e2783e6db2f 17:05:50 ---> 60b00ab84740 17:05:50 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:05:51 ---> 0e9ffcf62fd6 17:05:51 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 17:05:51 ---> 7c5127e09f96 17:05:51 Step 19/29 : COPY --from=builder /app/res/ /res/ 17:05:52 ---> 70cd54b120f8 17:05:52 Step 20/29 : COPY --from=builder /app/static/ /static/ 17:05:52 ---> aebda5a6e58b 17:05:52 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:05:56 ---> 2f318b229e37 17:05:56 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:05:56 ---> Running in 65e3b089be9e 17:05:57 Removing intermediate container 65e3b089be9e 17:05:57 ---> 937b73b7060c 17:05:57 Step 23/29 : VOLUME /cache 17:05:57 ---> Running in 0029f82e14d1 17:05:57 Removing intermediate container 0029f82e14d1 17:05:57 ---> 3d76e5c07b14 17:05:57 Step 24/29 : EXPOSE 59711 17:05:58 ---> Running in e2a7c2f3c224 17:05:58 Removing intermediate container e2a7c2f3c224 17:05:58 ---> 845a33f675f6 17:05:58 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:05:58 ---> Running in 2ca141c12e3e 17:05:58 Removing intermediate container 2ca141c12e3e 17:05:58 ---> 43cd777a1a53 17:05:58 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 17:05:58 ---> Running in a3d4bf570141 17:05:59 Removing intermediate container a3d4bf570141 17:05:59 ---> 42302f5ae602 17:05:59 Step 27/29 : LABEL arch=arm64 17:05:59 ---> Running in 455833ac46c9 17:05:59 Removing intermediate container 455833ac46c9 17:05:59 ---> 355d2d3e4567 17:05:59 Step 28/29 : LABEL git_sha=bffda19a327bd0e0f8f572f38d60b953f6d5e074 17:05:59 ---> Running in 7c2702376901 17:05:59 Removing intermediate container 7c2702376901 17:05:59 ---> 9867882db8df 17:05:59 Step 29/29 : LABEL version=3.1.0-dev.3 17:05:59 ---> Running in 1324bac0fe8c 17:06:00 Removing intermediate container 1324bac0fe8c 17:06:00 ---> e3335f597ebd 17:06:00 [Warning] One or more build-args [ARCH] were not consumed 17:06:00 Successfully built e3335f597ebd 17:06:00 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 17:06:00 provisioning config files... 17:06:00 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/115@tmp/config10831075948886555809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:00 ---> docker-login.sh 17:06:00 nexus3.edgexfoundry.org:10001 17:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:00 Configure a credential helper to remove this warning. See 17:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:00 17:06:00 Login Succeeded 17:06:00 nexus3.edgexfoundry.org:10002 17:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:01 Configure a credential helper to remove this warning. See 17:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:01 17:06:01 Login Succeeded 17:06:01 nexus3.edgexfoundry.org:10003 17:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:01 Configure a credential helper to remove this warning. See 17:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:01 17:06:01 Login Succeeded 17:06:01 nexus3.edgexfoundry.org:10004 17:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:01 Configure a credential helper to remove this warning. See 17:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:01 17:06:01 Login Succeeded 17:06:01 docker.io 17:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:02 Configure a credential helper to remove this warning. See 17:06:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:02 17:06:02 Login Succeeded 17:06:02 ---> docker-login.sh ends [Pipeline] } 17:06:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:06:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:02 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 17:06:02 bffda19a327bd0e0f8f572f38d60b953f6d5e074 17:06:02 latest 17:06:02 3.1.0-dev.3 17:06:02 bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 17:06:02 main 17:06:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:02 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:03 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bffda19a327bd0e0f8f572f38d60b953f6d5e074 17:06:03 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:06:03 300081aebbfa: Preparing 17:06:03 bd06b030e227: Preparing 17:06:03 bd2171536620: Preparing 17:06:03 34f980463a38: Preparing 17:06:03 b51628453789: Preparing 17:06:03 a86c4233d4da: Preparing 17:06:03 b88e582a2b12: Preparing 17:06:03 9386262d7a74: Preparing 17:06:03 a86c4233d4da: Waiting 17:06:03 9386262d7a74: Waiting 17:06:03 b88e582a2b12: Waiting 17:06:03 34f980463a38: Pushed 17:06:03 300081aebbfa: Pushed 17:06:03 b51628453789: Pushed 17:06:03 bd2171536620: Pushed 17:06:03 9386262d7a74: Layer already exists 17:06:03 a86c4233d4da: Pushed 17:06:03 b88e582a2b12: Pushed 17:06:09 bd06b030e227: Pushed 17:06:09 bffda19a327bd0e0f8f572f38d60b953f6d5e074: digest: sha256:178afecfe86316732f9dfd8b6ef4f0c3bcfa4cdc81fcf07bfbc5cd4171f6636a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:09 + 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 17:06:09 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:06:09 300081aebbfa: Preparing 17:06:09 bd06b030e227: Preparing 17:06:09 bd2171536620: Preparing 17:06:09 34f980463a38: Preparing 17:06:09 b51628453789: Preparing 17:06:09 a86c4233d4da: Preparing 17:06:09 b88e582a2b12: Preparing 17:06:09 9386262d7a74: Preparing 17:06:09 a86c4233d4da: Waiting 17:06:09 b88e582a2b12: Waiting 17:06:09 9386262d7a74: Waiting 17:06:09 34f980463a38: Layer already exists 17:06:09 300081aebbfa: Layer already exists 17:06:09 bd2171536620: Layer already exists 17:06:09 bd06b030e227: Layer already exists 17:06:09 b51628453789: Layer already exists 17:06:09 a86c4233d4da: Layer already exists 17:06:09 b88e582a2b12: Layer already exists 17:06:09 9386262d7a74: Layer already exists 17:06:09 latest: digest: sha256:178afecfe86316732f9dfd8b6ef4f0c3bcfa4cdc81fcf07bfbc5cd4171f6636a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:10 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:10 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.1.0-dev.3 17:06:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:06:10 300081aebbfa: Preparing 17:06:10 bd06b030e227: Preparing 17:06:10 bd2171536620: Preparing 17:06:10 34f980463a38: Preparing 17:06:10 b51628453789: Preparing 17:06:10 a86c4233d4da: Preparing 17:06:10 b88e582a2b12: Preparing 17:06:10 9386262d7a74: Preparing 17:06:10 a86c4233d4da: Waiting 17:06:10 b88e582a2b12: Waiting 17:06:10 9386262d7a74: Waiting 17:06:10 34f980463a38: Layer already exists 17:06:10 bd06b030e227: Layer already exists 17:06:10 bd2171536620: Layer already exists 17:06:10 300081aebbfa: Layer already exists 17:06:10 b51628453789: Layer already exists 17:06:10 a86c4233d4da: Layer already exists 17:06:10 9386262d7a74: Layer already exists 17:06:10 b88e582a2b12: Layer already exists 17:06:10 3.1.0-dev.3: digest: sha256:178afecfe86316732f9dfd8b6ef4f0c3bcfa4cdc81fcf07bfbc5cd4171f6636a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:11 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:11 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 17:06:11 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:06:11 300081aebbfa: Preparing 17:06:11 bd06b030e227: Preparing 17:06:11 bd2171536620: Preparing 17:06:11 34f980463a38: Preparing 17:06:11 b51628453789: Preparing 17:06:11 a86c4233d4da: Preparing 17:06:11 b88e582a2b12: Preparing 17:06:11 9386262d7a74: Preparing 17:06:11 a86c4233d4da: Waiting 17:06:11 b88e582a2b12: Waiting 17:06:11 9386262d7a74: Waiting 17:06:11 300081aebbfa: Layer already exists 17:06:11 bd06b030e227: Layer already exists 17:06:11 bd2171536620: Layer already exists 17:06:11 b51628453789: Layer already exists 17:06:11 34f980463a38: Layer already exists 17:06:11 a86c4233d4da: Layer already exists 17:06:11 b88e582a2b12: Layer already exists 17:06:11 9386262d7a74: Layer already exists 17:06:11 bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3: digest: sha256:178afecfe86316732f9dfd8b6ef4f0c3bcfa4cdc81fcf07bfbc5cd4171f6636a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:12 + 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 17:06:12 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 17:06:12 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:06:12 300081aebbfa: Preparing 17:06:12 bd06b030e227: Preparing 17:06:12 bd2171536620: Preparing 17:06:12 34f980463a38: Preparing 17:06:12 b51628453789: Preparing 17:06:12 a86c4233d4da: Preparing 17:06:12 b88e582a2b12: Preparing 17:06:12 9386262d7a74: Preparing 17:06:12 b88e582a2b12: Waiting 17:06:12 a86c4233d4da: Waiting 17:06:12 9386262d7a74: Waiting 17:06:12 bd2171536620: Layer already exists 17:06:12 34f980463a38: Layer already exists 17:06:12 b51628453789: Layer already exists 17:06:12 bd06b030e227: Layer already exists 17:06:12 300081aebbfa: Layer already exists 17:06:12 a86c4233d4da: Layer already exists 17:06:12 9386262d7a74: Layer already exists 17:06:12 b88e582a2b12: Layer already exists 17:06:12 main: digest: sha256:178afecfe86316732f9dfd8b6ef4f0c3bcfa4cdc81fcf07bfbc5cd4171f6636a size: 1988 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:06:12 ===================================================== [Pipeline] echo 17:06:12 taggedImages: 17:06:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bffda19a327bd0e0f8f572f38d60b953f6d5e074 17:06:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:06:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.1.0-dev.3 17:06:12 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bffda19a327bd0e0f8f572f38d60b953f6d5e074-3.1.0-dev.3 17:06:12 - 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 17:06:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:13 17:06:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:13 arm64: Pulling from edgex-lftools-log-publisher 17:06:13 8998bd30e6a1: Pulling fs layer 17:06:13 04944245beec: Pulling fs layer 17:06:13 699f458cf7ca: Pulling fs layer 17:06:13 765212b225bb: Pulling fs layer 17:06:13 f23df028b6ca: Pulling fs layer 17:06:13 d65c8cfc05b1: Pulling fs layer 17:06:13 2437ff75d9bd: Pulling fs layer 17:06:13 765212b225bb: Waiting 17:06:13 f23df028b6ca: Waiting 17:06:13 d65c8cfc05b1: Waiting 17:06:13 2437ff75d9bd: Waiting 17:06:13 04944245beec: Verifying Checksum 17:06:13 04944245beec: Download complete 17:06:13 765212b225bb: Verifying Checksum 17:06:13 765212b225bb: Download complete 17:06:13 f23df028b6ca: Verifying Checksum 17:06:13 f23df028b6ca: Download complete 17:06:13 d65c8cfc05b1: Verifying Checksum 17:06:13 d65c8cfc05b1: Download complete 17:06:13 699f458cf7ca: Verifying Checksum 17:06:13 699f458cf7ca: Download complete 17:06:14 8998bd30e6a1: Verifying Checksum 17:06:14 8998bd30e6a1: Download complete 17:06:16 2437ff75d9bd: Verifying Checksum 17:06:16 2437ff75d9bd: Download complete 17:06:18 8998bd30e6a1: Pull complete 17:06:18 04944245beec: Pull complete 17:06:19 699f458cf7ca: Pull complete 17:06:20 765212b225bb: Pull complete 17:06:20 f23df028b6ca: Pull complete 17:06:20 d65c8cfc05b1: Pull complete 17:06:35 2437ff75d9bd: Pull complete 17:06:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:36 prd-ubuntu20.04-docker-arm64-4c-16g-1339 does not seem to be running inside a container 17:06:36 $ 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/115 -v /w/workspace/app-rfid-llrp-inventory/115:/w/workspace/app-rfid-llrp-inventory/115:rw,z -v /w/workspace/app-rfid-llrp-inventory/115@tmp:/w/workspace/app-rfid-llrp-inventory/115@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 17:06:38 $ docker top 51bf81570f87468c24840d0d19fdf0ea0801bf75d2b08002900ff443f95c7901 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:39 ---> job-cost.sh 17:06:39 lf-activate-venv: SKIPPING 17:06:39 INFO: No Stack... 17:06:40 INFO: Retrieving Pricing Info for: v3-standard-4 17:06:40 INFO: Archiving Costs [Pipeline] sh 17:06:40 + cat /w/workspace/app-rfid-llrp-inventory/115/archives/cost.csv 17:06:40 + cut -d, -f6 [Pipeline] lock 17:06:40 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] 17:06:40 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] did not exist. Created. 17:06:40 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:06:41 /w/workspace/app-rfid-llrp-inventory/115@tmp/durable-d2025824/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:06:41 + echo total: 0.10999999940395355 [Pipeline] stash 17:06:41 Warning: overwriting stash ‘stack-cost’ 17:06:41 Stashed 1 file(s) [Pipeline] } 17:06:41 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 17:06:41 $ docker stop --time=1 51bf81570f87468c24840d0d19fdf0ea0801bf75d2b08002900ff443f95c7901 17:06:43 $ docker rm -f --volumes 51bf81570f87468c24840d0d19fdf0ea0801bf75d2b08002900ff443f95c7901 [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 17:06:43 provisioning config files... 17:06:43 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5235540062304135876tmp [Pipeline] { [Pipeline] sh 17:06:43 + set +x 17:06:43 + bash+ -s -- 17:06:43 curl -s https://codecov.io/bash 17:06:43 17:06:43 _____ _ 17:06:43 / ____| | | 17:06:43 | | ___ __| | ___ ___ _____ __ 17:06:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:06:43 | |___| (_) | (_| | __/ (_| (_) \ V / 17:06:43 \_____\___/ \__,_|\___|\___\___/ \_/ 17:06:43 Bash-1.0.6 17:06:43 17:06:43 17:06:43 ==> git version 2.25.1 found 17:06:43 ==> 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 17:06:43 Release-Date: 2020-01-08 17:06:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:06:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:06:43 ==> Jenkins CI detected. 17:06:43 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 17:06:43 project root: . 17:06:43 --> token set from env 17:06:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:06:43 ==> Running gcov in . (disable via -X gcov) 17:06:43 ==> Python coveragepy not found 17:06:43 ==> Searching for coverage reports in: 17:06:43 + . 17:06:43 -> Found 1 reports 17:06:43 ==> Detecting git/mercurial file structure 17:06:44 ==> Reading reports 17:06:44 + ./coverage.out bytes=41317 17:06:44 ==> Appending adjustments 17:06:44 https://docs.codecov.io/docs/fixing-reports 17:06:44 + Found adjustments 17:06:44 ==> Gzipping contents 17:06:44 12K /tmp/codecov.WpQvYj.gz 17:06:44 ==> Uploading reports 17:06:44 url: https://codecov.io 17:06:44 query: branch=main&commit=bffda19a327bd0e0f8f572f38d60b953f6d5e074&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:06:44 -> Pinging Codecov 17:06:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=main&commit=bffda19a327bd0e0f8f572f38d60b953f6d5e074&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:06:44 -> Uploading to 17:06:44 https://storage.googleapis.com/codecov/v4/raw/2023-07-17/581DD39554BDF9B6E22D074273EAD858/bffda19a327bd0e0f8f572f38d60b953f6d5e074/cd59bdfd-63a2-4cc7-a7ab-71cbb8fa923b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230717%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230717T170644Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec8e3b2279a7d1cafde8ac97bdf132f96880da527d23dd4dc1bb6be566ce3583 17:06:44 % Total % Received % Xferd Average Speed Time Time Time Current 17:06:44 Dload Upload Total Spent Left Speed 17:06:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11800 0 0 100 11800 0 47967 --:--:-- --:--:-- --:--:-- 47773 17:06:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] } 17:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:06:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:06:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:06:45 17:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:06:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:06:45 df9b9388f04a: Pulling fs layer 17:06:45 52dc419b0ee2: Pulling fs layer 17:06:45 25bc292e5bac: Pulling fs layer 17:06:45 114826534d7a: Pulling fs layer 17:06:45 4657fd5d0bcf: Pulling fs layer 17:06:45 6ad1cebc031e: Pulling fs layer 17:06:45 8a3aa393b2d8: Pulling fs layer 17:06:45 4657fd5d0bcf: Waiting 17:06:45 6ad1cebc031e: Waiting 17:06:45 8a3aa393b2d8: Waiting 17:06:45 114826534d7a: Waiting 17:06:45 25bc292e5bac: Download complete 17:06:45 52dc419b0ee2: Download complete 17:06:45 4657fd5d0bcf: Verifying Checksum 17:06:45 4657fd5d0bcf: Download complete 17:06:45 df9b9388f04a: Verifying Checksum 17:06:45 df9b9388f04a: Download complete 17:06:45 df9b9388f04a: Pull complete 17:06:45 6ad1cebc031e: Verifying Checksum 17:06:45 6ad1cebc031e: Download complete 17:06:45 52dc419b0ee2: Pull complete 17:06:45 25bc292e5bac: Pull complete 17:06:46 114826534d7a: Verifying Checksum 17:06:46 114826534d7a: Download complete 17:06:46 8a3aa393b2d8: Verifying Checksum 17:06:46 8a3aa393b2d8: Download complete 17:06:49 114826534d7a: Pull complete 17:06:49 4657fd5d0bcf: Pull complete 17:06:49 6ad1cebc031e: Pull complete 17:06:52 8a3aa393b2d8: Pull complete 17:06:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:06:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:06:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:52 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 17:06:52 $ 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 17:06:56 $ docker top 439894f808946238355bdabcdef9d28a82360db5d1e6c6bbd5e4b3c79157aaa0 -eo pid,comm [Pipeline] { [Pipeline] echo 17:06:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 17:06:57 + set -o pipefail 17:06:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 17:07:01 17:07:01 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 17:07:01 17:07:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/306c47d3-ffa7-492a-bb6c-c94c5e24764a 17:07:01 17:07:01 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:07:01 17:07:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:07:01 17:07:01 17:07:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:07:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:07:01 More details here: https://snyk.co/ue1NS [Pipeline] } 17:07:01 $ docker stop --time=1 439894f808946238355bdabcdef9d28a82360db5d1e6c6bbd5e4b3c79157aaa0 17:07:05 $ docker rm -f --volumes 439894f808946238355bdabcdef9d28a82360db5d1e6c6bbd5e4b3c79157aaa0 [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 17:07:06 + git log --format=format:%s -1 bffda19a327bd0e0f8f572f38d60b953f6d5e074 [Pipeline] sh 17:07:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:07:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:06 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 17:07:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:07:07 $ docker top e2925b4912a3c802378a330fa4782b99153fa63fb6c403561a34cc42535d41b7 -eo pid,comm 17:07:07 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). 17:07:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:07 [ssh-agent] Looking for ssh-agent implementation... 17:07:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:07 $ docker exec e2925b4912a3c802378a330fa4782b99153fa63fb6c403561a34cc42535d41b7 ssh-agent 17:07:07 SSH_AUTH_SOCK=/tmp/ssh-0riA9BE4HQlO/agent.32 17:07:07 SSH_AGENT_PID=38 17:07:07 Running ssh-add (command line suppressed) 17:07:07 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15384982248528719693.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15384982248528719693.key) 17:07:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:08 + git semver tag 17:07:08 2023-07-17 17:07:08,242 [run_tag] DEBUG tag force:False 17:07:08 2023-07-17 17:07:08,242 [check_head_tag] DEBUG check head tag 17:07:08 2023-07-17 17:07:08,242 [execute] INFO git cat-file --batch-check 17:07:08 2023-07-17 17:07:08,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:07:08 2023-07-17 17:07:08,246 [execute] INFO git cat-file --batch 17:07:08 2023-07-17 17:07:08,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:07:08 2023-07-17 17:07:08,253 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:07:08 2023-07-17 17:07:08,253 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 17:07:08 2023-07-17 17:07:08,253 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:07:08 2023-07-17 17:07:08,258 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:07:08 3.1.0-dev.3 [Pipeline] } 17:07:08 $ docker exec --env ******** --env ******** e2925b4912a3c802378a330fa4782b99153fa63fb6c403561a34cc42535d41b7 ssh-agent -k 17:07:08 unset SSH_AUTH_SOCK; 17:07:08 unset SSH_AGENT_PID; 17:07:08 echo Agent pid 38 killed; 17:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:07:08 + git semver [Pipeline] } 17:07:09 $ docker stop --time=1 e2925b4912a3c802378a330fa4782b99153fa63fb6c403561a34cc42535d41b7 17:07:10 $ docker rm -f --volumes e2925b4912a3c802378a330fa4782b99153fa63fb6c403561a34cc42535d41b7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:07:10 17:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:07:10 0.23.1-centos7: Pulling from edgex-lftools 17:07:10 ab5ef0e58194: Pulling fs layer 17:07:10 9712f1f96733: Pulling fs layer 17:07:10 63f879dbbcfc: Pulling fs layer 17:07:10 0d9ebad4ef96: Pulling fs layer 17:07:10 e9a5061849ea: Pulling fs layer 17:07:10 d747dcd14b5f: Pulling fs layer 17:07:10 2de7ff778b66: Pulling fs layer 17:07:10 e9a5061849ea: Waiting 17:07:10 0d9ebad4ef96: Waiting 17:07:10 d747dcd14b5f: Waiting 17:07:10 2de7ff778b66: Waiting 17:07:10 9712f1f96733: Verifying Checksum 17:07:10 9712f1f96733: Download complete 17:07:11 63f879dbbcfc: Verifying Checksum 17:07:11 63f879dbbcfc: Download complete 17:07:11 e9a5061849ea: Verifying Checksum 17:07:11 e9a5061849ea: Download complete 17:07:11 d747dcd14b5f: Verifying Checksum 17:07:11 d747dcd14b5f: Download complete 17:07:11 0d9ebad4ef96: Verifying Checksum 17:07:11 0d9ebad4ef96: Download complete 17:07:11 ab5ef0e58194: Verifying Checksum 17:07:11 ab5ef0e58194: Download complete 17:07:11 2de7ff778b66: Verifying Checksum 17:07:11 2de7ff778b66: Download complete 17:07:14 ab5ef0e58194: Pull complete 17:07:14 9712f1f96733: Pull complete 17:07:14 63f879dbbcfc: Pull complete 17:07:18 0d9ebad4ef96: Pull complete 17:07:18 e9a5061849ea: Pull complete 17:07:18 d747dcd14b5f: Pull complete 17:07:19 2de7ff778b66: Pull complete 17:07:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:07:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:19 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 17:07:19 $ 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 17:07:24 $ docker top 84f2f0b9f3f286086dc3c180b78ec5045bedd5aa06d9795b9ef7385f53ecd789 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:07:24 provisioning config files... 17:07:24 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config18418082894353734828tmp 17:07:24 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6162423958606323945tmp 17:07:24 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6629930037718509602tmp [Pipeline] { [Pipeline] echo 17:07:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:07:25 ---> sigul-configuration.sh 17:07:25 gpg: directory `/root/.gnupg' created 17:07:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:07:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:07:25 gpg: keyring `/root/.gnupg/secring.gpg' created 17:07:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:07:25 gpg: CAST5 encrypted data 17:07:25 gpg: encrypted with 1 passphrase 17:07:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:07:25 + mkdir /home/jenkins 17:07:25 + mkdir /home/jenkins/sigul [Pipeline] sh 17:07:25 + 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 17:07:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:07:26 ---> sigul-install.sh 17:07:26 Sigul already installed; skipping installation. [Pipeline] sh 17:07:26 + git tag --list 17:07:26 v0.0.0 17:07:26 v1.0.0 17:07:26 v2.1.0 17:07:26 v2.1.1 17:07:26 v2.2.0 17:07:26 v2.3.0 17:07:26 v3.0 17:07:26 v3.0.0 17:07:26 v3.1.0-dev.1 17:07:26 v3.1.0-dev.2 17:07:26 v3.1.0-dev.3 [Pipeline] sh 17:07:26 + lftools sign git-tag v3.1.0-dev.3 17:07:27 Signing Git tag with Sigul... 17:07:27 Signing v3.1.0-dev.3 [Pipeline] echo 17:07:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:07:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:07:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:07:27 $ docker stop --time=1 84f2f0b9f3f286086dc3c180b78ec5045bedd5aa06d9795b9ef7385f53ecd789 17:07:29 $ docker rm -f --volumes 84f2f0b9f3f286086dc3c180b78ec5045bedd5aa06d9795b9ef7385f53ecd789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:07:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:07:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:29 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 17:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:07:30 $ docker top 4b650ffceb985a069be8d23d580b2b7ee246695191b251af905b63e3ce49320f -eo pid,comm 17:07:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:07:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:30 [ssh-agent] Looking for ssh-agent implementation... 17:07:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:30 $ docker exec 4b650ffceb985a069be8d23d580b2b7ee246695191b251af905b63e3ce49320f ssh-agent 17:07:30 SSH_AUTH_SOCK=/tmp/ssh-YVLztIzpKEF4/agent.32 17:07:30 SSH_AGENT_PID=38 17:07:30 Running ssh-add (command line suppressed) 17:07:30 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15568235237428543896.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15568235237428543896.key) 17:07:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:30 + git semver bump pre 17:07:31 2023-07-17 17:07:31,124 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:07:31 2023-07-17 17:07:31,124 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev 17:07:31 2023-07-17 17:07:31,124 [bump_version] DEBUG bumped version:3.1.0-dev.4 17:07:31 2023-07-17 17:07:31,124 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 17:07:31 2023-07-17 17:07:31,124 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:07:31 2023-07-17 17:07:31,124 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:07:31 2023-07-17 17:07:31,126 [execute] INFO git cat-file --batch-check 17:07:31 2023-07-17 17:07:31,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:07:31 2023-07-17 17:07:31,132 [execute] INFO git cat-file --batch 17:07:31 2023-07-17 17:07:31,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:07:31 2023-07-17 17:07:31,137 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:07:31 3.1.0-dev.4 [Pipeline] } 17:07:31 $ docker exec --env ******** --env ******** 4b650ffceb985a069be8d23d580b2b7ee246695191b251af905b63e3ce49320f ssh-agent -k 17:07:31 unset SSH_AUTH_SOCK; 17:07:31 unset SSH_AGENT_PID; 17:07:31 echo Agent pid 38 killed; 17:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:07:31 + git semver [Pipeline] } 17:07:31 $ docker stop --time=1 4b650ffceb985a069be8d23d580b2b7ee246695191b251af905b63e3ce49320f 17:07:33 $ docker rm -f --volumes 4b650ffceb985a069be8d23d580b2b7ee246695191b251af905b63e3ce49320f [Pipeline] // withDockerContainer [Pipeline] sh 17:07:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:07:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:33 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 17:07:33 $ 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 17:07:34 $ docker top fb683bd3b3a9b4569f56a8065acc516f077121fb7b8366fce8821e8addbeeef2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:34 [ssh-agent] Looking for ssh-agent implementation... 17:07:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:34 $ docker exec fb683bd3b3a9b4569f56a8065acc516f077121fb7b8366fce8821e8addbeeef2 ssh-agent 17:07:34 SSH_AUTH_SOCK=/tmp/ssh-FutaryV80jGj/agent.33 17:07:34 SSH_AGENT_PID=39 17:07:34 Running ssh-add (command line suppressed) 17:07:34 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_85353034379863998.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_85353034379863998.key) 17:07:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:34 + git semver push 17:07:35 2023-07-17 17:07:35,069 [run_push] DEBUG push 17:07:35 2023-07-17 17:07:35,069 [execute] INFO git cat-file --batch-check 17:07:35 2023-07-17 17:07:35,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:07:35 2023-07-17 17:07:35,073 [execute] INFO git rev-list 02accae7fa4b79bd1b523593e987bb9568f2dcb9 -- 17:07:35 2023-07-17 17:07:35,074 [execute] DEBUG Popen(['git', 'rev-list', '02accae7fa4b79bd1b523593e987bb9568f2dcb9', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:07:35 2023-07-17 17:07:35,080 [execute] INFO git fetch -v origin 17:07:35 2023-07-17 17:07:35,081 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 17:07:35 2023-07-17 17:07:35,594 [run_push] DEBUG no remote changes detected 17:07:35 2023-07-17 17:07:35,594 [execute] INFO git push origin semver 17:07:35 2023-07-17 17:07:35,594 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:07:36 2023-07-17 17:07:36,421 [run_push] DEBUG push all version tags 17:07:36 2023-07-17 17:07:36,422 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:07:36 2023-07-17 17:07:36,422 [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) 17:07:37 2023-07-17 17:07:37,411 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:07:37 3.1.0-dev.4 [Pipeline] } 17:07:37 $ docker exec --env ******** --env ******** fb683bd3b3a9b4569f56a8065acc516f077121fb7b8366fce8821e8addbeeef2 ssh-agent -k 17:07:37 unset SSH_AUTH_SOCK; 17:07:37 unset SSH_AGENT_PID; 17:07:37 echo Agent pid 39 killed; 17:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:07:38 + git semver [Pipeline] } 17:07:38 $ docker stop --time=1 fb683bd3b3a9b4569f56a8065acc516f077121fb7b8366fce8821e8addbeeef2 17:07:39 $ docker rm -f --volumes fb683bd3b3a9b4569f56a8065acc516f077121fb7b8366fce8821e8addbeeef2 [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 17:07:40 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 17:07:40 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:07:40 total 16 17:07:40 drwxr-xr-x 3 root root 4096 Jul 17 16:56 . 17:07:40 drwxrwxr-x 12 jenkins jenkins 4096 Jul 17 17:07 .. 17:07:40 drwxr-xr-x 2 root root 4096 Jul 17 16:56 cost 17:07:40 -rw-r--r-- 1 root root 95 Jul 17 16:56 cost.csv 17:07:40 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:07:40 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:07:40 total 16 17:07:40 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 16:56 . 17:07:40 drwxrwxr-x 12 jenkins jenkins 4096 Jul 17 17:07 .. 17:07:40 drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 16:56 cost 17:07:40 -rw-r--r-- 1 jenkins jenkins 95 Jul 17 16:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:07:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:07:41 ---> package-listing.sh 17:07:41 ++ facter osfamily 17:07:41 ++ tr '[:upper:]' '[:lower:]' 17:07:41 + OS_FAMILY=debian 17:07:41 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 17:07:41 + START_PACKAGES=/tmp/packages_start.txt 17:07:41 + END_PACKAGES=/tmp/packages_end.txt 17:07:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:07:41 + PACKAGES=/tmp/packages_start.txt 17:07:41 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:07:41 + PACKAGES=/tmp/packages_end.txt 17:07:41 + case "${OS_FAMILY}" in 17:07:41 + dpkg -l 17:07:41 + grep '^ii' 17:07:41 + '[' -f /tmp/packages_start.txt ']' 17:07:41 + '[' -f /tmp/packages_end.txt ']' 17:07:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:07:41 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:07:41 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 17:07:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 17:07:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:07:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:42 prd-ubuntu20.04-docker-8c-8g-1338 does not seem to be running inside a container 17:07:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:07:42 $ docker top 3c3db9db5e9b6daa5fb3c022be5374acf6354d0847b0adb4b4d07612f4dda7a8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:43 + touch /tmp/pre-build-complete [Pipeline] sh 17:07:43 + mkdir -p /var/log/sysstat [Pipeline] sh 17:07:43 + ls /var/log/sa-host 17:07:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:43 provisioning config files... 17:07:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1309092700366315221tmp [Pipeline] { [Pipeline] echo 17:07:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:07:44 ---> create-netrc.sh [Pipeline] } 17:07:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:07:44 ---> python-tools-install.sh [Pipeline] echo 17:07:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:07:44 ---> sudo-logs.sh 17:07:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:07:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:07:45 ---> job-cost.sh 17:07:45 lf-activate-venv: SKIPPING 17:07:45 DEBUG: total: 0.2199999988079071 17:07:45 INFO: Retrieving Stack Cost... 17:07:45 INFO: Retrieving Pricing Info for: v3-standard-8 17:07:46 INFO: Archiving Costs [Pipeline] echo 17:07:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:07:46 ---> logs-deploy.sh 17:07:46 lf-activate-venv: SKIPPING 17:07:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/115 17:07:46 INFO: archiving workspace using pattern(s): 17:07:47 Archives upload complete. 17:07:47 INFO: archiving logs to Nexus