Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 350dcbb98a3b589a77f3df68bd3874cc550526fa 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-ssh15615515380887685747.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14528464088077422420.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13606544408381885761.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3829908370202048980.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11455541896873567905.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-2954’ Running on prd-ubuntu20.04-docker-8c-8g-2957 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/dry_app-rfid-llrp-inventory_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 350dcbb98a3b589a77f3df68bd3874cc550526fa (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 350dcbb98a3b589a77f3df68bd3874cc550526fa # timeout=10 Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#134)" > git rev-list --no-walk bbc8cea5256726f873dd73e5987e9fb16baf68a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:15:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:15:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:15:51 ========================================================= 16:15:51 EdgeX Global Pipelines Version Info 16:15:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:15:52 ------------------- 16:15:52 stable info: 16:15:52 ------------------- 16:15:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:15:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:15:52 Message: update stable to v1.0.244 16:15:52 ------------------- 16:15:52 experimental info: 16:15:52 ------------------- 16:15:52 Commited By: **** collab-it+edgex@linuxfoundation.org 16:15:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:15:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 350dcbb [Pipeline] echo 16:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:52 provisioning config files... 16:15:52 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config10167179271692418099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:53 ---> docker-login.sh 16:15:53 nexus3.edgexfoundry.org:10001 16:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:53 Configure a credential helper to remove this warning. See 16:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:53 16:15:53 Login Succeeded 16:15:53 nexus3.edgexfoundry.org:10002 16:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:54 Configure a credential helper to remove this warning. See 16:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:54 16:15:54 Login Succeeded 16:15:54 nexus3.edgexfoundry.org:10003 16:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:54 Configure a credential helper to remove this warning. See 16:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:54 16:15:54 Login Succeeded 16:15:54 nexus3.edgexfoundry.org:10004 16:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:54 Configure a credential helper to remove this warning. See 16:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:54 16:15:54 Login Succeeded 16:15:54 docker.io 16:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:54 Configure a credential helper to remove this warning. See 16:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:54 16:15:54 Login Succeeded 16:15:54 ---> docker-login.sh ends [Pipeline] } 16:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:15:54 + git rev-list -1 --merges 350dcbb98a3b589a77f3df68bd3874cc550526fa~1..350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] echo 16:15:54 -----------> git rev-list -1 --merges 350dcbb98a3b589a77f3df68bd3874cc550526fa~1..350dcbb98a3b589a77f3df68bd3874cc550526fa 350dcbb98a3b589a77f3df68bd3874cc550526fa [false] [Pipeline] sh 16:15:55 + git log --format=format:%s -1 350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] echo 16:15:55 ========================================================= 16:15:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:15:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:55 + git log --format=format:%s -1 350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] echo 16:15:55 [semverPrep] GIT_COMMIT: 350dcbb98a3b589a77f3df68bd3874cc550526fa, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#134) [Pipeline] echo 16:15:55 [semverPrep] This is not a build commit. [Pipeline] sh 16:15:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:15:55 + grep -v github /etc/ssh/ssh_known_hosts 16:15:55 + [ -e /tmp/ssh_known_hosts ] 16:15:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:15:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:15:55 + sudo tee -a /etc/ssh/ssh_known_hosts 16:15:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:56 16:15:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:56 0.1.4: Pulling from edgex-devops/py-git-semver 16:15:56 b85a868b505f: Pulling fs layer 16:15:56 e2be974225ed: Pulling fs layer 16:15:56 339a4e72a1f5: Pulling fs layer 16:15:56 988bab9f4d93: Pulling fs layer 16:15:56 1469e6f7b9e6: Pulling fs layer 16:15:56 eaf3925da568: Pulling fs layer 16:15:56 bab4dde63d76: Pulling fs layer 16:15:56 bde34c3a00c8: Pulling fs layer 16:15:56 b352a97aabf1: Pulling fs layer 16:15:56 4872d77fe225: Pulling fs layer 16:15:56 5851b861e8e6: Pulling fs layer 16:15:56 988bab9f4d93: Waiting 16:15:56 1469e6f7b9e6: Waiting 16:15:56 bde34c3a00c8: Waiting 16:15:56 4872d77fe225: Waiting 16:15:56 bab4dde63d76: Waiting 16:15:56 eaf3925da568: Waiting 16:15:56 5851b861e8e6: Waiting 16:15:56 e2be974225ed: Verifying Checksum 16:15:56 e2be974225ed: Download complete 16:15:56 988bab9f4d93: Verifying Checksum 16:15:56 988bab9f4d93: Download complete 16:15:56 1469e6f7b9e6: Verifying Checksum 16:15:56 1469e6f7b9e6: Download complete 16:15:56 339a4e72a1f5: Verifying Checksum 16:15:56 339a4e72a1f5: Download complete 16:15:56 eaf3925da568: Verifying Checksum 16:15:56 eaf3925da568: Download complete 16:15:56 bde34c3a00c8: Download complete 16:15:57 b352a97aabf1: Download complete 16:15:57 4872d77fe225: Verifying Checksum 16:15:57 4872d77fe225: Download complete 16:15:57 5851b861e8e6: Verifying Checksum 16:15:57 5851b861e8e6: Download complete 16:15:57 b85a868b505f: Verifying Checksum 16:15:57 b85a868b505f: Download complete 16:15:57 bab4dde63d76: Verifying Checksum 16:15:57 bab4dde63d76: Download complete 16:15:58 b85a868b505f: Pull complete 16:15:58 e2be974225ed: Pull complete 16:15:58 339a4e72a1f5: Pull complete 16:15:59 988bab9f4d93: Pull complete 16:15:59 1469e6f7b9e6: Pull complete 16:15:59 eaf3925da568: Pull complete 16:16:01 bab4dde63d76: Pull complete 16:16:01 bde34c3a00c8: Pull complete 16:16:01 b352a97aabf1: Pull complete 16:16:01 4872d77fe225: Pull complete 16:16:01 5851b861e8e6: Pull complete 16:16:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:01 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:16:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:16:03 $ docker top ff050c9a6fc0e7c4d9b332eecfe91dc9f43d81f6cb7ecd2591fc1d97029965ac -eo pid,comm 16:16:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:16:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:16:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:16:03 [ssh-agent] Looking for ssh-agent implementation... 16:16:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:16:03 $ docker exec ff050c9a6fc0e7c4d9b332eecfe91dc9f43d81f6cb7ecd2591fc1d97029965ac ssh-agent 16:16:03 SSH_AUTH_SOCK=/tmp/ssh-JRZzwjnpp83z/agent.32 16:16:03 SSH_AGENT_PID=38 16:16:03 Running ssh-add (command line suppressed) 16:16:03 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3000009760424798306.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3000009760424798306.key) 16:16:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:16:03 + git tag --points-at HEAD [Pipeline] } 16:16:03 $ docker exec --env ******** --env ******** ff050c9a6fc0e7c4d9b332eecfe91dc9f43d81f6cb7ecd2591fc1d97029965ac ssh-agent -k 16:16:04 unset SSH_AUTH_SOCK; 16:16:04 unset SSH_AGENT_PID; 16:16:04 echo Agent pid 38 killed; 16:16:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:16:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:16:04 [ssh-agent] Looking for ssh-agent implementation... 16:16:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:16:04 $ docker exec ff050c9a6fc0e7c4d9b332eecfe91dc9f43d81f6cb7ecd2591fc1d97029965ac ssh-agent 16:16:04 SSH_AUTH_SOCK=/tmp/ssh-K3jEuTyKiD9L/agent.70 16:16:04 SSH_AGENT_PID=76 16:16:04 Running ssh-add (command line suppressed) 16:16:04 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3497096380386330664.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3497096380386330664.key) 16:16:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:16:04 + git semver init 16:16:05 2023-01-18 16:16:04,956 [run_init] DEBUG init version:0.0.0 force:False 16:16:05 2023-01-18 16:16:04,957 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 16:16:05 2023-01-18 16:16:04,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 16:16:05 2023-01-18 16:16:04,958 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 16:16:06 2023-01-18 16:16:06,071 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 16:16:06 2023-01-18 16:16:06,072 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 16:16:06 2023-01-18 16:16:06,072 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:16:06 2023-01-18 16:16:06,072 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:16:06 3.0.0-dev.5 [Pipeline] } 16:16:06 $ docker exec --env ******** --env ******** ff050c9a6fc0e7c4d9b332eecfe91dc9f43d81f6cb7ecd2591fc1d97029965ac ssh-agent -k 16:16:06 unset SSH_AUTH_SOCK; 16:16:06 unset SSH_AGENT_PID; 16:16:06 echo Agent pid 76 killed; 16:16:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:16:06 + git semver [Pipeline] } 16:16:07 $ docker stop --time=1 ff050c9a6fc0e7c4d9b332eecfe91dc9f43d81f6cb7ecd2591fc1d97029965ac 16:16:08 $ docker rm -f --volumes ff050c9a6fc0e7c4d9b332eecfe91dc9f43d81f6cb7ecd2591fc1d97029965ac [Pipeline] // withDockerContainer [Pipeline] sh 16:16:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:16:09 Stashed 1 file(s) [Pipeline] echo 16:16:09 [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:09 provisioning config files... 16:16:09 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config989066557309585432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:09 ---> docker-login.sh 16:16:09 nexus3.edgexfoundry.org:10001 16:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:09 Configure a credential helper to remove this warning. See 16:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:09 16:16:09 Login Succeeded 16:16:09 nexus3.edgexfoundry.org:10002 16:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:09 Configure a credential helper to remove this warning. See 16:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:09 16:16:09 Login Succeeded 16:16:09 nexus3.edgexfoundry.org:10003 16:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:09 Configure a credential helper to remove this warning. See 16:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:09 16:16:09 Login Succeeded 16:16:09 nexus3.edgexfoundry.org:10004 16:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:09 Configure a credential helper to remove this warning. See 16:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:09 16:16:09 Login Succeeded 16:16:10 docker.io 16:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:10 Configure a credential helper to remove this warning. See 16:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:10 16:16:10 Login Succeeded 16:16:10 ---> docker-login.sh ends [Pipeline] } 16:16:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:16:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:10 ========================================================= 16:16:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:16:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:10 + 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 . 16:16:10 Sending build context to Docker daemon 12.56MB 16:16:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:16:10 Step 2/12 : FROM ${BASE} AS builder 16:16:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:16:10 213ec9aee27d: Pulling fs layer 16:16:10 4583459ba037: Pulling fs layer 16:16:10 93c1e223e6f2: Pulling fs layer 16:16:10 53926ce57604: Pulling fs layer 16:16:10 21b2b0c7a3f4: Pulling fs layer 16:16:10 22ff95d597cd: Pulling fs layer 16:16:10 12d6caf4c0d1: Pulling fs layer 16:16:10 96b7cbca73a9: Pulling fs layer 16:16:10 a7acece74701: Pulling fs layer 16:16:10 12d6caf4c0d1: Waiting 16:16:10 96b7cbca73a9: Waiting 16:16:10 a7acece74701: Waiting 16:16:10 53926ce57604: Waiting 16:16:10 21b2b0c7a3f4: Waiting 16:16:10 22ff95d597cd: Waiting 16:16:10 93c1e223e6f2: Verifying Checksum 16:16:10 93c1e223e6f2: Download complete 16:16:11 4583459ba037: Verifying Checksum 16:16:11 4583459ba037: Download complete 16:16:11 21b2b0c7a3f4: Verifying Checksum 16:16:11 21b2b0c7a3f4: Download complete 16:16:11 22ff95d597cd: Verifying Checksum 16:16:11 22ff95d597cd: Download complete 16:16:11 213ec9aee27d: Verifying Checksum 16:16:11 213ec9aee27d: Download complete 16:16:11 12d6caf4c0d1: Verifying Checksum 16:16:11 12d6caf4c0d1: Download complete 16:16:11 213ec9aee27d: Pull complete 16:16:11 4583459ba037: Pull complete 16:16:11 93c1e223e6f2: Pull complete 16:16:12 a7acece74701: Verifying Checksum 16:16:12 a7acece74701: Download complete 16:16:12 53926ce57604: Verifying Checksum 16:16:12 53926ce57604: Download complete 16:16:12 96b7cbca73a9: Verifying Checksum 16:16:12 96b7cbca73a9: Download complete 16:16:17 53926ce57604: Pull complete 16:16:17 21b2b0c7a3f4: Pull complete 16:16:17 22ff95d597cd: Pull complete 16:16:17 12d6caf4c0d1: Pull complete 16:16:18 96b7cbca73a9: Pull complete 16:16:19 a7acece74701: Pull complete 16:16:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:16:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:16:19 ---> db6d94c90886 16:16:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:16:21 ---> Running in 9f21edbfb950 16:16:21 Removing intermediate container 9f21edbfb950 16:16:21 ---> 9817b605c048 16:16:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:16:21 ---> Running in 6a09e6a7158f 16:16:21 Removing intermediate container 6a09e6a7158f 16:16:21 ---> 9c489ef23c2c 16:16:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:16:21 ---> Running in 3a485e70a376 16:16:21 Removing intermediate container 3a485e70a376 16:16:21 ---> 3a307d6644b7 16:16:21 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:16:21 ---> Running in bd8357727dee 16:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:16:22 OK: 211 MiB in 51 packages 16:16:22 Removing intermediate container bd8357727dee 16:16:22 ---> e054a0bab8ff 16:16:22 Step 7/12 : WORKDIR /app 16:16:22 ---> Running in 3a9753e1f411 16:16:22 Removing intermediate container 3a9753e1f411 16:16:22 ---> 48598ae9f140 16:16:22 Step 8/12 : COPY go.mod vendor* ./ 16:16:23 ---> 3a546635afed 16:16:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:16:23 ---> Running in 58ce71fa2cde 16:16:24 Still waiting to schedule task 16:16:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2955’ 16:16:41 Removing intermediate container 58ce71fa2cde 16:16:41 ---> 1134feb2f569 16:16:41 Step 10/12 : COPY . . 16:16:41 ---> 68ad9ba42bca 16:16:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:16:41 ---> Running in 84adf1580da2 16:16:41 Removing intermediate container 84adf1580da2 16:16:41 ---> d6ba556a50c9 16:16:41 Step 12/12 : RUN $MAKE 16:16:41 ---> Running in 2453cfbb45d7 16:16:42 noop 16:16:42 Removing intermediate container 2453cfbb45d7 16:16:42 ---> d094de362fa7 16:16:42 Successfully built d094de362fa7 16:16:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:43 + docker inspect -f . ci-base-image-x86_64 16:16:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:43 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:43 $ docker top 3eb07cbff996385624383a7db8624ab49540ca67dae5165f6845d85219404a71 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:43 + go version 16:16:43 go version go1.18.7 linux/amd64 [Pipeline] } 16:16:43 $ docker stop --time=1 3eb07cbff996385624383a7db8624ab49540ca67dae5165f6845d85219404a71 16:16:45 $ docker rm -f --volumes 3eb07cbff996385624383a7db8624ab49540ca67dae5165f6845d85219404a71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:45 + docker inspect -f . ci-base-image-x86_64 16:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:45 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:16:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:46 $ docker top 96035514b023af0c967227b98f964e1d117511909c1f3d5d746a1fa065b5d619 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:46 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 16:16:46 + make test 16:16:46 go test -race ./... -coverprofile=coverage.out ./... 16:17:08 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:17:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.132s coverage: 86.2% of statements 16:17:08 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:17:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.771s coverage: 71.9% of statements 16:17:23 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." 16:17:23 go vet ./... 16:17:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:17:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:17:26 ./bin/test-attribution.sh [Pipeline] echo 16:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:17:26 $ docker stop --time=1 96035514b023af0c967227b98f964e1d117511909c1f3d5d746a1fa065b5d619 16:17:28 $ docker rm -f --volumes 96035514b023af0c967227b98f964e1d117511909c1f3d5d746a1fa065b5d619 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:17:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:17:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:30 + ls -al . 16:17:30 total 240 16:17:30 drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 16:16 . 16:17:30 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 16:15 .. 16:17:30 -rw-rw-r-- 1 jenkins jenkins 262 Jan 18 16:15 .dockerignore 16:17:30 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 16:17 .git 16:17:30 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 16:15 .github 16:17:30 -rw-rw-r-- 1 jenkins jenkins 788 Jan 18 16:15 .gitignore 16:17:30 -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 16:15 .golangci.yml 16:17:30 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 16:16 .semver 16:17:30 -rw-rw-r-- 1 jenkins jenkins 9818 Jan 18 16:15 Attribution.txt 16:17:30 -rw-rw-r-- 1 jenkins jenkins 4331 Jan 18 16:15 CHANGELOG.md 16:17:30 -rw-rw-r-- 1 jenkins jenkins 1659 Jan 18 16:15 Dockerfile 16:17:30 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 16:15 GOVERNANCE.md 16:17:30 -rw-rw-r-- 1 jenkins jenkins 687 Jan 18 16:15 Jenkinsfile 16:17:30 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 18 16:15 LICENSE 16:17:30 -rw-rw-r-- 1 jenkins jenkins 2462 Jan 18 16:15 Makefile 16:17:30 -rw-rw-r-- 1 jenkins jenkins 617 Jan 18 16:15 OWNERS.md 16:17:30 -rw-rw-r-- 1 jenkins jenkins 31023 Jan 18 16:15 README.md 16:17:30 -rw-rw-r-- 1 jenkins jenkins 11 Jan 18 16:16 VERSION 16:17:30 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 16:15 bin 16:17:30 -rw-r--r-- 1 jenkins jenkins 41317 Jan 18 16:17 coverage.out 16:17:30 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 18 16:15 go.mod 16:17:30 -rw-rw-r-- 1 jenkins jenkins 45003 Jan 18 16:15 go.sum 16:17:30 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 16:15 images 16:17:30 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 16:15 internal 16:17:30 -rw-rw-r-- 1 jenkins jenkins 531 Jan 18 16:15 main.go 16:17:30 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 16:15 res 16:17:30 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 16:15 snap 16:17:30 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 16:15 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:30 + 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=350dcbb98a3b589a77f3df68bd3874cc550526fa --label arch=amd64 --label version=3.0.0-dev.5 . 16:17:30 Sending build context to Docker daemon 12.56MB 16:17:30 Step 1/29 : ARG BASE=golang:1.18-alpine3.16 16:17:30 Step 2/29 : FROM ${BASE} AS builder 16:17:30 ---> d094de362fa7 16:17:30 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 16:17:30 ---> Running in c2eda8c09f8b 16:17:30 Removing intermediate container c2eda8c09f8b 16:17:30 ---> ae6dc567ce05 16:17:30 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 16:17:30 ---> Running in 826254146cc0 16:17:30 Removing intermediate container 826254146cc0 16:17:30 ---> 489160e0aee4 16:17:30 Step 5/29 : ARG ADD_BUILD_TAGS="" 16:17:30 ---> Running in d82c3443a5a3 16:17:30 Removing intermediate container d82c3443a5a3 16:17:30 ---> f6ec47c20533 16:17:30 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:30 ---> Running in f1711e93a4ce 16:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:17:31 OK: 211 MiB in 51 packages 16:17:32 Removing intermediate container f1711e93a4ce 16:17:32 ---> 32b509181253 16:17:32 Step 7/29 : WORKDIR /app 16:17:32 ---> Running in fcb5cd718620 16:17:32 Removing intermediate container fcb5cd718620 16:17:32 ---> e00fb7ade70a 16:17:32 Step 8/29 : COPY go.mod vendor* ./ 16:17:32 ---> edb2938686b2 16:17:32 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:32 ---> Running in 22dcf33aa1db 16:17:32 Removing intermediate container 22dcf33aa1db 16:17:32 ---> f9309ece6581 16:17:32 Step 10/29 : COPY . . 16:17:33 ---> 77a2b2763589 16:17:33 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:17:33 ---> Running in 30041af0d0d6 16:17:33 Removing intermediate container 30041af0d0d6 16:17:33 ---> d281c660a80b 16:17:33 Step 12/29 : RUN $MAKE 16:17:33 ---> Running in c606521ad2b1 16:17:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.5 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.5" -trimpath -mod=readonly -o app-rfid-llrp-inventory 16:17:51 Removing intermediate container c606521ad2b1 16:17:51 ---> 7e338e4fc063 16:17:51 Step 13/29 : FROM alpine:3.14 16:17:51 3.14: Pulling from library/alpine 16:17:51 c7ed990a2339: Pulling fs layer 16:17:51 c7ed990a2339: Verifying Checksum 16:17:51 c7ed990a2339: Download complete 16:17:51 c7ed990a2339: Pull complete 16:17:51 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 16:17:51 Status: Downloaded newer image for alpine:3.14 16:17:51 ---> dd53f409bf0b 16:17:51 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:17:51 ---> Running in e7f1a723e459 16:17:51 Removing intermediate container e7f1a723e459 16:17:51 ---> b02dd139bb76 16:17:51 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:17:51 ---> Running in d2525e44b38d 16:17:51 Removing intermediate container d2525e44b38d 16:17:51 ---> 0e38230ea5a6 16:17:51 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 16:17:51 ---> Running in 83edb9559cd0 16:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:17:52 (1/2) Installing ca-certificates (20220614-r0) 16:17:52 (2/2) Installing dumb-init (1.2.5-r1) 16:17:52 Executing busybox-1.33.1-r8.trigger 16:17:52 Executing ca-certificates-20220614-r0.trigger 16:17:52 OK: 6 MiB in 16 packages 16:17:52 Removing intermediate container 83edb9559cd0 16:17:52 ---> 67819e9264ab 16:17:52 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:17:53 ---> 82658c556c8c 16:17:53 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 16:17:53 ---> 78cd8e0c3ef6 16:17:53 Step 19/29 : COPY --from=builder /app/res/ /res/ 16:17:53 ---> 8db3c93853f9 16:17:53 Step 20/29 : COPY --from=builder /app/static/ /static/ 16:17:53 ---> 42d0914403a1 16:17:53 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:17:54 ---> 5ddea6f0ba81 16:17:54 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:17:54 ---> Running in 61a5c57c740b 16:17:54 Removing intermediate container 61a5c57c740b 16:17:54 ---> beadada034a7 16:17:54 Step 23/29 : VOLUME /cache 16:17:54 ---> Running in 5ccd27eb0fc6 16:17:54 Removing intermediate container 5ccd27eb0fc6 16:17:54 ---> d43deaf005f0 16:17:54 Step 24/29 : EXPOSE 59711 16:17:54 ---> Running in d78d4345318d 16:17:54 Removing intermediate container d78d4345318d 16:17:54 ---> 272345994783 16:17:54 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:17:55 ---> Running in fd58bbb45113 16:17:55 Removing intermediate container fd58bbb45113 16:17:55 ---> 61682058445b 16:17:55 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 16:17:55 ---> Running in 34b466376267 16:17:55 Removing intermediate container 34b466376267 16:17:55 ---> b94cd74399f6 16:17:55 Step 27/29 : LABEL arch=amd64 16:17:55 ---> Running in 9e169b7d0408 16:17:55 Removing intermediate container 9e169b7d0408 16:17:55 ---> 9312474d7a6d 16:17:55 Step 28/29 : LABEL git_sha=350dcbb98a3b589a77f3df68bd3874cc550526fa 16:17:55 ---> Running in 0a2184afe40c 16:17:55 Removing intermediate container 0a2184afe40c 16:17:55 ---> bef0d6df9554 16:17:55 Step 29/29 : LABEL version=3.0.0-dev.5 16:17:55 ---> Running in 743eb3b4c7dc 16:17:55 Removing intermediate container 743eb3b4c7dc 16:17:55 ---> 8088507f800e 16:17:55 [Warning] One or more build-args [ARCH] were not consumed 16:17:55 Successfully built 8088507f800e 16:17:55 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:55 provisioning config files... 16:17:55 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15744765332959559409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:56 ---> docker-login.sh 16:17:56 nexus3.edgexfoundry.org:10001 16:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:56 Configure a credential helper to remove this warning. See 16:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:56 16:17:56 Login Succeeded 16:17:56 nexus3.edgexfoundry.org:10002 16:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:56 Configure a credential helper to remove this warning. See 16:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:56 16:17:56 Login Succeeded 16:17:56 nexus3.edgexfoundry.org:10003 16:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:56 Configure a credential helper to remove this warning. See 16:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:56 16:17:56 Login Succeeded 16:17:56 nexus3.edgexfoundry.org:10004 16:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:56 Configure a credential helper to remove this warning. See 16:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:56 16:17:56 Login Succeeded 16:17:56 docker.io 16:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:56 Configure a credential helper to remove this warning. See 16:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:56 16:17:56 Login Succeeded 16:17:56 ---> docker-login.sh ends [Pipeline] } 16:17:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:17:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:56 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 16:17:56 350dcbb98a3b589a77f3df68bd3874cc550526fa 16:17:56 latest 16:17:56 3.0.0-dev.5 16:17:56 350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 16:17:56 main 16:17:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:56 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:57 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:350dcbb98a3b589a77f3df68bd3874cc550526fa 16:17:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:17:57 d1d575825e61: Preparing 16:17:57 c6d1d57eb44b: Preparing 16:17:57 642d0b074204: Preparing 16:17:57 41e4e8fc8c13: Preparing 16:17:57 ab2eb55ec372: Preparing 16:17:57 8d8708fc1dac: Preparing 16:17:57 3f1e7d4c7ca8: Preparing 16:17:57 8d8708fc1dac: Waiting 16:17:57 63493a9ab2d4: Preparing 16:17:57 63493a9ab2d4: Waiting 16:17:57 3f1e7d4c7ca8: Waiting 16:17:57 d1d575825e61: Pushed 16:17:57 642d0b074204: Pushed 16:17:57 ab2eb55ec372: Pushed 16:17:57 41e4e8fc8c13: Pushed 16:17:57 63493a9ab2d4: Layer already exists 16:17:57 8d8708fc1dac: Pushed 16:17:57 3f1e7d4c7ca8: Pushed 16:18:00 c6d1d57eb44b: Pushed 16:18:00 350dcbb98a3b589a77f3df68bd3874cc550526fa: digest: sha256:49f0927c028d9710458c7e36a9d5e625e33ebf7845f0c15fbb34d21e4adc32fc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:00 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:00 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:18:00 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:18:00 d1d575825e61: Preparing 16:18:00 c6d1d57eb44b: Preparing 16:18:00 642d0b074204: Preparing 16:18:00 41e4e8fc8c13: Preparing 16:18:00 ab2eb55ec372: Preparing 16:18:00 8d8708fc1dac: Preparing 16:18:00 3f1e7d4c7ca8: Preparing 16:18:00 63493a9ab2d4: Preparing 16:18:00 63493a9ab2d4: Waiting 16:18:00 8d8708fc1dac: Waiting 16:18:00 3f1e7d4c7ca8: Waiting 16:18:00 d1d575825e61: Layer already exists 16:18:00 c6d1d57eb44b: Layer already exists 16:18:00 ab2eb55ec372: Layer already exists 16:18:00 41e4e8fc8c13: Layer already exists 16:18:00 642d0b074204: Layer already exists 16:18:00 63493a9ab2d4: Layer already exists 16:18:00 3f1e7d4c7ca8: Layer already exists 16:18:00 8d8708fc1dac: Layer already exists 16:18:00 latest: digest: sha256:49f0927c028d9710458c7e36a9d5e625e33ebf7845f0c15fbb34d21e4adc32fc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:00 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:01 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.5 16:18:01 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:18:01 d1d575825e61: Preparing 16:18:01 c6d1d57eb44b: Preparing 16:18:01 642d0b074204: Preparing 16:18:01 41e4e8fc8c13: Preparing 16:18:01 ab2eb55ec372: Preparing 16:18:01 8d8708fc1dac: Preparing 16:18:01 3f1e7d4c7ca8: Preparing 16:18:01 63493a9ab2d4: Preparing 16:18:01 8d8708fc1dac: Waiting 16:18:01 3f1e7d4c7ca8: Waiting 16:18:01 63493a9ab2d4: Waiting 16:18:01 41e4e8fc8c13: Layer already exists 16:18:01 ab2eb55ec372: Layer already exists 16:18:01 d1d575825e61: Layer already exists 16:18:01 c6d1d57eb44b: Layer already exists 16:18:01 642d0b074204: Layer already exists 16:18:01 3f1e7d4c7ca8: Layer already exists 16:18:01 8d8708fc1dac: Layer already exists 16:18:01 63493a9ab2d4: Layer already exists 16:18:01 3.0.0-dev.5: digest: sha256:49f0927c028d9710458c7e36a9d5e625e33ebf7845f0c15fbb34d21e4adc32fc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:01 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:01 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 16:18:01 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:18:01 d1d575825e61: Preparing 16:18:01 c6d1d57eb44b: Preparing 16:18:01 642d0b074204: Preparing 16:18:01 41e4e8fc8c13: Preparing 16:18:01 ab2eb55ec372: Preparing 16:18:01 8d8708fc1dac: Preparing 16:18:01 3f1e7d4c7ca8: Preparing 16:18:01 63493a9ab2d4: Preparing 16:18:01 8d8708fc1dac: Waiting 16:18:01 3f1e7d4c7ca8: Waiting 16:18:01 63493a9ab2d4: Waiting 16:18:01 ab2eb55ec372: Layer already exists 16:18:01 c6d1d57eb44b: Layer already exists 16:18:01 41e4e8fc8c13: Layer already exists 16:18:01 642d0b074204: Layer already exists 16:18:01 d1d575825e61: Layer already exists 16:18:01 3f1e7d4c7ca8: Layer already exists 16:18:01 63493a9ab2d4: Layer already exists 16:18:01 8d8708fc1dac: Layer already exists 16:18:01 350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5: digest: sha256:49f0927c028d9710458c7e36a9d5e625e33ebf7845f0c15fbb34d21e4adc32fc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:02 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:02 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 16:18:02 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:18:02 d1d575825e61: Preparing 16:18:02 c6d1d57eb44b: Preparing 16:18:02 642d0b074204: Preparing 16:18:02 41e4e8fc8c13: Preparing 16:18:02 ab2eb55ec372: Preparing 16:18:02 8d8708fc1dac: Preparing 16:18:02 3f1e7d4c7ca8: Preparing 16:18:02 63493a9ab2d4: Preparing 16:18:02 8d8708fc1dac: Waiting 16:18:02 3f1e7d4c7ca8: Waiting 16:18:02 63493a9ab2d4: Waiting 16:18:02 d1d575825e61: Layer already exists 16:18:02 c6d1d57eb44b: Layer already exists 16:18:02 ab2eb55ec372: Layer already exists 16:18:02 41e4e8fc8c13: Layer already exists 16:18:02 642d0b074204: Layer already exists 16:18:02 8d8708fc1dac: Layer already exists 16:18:02 3f1e7d4c7ca8: Layer already exists 16:18:02 63493a9ab2d4: Layer already exists 16:18:02 main: digest: sha256:49f0927c028d9710458c7e36a9d5e625e33ebf7845f0c15fbb34d21e4adc32fc size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:18:02 ===================================================== [Pipeline] echo 16:18:02 taggedImages: 16:18:02 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:350dcbb98a3b589a77f3df68bd3874cc550526fa 16:18:02 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:18:02 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3.0.0-dev.5 16:18:02 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 16:18:02 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:02 16:18:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:03 latest: Pulling from edgex-lftools-log-publisher 16:18:03 5eb5b503b376: Pulling fs layer 16:18:03 5c69ac0246d0: Pulling fs layer 16:18:03 ec43610c2a17: Pulling fs layer 16:18:03 3a2ae6a8a46f: Pulling fs layer 16:18:03 33b1e0a273af: Pulling fs layer 16:18:03 5d3b04190fa2: Pulling fs layer 16:18:03 2f39f015ded8: Pulling fs layer 16:18:03 3a2ae6a8a46f: Waiting 16:18:03 33b1e0a273af: Waiting 16:18:03 5d3b04190fa2: Waiting 16:18:03 2f39f015ded8: Waiting 16:18:03 5c69ac0246d0: Download complete 16:18:03 3a2ae6a8a46f: Verifying Checksum 16:18:03 3a2ae6a8a46f: Download complete 16:18:03 33b1e0a273af: Verifying Checksum 16:18:03 33b1e0a273af: Download complete 16:18:03 5d3b04190fa2: Verifying Checksum 16:18:03 5d3b04190fa2: Download complete 16:18:03 ec43610c2a17: Verifying Checksum 16:18:03 ec43610c2a17: Download complete 16:18:03 5eb5b503b376: Verifying Checksum 16:18:03 5eb5b503b376: Download complete 16:18:04 2f39f015ded8: Download complete 16:18:04 5eb5b503b376: Pull complete 16:18:04 5c69ac0246d0: Pull complete 16:18:05 ec43610c2a17: Pull complete 16:18:05 3a2ae6a8a46f: Pull complete 16:18:05 33b1e0a273af: Pull complete 16:18:05 5d3b04190fa2: Pull complete 16:18:09 2f39f015ded8: Pull complete 16:18:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:18:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:09 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:18:11 $ docker top 60263e191e24a257b88087775bde5c9668c45bd24785d1d3910390ccf44f07f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:11 ---> job-cost.sh 16:18:11 lf-activate-venv: SKIPPING 16:18:11 INFO: No Stack... 16:18:12 INFO: Retrieving Pricing Info for: v3-standard-8 16:18:12 INFO: Archiving Costs [Pipeline] sh 16:18:12 + + catcut /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv -d, 16:18:12 -f6 [Pipeline] lock 16:18:12 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] 16:18:12 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] did not exist. Created. 16:18:12 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:18:13 + echo total: 0.2199999988079071 [Pipeline] stash 16:18:13 Stashed 1 file(s) [Pipeline] } 16:18:13 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 16:18:13 $ docker stop --time=1 60263e191e24a257b88087775bde5c9668c45bd24785d1d3910390ccf44f07f7 16:18:14 $ docker rm -f --volumes 60263e191e24a257b88087775bde5c9668c45bd24785d1d3910390ccf44f07f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:19:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2960 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 16:19:17 Running in /w/workspace/app-rfid-llrp-inventory/73 [Pipeline] { [Pipeline] checkout 16:19:17 The recommended git tool is: git 16:19:24 using credential edgex-jenkins-ssh 16:19:24 Cloning the remote Git repository 16:19:24 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:19:24 > git init /w/workspace/app-rfid-llrp-inventory/73 # timeout=10 16:19:24 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:19:24 > git --version # timeout=10 16:19:24 > git --version # 'git version 2.25.1' 16:19:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:28 Avoid second fetch 16:19:28 Checking out Revision 350dcbb98a3b589a77f3df68bd3874cc550526fa (main) 16:19:26 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:19:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:28 > git config core.sparsecheckout # timeout=10 16:19:28 > git checkout -f 350dcbb98a3b589a77f3df68bd3874cc550526fa # timeout=10 16:19:28 Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#134)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:19:29 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:29 Dload Upload Total Spent Left Speed 16:19:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 16:19:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:19:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:19:30 + sudo tee /etc/docker/daemon.new 16:19:30 { 16:19:30 "registry-mirrors": [ 16:19:30 "https://nexus3.edgexfoundry.org:10001" 16:19:30 ], 16:19:30 "bip": "10.250.0.254/24", 16:19:30 "hosts": [ 16:19:30 "tcp://0.0.0.0:5555", 16:19:30 "unix:///var/run/docker.sock" 16:19:30 ], 16:19:30 "mtu": 1458, 16:19:30 "selinux-enabled": true, 16:19:30 "seccomp-profile": "/etc/docker/seccomp.json" 16:19:30 } [Pipeline] sh 16:19:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:19:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:49 provisioning config files... 16:19:49 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/73@tmp/config7458998884467414413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:50 ---> docker-login.sh 16:19:50 nexus3.edgexfoundry.org:10001 16:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:50 Configure a credential helper to remove this warning. See 16:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:50 16:19:50 Login Succeeded 16:19:50 nexus3.edgexfoundry.org:10002 16:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:51 Configure a credential helper to remove this warning. See 16:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:51 16:19:51 Login Succeeded 16:19:51 nexus3.edgexfoundry.org:10003 16:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:51 Configure a credential helper to remove this warning. See 16:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:51 16:19:51 Login Succeeded 16:19:51 nexus3.edgexfoundry.org:10004 16:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:52 Configure a credential helper to remove this warning. See 16:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:52 16:19:52 Login Succeeded 16:19:52 docker.io 16:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:52 Configure a credential helper to remove this warning. See 16:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:52 16:19:52 Login Succeeded 16:19:52 ---> docker-login.sh ends [Pipeline] } 16:19:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:53 ========================================================= 16:19:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:19:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:53 + 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 . 16:19:53 Sending build context to Docker daemon 683.5kB 16:19:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:19:53 Step 2/12 : FROM ${BASE} AS builder 16:19:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:19:53 9b18e9b68314: Pulling fs layer 16:19:53 35d82f9e3411: Pulling fs layer 16:19:53 e16973657156: Pulling fs layer 16:19:53 fc693d55d65f: Pulling fs layer 16:19:53 7e9fc2657dce: Pulling fs layer 16:19:53 dda99020689f: Pulling fs layer 16:19:53 db1c61fa0a46: Pulling fs layer 16:19:53 891c053d2c06: Pulling fs layer 16:19:53 7e9fc2657dce: Waiting 16:19:53 dda99020689f: Waiting 16:19:53 db1c61fa0a46: Waiting 16:19:53 891c053d2c06: Waiting 16:19:53 e16973657156: Verifying Checksum 16:19:53 e16973657156: Download complete 16:19:53 35d82f9e3411: Verifying Checksum 16:19:53 35d82f9e3411: Download complete 16:19:53 7e9fc2657dce: Download complete 16:19:53 dda99020689f: Verifying Checksum 16:19:53 dda99020689f: Download complete 16:19:53 9b18e9b68314: Verifying Checksum 16:19:53 9b18e9b68314: Download complete 16:19:54 9b18e9b68314: Pull complete 16:19:55 891c053d2c06: Verifying Checksum 16:19:55 891c053d2c06: Download complete 16:19:55 35d82f9e3411: Pull complete 16:19:56 e16973657156: Pull complete 16:19:56 db1c61fa0a46: Verifying Checksum 16:19:56 db1c61fa0a46: Download complete 16:19:57 fc693d55d65f: Verifying Checksum 16:19:57 fc693d55d65f: Download complete 16:20:09 fc693d55d65f: Pull complete 16:20:09 7e9fc2657dce: Pull complete 16:20:10 dda99020689f: Pull complete 16:20:16 db1c61fa0a46: Pull complete 16:20:18 891c053d2c06: Pull complete 16:20:18 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:20:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:20:18 ---> f96f9c87975a 16:20:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:20:19 ---> Running in a853ff62da4b 16:20:19 Removing intermediate container a853ff62da4b 16:20:19 ---> 5f25f9d417d8 16:20:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:20:19 ---> Running in 2b20e8d4a005 16:20:20 Removing intermediate container 2b20e8d4a005 16:20:20 ---> 12f4b53e35d4 16:20:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:20:20 ---> Running in f918dff842b3 16:20:20 Removing intermediate container f918dff842b3 16:20:20 ---> 6e3b246c25ee 16:20:20 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:20 ---> Running in 3087391bfcd9 16:20:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:20:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:20:23 OK: 221 MiB in 51 packages 16:20:24 Removing intermediate container 3087391bfcd9 16:20:24 ---> 98fdd822dfe9 16:20:24 Step 7/12 : WORKDIR /app 16:20:24 ---> Running in ce357256a611 16:20:24 Removing intermediate container ce357256a611 16:20:24 ---> 1548367b0cc1 16:20:24 Step 8/12 : COPY go.mod vendor* ./ 16:20:25 ---> ab48591dc0e3 16:20:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:25 ---> Running in 215063658e74 16:21:21 Removing intermediate container 215063658e74 16:21:21 ---> 844093b7761e 16:21:21 Step 10/12 : COPY . . 16:21:21 ---> 9f94582538bd 16:21:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:21 ---> Running in dffdb2dfef7d 16:21:21 Removing intermediate container dffdb2dfef7d 16:21:21 ---> 64bdcb87c33d 16:21:21 Step 12/12 : RUN $MAKE 16:21:21 ---> Running in 31708d1c143e 16:21:22 noop 16:21:23 Removing intermediate container 31708d1c143e 16:21:23 ---> 8e730db1ff3b 16:21:23 Successfully built 8e730db1ff3b 16:21:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:23 + docker inspect -f . ci-base-image-arm64 16:21:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:23 prd-ubuntu20.04-docker-arm64-4c-16g-2960 does not seem to be running inside a container 16:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/73 -v /w/workspace/app-rfid-llrp-inventory/73:/w/workspace/app-rfid-llrp-inventory/73:rw,z -v /w/workspace/app-rfid-llrp-inventory/73@tmp:/w/workspace/app-rfid-llrp-inventory/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:21:24 $ docker top 9077ae38e21ef81c47a09c0542786bb4e6ea7d430e5cfdad24a9c52bbc9a752f -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:25 + go version 16:21:25 go version go1.18.7 linux/arm64 [Pipeline] } 16:21:25 $ docker stop --time=1 9077ae38e21ef81c47a09c0542786bb4e6ea7d430e5cfdad24a9c52bbc9a752f 16:21:27 $ docker rm -f --volumes 9077ae38e21ef81c47a09c0542786bb4e6ea7d430e5cfdad24a9c52bbc9a752f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:28 + docker inspect -f . ci-base-image-arm64 16:21:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:28 prd-ubuntu20.04-docker-arm64-4c-16g-2960 does not seem to be running inside a container 16:21:28 $ 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/73 -v /w/workspace/app-rfid-llrp-inventory/73:/w/workspace/app-rfid-llrp-inventory/73:rw,z -v /w/workspace/app-rfid-llrp-inventory/73@tmp:/w/workspace/app-rfid-llrp-inventory/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:21:29 $ docker top be6171ff6b76aadff58eaa90b5d8aa2ab943fadd957d12c8348f4b5f85889655 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:30 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/73 [Pipeline] fileExists [Pipeline] sh 16:21:31 + make test 16:21:31 go test -race ./... -coverprofile=coverage.out ./... 16:24:07 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:24:16 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.055s coverage: 86.2% of statements 16:24:16 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:24:26 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.626s coverage: 71.9% of statements 16:24:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:24:26 go vet ./... 16:26:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:26:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:26:17 ./bin/test-attribution.sh [Pipeline] echo 16:26:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:26:17 $ docker stop --time=1 be6171ff6b76aadff58eaa90b5d8aa2ab943fadd957d12c8348f4b5f85889655 16:26:19 $ docker rm -f --volumes be6171ff6b76aadff58eaa90b5d8aa2ab943fadd957d12c8348f4b5f85889655 [Pipeline] // withDockerContainer [Pipeline] sh 16:26:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:26:21 Warning: overwriting stash ‘coverage-report’ 16:26:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:26:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:26:22 + ls -al . 16:26:22 total 236 16:26:22 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 16:21 . 16:26:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 16:19 .. 16:26:22 -rw-rw-r-- 1 jenkins jenkins 262 Jan 18 16:19 .dockerignore 16:26:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 16:19 .git 16:26:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 16:19 .github 16:26:22 -rw-rw-r-- 1 jenkins jenkins 788 Jan 18 16:19 .gitignore 16:26:22 -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 16:19 .golangci.yml 16:26:22 -rw-rw-r-- 1 jenkins jenkins 9818 Jan 18 16:19 Attribution.txt 16:26:22 -rw-rw-r-- 1 jenkins jenkins 4331 Jan 18 16:19 CHANGELOG.md 16:26:22 -rw-rw-r-- 1 jenkins jenkins 1659 Jan 18 16:19 Dockerfile 16:26:22 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 16:19 GOVERNANCE.md 16:26:22 -rw-rw-r-- 1 jenkins jenkins 687 Jan 18 16:19 Jenkinsfile 16:26:22 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 18 16:19 LICENSE 16:26:22 -rw-rw-r-- 1 jenkins jenkins 2462 Jan 18 16:19 Makefile 16:26:22 -rw-rw-r-- 1 jenkins jenkins 617 Jan 18 16:19 OWNERS.md 16:26:22 -rw-rw-r-- 1 jenkins jenkins 31023 Jan 18 16:19 README.md 16:26:22 -rw-rw-r-- 1 jenkins jenkins 11 Jan 18 16:16 VERSION 16:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 16:19 bin 16:26:22 -rw-r--r-- 1 jenkins jenkins 41317 Jan 18 16:24 coverage.out 16:26:22 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 18 16:19 go.mod 16:26:22 -rw-rw-r-- 1 jenkins jenkins 45003 Jan 18 16:19 go.sum 16:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 16:19 images 16:26:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 16:19 internal 16:26:22 -rw-rw-r-- 1 jenkins jenkins 531 Jan 18 16:19 main.go 16:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 16:19 res 16:26:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 16:19 snap 16:26:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 16:19 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:22 + 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=350dcbb98a3b589a77f3df68bd3874cc550526fa --label arch=arm64 --label version=3.0.0-dev.5 . 16:26:22 Sending build context to Docker daemon 683.5kB 16:26:22 Step 1/29 : ARG BASE=golang:1.18-alpine3.16 16:26:22 Step 2/29 : FROM ${BASE} AS builder 16:26:22 ---> 8e730db1ff3b 16:26:22 Step 3/29 : ARG ALPINE_PKG_BASE="make git" 16:26:23 ---> Running in 68441ab4d765 16:26:23 Removing intermediate container 68441ab4d765 16:26:23 ---> 50abb72b9df2 16:26:23 Step 4/29 : ARG ALPINE_PKG_EXTRA="" 16:26:23 ---> Running in cff24eacb59e 16:26:23 Removing intermediate container cff24eacb59e 16:26:23 ---> a38da540069d 16:26:23 Step 5/29 : ARG ADD_BUILD_TAGS="" 16:26:23 ---> Running in df6208489bf3 16:26:24 Removing intermediate container df6208489bf3 16:26:24 ---> 0714fafd12d7 16:26:24 Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:26:24 ---> Running in a7a761eb56b7 16:26:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:26:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:26:26 OK: 221 MiB in 51 packages 16:26:27 Removing intermediate container a7a761eb56b7 16:26:27 ---> 739bd5422383 16:26:27 Step 7/29 : WORKDIR /app 16:26:27 ---> Running in 3bed67ca8c2b 16:26:27 Removing intermediate container 3bed67ca8c2b 16:26:27 ---> f814b035853a 16:26:27 Step 8/29 : COPY go.mod vendor* ./ 16:26:28 ---> 3af182f862fe 16:26:28 Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:28 ---> Running in e96ebb1a0fc1 16:26:30 Removing intermediate container e96ebb1a0fc1 16:26:30 ---> 1157cad00c5e 16:26:30 Step 10/29 : COPY . . 16:26:30 ---> ab9f8cc983b8 16:26:30 Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:26:30 ---> Running in 45617f4c11a9 16:26:31 Removing intermediate container 45617f4c11a9 16:26:31 ---> 2b8d9786d035 16:26:31 Step 12/29 : RUN $MAKE 16:26:31 ---> Running in 15f3bb12e231 16:26:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.0.0-dev.5 -X edgexfoundry/app-rfid-llrp-inventory.Version=3.0.0-dev.5" -trimpath -mod=readonly -o app-rfid-llrp-inventory 16:28:38 Removing intermediate container 15f3bb12e231 16:28:38 ---> 1360f9ba4698 16:28:38 Step 13/29 : FROM alpine:3.14 16:28:38 3.14: Pulling from library/alpine 16:28:38 90cda3b7c325: Pulling fs layer 16:28:38 90cda3b7c325: Verifying Checksum 16:28:38 90cda3b7c325: Download complete 16:28:38 90cda3b7c325: Pull complete 16:28:38 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 16:28:38 Status: Downloaded newer image for alpine:3.14 16:28:38 ---> 275902a1839d 16:28:38 Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:28:38 ---> Running in a954d9d92737 16:28:38 Removing intermediate container a954d9d92737 16:28:38 ---> 8ed80b80239c 16:28:38 Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:28:38 ---> Running in 87ca4edc9ba5 16:28:38 Removing intermediate container 87ca4edc9ba5 16:28:38 ---> 8a8c5f8e08b2 16:28:38 Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init 16:28:38 ---> Running in ca27e07e7986 16:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:28:38 (1/2) Installing ca-certificates (20220614-r0) 16:28:38 (2/2) Installing dumb-init (1.2.5-r1) 16:28:38 Executing busybox-1.33.1-r8.trigger 16:28:38 Executing ca-certificates-20220614-r0.trigger 16:28:38 OK: 6 MiB in 16 packages 16:28:38 Removing intermediate container ca27e07e7986 16:28:38 ---> 2d245081eaa8 16:28:38 Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:28:38 ---> 9cc26038a398 16:28:38 Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE 16:28:38 ---> 30ae35615f3e 16:28:38 Step 19/29 : COPY --from=builder /app/res/ /res/ 16:28:38 ---> 65eed65b5d21 16:28:38 Step 20/29 : COPY --from=builder /app/static/ /static/ 16:28:38 ---> 401ac0c6fdcc 16:28:38 Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:28:40 ---> a79c9a1466c5 16:28:40 Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:28:40 ---> Running in 34bdf82db62f 16:28:42 Removing intermediate container 34bdf82db62f 16:28:42 ---> a80024cd2692 16:28:42 Step 23/29 : VOLUME /cache 16:28:42 ---> Running in 5b9cd2fc31eb 16:28:42 Removing intermediate container 5b9cd2fc31eb 16:28:42 ---> 5e3a43a585f9 16:28:42 Step 24/29 : EXPOSE 59711 16:28:42 ---> Running in de51412e4e65 16:28:42 Removing intermediate container de51412e4e65 16:28:42 ---> 86f30ec08d43 16:28:42 Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:28:42 ---> Running in c4fbdaa51865 16:28:42 Removing intermediate container c4fbdaa51865 16:28:42 ---> ebe769391721 16:28:42 Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 16:28:42 ---> Running in 05439b9d305d 16:28:43 Removing intermediate container 05439b9d305d 16:28:43 ---> ccf551271749 16:28:43 Step 27/29 : LABEL arch=arm64 16:28:43 ---> Running in 9bce00b86116 16:28:43 Removing intermediate container 9bce00b86116 16:28:43 ---> 3f7bf9e09750 16:28:43 Step 28/29 : LABEL git_sha=350dcbb98a3b589a77f3df68bd3874cc550526fa 16:28:43 ---> Running in 2793cbd1d4a2 16:28:43 Removing intermediate container 2793cbd1d4a2 16:28:43 ---> 8b9c6512087d 16:28:43 Step 29/29 : LABEL version=3.0.0-dev.5 16:28:43 ---> Running in bedcb0305fde 16:28:44 Removing intermediate container bedcb0305fde 16:28:44 ---> 219d7bbf6d18 16:28:44 [Warning] One or more build-args [ARCH] were not consumed 16:28:44 Successfully built 219d7bbf6d18 16:28:44 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 16:28:44 provisioning config files... 16:28:44 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/73@tmp/config6642948863948510148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:44 ---> docker-login.sh 16:28:44 nexus3.edgexfoundry.org:10001 16:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:44 Configure a credential helper to remove this warning. See 16:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:44 16:28:44 Login Succeeded 16:28:44 nexus3.edgexfoundry.org:10002 16:28:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:45 Configure a credential helper to remove this warning. See 16:28:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:45 16:28:45 Login Succeeded 16:28:45 nexus3.edgexfoundry.org:10003 16:28:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:45 Configure a credential helper to remove this warning. See 16:28:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:45 16:28:45 Login Succeeded 16:28:45 nexus3.edgexfoundry.org:10004 16:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:46 Configure a credential helper to remove this warning. See 16:28:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:46 16:28:46 Login Succeeded 16:28:46 docker.io 16:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:46 Configure a credential helper to remove this warning. See 16:28:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:46 16:28:46 Login Succeeded 16:28:46 ---> docker-login.sh ends [Pipeline] } 16:28:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:28:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:46 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 16:28:46 350dcbb98a3b589a77f3df68bd3874cc550526fa 16:28:46 latest 16:28:46 3.0.0-dev.5 16:28:46 350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 16:28:46 main 16:28:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:47 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:47 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:350dcbb98a3b589a77f3df68bd3874cc550526fa 16:28:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:28:47 e70ded6158c7: Preparing 16:28:47 6ae8b5ee4c34: Preparing 16:28:47 492ea9908fe6: Preparing 16:28:47 319e3ca2da0c: Preparing 16:28:47 df66a5a3a035: Preparing 16:28:47 20c5b578a5d0: Preparing 16:28:47 7d64e79657d0: Preparing 16:28:47 28c3ef001483: Preparing 16:28:47 20c5b578a5d0: Waiting 16:28:47 7d64e79657d0: Waiting 16:28:47 28c3ef001483: Waiting 16:28:47 492ea9908fe6: Pushed 16:28:47 319e3ca2da0c: Pushed 16:28:47 df66a5a3a035: Pushed 16:28:47 e70ded6158c7: Pushed 16:28:47 28c3ef001483: Layer already exists 16:28:47 20c5b578a5d0: Pushed 16:28:47 7d64e79657d0: Pushed 16:28:53 6ae8b5ee4c34: Pushed 16:28:53 350dcbb98a3b589a77f3df68bd3874cc550526fa: digest: sha256:3f3141be7d2e3c01fe0eb796e5ad391c0ea814aa9e72f5afc7e629fd8516d7b3 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:53 + 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 16:28:54 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 16:28:54 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:28:54 e70ded6158c7: Preparing 16:28:54 6ae8b5ee4c34: Preparing 16:28:54 492ea9908fe6: Preparing 16:28:54 319e3ca2da0c: Preparing 16:28:54 df66a5a3a035: Preparing 16:28:54 20c5b578a5d0: Preparing 16:28:54 7d64e79657d0: Preparing 16:28:54 28c3ef001483: Preparing 16:28:54 20c5b578a5d0: Waiting 16:28:54 7d64e79657d0: Waiting 16:28:54 28c3ef001483: Waiting 16:28:54 319e3ca2da0c: Layer already exists 16:28:54 e70ded6158c7: Layer already exists 16:28:54 6ae8b5ee4c34: Layer already exists 16:28:54 df66a5a3a035: Layer already exists 16:28:54 492ea9908fe6: Layer already exists 16:28:54 20c5b578a5d0: Layer already exists 16:28:54 7d64e79657d0: Layer already exists 16:28:54 28c3ef001483: Layer already exists 16:28:54 latest: digest: sha256:3f3141be7d2e3c01fe0eb796e5ad391c0ea814aa9e72f5afc7e629fd8516d7b3 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:54 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:54 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.5 16:28:54 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:28:54 e70ded6158c7: Preparing 16:28:54 6ae8b5ee4c34: Preparing 16:28:54 492ea9908fe6: Preparing 16:28:54 319e3ca2da0c: Preparing 16:28:54 df66a5a3a035: Preparing 16:28:54 20c5b578a5d0: Preparing 16:28:54 7d64e79657d0: Preparing 16:28:54 28c3ef001483: Preparing 16:28:54 20c5b578a5d0: Waiting 16:28:54 7d64e79657d0: Waiting 16:28:54 28c3ef001483: Waiting 16:28:54 319e3ca2da0c: Layer already exists 16:28:54 6ae8b5ee4c34: Layer already exists 16:28:54 492ea9908fe6: Layer already exists 16:28:54 df66a5a3a035: Layer already exists 16:28:54 e70ded6158c7: Layer already exists 16:28:54 28c3ef001483: Layer already exists 16:28:54 7d64e79657d0: Layer already exists 16:28:54 20c5b578a5d0: Layer already exists 16:28:55 3.0.0-dev.5: digest: sha256:3f3141be7d2e3c01fe0eb796e5ad391c0ea814aa9e72f5afc7e629fd8516d7b3 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:55 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:55 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 16:28:55 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:28:55 e70ded6158c7: Preparing 16:28:55 6ae8b5ee4c34: Preparing 16:28:55 492ea9908fe6: Preparing 16:28:55 319e3ca2da0c: Preparing 16:28:55 df66a5a3a035: Preparing 16:28:55 20c5b578a5d0: Preparing 16:28:55 7d64e79657d0: Preparing 16:28:55 28c3ef001483: Preparing 16:28:55 20c5b578a5d0: Waiting 16:28:55 7d64e79657d0: Waiting 16:28:55 28c3ef001483: Waiting 16:28:55 319e3ca2da0c: Layer already exists 16:28:55 492ea9908fe6: Layer already exists 16:28:55 e70ded6158c7: Layer already exists 16:28:55 df66a5a3a035: Layer already exists 16:28:55 6ae8b5ee4c34: Layer already exists 16:28:55 7d64e79657d0: Layer already exists 16:28:55 28c3ef001483: Layer already exists 16:28:55 20c5b578a5d0: Layer already exists 16:28:56 350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5: digest: sha256:3f3141be7d2e3c01fe0eb796e5ad391c0ea814aa9e72f5afc7e629fd8516d7b3 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:56 + 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 16:28:56 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 16:28:56 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:28:56 e70ded6158c7: Preparing 16:28:56 6ae8b5ee4c34: Preparing 16:28:56 492ea9908fe6: Preparing 16:28:56 319e3ca2da0c: Preparing 16:28:56 df66a5a3a035: Preparing 16:28:56 20c5b578a5d0: Preparing 16:28:56 7d64e79657d0: Preparing 16:28:56 28c3ef001483: Preparing 16:28:56 20c5b578a5d0: Waiting 16:28:56 7d64e79657d0: Waiting 16:28:56 28c3ef001483: Waiting 16:28:56 e70ded6158c7: Layer already exists 16:28:56 6ae8b5ee4c34: Layer already exists 16:28:56 319e3ca2da0c: Layer already exists 16:28:56 df66a5a3a035: Layer already exists 16:28:56 492ea9908fe6: Layer already exists 16:28:56 28c3ef001483: Layer already exists 16:28:56 7d64e79657d0: Layer already exists 16:28:56 20c5b578a5d0: Layer already exists 16:28:57 main: digest: sha256:3f3141be7d2e3c01fe0eb796e5ad391c0ea814aa9e72f5afc7e629fd8516d7b3 size: 1989 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:28:57 ===================================================== [Pipeline] echo 16:28:57 taggedImages: 16:28:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:350dcbb98a3b589a77f3df68bd3874cc550526fa 16:28:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 16:28:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3.0.0-dev.5 16:28:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:350dcbb98a3b589a77f3df68bd3874cc550526fa-3.0.0-dev.5 16:28:57 - 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 16:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:57 16:28:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:57 arm64: Pulling from edgex-lftools-log-publisher 16:28:57 8998bd30e6a1: Pulling fs layer 16:28:57 04944245beec: Pulling fs layer 16:28:57 699f458cf7ca: Pulling fs layer 16:28:57 765212b225bb: Pulling fs layer 16:28:57 f23df028b6ca: Pulling fs layer 16:28:57 d65c8cfc05b1: Pulling fs layer 16:28:57 2437ff75d9bd: Pulling fs layer 16:28:57 f23df028b6ca: Waiting 16:28:57 765212b225bb: Waiting 16:28:57 d65c8cfc05b1: Waiting 16:28:57 2437ff75d9bd: Waiting 16:28:58 04944245beec: Verifying Checksum 16:28:58 04944245beec: Download complete 16:28:58 765212b225bb: Verifying Checksum 16:28:58 765212b225bb: Download complete 16:28:58 f23df028b6ca: Verifying Checksum 16:28:58 f23df028b6ca: Download complete 16:28:58 d65c8cfc05b1: Verifying Checksum 16:28:58 d65c8cfc05b1: Download complete 16:28:58 699f458cf7ca: Verifying Checksum 16:28:58 699f458cf7ca: Download complete 16:28:58 8998bd30e6a1: Verifying Checksum 16:28:58 8998bd30e6a1: Download complete 16:29:01 2437ff75d9bd: Verifying Checksum 16:29:01 2437ff75d9bd: Download complete 16:29:02 8998bd30e6a1: Pull complete 16:29:02 04944245beec: Pull complete 16:29:04 699f458cf7ca: Pull complete 16:29:04 765212b225bb: Pull complete 16:29:05 f23df028b6ca: Pull complete 16:29:05 d65c8cfc05b1: Pull complete 16:29:20 2437ff75d9bd: Pull complete 16:29:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:29:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:29:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:20 prd-ubuntu20.04-docker-arm64-4c-16g-2960 does not seem to be running inside a container 16:29:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/73 -v /w/workspace/app-rfid-llrp-inventory/73:/w/workspace/app-rfid-llrp-inventory/73:rw,z -v /w/workspace/app-rfid-llrp-inventory/73@tmp:/w/workspace/app-rfid-llrp-inventory/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:29:23 $ docker top 7a1121be2f0e214f2ab96b3c13ee1b1dbd6f7efa4cecea00fc895a72269112e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:23 ---> job-cost.sh 16:29:23 lf-activate-venv: SKIPPING 16:29:23 INFO: No Stack... 16:29:24 INFO: Retrieving Pricing Info for: v3-standard-4 16:29:25 INFO: Archiving Costs [Pipeline] sh 16:29:25 + cat /w/workspace/app-rfid-llrp-inventory/73/archives/cost.csv 16:29:25 + cut -d, -f6 [Pipeline] lock 16:29:25 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] 16:29:25 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] did not exist. Created. 16:29:25 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:29:25 /w/workspace/app-rfid-llrp-inventory/73@tmp/durable-fe230a2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:29:26 + echo total: 0.10999999940395355 [Pipeline] stash 16:29:26 Warning: overwriting stash ‘stack-cost’ 16:29:26 Stashed 1 file(s) [Pipeline] } 16:29:26 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 16:29:26 $ docker stop --time=1 7a1121be2f0e214f2ab96b3c13ee1b1dbd6f7efa4cecea00fc895a72269112e2 16:29:28 $ docker rm -f --volumes 7a1121be2f0e214f2ab96b3c13ee1b1dbd6f7efa4cecea00fc895a72269112e2 [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 16:29:28 provisioning config files... 16:29:28 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config17172677053444170072tmp [Pipeline] { [Pipeline] sh 16:29:28 + set +x 16:29:28 + + curl -s https://codecov.io/bash 16:29:28 bash -s -- 16:29:28 16:29:28 _____ _ 16:29:28 / ____| | | 16:29:28 | | ___ __| | ___ ___ _____ __ 16:29:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:29:28 | |___| (_) | (_| | __/ (_| (_) \ V / 16:29:28 \_____\___/ \__,_|\___|\___\___/ \_/ 16:29:28 Bash-1.0.6 16:29:28 16:29:28 16:29:28 ==> git version 2.25.1 found 16:29:28 ==> 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 16:29:28 Release-Date: 2020-01-08 16:29:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:29:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:29:28 ==> Jenkins CI detected. 16:29:28 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 16:29:28 project root: . 16:29:28 --> token set from env 16:29:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:29:28 ==> Running gcov in . (disable via -X gcov) 16:29:28 ==> Python coveragepy not found 16:29:28 ==> Searching for coverage reports in: 16:29:28 + . 16:29:28 -> Found 1 reports 16:29:28 ==> Detecting git/mercurial file structure 16:29:28 ==> Reading reports 16:29:28 + ./coverage.out bytes=41317 16:29:28 ==> Appending adjustments 16:29:28 https://docs.codecov.io/docs/fixing-reports 16:29:29 + Found adjustments 16:29:29 ==> Gzipping contents 16:29:29 12K /tmp/codecov.O4cMOm.gz 16:29:29 ==> Uploading reports 16:29:29 url: https://codecov.io 16:29:29 query: branch=main&commit=350dcbb98a3b589a77f3df68bd3874cc550526fa&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 16:29:29 -> Pinging Codecov 16:29:29 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=350dcbb98a3b589a77f3df68bd3874cc550526fa&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 16:29:29 -> Uploading to 16:29:29 https://storage.googleapis.com/codecov/v4/raw/2023-01-18/581DD39554BDF9B6E22D074273EAD858/350dcbb98a3b589a77f3df68bd3874cc550526fa/fd865f0e-917e-4b29-a45f-771f07b99c1b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T162929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a2df08bb088dde055d74c3feda3b7455178a2b000c0d76bbae221ea4f5984ad 16:29:29 % Total % Received % Xferd Average Speed Time Time Time Current 16:29:29 Dload Upload Total Spent Left Speed 16:29:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11862 0 0 100 11862 0 53432 --:--:-- --:--:-- --:--:-- 53192 100 11862 0 0 100 11862 0 48416 --:--:-- --:--:-- --:--:-- 48219 16:29:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] } 16:29:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:29:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:29:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:30 16:29:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:29:30 df9b9388f04a: Pulling fs layer 16:29:30 52dc419b0ee2: Pulling fs layer 16:29:30 25bc292e5bac: Pulling fs layer 16:29:30 114826534d7a: Pulling fs layer 16:29:30 4657fd5d0bcf: Pulling fs layer 16:29:30 6ad1cebc031e: Pulling fs layer 16:29:30 8a3aa393b2d8: Pulling fs layer 16:29:30 4657fd5d0bcf: Waiting 16:29:30 6ad1cebc031e: Waiting 16:29:30 114826534d7a: Waiting 16:29:30 25bc292e5bac: Verifying Checksum 16:29:30 25bc292e5bac: Download complete 16:29:30 52dc419b0ee2: Download complete 16:29:30 4657fd5d0bcf: Verifying Checksum 16:29:30 4657fd5d0bcf: Download complete 16:29:30 df9b9388f04a: Verifying Checksum 16:29:30 df9b9388f04a: Download complete 16:29:30 df9b9388f04a: Pull complete 16:29:30 52dc419b0ee2: Pull complete 16:29:30 25bc292e5bac: Pull complete 16:29:31 6ad1cebc031e: Verifying Checksum 16:29:31 6ad1cebc031e: Download complete 16:29:31 114826534d7a: Verifying Checksum 16:29:31 114826534d7a: Download complete 16:29:32 8a3aa393b2d8: Verifying Checksum 16:29:34 114826534d7a: Pull complete 16:29:34 4657fd5d0bcf: Pull complete 16:29:35 6ad1cebc031e: Pull complete 16:29:37 8a3aa393b2d8: Pull complete 16:29:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:29:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:37 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:29:37 $ 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 16:29:39 $ docker top 1292e6e5ddcf7c5328d3e3aa5463cede6450ef6d07b4afef4800f0f2f8a15ef4 -eo pid,comm [Pipeline] { [Pipeline] echo 16:29:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 16:29:39 + set -o pipefail 16:29:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 16:29:45 16:29:45 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 16:29:45 16:29:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/c0adffd2-adc2-49f8-af0d-618be4006a42 16:29:45 16:29:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:29:45 16:29:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:29:45 16:29:45 16:29:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:29:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:29:45 More details here: https://snyk.co/ue1NS [Pipeline] } 16:29:45 $ docker stop --time=1 1292e6e5ddcf7c5328d3e3aa5463cede6450ef6d07b4afef4800f0f2f8a15ef4 16:29:47 $ docker rm -f --volumes 1292e6e5ddcf7c5328d3e3aa5463cede6450ef6d07b4afef4800f0f2f8a15ef4 [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 16:29:47 + git log --format=format:%s -1 350dcbb98a3b589a77f3df68bd3874cc550526fa [Pipeline] sh 16:29:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:29:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:48 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:29: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:29:49 $ docker top f5fff5e1a23c6dfaa5fcb714fa53a9a0b7ed4530e6aed92fd89c717ab80b5a44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:49 [ssh-agent] Looking for ssh-agent implementation... 16:29:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:49 $ docker exec f5fff5e1a23c6dfaa5fcb714fa53a9a0b7ed4530e6aed92fd89c717ab80b5a44 ssh-agent 16:29:49 SSH_AUTH_SOCK=/tmp/ssh-ky0sryjYtK5n/agent.32 16:29:49 SSH_AGENT_PID=38 16:29:49 Running ssh-add (command line suppressed) 16:29:49 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17947745785890610312.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17947745785890610312.key) 16:29:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:49 + git semver tag 16:29:49 2023-01-18 16:29:49,901 [run_tag] DEBUG tag force:False 16:29:49 2023-01-18 16:29:49,901 [check_head_tag] DEBUG check head tag 16:29:49 2023-01-18 16:29:49,902 [execute] INFO git cat-file --batch-check 16:29:49 2023-01-18 16:29:49,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 16:29:49 2023-01-18 16:29:49,905 [execute] INFO git cat-file --batch 16:29:49 2023-01-18 16:29:49,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 16:29:49 2023-01-18 16:29:49,918 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:29:49 2023-01-18 16:29:49,919 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 16:29:49 2023-01-18 16:29:49,919 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 16:29:49 2023-01-18 16:29:49,925 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:29:49 3.0.0-dev.5 [Pipeline] } 16:29:49 $ docker exec --env ******** --env ******** f5fff5e1a23c6dfaa5fcb714fa53a9a0b7ed4530e6aed92fd89c717ab80b5a44 ssh-agent -k 16:29:50 unset SSH_AUTH_SOCK; 16:29:50 unset SSH_AGENT_PID; 16:29:50 echo Agent pid 38 killed; 16:29:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:50 + git semver [Pipeline] } 16:29:50 $ docker stop --time=1 f5fff5e1a23c6dfaa5fcb714fa53a9a0b7ed4530e6aed92fd89c717ab80b5a44 16:29:51 $ docker rm -f --volumes f5fff5e1a23c6dfaa5fcb714fa53a9a0b7ed4530e6aed92fd89c717ab80b5a44 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:29:52 16:29:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:29:52 0.23.1-centos7: Pulling from edgex-lftools 16:29:52 ab5ef0e58194: Pulling fs layer 16:29:52 9712f1f96733: Pulling fs layer 16:29:52 63f879dbbcfc: Pulling fs layer 16:29:52 0d9ebad4ef96: Pulling fs layer 16:29:52 e9a5061849ea: Pulling fs layer 16:29:52 d747dcd14b5f: Pulling fs layer 16:29:52 2de7ff778b66: Pulling fs layer 16:29:52 e9a5061849ea: Waiting 16:29:52 d747dcd14b5f: Waiting 16:29:52 2de7ff778b66: Waiting 16:29:52 0d9ebad4ef96: Waiting 16:29:52 9712f1f96733: Download complete 16:29:53 63f879dbbcfc: Verifying Checksum 16:29:53 63f879dbbcfc: Download complete 16:29:53 ab5ef0e58194: Verifying Checksum 16:29:53 ab5ef0e58194: Download complete 16:29:53 d747dcd14b5f: Download complete 16:29:53 e9a5061849ea: Download complete 16:29:53 0d9ebad4ef96: Verifying Checksum 16:29:53 0d9ebad4ef96: Download complete 16:29:53 2de7ff778b66: Verifying Checksum 16:29:56 ab5ef0e58194: Pull complete 16:29:56 9712f1f96733: Pull complete 16:29:57 63f879dbbcfc: Pull complete 16:30:01 0d9ebad4ef96: Pull complete 16:30:01 e9a5061849ea: Pull complete 16:30:01 d747dcd14b5f: Pull complete 16:30:01 2de7ff778b66: Pull complete 16:30:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:30:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:30:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:01 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:30:01 $ 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 16:30:03 $ docker top 97842b915efbb310a537d6ab513904963bb25acde2d62d3de19c462ea0739493 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:30:03 provisioning config files... 16:30:03 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6606163206511702039tmp 16:30:03 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4189556456020565594tmp 16:30:03 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15565207941115829714tmp [Pipeline] { [Pipeline] echo 16:30:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:30:04 ---> sigul-configuration.sh 16:30:04 gpg: directory `/root/.gnupg' created 16:30:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:30:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:30:04 gpg: keyring `/root/.gnupg/secring.gpg' created 16:30:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:30:04 gpg: CAST5 encrypted data 16:30:04 gpg: encrypted with 1 passphrase 16:30:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:30:04 + mkdir /home/jenkins 16:30:04 + mkdir /home/jenkins/sigul [Pipeline] sh 16:30: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 16:30:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:30:05 ---> sigul-install.sh 16:30:05 Sigul already installed; skipping installation. [Pipeline] sh 16:30:05 + git tag --list 16:30:05 v0.0.0 16:30:05 v1.0.0 16:30:05 v2.1.0 16:30:05 v2.1.1 16:30:05 v2.1.1-dev.1 16:30:05 v2.2.0 16:30:05 v2.2.1-dev.1 16:30:05 v2.2.1-dev.2 16:30:05 v2.2.1-dev.3 16:30:05 v2.2.1-dev.4 16:30:05 v2.2.1-dev.5 16:30:05 v2.2.1-dev.6 16:30:05 v2.2.1-dev.7 16:30:05 v2.3.0 16:30:05 v2.3.0-dev.10 16:30:05 v2.3.0-dev.11 16:30:05 v2.3.0-dev.12 16:30:05 v2.3.0-dev.13 16:30:05 v2.3.0-dev.14 16:30:05 v2.3.0-dev.15 16:30:05 v2.3.0-dev.16 16:30:05 v2.3.0-dev.17 16:30:05 v2.3.0-dev.18 16:30:05 v2.3.0-dev.19 16:30:05 v2.3.0-dev.20 16:30:05 v2.3.0-dev.21 16:30:05 v2.3.0-dev.22 16:30:05 v2.3.0-dev.23 16:30:05 v2.3.0-dev.24 16:30:05 v2.3.0-dev.25 16:30:05 v2.3.0-dev.26 16:30:05 v2.3.0-dev.9 16:30:05 v2.3.1-dev.1 16:30:05 v3.0.0-dev.1 16:30:05 v3.0.0-dev.2 16:30:05 v3.0.0-dev.3 16:30:05 v3.0.0-dev.4 16:30:05 v3.0.0-dev.5 [Pipeline] sh 16:30:05 + lftools sign git-tag v3.0.0-dev.5 16:30:06 Signing Git tag with Sigul... 16:30:06 Signing v3.0.0-dev.5 [Pipeline] echo 16:30:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:30:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:30:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:30:06 $ docker stop --time=1 97842b915efbb310a537d6ab513904963bb25acde2d62d3de19c462ea0739493 16:30:08 $ docker rm -f --volumes 97842b915efbb310a537d6ab513904963bb25acde2d62d3de19c462ea0739493 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:30:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:30:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:08 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:30: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 16:30:09 $ docker top 1d28c7cf33be5cf45b7cb01f28dd4fb251ac04c1c65374770f008bb2da2d6987 -eo pid,comm 16:30:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:30:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:30:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:09 [ssh-agent] Looking for ssh-agent implementation... 16:30:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:09 $ docker exec 1d28c7cf33be5cf45b7cb01f28dd4fb251ac04c1c65374770f008bb2da2d6987 ssh-agent 16:30:09 SSH_AUTH_SOCK=/tmp/ssh-LgWzSHYXHXnZ/agent.32 16:30:09 SSH_AGENT_PID=38 16:30:09 Running ssh-add (command line suppressed) 16:30:09 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4027766073046614634.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4027766073046614634.key) 16:30:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:10 + git semver bump pre 16:30:10 2023-01-18 16:30:10,248 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:30:10 2023-01-18 16:30:10,248 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev 16:30:10 2023-01-18 16:30:10,248 [bump_version] DEBUG bumped version:3.0.0-dev.6 16:30:10 2023-01-18 16:30:10,248 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 16:30:10 2023-01-18 16:30:10,249 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:30:10 2023-01-18 16:30:10,249 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:30:10 2023-01-18 16:30:10,250 [execute] INFO git cat-file --batch-check 16:30:10 2023-01-18 16:30:10,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 16:30:10 2023-01-18 16:30:10,256 [execute] INFO git cat-file --batch 16:30:10 2023-01-18 16:30:10,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 16:30:10 2023-01-18 16:30:10,262 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:30:10 3.0.0-dev.6 [Pipeline] } 16:30:10 $ docker exec --env ******** --env ******** 1d28c7cf33be5cf45b7cb01f28dd4fb251ac04c1c65374770f008bb2da2d6987 ssh-agent -k 16:30:10 unset SSH_AUTH_SOCK; 16:30:10 unset SSH_AGENT_PID; 16:30:10 echo Agent pid 38 killed; 16:30:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:30:10 + git semver [Pipeline] } 16:30:11 $ docker stop --time=1 1d28c7cf33be5cf45b7cb01f28dd4fb251ac04c1c65374770f008bb2da2d6987 16:30:12 $ docker rm -f --volumes 1d28c7cf33be5cf45b7cb01f28dd4fb251ac04c1c65374770f008bb2da2d6987 [Pipeline] // withDockerContainer [Pipeline] sh 16:30:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:30:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:13 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:30:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:30:13 $ docker top 5e57d9a4d1793d281ccbc806f87906c963230d5fc774469dbffa922f65039186 -eo pid,comm 16:30:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:30:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:30:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:13 [ssh-agent] Looking for ssh-agent implementation... 16:30:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:13 $ docker exec 5e57d9a4d1793d281ccbc806f87906c963230d5fc774469dbffa922f65039186 ssh-agent 16:30:13 SSH_AUTH_SOCK=/tmp/ssh-gqRjPwIJwPGc/agent.32 16:30:13 SSH_AGENT_PID=38 16:30:13 Running ssh-add (command line suppressed) 16:30:13 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16260146858012900163.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16260146858012900163.key) 16:30:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:14 + git semver push 16:30:14 2023-01-18 16:30:14,310 [run_push] DEBUG push 16:30:14 2023-01-18 16:30:14,311 [execute] INFO git cat-file --batch-check 16:30:14 2023-01-18 16:30:14,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 16:30:14 2023-01-18 16:30:14,315 [execute] INFO git rev-list dcac9e762c0a07ef1bbfedaf6e999e81fd237ba6 -- 16:30:14 2023-01-18 16:30:14,316 [execute] DEBUG Popen(['git', 'rev-list', 'dcac9e762c0a07ef1bbfedaf6e999e81fd237ba6', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 16:30:14 2023-01-18 16:30:14,322 [execute] INFO git fetch -v origin 16:30:14 2023-01-18 16:30:14,322 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 16:30:14 2023-01-18 16:30:14,877 [run_push] DEBUG no remote changes detected 16:30:14 2023-01-18 16:30:14,878 [execute] INFO git push origin semver 16:30:14 2023-01-18 16:30:14,878 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 16:30:15 2023-01-18 16:30:15,783 [run_push] DEBUG push all version tags 16:30:15 2023-01-18 16:30:15,784 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:30:15 2023-01-18 16:30:15,784 [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) 16:30:16 2023-01-18 16:30:16,607 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:30:16 3.0.0-dev.6 [Pipeline] } 16:30:16 $ docker exec --env ******** --env ******** 5e57d9a4d1793d281ccbc806f87906c963230d5fc774469dbffa922f65039186 ssh-agent -k 16:30:16 unset SSH_AUTH_SOCK; 16:30:16 unset SSH_AGENT_PID; 16:30:16 echo Agent pid 38 killed; 16:30:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:30:17 + git semver [Pipeline] } 16:30:17 $ docker stop --time=1 5e57d9a4d1793d281ccbc806f87906c963230d5fc774469dbffa922f65039186 16:30:18 $ docker rm -f --volumes 5e57d9a4d1793d281ccbc806f87906c963230d5fc774469dbffa922f65039186 [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 16:30:19 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 16:30:19 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 16:30:19 total 16 16:30:19 drwxr-xr-x 3 root root 4096 Jan 18 16:18 . 16:30:19 drwxrwxr-x 12 jenkins jenkins 4096 Jan 18 16:30 .. 16:30:19 drwxr-xr-x 2 root root 4096 Jan 18 16:18 cost 16:30:19 -rw-r--r-- 1 root root 94 Jan 18 16:18 cost.csv 16:30:19 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 16:30:19 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 16:30:19 total 16 16:30:19 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 16:18 . 16:30:19 drwxrwxr-x 12 jenkins jenkins 4096 Jan 18 16:30 .. 16:30:19 drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 16:18 cost 16:30:19 -rw-r--r-- 1 jenkins jenkins 94 Jan 18 16:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:30:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:30:20 ---> package-listing.sh 16:30:20 ++ facter osfamily 16:30:20 ++ tr '[:upper:]' '[:lower:]' 16:30:20 + OS_FAMILY=debian 16:30:20 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 16:30:20 + START_PACKAGES=/tmp/packages_start.txt 16:30:20 + END_PACKAGES=/tmp/packages_end.txt 16:30:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:30:20 + PACKAGES=/tmp/packages_start.txt 16:30:20 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 16:30:20 + PACKAGES=/tmp/packages_end.txt 16:30:20 + case "${OS_FAMILY}" in 16:30:20 + dpkg -l 16:30:20 + grep '^ii' 16:30:20 + '[' -f /tmp/packages_start.txt ']' 16:30:20 + '[' -f /tmp/packages_end.txt ']' 16:30:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:30:20 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 16:30:20 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 16:30:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 16:30:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:30:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:21 prd-ubuntu20.04-docker-8c-8g-2957 does not seem to be running inside a container 16:30:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:30:21 $ docker top 5bdb7dd22a113ae9bbcb67640d6abaf9148b7ce1848b12304ee987b60a2833b8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:22 + touch /tmp/pre-build-complete [Pipeline] sh 16:30:22 + mkdir -p /var/log/sysstat [Pipeline] sh 16:30:22 + ls /var/log/sa-host 16:30:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:22 provisioning config files... 16:30:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9829551816458612820tmp [Pipeline] { [Pipeline] echo 16:30:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:30:23 ---> create-netrc.sh [Pipeline] } 16:30:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:30:23 ---> python-tools-install.sh [Pipeline] echo 16:30:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:30:23 ---> sudo-logs.sh 16:30:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:30:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:30:24 ---> job-cost.sh 16:30:24 lf-activate-venv: SKIPPING 16:30:24 DEBUG: total: 0.2199999988079071 16:30:24 INFO: Retrieving Stack Cost... 16:30:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:30:25 INFO: Archiving Costs [Pipeline] echo 16:30:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:30:25 ---> logs-deploy.sh 16:30:25 lf-activate-venv: SKIPPING 16:30:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/73 16:30:25 INFO: archiving workspace using pattern(s): 16:30:26 Archives upload complete. 16:30:26 INFO: archiving logs to Nexus