Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 50b7175916fade296152ad9743613fc80727b30a 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-ssh9885084352490699312.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14255390520693923121.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2087979367048202628.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5699028993334424047.key Verifying host key using known hosts file > 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-ssh8473769769549971359.key Verifying host key using known hosts file > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-650’ Running on prd-ubuntu20.04-docker-8c-8g-652 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 50b7175916fade296152ad9743613fc80727b30a (main) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50b7175916fade296152ad9743613fc80727b30a # timeout=10 Commit message: "refactor: Adjust NATS Subject to be for all data not just Events (#111)" > git rev-list --no-walk d157eb815d7fbd973ad52ac1343ba67c62e80469 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:14:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:14:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:14:38 ========================================================= 21:14:38 EdgeX Global Pipelines Version Info 21:14:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:14:39 ------------------- 21:14:39 stable info: 21:14:39 ------------------- 21:14:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:14:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:14:39 Message: update stable to v1.0.239 21:14:39 ------------------- 21:14:39 experimental info: 21:14:39 ------------------- 21:14:39 Commited By: **** collab-it+edgex@linuxfoundation.org 21:14:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:14:39 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50b7175916fade296152ad9743613fc80727b30a [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50b7175 [Pipeline] echo 21:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:40 provisioning config files... 21:14:40 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config14030521354218048141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:40 ---> docker-login.sh 21:14:40 nexus3.edgexfoundry.org:10001 21:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:41 Configure a credential helper to remove this warning. See 21:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:41 21:14:41 Login Succeeded 21:14:41 nexus3.edgexfoundry.org:10002 21:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:41 Configure a credential helper to remove this warning. See 21:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:41 21:14:41 Login Succeeded 21:14:41 nexus3.edgexfoundry.org:10003 21:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:41 Configure a credential helper to remove this warning. See 21:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:41 21:14:41 Login Succeeded 21:14:41 nexus3.edgexfoundry.org:10004 21:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:41 Configure a credential helper to remove this warning. See 21:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:41 21:14:41 Login Succeeded 21:14:41 docker.io 21:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:41 Configure a credential helper to remove this warning. See 21:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:41 21:14:41 Login Succeeded 21:14:41 ---> docker-login.sh ends [Pipeline] } 21:14:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:14:42 + git rev-list -1 --merges 50b7175916fade296152ad9743613fc80727b30a~1..50b7175916fade296152ad9743613fc80727b30a [Pipeline] echo 21:14:42 -----------> git rev-list -1 --merges 50b7175916fade296152ad9743613fc80727b30a~1..50b7175916fade296152ad9743613fc80727b30a 50b7175916fade296152ad9743613fc80727b30a [false] [Pipeline] sh 21:14:42 + git log --format=format:%s -1 50b7175916fade296152ad9743613fc80727b30a [Pipeline] echo 21:14:42 ========================================================= 21:14:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:14:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:42 + git log --format=format:%s -1 50b7175916fade296152ad9743613fc80727b30a [Pipeline] echo 21:14:42 [semverPrep] GIT_COMMIT: 50b7175916fade296152ad9743613fc80727b30a, Commit Message: refactor: Adjust NATS Subject to be for all data not just Events (#111) [Pipeline] echo 21:14:43 [semverPrep] This is not a build commit. [Pipeline] sh 21:14:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:14:43 + grep -v github /etc/ssh/ssh_known_hosts 21:14:43 + [ -e /tmp/ssh_known_hosts ] 21:14:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:14:43 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:14:43 sudo tee -a /etc/ssh/ssh_known_hosts 21:14:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:43 21:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:43 0.1.4: Pulling from edgex-devops/py-git-semver 21:14:43 b85a868b505f: Pulling fs layer 21:14:43 e2be974225ed: Pulling fs layer 21:14:43 339a4e72a1f5: Pulling fs layer 21:14:43 988bab9f4d93: Pulling fs layer 21:14:43 1469e6f7b9e6: Pulling fs layer 21:14:43 eaf3925da568: Pulling fs layer 21:14:43 bab4dde63d76: Pulling fs layer 21:14:43 bde34c3a00c8: Pulling fs layer 21:14:43 b352a97aabf1: Pulling fs layer 21:14:43 4872d77fe225: Pulling fs layer 21:14:43 5851b861e8e6: Pulling fs layer 21:14:43 988bab9f4d93: Waiting 21:14:43 bab4dde63d76: Waiting 21:14:43 1469e6f7b9e6: Waiting 21:14:43 eaf3925da568: Waiting 21:14:43 bde34c3a00c8: Waiting 21:14:43 b352a97aabf1: Waiting 21:14:43 4872d77fe225: Waiting 21:14:43 e2be974225ed: Download complete 21:14:43 988bab9f4d93: Verifying Checksum 21:14:43 988bab9f4d93: Download complete 21:14:44 1469e6f7b9e6: Verifying Checksum 21:14:44 1469e6f7b9e6: Download complete 21:14:44 eaf3925da568: Verifying Checksum 21:14:44 eaf3925da568: Download complete 21:14:44 339a4e72a1f5: Verifying Checksum 21:14:44 339a4e72a1f5: Download complete 21:14:44 bde34c3a00c8: Verifying Checksum 21:14:44 bde34c3a00c8: Download complete 21:14:44 b352a97aabf1: Download complete 21:14:44 4872d77fe225: Download complete 21:14:44 5851b861e8e6: Verifying Checksum 21:14:44 5851b861e8e6: Download complete 21:14:44 b85a868b505f: Verifying Checksum 21:14:44 b85a868b505f: Download complete 21:14:44 bab4dde63d76: Verifying Checksum 21:14:44 bab4dde63d76: Download complete 21:14:45 b85a868b505f: Pull complete 21:14:45 e2be974225ed: Pull complete 21:14:45 339a4e72a1f5: Pull complete 21:14:46 988bab9f4d93: Pull complete 21:14:46 1469e6f7b9e6: Pull complete 21:14:46 eaf3925da568: Pull complete 21:14:48 bab4dde63d76: Pull complete 21:14:48 bde34c3a00c8: Pull complete 21:14:48 b352a97aabf1: Pull complete 21:14:48 4872d77fe225: Pull complete 21:14:48 5851b861e8e6: Pull complete 21:14:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:48 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:14:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:14:50 $ docker top 22f1e8fc2d96b99708383c4fdc3bd2fd23acc08446872045a53c163557e04ee6 -eo pid,comm 21:14:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:14:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:14:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:50 [ssh-agent] Looking for ssh-agent implementation... 21:14:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:51 $ docker exec 22f1e8fc2d96b99708383c4fdc3bd2fd23acc08446872045a53c163557e04ee6 ssh-agent 21:14:51 SSH_AUTH_SOCK=/tmp/ssh-YCnBm7xoPBTk/agent.32 21:14:51 SSH_AGENT_PID=38 21:14:51 Running ssh-add (command line suppressed) 21:14:51 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7977088549905589569.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7977088549905589569.key) 21:14:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:51 + git tag --points-at HEAD [Pipeline] } 21:14:51 $ docker exec --env ******** --env ******** 22f1e8fc2d96b99708383c4fdc3bd2fd23acc08446872045a53c163557e04ee6 ssh-agent -k 21:14:51 unset SSH_AUTH_SOCK; 21:14:51 unset SSH_AGENT_PID; 21:14:51 echo Agent pid 38 killed; 21:14:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:14:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:51 [ssh-agent] Looking for ssh-agent implementation... 21:14:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:51 $ docker exec 22f1e8fc2d96b99708383c4fdc3bd2fd23acc08446872045a53c163557e04ee6 ssh-agent 21:14:51 SSH_AUTH_SOCK=/tmp/ssh-oEbjPdOfordt/agent.70 21:14:51 SSH_AGENT_PID=76 21:14:51 Running ssh-add (command line suppressed) 21:14:52 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5758615235314938058.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5758615235314938058.key) 21:14:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:52 + git semver init 21:14:52 2022-09-22 21:14:52,573 [run_init] DEBUG init version:0.0.0 force:False 21:14:52 2022-09-22 21:14:52,574 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:14:52 2022-09-22 21:14:52,574 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:14:52 2022-09-22 21:14:52,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:14:54 2022-09-22 21:14:53,777 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 21:14:54 2022-09-22 21:14:53,777 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 21:14:54 2022-09-22 21:14:53,777 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:14:54 2022-09-22 21:14:53,778 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:14:54 2.3.0-dev.16 [Pipeline] } 21:14:54 $ docker exec --env ******** --env ******** 22f1e8fc2d96b99708383c4fdc3bd2fd23acc08446872045a53c163557e04ee6 ssh-agent -k 21:14:54 unset SSH_AUTH_SOCK; 21:14:54 unset SSH_AGENT_PID; 21:14:54 echo Agent pid 76 killed; 21:14:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:14:54 + git semver [Pipeline] } 21:14:54 $ docker stop --time=1 22f1e8fc2d96b99708383c4fdc3bd2fd23acc08446872045a53c163557e04ee6 21:14:56 $ docker rm -f 22f1e8fc2d96b99708383c4fdc3bd2fd23acc08446872045a53c163557e04ee6 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:14:56 Stashed 1 file(s) [Pipeline] echo 21:14:56 [edgeXSemver]: initialized semver on version 2.3.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:56 provisioning config files... 21:14:56 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9138164960600627473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:57 ---> docker-login.sh 21:14:57 nexus3.edgexfoundry.org:10001 21:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:57 Configure a credential helper to remove this warning. See 21:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:57 21:14:57 Login Succeeded 21:14:57 nexus3.edgexfoundry.org:10002 21:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:57 Configure a credential helper to remove this warning. See 21:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:57 21:14:57 Login Succeeded 21:14:57 nexus3.edgexfoundry.org:10003 21:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:57 Configure a credential helper to remove this warning. See 21:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:57 21:14:57 Login Succeeded 21:14:57 nexus3.edgexfoundry.org:10004 21:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:57 Configure a credential helper to remove this warning. See 21:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:57 21:14:57 Login Succeeded 21:14:57 docker.io 21:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:57 Configure a credential helper to remove this warning. See 21:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:57 21:14:57 Login Succeeded 21:14:57 ---> docker-login.sh ends [Pipeline] } 21:14:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:14:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:58 ========================================================= 21:14:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:14:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:14:58 Sending build context to Docker daemon 12.48MB 21:14:58 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:14:58 Step 2/14 : FROM ${BASE} AS builder 21:14:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:14:58 2408cc74d12b: Pulling fs layer 21:14:58 ea60b727a1ce: Pulling fs layer 21:14:58 30c4a7721957: Pulling fs layer 21:14:58 370296b7ddb6: Pulling fs layer 21:14:58 7c6cee850709: Pulling fs layer 21:14:58 39a5fcdaea64: Pulling fs layer 21:14:58 d94ebbe4e438: Pulling fs layer 21:14:58 bcfd1f05c69d: Pulling fs layer 21:14:58 59ccb84bbe0f: Pulling fs layer 21:14:58 370296b7ddb6: Waiting 21:14:58 39a5fcdaea64: Waiting 21:14:58 7c6cee850709: Waiting 21:14:58 d94ebbe4e438: Waiting 21:14:58 bcfd1f05c69d: Waiting 21:14:58 59ccb84bbe0f: Waiting 21:14:58 30c4a7721957: Verifying Checksum 21:14:58 30c4a7721957: Download complete 21:14:58 ea60b727a1ce: Verifying Checksum 21:14:58 ea60b727a1ce: Download complete 21:14:58 7c6cee850709: Verifying Checksum 21:14:58 7c6cee850709: Download complete 21:14:58 39a5fcdaea64: Verifying Checksum 21:14:58 39a5fcdaea64: Download complete 21:14:58 2408cc74d12b: Verifying Checksum 21:14:58 2408cc74d12b: Download complete 21:14:58 d94ebbe4e438: Download complete 21:14:58 2408cc74d12b: Pull complete 21:14:58 ea60b727a1ce: Pull complete 21:14:58 30c4a7721957: Pull complete 21:14:58 59ccb84bbe0f: Verifying Checksum 21:14:58 59ccb84bbe0f: Download complete 21:14:59 bcfd1f05c69d: Verifying Checksum 21:14:59 bcfd1f05c69d: Download complete 21:14:59 370296b7ddb6: Verifying Checksum 21:14:59 370296b7ddb6: Download complete 21:15:02 370296b7ddb6: Pull complete 21:15:02 7c6cee850709: Pull complete 21:15:02 39a5fcdaea64: Pull complete 21:15:02 d94ebbe4e438: Pull complete 21:15:04 bcfd1f05c69d: Pull complete 21:15:05 59ccb84bbe0f: Pull complete 21:15:05 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:15:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:15:05 ---> a4fb48ad2a94 21:15:05 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:15:09 ---> Running in 76642ce92e9a 21:15:09 Removing intermediate container 76642ce92e9a 21:15:09 ---> 2d4949d06277 21:15:09 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 21:15:09 ---> Running in 3f1168b587bd 21:15:09 Removing intermediate container 3f1168b587bd 21:15:09 ---> 59c08367383a 21:15:09 Step 5/14 : ARG ADD_BUILD_TAGS="" 21:15:09 ---> Running in 201301ef52fc 21:15:09 Removing intermediate container 201301ef52fc 21:15:09 ---> e9eeeb640c7d 21:15:09 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:15:09 ---> Running in 8551708666bb 21:15:09 Removing intermediate container 8551708666bb 21:15:09 ---> ab775d56f02c 21:15:09 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:15:09 ---> Running in c78f49778c9d 21:15:09 Removing intermediate container c78f49778c9d 21:15:09 ---> 6f7556936ad6 21:15:09 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:15:09 ---> Running in 721b92a59cc3 21:15:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:15:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:15:11 OK: 211 MiB in 51 packages 21:15:11 Removing intermediate container 721b92a59cc3 21:15:11 ---> 0fa4e017cfb8 21:15:11 Step 9/14 : WORKDIR /app 21:15:11 ---> Running in 42c9345a2490 21:15:11 Removing intermediate container 42c9345a2490 21:15:11 ---> a1469e05e395 21:15:11 Step 10/14 : COPY go.mod vendor* ./ 21:15:11 ---> 7e920b62b907 21:15:11 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:11 ---> Running in 8542a4e0171a 21:15:11 Still waiting to schedule task 21:15:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-651’ 21:15:33 Removing intermediate container 8542a4e0171a 21:15:33 ---> 459a6c2b4702 21:15:33 Step 12/14 : COPY . . 21:15:33 ---> f43d3268e705 21:15:33 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:15:33 ---> Running in 570cd6dc8901 21:15:33 Removing intermediate container 570cd6dc8901 21:15:33 ---> 7df981d1ec50 21:15:33 Step 14/14 : RUN $MAKE 21:15:33 ---> Running in 662edcd789d4 21:15:33 noop 21:15:33 Removing intermediate container 662edcd789d4 21:15:33 ---> e0b3f3555cde 21:15:33 Successfully built e0b3f3555cde 21:15:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:34 + docker inspect -f . ci-base-image-x86_64 21:15:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:34 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:15:34 $ docker top ad43772157b6e12c5f508093ea6e382a195f637a2a3f8d5002664ee35bd8f64d -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:34 + go version 21:15:34 go version go1.18.3 linux/amd64 [Pipeline] } 21:15:34 $ docker stop --time=1 ad43772157b6e12c5f508093ea6e382a195f637a2a3f8d5002664ee35bd8f64d 21:15:36 $ docker rm -f ad43772157b6e12c5f508093ea6e382a195f637a2a3f8d5002664ee35bd8f64d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:36 + docker inspect -f . ci-base-image-x86_64 21:15:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:36 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:15:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:15:36 $ docker top 590a13405552da6b73b0f95e9ce7bdcd2116090edcc506922a8eca66d6a65140 -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:37 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 21:15:37 + make test 21:15:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:15:47 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:15:47 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.054s coverage: 86.2% of statements 21:15:47 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:15:49 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.555s coverage: 71.9% of statements 21:15:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:15:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:16:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:00 ./bin/test-attribution.sh [Pipeline] echo 21:16:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:00 $ docker stop --time=1 590a13405552da6b73b0f95e9ce7bdcd2116090edcc506922a8eca66d6a65140 21:16:02 $ docker rm -f 590a13405552da6b73b0f95e9ce7bdcd2116090edcc506922a8eca66d6a65140 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:03 + ls -al . 21:16:03 total 232 21:16:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 21:15 . 21:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:14 .. 21:16:03 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 21:14 .dockerignore 21:16:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:15 .git 21:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:14 .github 21:16:03 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 21:14 .gitignore 21:16:03 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 21:14 .golangci.yml 21:16:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:14 .semver 21:16:03 -rw-rw-r-- 1 jenkins jenkins 9922 Sep 22 21:14 Attribution.txt 21:16:03 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 21:14 CHANGELOG.md 21:16:03 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 21:14 Dockerfile 21:16:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:14 GOVERNANCE.md 21:16:03 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 21:14 Jenkinsfile 21:16:03 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 21:14 LICENSE 21:16:03 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 21:14 Makefile 21:16:03 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 21:14 OWNERS.md 21:16:03 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 21:14 README.md 21:16:03 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:14 VERSION 21:16:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:14 bin 21:16:03 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 21:15 coverage.out 21:16:03 -rw-rw-r-- 1 jenkins jenkins 3685 Sep 22 21:14 go.mod 21:16:03 -rw-rw-r-- 1 jenkins jenkins 38073 Sep 22 21:14 go.sum 21:16:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:14 images 21:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:14 internal 21:16:03 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 21:14 main.go 21:16:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:14 res 21:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:14 snap 21:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:03 + 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=50b7175916fade296152ad9743613fc80727b30a --label arch=amd64 --label version=2.3.0-dev.16 . 21:16:03 Sending build context to Docker daemon 12.48MB 21:16:03 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 21:16:03 Step 2/32 : FROM ${BASE} AS builder 21:16:03 ---> e0b3f3555cde 21:16:03 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:16:04 ---> Running in 1746fae7e969 21:16:04 Removing intermediate container 1746fae7e969 21:16:04 ---> 1a1f4efb8b49 21:16:04 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 21:16:04 ---> Running in 03862444cbd4 21:16:04 Removing intermediate container 03862444cbd4 21:16:04 ---> a14bc40b15a0 21:16:04 Step 5/32 : ARG ADD_BUILD_TAGS="" 21:16:04 ---> Running in 636791f303fc 21:16:04 Removing intermediate container 636791f303fc 21:16:04 ---> 605873348b46 21:16:04 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:16:04 ---> Running in 708b597533f2 21:16:04 Removing intermediate container 708b597533f2 21:16:04 ---> c9bb396e1434 21:16:04 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:16:04 ---> Running in 1fcd8874d44e 21:16:05 Removing intermediate container 1fcd8874d44e 21:16:05 ---> 26240c95c984 21:16:05 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:05 ---> Running in e2344bd2caf0 21:16:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:16:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:16:06 OK: 211 MiB in 51 packages 21:16:06 Removing intermediate container e2344bd2caf0 21:16:06 ---> 34af91b8d560 21:16:06 Step 9/32 : WORKDIR /app 21:16:06 ---> Running in 34c249adb2b3 21:16:06 Removing intermediate container 34c249adb2b3 21:16:06 ---> 125e89143b46 21:16:06 Step 10/32 : COPY go.mod vendor* ./ 21:16:06 ---> 44287d29394e 21:16:06 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:07 ---> Running in c89e227f4d25 21:16:07 Removing intermediate container c89e227f4d25 21:16:07 ---> cd53947fd55b 21:16:07 Step 12/32 : COPY . . 21:16:07 ---> c7bca78c7644 21:16:07 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:07 ---> Running in 448d7b393388 21:16:07 Removing intermediate container 448d7b393388 21:16:07 ---> b19b8236d527 21:16:07 Step 14/32 : RUN $MAKE 21:16:07 ---> Running in 8952aa116638 21:16:08 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.16 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:16:30 Removing intermediate container 8952aa116638 21:16:30 ---> 8d02e2473126 21:16:30 Step 15/32 : FROM alpine:3.14 21:16:30 3.14: Pulling from library/alpine 21:16:30 c7ed990a2339: Pulling fs layer 21:16:30 c7ed990a2339: Verifying Checksum 21:16:30 c7ed990a2339: Download complete 21:16:30 c7ed990a2339: Pull complete 21:16:30 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:16:30 Status: Downloaded newer image for alpine:3.14 21:16:30 ---> dd53f409bf0b 21:16:30 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:16:30 ---> Running in 362ecb48c748 21:16:30 Removing intermediate container 362ecb48c748 21:16:30 ---> f40bbfe95e63 21:16:30 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:16:30 ---> Running in 0bbd387b38e7 21:16:30 Removing intermediate container 0bbd387b38e7 21:16:30 ---> 14f8e636676c 21:16:30 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:16:30 ---> Running in 6daa4716c2fa 21:16:30 Removing intermediate container 6daa4716c2fa 21:16:30 ---> 0f5c13d504c7 21:16:30 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 21:16:30 ---> Running in 50fa5a5b0527 21:16:30 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:16:31 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:16:31 (1/7) Installing ca-certificates (20220614-r0) 21:16:31 (2/7) Installing dumb-init (1.2.5-r1) 21:16:31 (3/7) Installing libgcc (10.3.1_git20210424-r2) 21:16:31 (4/7) Installing libsodium (1.0.18-r0) 21:16:31 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 21:16:31 (6/7) Installing libzmq (4.3.4-r0) 21:16:32 (7/7) Installing zeromq (4.3.4-r0) 21:16:32 Executing busybox-1.33.1-r8.trigger 21:16:32 Executing ca-certificates-20220614-r0.trigger 21:16:32 OK: 9 MiB in 21 packages 21:16:32 Removing intermediate container 50fa5a5b0527 21:16:32 ---> f5525b74e69a 21:16:32 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:16:32 ---> cf4be6320339 21:16:32 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 21:16:32 ---> 43f925134477 21:16:32 Step 22/32 : COPY --from=builder /app/res/ /res/ 21:16:32 ---> 2d63cf4ca077 21:16:32 Step 23/32 : COPY --from=builder /app/static/ /static/ 21:16:33 ---> 75cf9f77434a 21:16:33 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:16:34 ---> d157c6e0b426 21:16:34 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:16:34 ---> Running in ccc4fc35be9b 21:16:34 Removing intermediate container ccc4fc35be9b 21:16:34 ---> a724c56c66e3 21:16:34 Step 26/32 : VOLUME /cache 21:16:34 ---> Running in 4d5ee73c6247 21:16:34 Removing intermediate container 4d5ee73c6247 21:16:34 ---> 347c65d796ec 21:16:34 Step 27/32 : EXPOSE 59711 21:16:34 ---> Running in 11c2cae828b1 21:16:34 Removing intermediate container 11c2cae828b1 21:16:34 ---> 695c3037c4a1 21:16:34 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:16:34 ---> Running in 12db020e85f1 21:16:34 Removing intermediate container 12db020e85f1 21:16:34 ---> 5f9c63431438 21:16:34 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:16:34 ---> Running in f46daceec591 21:16:34 Removing intermediate container f46daceec591 21:16:34 ---> 1de506727214 21:16:34 Step 30/32 : LABEL arch=amd64 21:16:34 ---> Running in 4cf2cec4dc82 21:16:34 Removing intermediate container 4cf2cec4dc82 21:16:34 ---> 951caa2b15f3 21:16:34 Step 31/32 : LABEL git_sha=50b7175916fade296152ad9743613fc80727b30a 21:16:34 ---> Running in f41ede775e7b 21:16:34 Removing intermediate container f41ede775e7b 21:16:34 ---> e0deefb17816 21:16:34 Step 32/32 : LABEL version=2.3.0-dev.16 21:16:34 ---> Running in fc51050df9a7 21:16:35 Removing intermediate container fc51050df9a7 21:16:35 ---> cbd91c685730 21:16:35 [Warning] One or more build-args [ARCH] were not consumed 21:16:35 Successfully built cbd91c685730 21:16:35 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:35 provisioning config files... 21:16:35 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config12368334578035406269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:35 ---> docker-login.sh 21:16:35 nexus3.edgexfoundry.org:10001 21:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:35 Configure a credential helper to remove this warning. See 21:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:35 21:16:35 Login Succeeded 21:16:35 nexus3.edgexfoundry.org:10002 21:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:35 Configure a credential helper to remove this warning. See 21:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:35 21:16:35 Login Succeeded 21:16:35 nexus3.edgexfoundry.org:10003 21:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:35 Configure a credential helper to remove this warning. See 21:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:35 21:16:35 Login Succeeded 21:16:35 nexus3.edgexfoundry.org:10004 21:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:35 Configure a credential helper to remove this warning. See 21:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:35 21:16:35 Login Succeeded 21:16:35 docker.io 21:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:36 Configure a credential helper to remove this warning. See 21:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:36 21:16:36 Login Succeeded 21:16:36 ---> docker-login.sh ends [Pipeline] } 21:16:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:16:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:36 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 21:16:36 50b7175916fade296152ad9743613fc80727b30a 21:16:36 latest 21:16:36 2.3.0-dev.16 21:16:36 50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 21:16:36 main 21:16:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:36 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:50b7175916fade296152ad9743613fc80727b30a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:37 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:50b7175916fade296152ad9743613fc80727b30a 21:16:37 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:37 2fe34123a4c6: Preparing 21:16:37 ae433486744f: Preparing 21:16:37 a8aaa6b24972: Preparing 21:16:37 4cdeb399de41: Preparing 21:16:37 a1fec69f0ad4: Preparing 21:16:37 eeb87e3dbf11: Preparing 21:16:37 91d716de3a06: Preparing 21:16:37 779a630eb241: Preparing 21:16:37 63493a9ab2d4: Preparing 21:16:37 779a630eb241: Waiting 21:16:37 63493a9ab2d4: Waiting 21:16:37 eeb87e3dbf11: Waiting 21:16:37 91d716de3a06: Waiting 21:16:37 2fe34123a4c6: Pushed 21:16:37 4cdeb399de41: Pushed 21:16:37 a8aaa6b24972: Pushed 21:16:37 a1fec69f0ad4: Pushed 21:16:37 63493a9ab2d4: Layer already exists 21:16:37 eeb87e3dbf11: Pushed 21:16:37 779a630eb241: Pushed 21:16:37 91d716de3a06: Pushed 21:16:39 ae433486744f: Pushed 21:16:39 50b7175916fade296152ad9743613fc80727b30a: digest: sha256:7a611a199b697ccc14547f1683cb9521c3ac6204544647b6da80af5aa4ba7c17 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:39 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:40 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:16:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:40 2fe34123a4c6: Preparing 21:16:40 ae433486744f: Preparing 21:16:40 a8aaa6b24972: Preparing 21:16:40 4cdeb399de41: Preparing 21:16:40 a1fec69f0ad4: Preparing 21:16:40 eeb87e3dbf11: Preparing 21:16:40 91d716de3a06: Preparing 21:16:40 779a630eb241: Preparing 21:16:40 63493a9ab2d4: Preparing 21:16:40 91d716de3a06: Waiting 21:16:40 779a630eb241: Waiting 21:16:40 63493a9ab2d4: Waiting 21:16:40 eeb87e3dbf11: Waiting 21:16:40 ae433486744f: Layer already exists 21:16:40 a8aaa6b24972: Layer already exists 21:16:40 a1fec69f0ad4: Layer already exists 21:16:40 4cdeb399de41: Layer already exists 21:16:40 2fe34123a4c6: Layer already exists 21:16:40 eeb87e3dbf11: Layer already exists 21:16:40 779a630eb241: Layer already exists 21:16:40 63493a9ab2d4: Layer already exists 21:16:40 91d716de3a06: Layer already exists 21:16:40 latest: digest: sha256:7a611a199b697ccc14547f1683cb9521c3ac6204544647b6da80af5aa4ba7c17 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:40 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:40 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.16 21:16:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:40 2fe34123a4c6: Preparing 21:16:40 ae433486744f: Preparing 21:16:40 a8aaa6b24972: Preparing 21:16:40 4cdeb399de41: Preparing 21:16:40 a1fec69f0ad4: Preparing 21:16:40 eeb87e3dbf11: Preparing 21:16:40 91d716de3a06: Preparing 21:16:40 779a630eb241: Preparing 21:16:40 63493a9ab2d4: Preparing 21:16:40 eeb87e3dbf11: Waiting 21:16:40 91d716de3a06: Waiting 21:16:40 779a630eb241: Waiting 21:16:40 63493a9ab2d4: Waiting 21:16:40 a8aaa6b24972: Layer already exists 21:16:40 a1fec69f0ad4: Layer already exists 21:16:40 4cdeb399de41: Layer already exists 21:16:40 ae433486744f: Layer already exists 21:16:40 2fe34123a4c6: Layer already exists 21:16:40 91d716de3a06: Layer already exists 21:16:40 eeb87e3dbf11: Layer already exists 21:16:40 779a630eb241: Layer already exists 21:16:40 63493a9ab2d4: Layer already exists 21:16:40 2.3.0-dev.16: digest: sha256:7a611a199b697ccc14547f1683cb9521c3ac6204544647b6da80af5aa4ba7c17 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:41 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:41 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 21:16:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:41 2fe34123a4c6: Preparing 21:16:41 ae433486744f: Preparing 21:16:41 a8aaa6b24972: Preparing 21:16:41 4cdeb399de41: Preparing 21:16:41 a1fec69f0ad4: Preparing 21:16:41 eeb87e3dbf11: Preparing 21:16:41 91d716de3a06: Preparing 21:16:41 779a630eb241: Preparing 21:16:41 63493a9ab2d4: Preparing 21:16:41 779a630eb241: Waiting 21:16:41 eeb87e3dbf11: Waiting 21:16:41 63493a9ab2d4: Waiting 21:16:41 91d716de3a06: Waiting 21:16:41 2fe34123a4c6: Layer already exists 21:16:41 4cdeb399de41: Layer already exists 21:16:41 ae433486744f: Layer already exists 21:16:41 a1fec69f0ad4: Layer already exists 21:16:41 a8aaa6b24972: Layer already exists 21:16:41 eeb87e3dbf11: Layer already exists 21:16:41 91d716de3a06: Layer already exists 21:16:41 63493a9ab2d4: Layer already exists 21:16:41 779a630eb241: Layer already exists 21:16:41 50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16: digest: sha256:7a611a199b697ccc14547f1683cb9521c3ac6204544647b6da80af5aa4ba7c17 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:41 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:42 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 21:16:42 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:16:42 2fe34123a4c6: Preparing 21:16:42 ae433486744f: Preparing 21:16:42 a8aaa6b24972: Preparing 21:16:42 4cdeb399de41: Preparing 21:16:42 a1fec69f0ad4: Preparing 21:16:42 eeb87e3dbf11: Preparing 21:16:42 91d716de3a06: Preparing 21:16:42 779a630eb241: Preparing 21:16:42 63493a9ab2d4: Preparing 21:16:42 eeb87e3dbf11: Waiting 21:16:42 91d716de3a06: Waiting 21:16:42 779a630eb241: Waiting 21:16:42 63493a9ab2d4: Waiting 21:16:42 a8aaa6b24972: Layer already exists 21:16:42 a1fec69f0ad4: Layer already exists 21:16:42 4cdeb399de41: Layer already exists 21:16:42 ae433486744f: Layer already exists 21:16:42 2fe34123a4c6: Layer already exists 21:16:42 779a630eb241: Layer already exists 21:16:42 91d716de3a06: Layer already exists 21:16:42 eeb87e3dbf11: Layer already exists 21:16:42 63493a9ab2d4: Layer already exists 21:16:42 main: digest: sha256:7a611a199b697ccc14547f1683cb9521c3ac6204544647b6da80af5aa4ba7c17 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:16:42 ===================================================== [Pipeline] echo 21:16:42 taggedImages: 21:16:42 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:50b7175916fade296152ad9743613fc80727b30a 21:16:42 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:16:42 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.16 21:16:42 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 21:16:42 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:42 21:16:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:42 latest: Pulling from edgex-lftools-log-publisher 21:16:42 5eb5b503b376: Pulling fs layer 21:16:42 5c69ac0246d0: Pulling fs layer 21:16:42 ec43610c2a17: Pulling fs layer 21:16:42 3a2ae6a8a46f: Pulling fs layer 21:16:42 33b1e0a273af: Pulling fs layer 21:16:42 5d3b04190fa2: Pulling fs layer 21:16:42 2f39f015ded8: Pulling fs layer 21:16:42 5d3b04190fa2: Waiting 21:16:42 2f39f015ded8: Waiting 21:16:42 3a2ae6a8a46f: Waiting 21:16:42 5c69ac0246d0: Verifying Checksum 21:16:42 5c69ac0246d0: Download complete 21:16:42 3a2ae6a8a46f: Download complete 21:16:42 33b1e0a273af: Verifying Checksum 21:16:42 33b1e0a273af: Download complete 21:16:43 5d3b04190fa2: Verifying Checksum 21:16:43 5d3b04190fa2: Download complete 21:16:43 ec43610c2a17: Verifying Checksum 21:16:43 ec43610c2a17: Download complete 21:16:43 5eb5b503b376: Verifying Checksum 21:16:43 5eb5b503b376: Download complete 21:16:43 2f39f015ded8: Download complete 21:16:44 5eb5b503b376: Pull complete 21:16:44 5c69ac0246d0: Pull complete 21:16:44 ec43610c2a17: Pull complete 21:16:44 3a2ae6a8a46f: Pull complete 21:16:45 33b1e0a273af: Pull complete 21:16:45 5d3b04190fa2: Pull complete 21:16:49 2f39f015ded8: Pull complete 21:16:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:49 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:16:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:16:52 $ docker top 3f9d92b705f4655a257b9de2571901d893f19d13fbf99e2b90ffd340dff32635 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:52 ---> job-cost.sh 21:16:52 lf-activate-venv: SKIPPING 21:16:52 INFO: No Stack... 21:16:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:53 INFO: Archiving Costs [Pipeline] sh 21:16:53 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 21:16:53 + cut -d, -f6 [Pipeline] lock 21:16:53 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] 21:16:53 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] did not exist. Created. 21:16:53 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:54 + echo total: 0.2199999988079071 [Pipeline] stash 21:16:54 Stashed 1 file(s) [Pipeline] } 21:16:54 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:54 $ docker stop --time=1 3f9d92b705f4655a257b9de2571901d893f19d13fbf99e2b90ffd340dff32635 21:16:55 $ docker rm -f 3f9d92b705f4655a257b9de2571901d893f19d13fbf99e2b90ffd340dff32635 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:18:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-653 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 21:18:19 Running in /w/workspace/app-rfid-llrp-inventory/56 [Pipeline] { [Pipeline] checkout 21:18:20 The recommended git tool is: git 21:18:26 using credential edgex-jenkins-ssh 21:18:26 Cloning the remote Git repository 21:18:26 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:18:26 > git init /w/workspace/app-rfid-llrp-inventory/56 # timeout=10 21:18:26 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:18:26 > git --version # timeout=10 21:18:26 > git --version # 'git version 2.25.1' 21:18:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:18:26 Verifying host key using known hosts file 21:18:26 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:18:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:18:29 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:18:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:18:30 Avoid second fetch 21:18:30 Checking out Revision 50b7175916fade296152ad9743613fc80727b30a (main) 21:18:30 Commit message: "refactor: Adjust NATS Subject to be for all data not just Events (#111)" 21:18:30 > git config core.sparsecheckout # timeout=10 21:18:30 > git checkout -f 50b7175916fade296152ad9743613fc80727b30a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:18:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:18:31 Dload Upload Total Spent Left Speed 21:18:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 21:18:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:18:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:18:32 + sudo tee /etc/docker/daemon.new 21:18:32 { 21:18:32 "registry-mirrors": [ 21:18:32 "https://nexus3.edgexfoundry.org:10001" 21:18:32 ], 21:18:32 "bip": "10.250.0.254/24", 21:18:32 "hosts": [ 21:18:32 "tcp://0.0.0.0:5555", 21:18:32 "unix:///var/run/docker.sock" 21:18:32 ], 21:18:32 "mtu": 1458, 21:18:32 "selinux-enabled": true, 21:18:32 "seccomp-profile": "/etc/docker/seccomp.json" 21:18:32 } [Pipeline] sh 21:18:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:18:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:51 provisioning config files... 21:18:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/56@tmp/config10048915255714775207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:52 ---> docker-login.sh 21:18:52 nexus3.edgexfoundry.org:10001 21:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:52 Configure a credential helper to remove this warning. See 21:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:52 21:18:52 Login Succeeded 21:18:52 nexus3.edgexfoundry.org:10002 21:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:53 Configure a credential helper to remove this warning. See 21:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:53 21:18:53 Login Succeeded 21:18:53 nexus3.edgexfoundry.org:10003 21:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:53 Configure a credential helper to remove this warning. See 21:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:53 21:18:53 Login Succeeded 21:18:53 nexus3.edgexfoundry.org:10004 21:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:53 Configure a credential helper to remove this warning. See 21:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:53 21:18:53 Login Succeeded 21:18:53 docker.io 21:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:54 Configure a credential helper to remove this warning. See 21:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:54 21:18:54 Login Succeeded 21:18:54 ---> docker-login.sh ends [Pipeline] } 21:18:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:54 ========================================================= 21:18:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:18:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:18:55 Sending build context to Docker daemon 683.5kB 21:18:55 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:18:55 Step 2/14 : FROM ${BASE} AS builder 21:18:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:18:55 b3c136eddcbf: Pulling fs layer 21:18:55 c0a3192eca97: Pulling fs layer 21:18:55 a050256f5b6f: Pulling fs layer 21:18:55 656be50a0ddc: Pulling fs layer 21:18:55 2bbca73fdf42: Pulling fs layer 21:18:55 46d945488cbd: Pulling fs layer 21:18:55 8a5474983e97: Pulling fs layer 21:18:55 329c88fbcd65: Pulling fs layer 21:18:55 656be50a0ddc: Waiting 21:18:55 2bbca73fdf42: Waiting 21:18:55 46d945488cbd: Waiting 21:18:55 8a5474983e97: Waiting 21:18:55 329c88fbcd65: Waiting 21:18:55 a050256f5b6f: Verifying Checksum 21:18:55 a050256f5b6f: Download complete 21:18:55 c0a3192eca97: Download complete 21:18:55 2bbca73fdf42: Verifying Checksum 21:18:55 2bbca73fdf42: Download complete 21:18:55 46d945488cbd: Verifying Checksum 21:18:55 46d945488cbd: Download complete 21:18:55 b3c136eddcbf: Verifying Checksum 21:18:55 b3c136eddcbf: Download complete 21:18:56 b3c136eddcbf: Pull complete 21:18:56 329c88fbcd65: Verifying Checksum 21:18:56 329c88fbcd65: Download complete 21:18:57 c0a3192eca97: Pull complete 21:18:57 a050256f5b6f: Pull complete 21:18:58 8a5474983e97: Download complete 21:18:59 656be50a0ddc: Verifying Checksum 21:18:59 656be50a0ddc: Download complete 21:19:11 656be50a0ddc: Pull complete 21:19:11 2bbca73fdf42: Pull complete 21:19:11 46d945488cbd: Pull complete 21:19:18 8a5474983e97: Pull complete 21:19:20 329c88fbcd65: Pull complete 21:19:20 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:19:20 ---> ff4287adb874 21:19:20 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:19:22 ---> Running in 3613d26dc6dc 21:19:22 Removing intermediate container 3613d26dc6dc 21:19:22 ---> 50dbb42e0fd4 21:19:22 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 21:19:22 ---> Running in 80cc18a42aeb 21:19:22 Removing intermediate container 80cc18a42aeb 21:19:22 ---> 922397e2999d 21:19:22 Step 5/14 : ARG ADD_BUILD_TAGS="" 21:19:22 ---> Running in 5d78814edeb0 21:19:22 Removing intermediate container 5d78814edeb0 21:19:22 ---> 0213828eb804 21:19:22 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:19:22 ---> Running in 979c8d19f9e2 21:19:23 Removing intermediate container 979c8d19f9e2 21:19:23 ---> 7a88ee2f75c6 21:19:23 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:19:23 ---> Running in 24943fdec3ce 21:19:25 Removing intermediate container 24943fdec3ce 21:19:25 ---> ed3d5591a992 21:19:25 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:19:25 ---> Running in 75957c44d5e7 21:19:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:19:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:19:28 OK: 221 MiB in 51 packages 21:19:28 Removing intermediate container 75957c44d5e7 21:19:28 ---> 804327fdee3b 21:19:28 Step 9/14 : WORKDIR /app 21:19:29 ---> Running in 83089cc6a35d 21:19:29 Removing intermediate container 83089cc6a35d 21:19:29 ---> 0df4de84ca8a 21:19:29 Step 10/14 : COPY go.mod vendor* ./ 21:19:30 ---> b73d5a2a7ca3 21:19:30 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:19:30 ---> Running in fb3b867fede8 21:20:26 Removing intermediate container fb3b867fede8 21:20:26 ---> f82f0239a7d7 21:20:26 Step 12/14 : COPY . . 21:20:26 ---> 9e098a26c7b7 21:20:26 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:20:26 ---> Running in 885324c3408e 21:20:26 Removing intermediate container 885324c3408e 21:20:26 ---> e7305560f601 21:20:26 Step 14/14 : RUN $MAKE 21:20:26 ---> Running in b8eba74adff9 21:20:26 noop 21:20:26 Removing intermediate container b8eba74adff9 21:20:26 ---> a4ff6c6e7e26 21:20:26 Successfully built a4ff6c6e7e26 21:20:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:27 + docker inspect -f . ci-base-image-arm64 21:20:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:27 prd-ubuntu20.04-docker-arm64-4c-16g-653 does not seem to be running inside a container 21:20:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/56 -v /w/workspace/app-rfid-llrp-inventory/56:/w/workspace/app-rfid-llrp-inventory/56:rw,z -v /w/workspace/app-rfid-llrp-inventory/56@tmp:/w/workspace/app-rfid-llrp-inventory/56@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 ******** ci-base-image-arm64 cat 21:20:28 $ docker top 0bcc1edbe8b2b5926688b5895ccd55f650fd2c00135cc48d6d7dff73576284ea -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:29 + go version 21:20:29 go version go1.18.3 linux/arm64 [Pipeline] } 21:20:29 $ docker stop --time=1 0bcc1edbe8b2b5926688b5895ccd55f650fd2c00135cc48d6d7dff73576284ea 21:20:31 $ docker rm -f 0bcc1edbe8b2b5926688b5895ccd55f650fd2c00135cc48d6d7dff73576284ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:31 + docker inspect -f . ci-base-image-arm64 21:20:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:32 prd-ubuntu20.04-docker-arm64-4c-16g-653 does not seem to be running inside a container 21:20:32 $ 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/56 -v /w/workspace/app-rfid-llrp-inventory/56:/w/workspace/app-rfid-llrp-inventory/56:rw,z -v /w/workspace/app-rfid-llrp-inventory/56@tmp:/w/workspace/app-rfid-llrp-inventory/56@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 ******** ci-base-image-arm64 cat 21:20:33 $ docker top 35a295894b619b8ad11dd20ba09d372c060c7af5368b2f18d3fa79f87e52cacb -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:33 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/56 [Pipeline] fileExists [Pipeline] sh 21:20:33 + make test 21:20:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:22:10 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:22:10 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.172s coverage: 86.2% of statements 21:22:10 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:22:10 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.717s coverage: 71.9% of statements 21:22:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:22:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:22:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:32 ./bin/test-attribution.sh [Pipeline] echo 21:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:22:32 $ docker stop --time=1 35a295894b619b8ad11dd20ba09d372c060c7af5368b2f18d3fa79f87e52cacb 21:22:34 $ docker rm -f 35a295894b619b8ad11dd20ba09d372c060c7af5368b2f18d3fa79f87e52cacb [Pipeline] // withDockerContainer [Pipeline] sh 21:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:36 Warning: overwriting stash ‘coverage-report’ 21:22:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:37 + ls -al . 21:22:37 total 228 21:22:37 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 21:20 . 21:22:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:18 .. 21:22:37 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 21:18 .dockerignore 21:22:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:18 .git 21:22:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:18 .github 21:22:37 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 21:18 .gitignore 21:22:37 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 21:18 .golangci.yml 21:22:37 -rw-rw-r-- 1 jenkins jenkins 9922 Sep 22 21:18 Attribution.txt 21:22:37 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 21:18 CHANGELOG.md 21:22:37 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 21:18 Dockerfile 21:22:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:18 GOVERNANCE.md 21:22:37 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 21:18 Jenkinsfile 21:22:37 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 21:18 LICENSE 21:22:37 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 21:18 Makefile 21:22:37 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 21:18 OWNERS.md 21:22:37 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 21:18 README.md 21:22:37 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:14 VERSION 21:22:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:18 bin 21:22:37 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 21:22 coverage.out 21:22:37 -rw-rw-r-- 1 jenkins jenkins 3685 Sep 22 21:18 go.mod 21:22:37 -rw-rw-r-- 1 jenkins jenkins 38073 Sep 22 21:18 go.sum 21:22:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:18 images 21:22:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:18 internal 21:22:37 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 21:18 main.go 21:22:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:18 res 21:22:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:18 snap 21:22:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:18 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:38 + 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=50b7175916fade296152ad9743613fc80727b30a --label arch=arm64 --label version=2.3.0-dev.16 . 21:22:38 Sending build context to Docker daemon 683.5kB 21:22:38 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 21:22:38 Step 2/32 : FROM ${BASE} AS builder 21:22:38 ---> a4ff6c6e7e26 21:22:38 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:22:38 ---> Running in 09c94da6905b 21:22:38 Removing intermediate container 09c94da6905b 21:22:38 ---> b40127650bfe 21:22:38 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 21:22:38 ---> Running in ddac26a659ca 21:22:40 Removing intermediate container ddac26a659ca 21:22:40 ---> 9fffb353c417 21:22:40 Step 5/32 : ARG ADD_BUILD_TAGS="" 21:22:40 ---> Running in 46f2ac9a2846 21:22:40 Removing intermediate container 46f2ac9a2846 21:22:40 ---> a142c1bf7447 21:22:40 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:22:40 ---> Running in 0ee53aef58f8 21:22:41 Removing intermediate container 0ee53aef58f8 21:22:41 ---> 6b9dd448a51d 21:22:41 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:22:41 ---> Running in 136f125abf1b 21:22:43 Removing intermediate container 136f125abf1b 21:22:43 ---> e92c4996f2c2 21:22:43 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:43 ---> Running in 8026a1644a47 21:22:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:22:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:22:46 OK: 221 MiB in 51 packages 21:22:47 Removing intermediate container 8026a1644a47 21:22:47 ---> 050e2b021885 21:22:47 Step 9/32 : WORKDIR /app 21:22:47 ---> Running in 9ba0fc9f5cd9 21:22:47 Removing intermediate container 9ba0fc9f5cd9 21:22:47 ---> ab96c3074d33 21:22:47 Step 10/32 : COPY go.mod vendor* ./ 21:22:48 ---> 8df95f2f9a80 21:22:48 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:48 ---> Running in 7afd0a90bc87 21:22:50 Removing intermediate container 7afd0a90bc87 21:22:50 ---> dea2453ea13c 21:22:50 Step 12/32 : COPY . . 21:22:51 ---> 3a978e80cb8f 21:22:51 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:51 ---> Running in 67c5137606a0 21:22:52 Removing intermediate container 67c5137606a0 21:22:52 ---> f9dee0a2bdff 21:22:52 Step 14/32 : RUN $MAKE 21:22:52 ---> Running in 7dec8423618a 21:22:53 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.16 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:25:30 Removing intermediate container 7dec8423618a 21:25:30 ---> 851e3bddc4ff 21:25:30 Step 15/32 : FROM alpine:3.14 21:25:30 3.14: Pulling from library/alpine 21:25:30 90cda3b7c325: Pulling fs layer 21:25:30 90cda3b7c325: Verifying Checksum 21:25:30 90cda3b7c325: Download complete 21:25:30 90cda3b7c325: Pull complete 21:25:30 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:25:30 Status: Downloaded newer image for alpine:3.14 21:25:30 ---> 376ba31ae3da 21:25:30 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:25:30 ---> Running in 1d0b4bdaf226 21:25:30 Removing intermediate container 1d0b4bdaf226 21:25:30 ---> 5c5068da4578 21:25:30 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:25:30 ---> Running in 624ba689c3ba 21:25:30 Removing intermediate container 624ba689c3ba 21:25:30 ---> 6dd32e1990b7 21:25:30 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:25:30 ---> Running in bc1d2e5ac33f 21:25:30 Removing intermediate container bc1d2e5ac33f 21:25:30 ---> 51d697f2cea6 21:25:30 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 21:25:30 ---> Running in bde64202bee6 21:25:30 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:25:30 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:25:30 (1/7) Installing ca-certificates (20220614-r0) 21:25:30 (2/7) Installing dumb-init (1.2.5-r1) 21:25:30 (3/7) Installing libgcc (10.3.1_git20210424-r2) 21:25:30 (4/7) Installing libsodium (1.0.18-r0) 21:25:30 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 21:25:30 (6/7) Installing libzmq (4.3.4-r0) 21:25:30 (7/7) Installing zeromq (4.3.4-r0) 21:25:30 Executing busybox-1.33.1-r8.trigger 21:25:30 Executing ca-certificates-20220614-r0.trigger 21:25:30 OK: 9 MiB in 21 packages 21:25:32 Removing intermediate container bde64202bee6 21:25:32 ---> 55d14846d8c8 21:25:32 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:25:32 ---> 84435e04158d 21:25:32 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 21:25:32 ---> 721873e30c72 21:25:32 Step 22/32 : COPY --from=builder /app/res/ /res/ 21:25:33 ---> f63493816936 21:25:33 Step 23/32 : COPY --from=builder /app/static/ /static/ 21:25:34 ---> 30ed9f3526b0 21:25:34 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:25:35 ---> d8d28e23cab8 21:25:35 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:25:35 ---> Running in b6685f1d66cf 21:25:37 Removing intermediate container b6685f1d66cf 21:25:37 ---> f4fd8143e7ac 21:25:37 Step 26/32 : VOLUME /cache 21:25:37 ---> Running in fd3f9b394325 21:25:37 Removing intermediate container fd3f9b394325 21:25:37 ---> 71ad69fa7ee5 21:25:37 Step 27/32 : EXPOSE 59711 21:25:37 ---> Running in 2f901160ffe6 21:25:38 Removing intermediate container 2f901160ffe6 21:25:38 ---> c29487e07fa6 21:25:38 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:25:38 ---> Running in 9377e2a2947e 21:25:38 Removing intermediate container 9377e2a2947e 21:25:38 ---> 2cef47c88396 21:25:38 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:25:38 ---> Running in 04097216344f 21:25:38 Removing intermediate container 04097216344f 21:25:38 ---> 5002326411e2 21:25:38 Step 30/32 : LABEL arch=arm64 21:25:38 ---> Running in fad89837aa27 21:25:38 Removing intermediate container fad89837aa27 21:25:38 ---> 9049011d46f9 21:25:38 Step 31/32 : LABEL git_sha=50b7175916fade296152ad9743613fc80727b30a 21:25:39 ---> Running in cb88007f8098 21:25:39 Removing intermediate container cb88007f8098 21:25:39 ---> 9fd31e2263ef 21:25:39 Step 32/32 : LABEL version=2.3.0-dev.16 21:25:39 ---> Running in 38c7f4ee6ca1 21:25:39 Removing intermediate container 38c7f4ee6ca1 21:25:39 ---> 94ec9d554914 21:25:39 [Warning] One or more build-args [ARCH] were not consumed 21:25:39 Successfully built 94ec9d554914 21:25:39 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:39 provisioning config files... 21:25:39 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/56@tmp/config11594078152405596589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:40 ---> docker-login.sh 21:25:40 nexus3.edgexfoundry.org:10001 21:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:40 Configure a credential helper to remove this warning. See 21:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:40 21:25:40 Login Succeeded 21:25:40 nexus3.edgexfoundry.org:10002 21:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:40 Configure a credential helper to remove this warning. See 21:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:40 21:25:40 Login Succeeded 21:25:40 nexus3.edgexfoundry.org:10003 21:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:41 Configure a credential helper to remove this warning. See 21:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:41 21:25:41 Login Succeeded 21:25:41 nexus3.edgexfoundry.org:10004 21:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:41 Configure a credential helper to remove this warning. See 21:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:41 21:25:41 Login Succeeded 21:25:41 docker.io 21:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:42 Configure a credential helper to remove this warning. See 21:25:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:42 21:25:42 Login Succeeded 21:25:42 ---> docker-login.sh ends [Pipeline] } 21:25:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:42 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 21:25:42 50b7175916fade296152ad9743613fc80727b30a 21:25:42 latest 21:25:42 2.3.0-dev.16 21:25:42 50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 21:25:42 main 21:25:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:42 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:50b7175916fade296152ad9743613fc80727b30a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:43 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:50b7175916fade296152ad9743613fc80727b30a 21:25:43 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:25:43 1f99c572b58b: Preparing 21:25:43 e1d1265ede76: Preparing 21:25:43 60609c268036: Preparing 21:25:43 cff743a20fa0: Preparing 21:25:43 304c00089bd3: Preparing 21:25:43 d9947ec21944: Preparing 21:25:43 1cb023ad0cb1: Preparing 21:25:43 107234463fe4: Preparing 21:25:43 28c3ef001483: Preparing 21:25:43 1cb023ad0cb1: Waiting 21:25:43 107234463fe4: Waiting 21:25:43 28c3ef001483: Waiting 21:25:43 d9947ec21944: Waiting 21:25:43 304c00089bd3: Pushed 21:25:43 60609c268036: Pushed 21:25:43 1f99c572b58b: Pushed 21:25:43 cff743a20fa0: Pushed 21:25:43 28c3ef001483: Layer already exists 21:25:43 d9947ec21944: Pushed 21:25:43 107234463fe4: Pushed 21:25:44 1cb023ad0cb1: Pushed 21:25:48 e1d1265ede76: Pushed 21:25:49 50b7175916fade296152ad9743613fc80727b30a: digest: sha256:1104ccba23c6f6fe053b2c33d63bbb13cb09bc0a6e94e5f51ccd02ab20cdb57f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:49 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:49 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:25:49 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:25:49 1f99c572b58b: Preparing 21:25:49 e1d1265ede76: Preparing 21:25:49 60609c268036: Preparing 21:25:49 cff743a20fa0: Preparing 21:25:49 304c00089bd3: Preparing 21:25:49 d9947ec21944: Preparing 21:25:49 1cb023ad0cb1: Preparing 21:25:49 107234463fe4: Preparing 21:25:49 28c3ef001483: Preparing 21:25:49 1cb023ad0cb1: Waiting 21:25:49 107234463fe4: Waiting 21:25:49 28c3ef001483: Waiting 21:25:49 d9947ec21944: Waiting 21:25:49 cff743a20fa0: Layer already exists 21:25:49 304c00089bd3: Layer already exists 21:25:49 e1d1265ede76: Layer already exists 21:25:49 60609c268036: Layer already exists 21:25:49 1f99c572b58b: Layer already exists 21:25:49 d9947ec21944: Layer already exists 21:25:49 1cb023ad0cb1: Layer already exists 21:25:49 107234463fe4: Layer already exists 21:25:49 28c3ef001483: Layer already exists 21:25:50 latest: digest: sha256:1104ccba23c6f6fe053b2c33d63bbb13cb09bc0a6e94e5f51ccd02ab20cdb57f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:50 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:50 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.16 21:25:50 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:25:50 1f99c572b58b: Preparing 21:25:50 e1d1265ede76: Preparing 21:25:50 60609c268036: Preparing 21:25:50 cff743a20fa0: Preparing 21:25:50 304c00089bd3: Preparing 21:25:50 d9947ec21944: Preparing 21:25:50 1cb023ad0cb1: Preparing 21:25:50 107234463fe4: Preparing 21:25:50 28c3ef001483: Preparing 21:25:50 107234463fe4: Waiting 21:25:50 d9947ec21944: Waiting 21:25:50 1cb023ad0cb1: Waiting 21:25:50 28c3ef001483: Waiting 21:25:50 cff743a20fa0: Layer already exists 21:25:50 60609c268036: Layer already exists 21:25:50 304c00089bd3: Layer already exists 21:25:50 1f99c572b58b: Layer already exists 21:25:50 e1d1265ede76: Layer already exists 21:25:50 1cb023ad0cb1: Layer already exists 21:25:50 d9947ec21944: Layer already exists 21:25:50 28c3ef001483: Layer already exists 21:25:50 107234463fe4: Layer already exists 21:25:51 2.3.0-dev.16: digest: sha256:1104ccba23c6f6fe053b2c33d63bbb13cb09bc0a6e94e5f51ccd02ab20cdb57f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:51 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:51 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 21:25:51 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:25:51 1f99c572b58b: Preparing 21:25:51 e1d1265ede76: Preparing 21:25:51 60609c268036: Preparing 21:25:51 cff743a20fa0: Preparing 21:25:51 304c00089bd3: Preparing 21:25:51 d9947ec21944: Preparing 21:25:51 1cb023ad0cb1: Preparing 21:25:51 107234463fe4: Preparing 21:25:51 28c3ef001483: Preparing 21:25:51 d9947ec21944: Waiting 21:25:51 107234463fe4: Waiting 21:25:51 28c3ef001483: Waiting 21:25:51 1cb023ad0cb1: Waiting 21:25:51 e1d1265ede76: Layer already exists 21:25:51 cff743a20fa0: Layer already exists 21:25:51 304c00089bd3: Layer already exists 21:25:51 1f99c572b58b: Layer already exists 21:25:51 60609c268036: Layer already exists 21:25:51 107234463fe4: Layer already exists 21:25:51 1cb023ad0cb1: Layer already exists 21:25:51 d9947ec21944: Layer already exists 21:25:51 28c3ef001483: Layer already exists 21:25:52 50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16: digest: sha256:1104ccba23c6f6fe053b2c33d63bbb13cb09bc0a6e94e5f51ccd02ab20cdb57f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:52 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:52 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 21:25:52 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:25:52 1f99c572b58b: Preparing 21:25:52 e1d1265ede76: Preparing 21:25:52 60609c268036: Preparing 21:25:52 cff743a20fa0: Preparing 21:25:52 304c00089bd3: Preparing 21:25:52 d9947ec21944: Preparing 21:25:52 1cb023ad0cb1: Preparing 21:25:52 107234463fe4: Preparing 21:25:52 28c3ef001483: Preparing 21:25:52 1cb023ad0cb1: Waiting 21:25:52 107234463fe4: Waiting 21:25:52 28c3ef001483: Waiting 21:25:52 d9947ec21944: Waiting 21:25:52 e1d1265ede76: Layer already exists 21:25:52 60609c268036: Layer already exists 21:25:52 1f99c572b58b: Layer already exists 21:25:52 cff743a20fa0: Layer already exists 21:25:52 304c00089bd3: Layer already exists 21:25:52 1cb023ad0cb1: Layer already exists 21:25:52 d9947ec21944: Layer already exists 21:25:52 107234463fe4: Layer already exists 21:25:52 28c3ef001483: Layer already exists 21:25:52 main: digest: sha256:1104ccba23c6f6fe053b2c33d63bbb13cb09bc0a6e94e5f51ccd02ab20cdb57f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:25:53 ===================================================== [Pipeline] echo 21:25:53 taggedImages: 21:25:53 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:50b7175916fade296152ad9743613fc80727b30a 21:25:53 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:25:53 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.16 21:25:53 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:50b7175916fade296152ad9743613fc80727b30a-2.3.0-dev.16 21:25:53 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:53 21:25:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:53 arm64: Pulling from edgex-lftools-log-publisher 21:25:53 8998bd30e6a1: Pulling fs layer 21:25:53 04944245beec: Pulling fs layer 21:25:53 699f458cf7ca: Pulling fs layer 21:25:53 765212b225bb: Pulling fs layer 21:25:53 f23df028b6ca: Pulling fs layer 21:25:53 d65c8cfc05b1: Pulling fs layer 21:25:53 2437ff75d9bd: Pulling fs layer 21:25:53 765212b225bb: Waiting 21:25:53 f23df028b6ca: Waiting 21:25:53 d65c8cfc05b1: Waiting 21:25:53 2437ff75d9bd: Waiting 21:25:54 04944245beec: Verifying Checksum 21:25:54 04944245beec: Download complete 21:25:54 765212b225bb: Download complete 21:25:54 f23df028b6ca: Verifying Checksum 21:25:54 f23df028b6ca: Download complete 21:25:54 d65c8cfc05b1: Verifying Checksum 21:25:54 d65c8cfc05b1: Download complete 21:25:54 699f458cf7ca: Verifying Checksum 21:25:54 699f458cf7ca: Download complete 21:25:54 8998bd30e6a1: Download complete 21:25:56 2437ff75d9bd: Verifying Checksum 21:25:56 2437ff75d9bd: Download complete 21:25:58 8998bd30e6a1: Pull complete 21:25:58 04944245beec: Pull complete 21:26:00 699f458cf7ca: Pull complete 21:26:00 765212b225bb: Pull complete 21:26:01 f23df028b6ca: Pull complete 21:26:01 d65c8cfc05b1: Pull complete 21:26:16 2437ff75d9bd: Pull complete 21:26:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:26:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:16 prd-ubuntu20.04-docker-arm64-4c-16g-653 does not seem to be running inside a container 21:26:16 $ 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/56 -v /w/workspace/app-rfid-llrp-inventory/56:/w/workspace/app-rfid-llrp-inventory/56:rw,z -v /w/workspace/app-rfid-llrp-inventory/56@tmp:/w/workspace/app-rfid-llrp-inventory/56@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:arm64 cat 21:26:19 $ docker top 8b380d1cc2d00702a95020f0e5d06452239eaac35221c54c2e23286dd6cc24f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:19 ---> job-cost.sh 21:26:19 lf-activate-venv: SKIPPING 21:26:19 INFO: No Stack... 21:26:20 INFO: Retrieving Pricing Info for: v3-standard-4 21:26:21 INFO: Archiving Costs [Pipeline] sh 21:26:21 + cut -d, -f6 21:26:21 + cat /w/workspace/app-rfid-llrp-inventory/56/archives/cost.csv [Pipeline] lock 21:26:21 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] 21:26:21 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] did not exist. Created. 21:26:21 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:26:22 /w/workspace/app-rfid-llrp-inventory/56@tmp/durable-1313cb94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:26:22 + echo total: 0.10999999940395355 [Pipeline] stash 21:26:22 Warning: overwriting stash ‘stack-cost’ 21:26:22 Stashed 1 file(s) [Pipeline] } 21:26:22 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 21:26:22 $ docker stop --time=1 8b380d1cc2d00702a95020f0e5d06452239eaac35221c54c2e23286dd6cc24f1 21:26:24 $ docker rm -f 8b380d1cc2d00702a95020f0e5d06452239eaac35221c54c2e23286dd6cc24f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:26:24 provisioning config files... 21:26:24 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3592675569744777066tmp [Pipeline] { [Pipeline] sh 21:26:24 + set +x 21:26:24 + curl -s https://codecov.io/bash 21:26:24 + bash -s -- 21:26:24 21:26:24 _____ _ 21:26:24 / ____| | | 21:26:24 | | ___ __| | ___ ___ _____ __ 21:26:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:26:24 | |___| (_) | (_| | __/ (_| (_) \ V / 21:26:24 \_____\___/ \__,_|\___|\___\___/ \_/ 21:26:24 Bash-1.0.6 21:26:24 21:26:24 21:26:24 ==> git version 2.25.1 found 21:26:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:26:24 Release-Date: 2020-01-08 21:26:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:26:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:26:24 ==> Jenkins CI detected. 21:26:24 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 21:26:24 project root: . 21:26:24 --> token set from env 21:26:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:26:24 ==> Running gcov in . (disable via -X gcov) 21:26:24 ==> Python coveragepy not found 21:26:24 ==> Searching for coverage reports in: 21:26:24 + . 21:26:24 -> Found 1 reports 21:26:24 ==> Detecting git/mercurial file structure 21:26:24 ==> Reading reports 21:26:24 + ./coverage.out bytes=41008 21:26:24 ==> Appending adjustments 21:26:24 https://docs.codecov.io/docs/fixing-reports 21:26:25 + Found adjustments 21:26:25 ==> Gzipping contents 21:26:25 12K /tmp/codecov.Sssdl8.gz 21:26:25 ==> Uploading reports 21:26:25 url: https://codecov.io 21:26:25 query: branch=main&commit=50b7175916fade296152ad9743613fc80727b30a&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:26:25 -> Pinging Codecov 21:26:25 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=50b7175916fade296152ad9743613fc80727b30a&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:26:25 -> Uploading to 21:26:25 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/581DD39554BDF9B6E22D074273EAD858/50b7175916fade296152ad9743613fc80727b30a/f73e084a-5d7b-41e7-be4d-7a7ca6f5da2b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T212625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e17b88924ea2b9306cf9c20d97ba75f963abfb42cabf0c8e1730e62649a76f7 21:26:25 % Total % Received % Xferd Average Speed Time Time Time Current 21:26:25 Dload Upload Total Spent Left Speed 21:26:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11457 0 0 100 11457 0 51376 --:--:-- --:--:-- --:--:-- 51376 21:26:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/50b7175916fade296152ad9743613fc80727b30a [Pipeline] } 21:26:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:26:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:26:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:26:26 21:26:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:26:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:26:26 df9b9388f04a: Pulling fs layer 21:26:26 52dc419b0ee2: Pulling fs layer 21:26:26 25bc292e5bac: Pulling fs layer 21:26:26 114826534d7a: Pulling fs layer 21:26:26 4657fd5d0bcf: Pulling fs layer 21:26:26 6ad1cebc031e: Pulling fs layer 21:26:26 8a3aa393b2d8: Pulling fs layer 21:26:26 4657fd5d0bcf: Waiting 21:26:26 6ad1cebc031e: Waiting 21:26:26 8a3aa393b2d8: Waiting 21:26:26 114826534d7a: Waiting 21:26:26 25bc292e5bac: Verifying Checksum 21:26:26 25bc292e5bac: Download complete 21:26:26 52dc419b0ee2: Verifying Checksum 21:26:26 52dc419b0ee2: Download complete 21:26:26 4657fd5d0bcf: Verifying Checksum 21:26:26 4657fd5d0bcf: Download complete 21:26:26 df9b9388f04a: Verifying Checksum 21:26:26 df9b9388f04a: Download complete 21:26:26 df9b9388f04a: Pull complete 21:26:26 6ad1cebc031e: Verifying Checksum 21:26:26 6ad1cebc031e: Download complete 21:26:26 52dc419b0ee2: Pull complete 21:26:26 25bc292e5bac: Pull complete 21:26:27 114826534d7a: Verifying Checksum 21:26:27 114826534d7a: Download complete 21:26:27 8a3aa393b2d8: Verifying Checksum 21:26:27 8a3aa393b2d8: Download complete 21:26:30 114826534d7a: Pull complete 21:26:30 4657fd5d0bcf: Pull complete 21:26:30 6ad1cebc031e: Pull complete 21:26:33 8a3aa393b2d8: Pull complete 21:26:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:26:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:26:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:33 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:26:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:26:36 $ docker top d6b3509f31feada89cf0b7d6654f22dc7942961cc487ab671d5370ae9dfa58fb -eo pid,comm [Pipeline] { [Pipeline] echo 21:26:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 21:26:36 + set -o pipefail 21:26:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 21:26:42 21:26:42 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 21:26:42 21:26:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/9da4063c-84a5-4568-912e-89481110de39 21:26:42 21:26:42 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:26:42 21:26:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:26:42 21:26:42 [Pipeline] } 21:26:42 $ docker stop --time=1 d6b3509f31feada89cf0b7d6654f22dc7942961cc487ab671d5370ae9dfa58fb 21:26:45 $ docker rm -f d6b3509f31feada89cf0b7d6654f22dc7942961cc487ab671d5370ae9dfa58fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:26:46 + git log --format=format:%s -1 50b7175916fade296152ad9743613fc80727b30a [Pipeline] sh 21:26:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:26:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:46 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:26:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:26:47 $ docker top f961eb116e73b1ff70e590824bc945bc0ce79e86c24a551e987184b0a762706f -eo pid,comm 21:26:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:26:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:47 [ssh-agent] Looking for ssh-agent implementation... 21:26:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:47 $ docker exec f961eb116e73b1ff70e590824bc945bc0ce79e86c24a551e987184b0a762706f ssh-agent 21:26:47 SSH_AUTH_SOCK=/tmp/ssh-6ayj5OdJe9Q6/agent.32 21:26:47 SSH_AGENT_PID=38 21:26:47 Running ssh-add (command line suppressed) 21:26:47 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16147402122528632236.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16147402122528632236.key) 21:26:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:47 + git semver tag 21:26:48 2022-09-22 21:26:48,132 [run_tag] DEBUG tag force:False 21:26:48 2022-09-22 21:26:48,132 [check_head_tag] DEBUG check head tag 21:26:48 2022-09-22 21:26:48,133 [execute] INFO git cat-file --batch-check 21:26:48 2022-09-22 21:26:48,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:26:48 2022-09-22 21:26:48,137 [execute] INFO git cat-file --batch 21:26:48 2022-09-22 21:26:48,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:26:48 2022-09-22 21:26:48,147 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:48 2022-09-22 21:26:48,148 [execute] INFO git tag -a v2.3.0-dev.16 -m v2.3.0-dev.16 21:26:48 2022-09-22 21:26:48,148 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.16', '-m', 'v2.3.0-dev.16'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:26:48 2022-09-22 21:26:48,152 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:48 2.3.0-dev.16 [Pipeline] } 21:26:48 $ docker exec --env ******** --env ******** f961eb116e73b1ff70e590824bc945bc0ce79e86c24a551e987184b0a762706f ssh-agent -k 21:26:48 unset SSH_AUTH_SOCK; 21:26:48 unset SSH_AGENT_PID; 21:26:48 echo Agent pid 38 killed; 21:26:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:48 + git semver [Pipeline] } 21:26:48 $ docker stop --time=1 f961eb116e73b1ff70e590824bc945bc0ce79e86c24a551e987184b0a762706f 21:26:50 $ docker rm -f f961eb116e73b1ff70e590824bc945bc0ce79e86c24a551e987184b0a762706f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:26:50 21:26:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:26:50 0.23.1-centos7: Pulling from edgex-lftools 21:26:50 ab5ef0e58194: Pulling fs layer 21:26:50 9712f1f96733: Pulling fs layer 21:26:50 63f879dbbcfc: Pulling fs layer 21:26:50 0d9ebad4ef96: Pulling fs layer 21:26:50 e9a5061849ea: Pulling fs layer 21:26:50 d747dcd14b5f: Pulling fs layer 21:26:50 2de7ff778b66: Pulling fs layer 21:26:50 0d9ebad4ef96: Waiting 21:26:50 e9a5061849ea: Waiting 21:26:50 d747dcd14b5f: Waiting 21:26:50 2de7ff778b66: Waiting 21:26:50 9712f1f96733: Download complete 21:26:51 63f879dbbcfc: Verifying Checksum 21:26:51 63f879dbbcfc: Download complete 21:26:51 e9a5061849ea: Verifying Checksum 21:26:51 e9a5061849ea: Download complete 21:26:51 ab5ef0e58194: Verifying Checksum 21:26:51 ab5ef0e58194: Download complete 21:26:51 d747dcd14b5f: Verifying Checksum 21:26:51 d747dcd14b5f: Download complete 21:26:51 0d9ebad4ef96: Verifying Checksum 21:26:51 0d9ebad4ef96: Download complete 21:26:51 2de7ff778b66: Verifying Checksum 21:26:51 2de7ff778b66: Download complete 21:26:54 ab5ef0e58194: Pull complete 21:26:54 9712f1f96733: Pull complete 21:26:54 63f879dbbcfc: Pull complete 21:26:58 0d9ebad4ef96: Pull complete 21:26:58 e9a5061849ea: Pull complete 21:26:58 d747dcd14b5f: Pull complete 21:26:59 2de7ff778b66: Pull complete 21:26:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:26:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:26:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:59 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:26:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:27:03 $ docker top 160c2b37a2b87153e4473c4f97e4a888b6a66431607bbd4a50108bef98253cd7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:27:03 provisioning config files... 21:27:03 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config12123271395209991814tmp 21:27:03 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config16592241393776658607tmp 21:27:03 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config10755135914122919709tmp [Pipeline] { [Pipeline] echo 21:27:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:27:03 ---> sigul-configuration.sh 21:27:03 gpg: directory `/root/.gnupg' created 21:27:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:27:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:27:03 gpg: keyring `/root/.gnupg/secring.gpg' created 21:27:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:27:03 gpg: CAST5 encrypted data 21:27:03 gpg: encrypted with 1 passphrase 21:27:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:27:04 + mkdir /home/jenkins 21:27:04 + mkdir /home/jenkins/sigul [Pipeline] sh 21:27:04 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:27:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:27:04 ---> sigul-install.sh 21:27:04 Sigul already installed; skipping installation. [Pipeline] sh 21:27:04 + git tag --list 21:27:04 v0.0.0 21:27:04 v1.0.0 21:27:04 v2.1.0 21:27:04 v2.1.1 21:27:04 v2.1.1-dev.1 21:27:04 v2.2.0 21:27:04 v2.2.1-dev.1 21:27:04 v2.2.1-dev.2 21:27:04 v2.2.1-dev.3 21:27:04 v2.2.1-dev.4 21:27:04 v2.2.1-dev.5 21:27:04 v2.2.1-dev.6 21:27:04 v2.2.1-dev.7 21:27:04 v2.3.0-dev.10 21:27:04 v2.3.0-dev.11 21:27:04 v2.3.0-dev.12 21:27:04 v2.3.0-dev.13 21:27:04 v2.3.0-dev.14 21:27:04 v2.3.0-dev.15 21:27:04 v2.3.0-dev.16 21:27:04 v2.3.0-dev.9 [Pipeline] sh 21:27:05 + lftools sign git-tag v2.3.0-dev.16 21:27:05 Signing Git tag with Sigul... 21:27:05 Signing v2.3.0-dev.16 [Pipeline] echo 21:27:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:27:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:27:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:27:06 $ docker stop --time=1 160c2b37a2b87153e4473c4f97e4a888b6a66431607bbd4a50108bef98253cd7 21:27:07 $ docker rm -f 160c2b37a2b87153e4473c4f97e4a888b6a66431607bbd4a50108bef98253cd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:27:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:08 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:27:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:27:08 $ docker top ec8b9c18eb824a8468e8f33ea83f5f3b32f50430c140143f23e4ed8a56b383f2 -eo pid,comm 21:27:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:27:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:08 [ssh-agent] Looking for ssh-agent implementation... 21:27:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:09 $ docker exec ec8b9c18eb824a8468e8f33ea83f5f3b32f50430c140143f23e4ed8a56b383f2 ssh-agent 21:27:09 SSH_AUTH_SOCK=/tmp/ssh-6TBixmYS8tsy/agent.32 21:27:09 SSH_AGENT_PID=38 21:27:09 Running ssh-add (command line suppressed) 21:27:09 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3892062838130082675.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3892062838130082675.key) 21:27:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:09 + git semver bump pre 21:27:09 2022-09-22 21:27:09,731 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:27:09 2022-09-22 21:27:09,731 [bump_version] DEBUG bumping version:2.3.0-dev.16 on axis:pre with prefix:dev 21:27:09 2022-09-22 21:27:09,731 [bump_version] DEBUG bumped version:2.3.0-dev.17 21:27:09 2022-09-22 21:27:09,731 [write_version] DEBUG write version:2.3.0-dev.17 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 21:27:09 2022-09-22 21:27:09,732 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:27:09 2022-09-22 21:27:09,732 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:27:09 2022-09-22 21:27:09,734 [execute] INFO git cat-file --batch-check 21:27:09 2022-09-22 21:27:09,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:27:09 2022-09-22 21:27:09,738 [execute] INFO git cat-file --batch 21:27:09 2022-09-22 21:27:09,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:27:09 2022-09-22 21:27:09,743 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:27:09 2.3.0-dev.17 [Pipeline] } 21:27:09 $ docker exec --env ******** --env ******** ec8b9c18eb824a8468e8f33ea83f5f3b32f50430c140143f23e4ed8a56b383f2 ssh-agent -k 21:27:09 unset SSH_AUTH_SOCK; 21:27:09 unset SSH_AGENT_PID; 21:27:09 echo Agent pid 38 killed; 21:27:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:27:10 + git semver [Pipeline] } 21:27:10 $ docker stop --time=1 ec8b9c18eb824a8468e8f33ea83f5f3b32f50430c140143f23e4ed8a56b383f2 21:27:11 $ docker rm -f ec8b9c18eb824a8468e8f33ea83f5f3b32f50430c140143f23e4ed8a56b383f2 [Pipeline] // withDockerContainer [Pipeline] sh 21:27:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:12 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:27:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:27:12 $ docker top 7c1e6b0eaeca74a66d0e092e232ffb58ffbb6b47ba05570fc609216cefbdc1a0 -eo pid,comm 21:27:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:27:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:12 [ssh-agent] Looking for ssh-agent implementation... 21:27:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:13 $ docker exec 7c1e6b0eaeca74a66d0e092e232ffb58ffbb6b47ba05570fc609216cefbdc1a0 ssh-agent 21:27:13 SSH_AUTH_SOCK=/tmp/ssh-H5ERDqQhSjPB/agent.32 21:27:13 SSH_AGENT_PID=38 21:27:13 Running ssh-add (command line suppressed) 21:27:13 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_11872270425475678104.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_11872270425475678104.key) 21:27:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:13 + git semver push 21:27:13 2022-09-22 21:27:13,673 [run_push] DEBUG push 21:27:13 2022-09-22 21:27:13,674 [execute] INFO git cat-file --batch-check 21:27:13 2022-09-22 21:27:13,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:27:13 2022-09-22 21:27:13,678 [execute] INFO git rev-list 602007762fc90dee70171f5b7f3f8a01bae7b180 -- 21:27:13 2022-09-22 21:27:13,678 [execute] DEBUG Popen(['git', 'rev-list', '602007762fc90dee70171f5b7f3f8a01bae7b180', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:27:13 2022-09-22 21:27:13,684 [execute] INFO git fetch -v origin 21:27:13 2022-09-22 21:27:13,684 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 21:27:14 2022-09-22 21:27:14,226 [run_push] DEBUG no remote changes detected 21:27:14 2022-09-22 21:27:14,227 [execute] INFO git push origin semver 21:27:14 2022-09-22 21:27:14,227 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:27:15 2022-09-22 21:27:14,989 [run_push] DEBUG push all version tags 21:27:15 2022-09-22 21:27:14,990 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:27:15 2022-09-22 21:27:14,990 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:27:15 2022-09-22 21:27:15,758 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:27:15 2.3.0-dev.17 [Pipeline] } 21:27:15 $ docker exec --env ******** --env ******** 7c1e6b0eaeca74a66d0e092e232ffb58ffbb6b47ba05570fc609216cefbdc1a0 ssh-agent -k 21:27:15 unset SSH_AUTH_SOCK; 21:27:15 unset SSH_AGENT_PID; 21:27:15 echo Agent pid 38 killed; 21:27:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:27:16 + git semver [Pipeline] } 21:27:16 $ docker stop --time=1 7c1e6b0eaeca74a66d0e092e232ffb58ffbb6b47ba05570fc609216cefbdc1a0 21:27:17 $ docker rm -f 7c1e6b0eaeca74a66d0e092e232ffb58ffbb6b47ba05570fc609216cefbdc1a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:27:18 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 21:27:18 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:27:18 total 16 21:27:18 drwxr-xr-x 3 root root 4096 Sep 22 21:16 . 21:27:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 21:27 .. 21:27:18 drwxr-xr-x 2 root root 4096 Sep 22 21:16 cost 21:27:18 -rw-r--r-- 1 root root 94 Sep 22 21:16 cost.csv 21:27:18 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:27:18 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:27:18 total 16 21:27:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:16 . 21:27:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 21:27 .. 21:27:18 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 21:16 cost 21:27:18 -rw-r--r-- 1 jenkins jenkins 94 Sep 22 21:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:27:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:27:19 ---> package-listing.sh 21:27:19 ++ facter osfamily 21:27:19 ++ tr '[:upper:]' '[:lower:]' 21:27:19 + OS_FAMILY=debian 21:27:19 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 21:27:19 + START_PACKAGES=/tmp/packages_start.txt 21:27:19 + END_PACKAGES=/tmp/packages_end.txt 21:27:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:27:19 + PACKAGES=/tmp/packages_start.txt 21:27:19 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:27:19 + PACKAGES=/tmp/packages_end.txt 21:27:19 + case "${OS_FAMILY}" in 21:27:19 + dpkg -l 21:27:19 + grep '^ii' 21:27:19 + '[' -f /tmp/packages_start.txt ']' 21:27:19 + '[' -f /tmp/packages_end.txt ']' 21:27:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:27:19 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:27:19 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 21:27:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 21:27:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:27:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:20 prd-ubuntu20.04-docker-8c-8g-652 does not seem to be running inside a container 21:27:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:27:21 $ docker top 96c0b8c3fa42f8ce38596152ca9495155177f037e4c853ce736d91ecbd1e1d4b -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:21 + touch /tmp/pre-build-complete [Pipeline] sh 21:27:21 + mkdir -p /var/log/sysstat [Pipeline] sh 21:27:21 + ls /var/log/sa-host 21:27:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:22 provisioning config files... 21:27:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11358221671998027107tmp [Pipeline] { [Pipeline] echo 21:27:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:27:22 ---> create-netrc.sh [Pipeline] } 21:27:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:27:22 ---> python-tools-install.sh [Pipeline] echo 21:27:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:27:23 ---> sudo-logs.sh 21:27:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:27:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:27:23 ---> job-cost.sh 21:27:23 lf-activate-venv: SKIPPING 21:27:23 DEBUG: total: 0.2199999988079071 21:27:23 INFO: Retrieving Stack Cost... 21:27:23 INFO: Retrieving Pricing Info for: v3-standard-8 21:27:24 INFO: Archiving Costs [Pipeline] echo 21:27:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:27:24 ---> logs-deploy.sh 21:27:24 lf-activate-venv: SKIPPING 21:27:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/56 21:27:24 INFO: archiving workspace using pattern(s): 21:27:25 Archives upload complete. 21:27:25 INFO: archiving logs to Nexus 21:27:26 ---> uname -a: 21:27:26 Linux prd-ubuntu20-04-docker-8c-8g-652 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:27:26 21:27:26 21:27:26 ---> lscpu: 21:27:26 Architecture: x86_64 21:27:26 CPU op-mode(s): 32-bit, 64-bit 21:27:26 Byte Order: Little Endian 21:27:26 Address sizes: 40 bits physical, 48 bits virtual 21:27:26 CPU(s): 8 21:27:26 On-line CPU(s) list: 0-7 21:27:26 Thread(s) per core: 1 21:27:26 Core(s) per socket: 1 21:27:26 Socket(s): 8 21:27:26 NUMA node(s): 1 21:27:26 Vendor ID: AuthenticAMD 21:27:26 CPU family: 23 21:27:26 Model: 49 21:27:26 Model name: AMD EPYC-Rome Processor 21:27:26 Stepping: 0 21:27:26 CPU MHz: 2799.998 21:27:26 BogoMIPS: 5599.99 21:27:26 Virtualization: AMD-V 21:27:26 Hypervisor vendor: KVM 21:27:26 Virtualization type: full 21:27:26 L1d cache: 256 KiB 21:27:26 L1i cache: 256 KiB 21:27:26 L2 cache: 4 MiB 21:27:26 L3 cache: 128 MiB 21:27:26 NUMA node0 CPU(s): 0-7 21:27:26 Vulnerability Itlb multihit: Not affected 21:27:26 Vulnerability L1tf: Not affected 21:27:26 Vulnerability Mds: Not affected 21:27:26 Vulnerability Meltdown: Not affected 21:27:26 Vulnerability Mmio stale data: Not affected 21:27:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:27:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:27:26 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:27:26 Vulnerability Srbds: Not affected 21:27:26 Vulnerability Tsx async abort: Not affected 21:27:26 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:27:26 21:27:26 21:27:26 ---> nproc: 21:27:26 8 21:27:26 21:27:26 21:27:26 ---> df -h: 21:27:26 Filesystem Size Used Avail Use% Mounted on 21:27:26 overlay 155G 13G 143G 9% / 21:27:26 tmpfs 64M 0 64M 0% /dev 21:27:26 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:27:26 shm 64M 0 64M 0% /dev/shm 21:27:26 /dev/vda1 155G 13G 143G 9% /facter-os 21:27:26 21:27:26