Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d157eb815d7fbd973ad52ac1343ba67c62e80469 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-ssh17180525434357011614.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13783639390779433387.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14336390855585685740.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4706967727152388133.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9348778795672264720.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-572’ Running on prd-ubuntu20.04-docker-8c-8g-609 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/dry_app-rfid-llrp-inventory_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d157eb815d7fbd973ad52ac1343ba67c62e80469 (main) Commit message: "build: Add option to build Service with NATS Capability (#109)" > 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 d157eb815d7fbd973ad52ac1343ba67c62e80469 # timeout=10 > git rev-list --no-walk 86354b634c9d0fc1eadff25359b9682d3f793e35 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:25:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:25:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:25:31 ========================================================= 16:25:31 EdgeX Global Pipelines Version Info 16:25:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:25:31 ------------------- 16:25:31 stable info: 16:25:31 ------------------- 16:25:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:25:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:25:31 Message: update stable to v1.0.239 16:25:32 ------------------- 16:25:32 experimental info: 16:25:32 ------------------- 16:25:32 Commited By: **** collab-it+edgex@linuxfoundation.org 16:25:32 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:25:32 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d157eb8 [Pipeline] echo 16:25:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:32 provisioning config files... 16:25:32 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config13610413412437103277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:33 ---> docker-login.sh 16:25:33 nexus3.edgexfoundry.org:10001 16:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:33 Configure a credential helper to remove this warning. See 16:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:33 16:25:33 Login Succeeded 16:25:33 nexus3.edgexfoundry.org:10002 16:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:33 Configure a credential helper to remove this warning. See 16:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:33 16:25:33 Login Succeeded 16:25:33 nexus3.edgexfoundry.org:10003 16:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:33 Configure a credential helper to remove this warning. See 16:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:33 16:25:33 Login Succeeded 16:25:33 nexus3.edgexfoundry.org:10004 16:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:33 Configure a credential helper to remove this warning. See 16:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:33 16:25:33 Login Succeeded 16:25:33 docker.io 16:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:34 Configure a credential helper to remove this warning. See 16:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:34 16:25:34 Login Succeeded 16:25:34 ---> docker-login.sh ends [Pipeline] } 16:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:25:34 + git rev-list -1 --merges d157eb815d7fbd973ad52ac1343ba67c62e80469~1..d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] echo 16:25:34 -----------> git rev-list -1 --merges d157eb815d7fbd973ad52ac1343ba67c62e80469~1..d157eb815d7fbd973ad52ac1343ba67c62e80469 d157eb815d7fbd973ad52ac1343ba67c62e80469 [false] [Pipeline] sh 16:25:34 + git log --format=format:%s -1 d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] echo 16:25:34 ========================================================= 16:25:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:25:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:35 + git log --format=format:%s -1 d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] echo 16:25:35 [semverPrep] GIT_COMMIT: d157eb815d7fbd973ad52ac1343ba67c62e80469, Commit Message: build: Add option to build Service with NATS Capability (#109) [Pipeline] echo 16:25:35 [semverPrep] This is not a build commit. [Pipeline] sh 16:25:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:35 + grep -v github /etc/ssh/ssh_known_hosts 16:25:35 + [ -e /tmp/ssh_known_hosts ] 16:25:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:25:35 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:25:35 sudo tee -a /etc/ssh/ssh_known_hosts 16:25:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:35 16:25:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:36 0.1.4: Pulling from edgex-devops/py-git-semver 16:25:36 b85a868b505f: Pulling fs layer 16:25:36 e2be974225ed: Pulling fs layer 16:25:36 339a4e72a1f5: Pulling fs layer 16:25:36 988bab9f4d93: Pulling fs layer 16:25:36 1469e6f7b9e6: Pulling fs layer 16:25:36 eaf3925da568: Pulling fs layer 16:25:36 bab4dde63d76: Pulling fs layer 16:25:36 bde34c3a00c8: Pulling fs layer 16:25:36 b352a97aabf1: Pulling fs layer 16:25:36 4872d77fe225: Pulling fs layer 16:25:36 5851b861e8e6: Pulling fs layer 16:25:36 988bab9f4d93: Waiting 16:25:36 1469e6f7b9e6: Waiting 16:25:36 eaf3925da568: Waiting 16:25:36 bab4dde63d76: Waiting 16:25:36 bde34c3a00c8: Waiting 16:25:36 e2be974225ed: Download complete 16:25:36 988bab9f4d93: Verifying Checksum 16:25:36 988bab9f4d93: Download complete 16:25:36 1469e6f7b9e6: Verifying Checksum 16:25:36 1469e6f7b9e6: Download complete 16:25:36 eaf3925da568: Verifying Checksum 16:25:36 eaf3925da568: Download complete 16:25:36 339a4e72a1f5: Verifying Checksum 16:25:36 339a4e72a1f5: Download complete 16:25:36 bde34c3a00c8: Verifying Checksum 16:25:36 bde34c3a00c8: Download complete 16:25:36 b352a97aabf1: Download complete 16:25:36 4872d77fe225: Verifying Checksum 16:25:36 4872d77fe225: Download complete 16:25:36 5851b861e8e6: Verifying Checksum 16:25:36 5851b861e8e6: Download complete 16:25:36 b85a868b505f: Verifying Checksum 16:25:36 b85a868b505f: Download complete 16:25:36 bab4dde63d76: Verifying Checksum 16:25:36 bab4dde63d76: Download complete 16:25:38 b85a868b505f: Pull complete 16:25:38 e2be974225ed: Pull complete 16:25:38 339a4e72a1f5: Pull complete 16:25:38 988bab9f4d93: Pull complete 16:25:38 1469e6f7b9e6: Pull complete 16:25:38 eaf3925da568: Pull complete 16:25:40 bab4dde63d76: Pull complete 16:25:40 bde34c3a00c8: Pull complete 16:25:41 b352a97aabf1: Pull complete 16:25:41 4872d77fe225: Pull complete 16:25:41 5851b861e8e6: Pull complete 16:25:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:41 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:25:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:42 $ docker top b728255411ef3a4c0938f5693c715718564ba80af37485dc1153fad34764541d -eo pid,comm 16:25:42 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:25:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:43 [ssh-agent] Looking for ssh-agent implementation... 16:25:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:43 $ docker exec b728255411ef3a4c0938f5693c715718564ba80af37485dc1153fad34764541d ssh-agent 16:25:43 SSH_AUTH_SOCK=/tmp/ssh-XEjESq5Usu6T/agent.32 16:25:43 SSH_AGENT_PID=38 16:25:43 Running ssh-add (command line suppressed) 16:25:43 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13933772723816833617.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13933772723816833617.key) 16:25:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:43 + git tag --points-at HEAD [Pipeline] } 16:25:43 $ docker exec --env ******** --env ******** b728255411ef3a4c0938f5693c715718564ba80af37485dc1153fad34764541d ssh-agent -k 16:25:43 unset SSH_AUTH_SOCK; 16:25:43 unset SSH_AGENT_PID; 16:25:43 echo Agent pid 38 killed; 16:25:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:25:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:43 [ssh-agent] Looking for ssh-agent implementation... 16:25:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:43 $ docker exec b728255411ef3a4c0938f5693c715718564ba80af37485dc1153fad34764541d ssh-agent 16:25:44 SSH_AUTH_SOCK=/tmp/ssh-y5vSpzJff2OO/agent.70 16:25:44 SSH_AGENT_PID=76 16:25:44 Running ssh-add (command line suppressed) 16:25:44 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10174091429402189633.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10174091429402189633.key) 16:25:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:44 + git semver init 16:25:44 2022-09-22 16:25:44,676 [run_init] DEBUG init version:0.0.0 force:False 16:25:44 2022-09-22 16:25:44,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 16:25:44 2022-09-22 16:25:44,677 [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:25:44 2022-09-22 16:25:44,677 [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:25:46 2022-09-22 16:25:45,851 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 16:25:46 2022-09-22 16:25:45,852 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 16:25:46 2022-09-22 16:25:45,852 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:25:46 2022-09-22 16:25:45,852 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:25:46 2.3.0-dev.15 [Pipeline] } 16:25:46 $ docker exec --env ******** --env ******** b728255411ef3a4c0938f5693c715718564ba80af37485dc1153fad34764541d ssh-agent -k 16:25:46 unset SSH_AUTH_SOCK; 16:25:46 unset SSH_AGENT_PID; 16:25:46 echo Agent pid 76 killed; 16:25:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:46 + git semver [Pipeline] } 16:25:46 $ docker stop --time=1 b728255411ef3a4c0938f5693c715718564ba80af37485dc1153fad34764541d 16:25:48 $ docker rm -f b728255411ef3a4c0938f5693c715718564ba80af37485dc1153fad34764541d [Pipeline] // withDockerContainer [Pipeline] sh 16:25:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:25:48 Stashed 1 file(s) [Pipeline] echo 16:25:48 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [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:25:48 provisioning config files... 16:25:48 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config176096034329428231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:49 ---> docker-login.sh 16:25:49 nexus3.edgexfoundry.org:10001 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 nexus3.edgexfoundry.org:10002 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 nexus3.edgexfoundry.org:10003 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 nexus3.edgexfoundry.org:10004 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 docker.io 16:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:49 Configure a credential helper to remove this warning. See 16:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:49 16:25:49 Login Succeeded 16:25:49 ---> docker-login.sh ends [Pipeline] } 16:25:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:50 ========================================================= 16:25:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:25:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:50 + 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:25:50 Sending build context to Docker daemon 12.47MB 16:25:50 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:25:50 Step 2/14 : FROM ${BASE} AS builder 16:25:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:25:50 2408cc74d12b: Pulling fs layer 16:25:50 ea60b727a1ce: Pulling fs layer 16:25:50 30c4a7721957: Pulling fs layer 16:25:50 370296b7ddb6: Pulling fs layer 16:25:50 7c6cee850709: Pulling fs layer 16:25:50 39a5fcdaea64: Pulling fs layer 16:25:50 d94ebbe4e438: Pulling fs layer 16:25:50 bcfd1f05c69d: Pulling fs layer 16:25:50 59ccb84bbe0f: Pulling fs layer 16:25:50 370296b7ddb6: Waiting 16:25:50 7c6cee850709: Waiting 16:25:50 39a5fcdaea64: Waiting 16:25:50 d94ebbe4e438: Waiting 16:25:50 bcfd1f05c69d: Waiting 16:25:50 30c4a7721957: Download complete 16:25:50 ea60b727a1ce: Download complete 16:25:50 7c6cee850709: Download complete 16:25:50 39a5fcdaea64: Verifying Checksum 16:25:50 39a5fcdaea64: Download complete 16:25:50 2408cc74d12b: Verifying Checksum 16:25:50 2408cc74d12b: Download complete 16:25:50 d94ebbe4e438: Verifying Checksum 16:25:50 d94ebbe4e438: Download complete 16:25:50 2408cc74d12b: Pull complete 16:25:50 ea60b727a1ce: Pull complete 16:25:50 30c4a7721957: Pull complete 16:25:51 59ccb84bbe0f: Verifying Checksum 16:25:51 59ccb84bbe0f: Download complete 16:25:51 370296b7ddb6: Verifying Checksum 16:25:51 370296b7ddb6: Download complete 16:25:51 bcfd1f05c69d: Verifying Checksum 16:25:51 bcfd1f05c69d: Download complete 16:25:55 370296b7ddb6: Pull complete 16:25:55 7c6cee850709: Pull complete 16:25:55 39a5fcdaea64: Pull complete 16:25:55 d94ebbe4e438: Pull complete 16:25:57 bcfd1f05c69d: Pull complete 16:25:58 59ccb84bbe0f: Pull complete 16:25:58 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:25:58 ---> a4fb48ad2a94 16:25:58 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:26:00 ---> Running in 283152a14922 16:26:00 Removing intermediate container 283152a14922 16:26:00 ---> 7b5f798229a4 16:26:00 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 16:26:00 ---> Running in accccf333873 16:26:00 Removing intermediate container accccf333873 16:26:00 ---> 71437e717f58 16:26:00 Step 5/14 : ARG ADD_BUILD_TAGS="" 16:26:00 ---> Running in facc03c1d594 16:26:00 Removing intermediate container facc03c1d594 16:26:00 ---> bcf690b36ce7 16:26:00 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:26:01 ---> Running in e33a242a7a4c 16:26:01 Removing intermediate container e33a242a7a4c 16:26:01 ---> 398b345cc099 16:26:01 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:26:01 ---> Running in 58064b15ab07 16:26:02 Removing intermediate container 58064b15ab07 16:26:02 ---> 3495a26b6d5a 16:26:02 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:26:02 ---> Running in cd5f173f8780 16:26:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:26:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:26:03 OK: 211 MiB in 51 packages 16:26:03 Removing intermediate container cd5f173f8780 16:26:03 ---> 03a321f04e51 16:26:03 Step 9/14 : WORKDIR /app 16:26:03 ---> Running in 67edfb6f5667 16:26:03 Still waiting to schedule task 16:26:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-607’ 16:26:03 Removing intermediate container 67edfb6f5667 16:26:03 ---> 832fba017a50 16:26:03 Step 10/14 : COPY go.mod vendor* ./ 16:26:03 ---> 51e9b9909779 16:26:03 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:03 ---> Running in 5a7d741909fb 16:26:22 Removing intermediate container 5a7d741909fb 16:26:22 ---> a803f325c24c 16:26:22 Step 12/14 : COPY . . 16:26:22 ---> 3b4ae5dd58b0 16:26:22 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:26:22 ---> Running in 09d8d04b8dfd 16:26:22 Removing intermediate container 09d8d04b8dfd 16:26:22 ---> 646e877b0411 16:26:22 Step 14/14 : RUN $MAKE 16:26:22 ---> Running in 07db570277ed 16:26:22 noop 16:26:22 Removing intermediate container 07db570277ed 16:26:22 ---> 762e4f770c89 16:26:22 Successfully built 762e4f770c89 16:26:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:22 + docker inspect -f . ci-base-image-x86_64 16:26:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:22 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:26:22 $ 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 ******** ci-base-image-x86_64 cat 16:26:22 $ docker top 01fd22cf8f885f3b1f2effb67d895a6ee0cb0dbb6d97298d36788d3fe0d84ad9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:23 + go version 16:26:23 go version go1.18.3 linux/amd64 [Pipeline] } 16:26:23 $ docker stop --time=1 01fd22cf8f885f3b1f2effb67d895a6ee0cb0dbb6d97298d36788d3fe0d84ad9 16:26:24 $ docker rm -f 01fd22cf8f885f3b1f2effb67d895a6ee0cb0dbb6d97298d36788d3fe0d84ad9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:24 + docker inspect -f . ci-base-image-x86_64 16:26:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:25 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:26:25 $ 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 ******** ci-base-image-x86_64 cat 16:26:25 $ docker top 446493752b4d8f2e6a13489385985ae518989702990266717b5cdfb06abeab0f -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:25 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 16:26:26 + make test 16:26:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:26:38 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:26:38 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.058s coverage: 86.2% of statements 16:26:38 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:26:40 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.562s coverage: 71.9% of statements 16:26:48 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:26:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:26:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:26:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:26:52 ./bin/test-attribution.sh 16:26:52 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:26:52 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:26:52 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:26:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:26:52 $ docker stop --time=1 446493752b4d8f2e6a13489385985ae518989702990266717b5cdfb06abeab0f 16:26:54 $ docker rm -f 446493752b4d8f2e6a13489385985ae518989702990266717b5cdfb06abeab0f [Pipeline] // withDockerContainer [Pipeline] sh 16:26:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:26:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:26:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:26:55 + ls -al . 16:26:55 total 232 16:26:55 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 16:26 . 16:26:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:25 .. 16:26:55 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 16:25 .dockerignore 16:26:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:26 .git 16:26:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:25 .github 16:26:55 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 16:25 .gitignore 16:26:55 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 16:25 .golangci.yml 16:26:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:25 .semver 16:26:55 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 22 16:25 Attribution.txt 16:26:55 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 16:25 CHANGELOG.md 16:26:55 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 16:25 Dockerfile 16:26:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:25 GOVERNANCE.md 16:26:55 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 16:25 Jenkinsfile 16:26:55 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 16:25 LICENSE 16:26:55 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 16:25 Makefile 16:26:55 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 16:25 OWNERS.md 16:26:55 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 16:25 README.md 16:26:55 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 16:25 VERSION 16:26:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:25 bin 16:26:55 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 16:26 coverage.out 16:26:55 -rw-rw-r-- 1 jenkins jenkins 3678 Sep 22 16:25 go.mod 16:26:55 -rw-rw-r-- 1 jenkins jenkins 38059 Sep 22 16:25 go.sum 16:26:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:25 images 16:26:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:25 internal 16:26:55 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 16:25 main.go 16:26:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:25 res 16:26:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:25 snap 16:26:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:25 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:55 + 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=d157eb815d7fbd973ad52ac1343ba67c62e80469 --label arch=amd64 --label version=2.3.0-dev.15 . 16:26:55 Sending build context to Docker daemon 12.47MB 16:26:55 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 16:26:55 Step 2/32 : FROM ${BASE} AS builder 16:26:55 ---> 762e4f770c89 16:26:55 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:26:56 ---> Running in 363a6aec818f 16:26:56 Removing intermediate container 363a6aec818f 16:26:56 ---> 2b738f5939e6 16:26:56 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 16:26:56 ---> Running in 42a0cdabf366 16:26:56 Removing intermediate container 42a0cdabf366 16:26:56 ---> 5db495236859 16:26:56 Step 5/32 : ARG ADD_BUILD_TAGS="" 16:26:56 ---> Running in b9589c1fd360 16:26:56 Removing intermediate container b9589c1fd360 16:26:56 ---> 6bee5c7c8c63 16:26:56 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:26:56 ---> Running in 13c8bd84fd53 16:26:56 Removing intermediate container 13c8bd84fd53 16:26:56 ---> 6de5f83d54a8 16:26:56 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:26:56 ---> Running in 62283da60fd5 16:26:57 Removing intermediate container 62283da60fd5 16:26:57 ---> 41ca431c9522 16:26:57 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:26:57 ---> Running in 80ea7e4d53f2 16:26:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:26:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:26:58 OK: 211 MiB in 51 packages 16:26:59 Removing intermediate container 80ea7e4d53f2 16:26:59 ---> 9f42d3b9d476 16:26:59 Step 9/32 : WORKDIR /app 16:26:59 ---> Running in 94d2d5b2175e 16:26:59 Removing intermediate container 94d2d5b2175e 16:26:59 ---> 86e5935f16af 16:26:59 Step 10/32 : COPY go.mod vendor* ./ 16:26:59 ---> 1127538f5360 16:26:59 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:59 ---> Running in f2ef804afce7 16:27:00 Removing intermediate container f2ef804afce7 16:27:00 ---> c7032089b51a 16:27:00 Step 12/32 : COPY . . 16:27:00 ---> 2e3056862c6c 16:27:00 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:27:00 ---> Running in cdb26f6bf5a9 16:27:00 Removing intermediate container cdb26f6bf5a9 16:27:00 ---> 6a98e33a76f6 16:27:00 Step 14/32 : RUN $MAKE 16:27:00 ---> Running in 52cdb925b19a 16:27:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.15 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 16:27:22 Removing intermediate container 52cdb925b19a 16:27:22 ---> 370fde6fdce1 16:27:22 Step 15/32 : FROM alpine:3.14 16:27:22 3.14: Pulling from library/alpine 16:27:22 c7ed990a2339: Pulling fs layer 16:27:23 c7ed990a2339: Verifying Checksum 16:27:23 c7ed990a2339: Download complete 16:27:23 c7ed990a2339: Pull complete 16:27:23 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 16:27:23 Status: Downloaded newer image for alpine:3.14 16:27:23 ---> dd53f409bf0b 16:27:23 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:27:23 ---> Running in e1fc90d35582 16:27:23 Removing intermediate container e1fc90d35582 16:27:23 ---> 7ba4f5fe9c57 16:27:23 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:27:23 ---> Running in 94cb7fd61ece 16:27:23 Removing intermediate container 94cb7fd61ece 16:27:23 ---> f617b52cc24a 16:27:23 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:27:23 ---> Running in c5c6d7c0a30f 16:27:24 Removing intermediate container c5c6d7c0a30f 16:27:24 ---> d99edf1fc58c 16:27:24 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 16:27:24 ---> Running in 5dc276ad1ae9 16:27:24 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:27:25 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:27:25 (1/7) Installing ca-certificates (20220614-r0) 16:27:25 (2/7) Installing dumb-init (1.2.5-r1) 16:27:25 (3/7) Installing libgcc (10.3.1_git20210424-r2) 16:27:26 (4/7) Installing libsodium (1.0.18-r0) 16:27:26 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 16:27:26 (6/7) Installing libzmq (4.3.4-r0) 16:27:26 (7/7) Installing zeromq (4.3.4-r0) 16:27:26 Executing busybox-1.33.1-r8.trigger 16:27:26 Executing ca-certificates-20220614-r0.trigger 16:27:26 OK: 9 MiB in 21 packages 16:27:27 Removing intermediate container 5dc276ad1ae9 16:27:27 ---> 1741206bac87 16:27:27 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:27:27 ---> 9f6eee30a9cf 16:27:27 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 16:27:27 ---> 8b6bc7f5ff8f 16:27:27 Step 22/32 : COPY --from=builder /app/res/ /res/ 16:27:27 ---> ade1bdec8c32 16:27:27 Step 23/32 : COPY --from=builder /app/static/ /static/ 16:27:27 ---> aeb2f9e019dc 16:27:27 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:27:28 ---> 2eb3b6da0657 16:27:28 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:27:28 ---> Running in 8354fc69ffb4 16:27:28 Removing intermediate container 8354fc69ffb4 16:27:28 ---> 0bdb7e5ab69c 16:27:28 Step 26/32 : VOLUME /cache 16:27:28 ---> Running in 773cf43079ff 16:27:28 Removing intermediate container 773cf43079ff 16:27:28 ---> 78b7319d814d 16:27:28 Step 27/32 : EXPOSE 59711 16:27:29 ---> Running in 40b1d9c516d5 16:27:29 Removing intermediate container 40b1d9c516d5 16:27:29 ---> 3769885f8620 16:27:29 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:27:29 ---> Running in 55009b3750ce 16:27:29 Removing intermediate container 55009b3750ce 16:27:29 ---> 4cdd846948b7 16:27:29 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 16:27:29 ---> Running in e0f979cda78e 16:27:29 Removing intermediate container e0f979cda78e 16:27:29 ---> aa1fb4e6ae92 16:27:29 Step 30/32 : LABEL arch=amd64 16:27:29 ---> Running in ff9be409b132 16:27:29 Removing intermediate container ff9be409b132 16:27:29 ---> 79b8bdde1cc5 16:27:29 Step 31/32 : LABEL git_sha=d157eb815d7fbd973ad52ac1343ba67c62e80469 16:27:29 ---> Running in a654590aa6a6 16:27:29 Removing intermediate container a654590aa6a6 16:27:29 ---> be63d00ac118 16:27:29 Step 32/32 : LABEL version=2.3.0-dev.15 16:27:29 ---> Running in f7e6b7998892 16:27:29 Removing intermediate container f7e6b7998892 16:27:29 ---> 0d796a4eb8f2 16:27:29 [Warning] One or more build-args [ARCH] were not consumed 16:27:29 Successfully built 0d796a4eb8f2 16:27:29 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:27:30 provisioning config files... 16:27:30 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config290850642961836465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:30 ---> docker-login.sh 16:27:30 nexus3.edgexfoundry.org:10001 16:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:30 Configure a credential helper to remove this warning. See 16:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:30 16:27:30 Login Succeeded 16:27:30 nexus3.edgexfoundry.org:10002 16:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:30 Configure a credential helper to remove this warning. See 16:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:30 16:27:30 Login Succeeded 16:27:30 nexus3.edgexfoundry.org:10003 16:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:30 Configure a credential helper to remove this warning. See 16:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:30 16:27:30 Login Succeeded 16:27:30 nexus3.edgexfoundry.org:10004 16:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:30 Configure a credential helper to remove this warning. See 16:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:30 16:27:30 Login Succeeded 16:27:30 docker.io 16:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:31 Configure a credential helper to remove this warning. See 16:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:31 16:27:31 Login Succeeded 16:27:31 ---> docker-login.sh ends [Pipeline] } 16:27:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:31 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 16:27:31 d157eb815d7fbd973ad52ac1343ba67c62e80469 16:27:31 latest 16:27:31 2.3.0-dev.15 16:27:31 d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 16:27:31 main 16:27:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:31 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:31 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:d157eb815d7fbd973ad52ac1343ba67c62e80469 16:27:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:27:31 7148ec46611e: Preparing 16:27:31 f5f50ad6eb74: Preparing 16:27:31 53f5d704c905: Preparing 16:27:31 b182fd145834: Preparing 16:27:31 7a4e86b9fd6d: Preparing 16:27:31 43a9a21bf327: Preparing 16:27:31 8c1912542fee: Preparing 16:27:31 6fad63e58ac6: Preparing 16:27:31 63493a9ab2d4: Preparing 16:27:31 43a9a21bf327: Waiting 16:27:31 8c1912542fee: Waiting 16:27:31 6fad63e58ac6: Waiting 16:27:31 63493a9ab2d4: Waiting 16:27:31 b182fd145834: Pushed 16:27:31 53f5d704c905: Pushed 16:27:31 7a4e86b9fd6d: Pushed 16:27:31 7148ec46611e: Pushed 16:27:31 63493a9ab2d4: Layer already exists 16:27:31 43a9a21bf327: Pushed 16:27:32 6fad63e58ac6: Pushed 16:27:32 8c1912542fee: Pushed 16:27:35 f5f50ad6eb74: Pushed 16:27:35 d157eb815d7fbd973ad52ac1343ba67c62e80469: digest: sha256:fe60bed3f2cc93cf8bc99d383a72a33ae544e3ba8b4f8bca194f27147e1a2496 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:35 + 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:27:35 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:27:35 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:27:35 7148ec46611e: Preparing 16:27:35 f5f50ad6eb74: Preparing 16:27:35 53f5d704c905: Preparing 16:27:35 b182fd145834: Preparing 16:27:35 7a4e86b9fd6d: Preparing 16:27:35 43a9a21bf327: Preparing 16:27:35 8c1912542fee: Preparing 16:27:35 6fad63e58ac6: Preparing 16:27:35 63493a9ab2d4: Preparing 16:27:35 43a9a21bf327: Waiting 16:27:35 8c1912542fee: Waiting 16:27:35 6fad63e58ac6: Waiting 16:27:35 63493a9ab2d4: Waiting 16:27:35 b182fd145834: Layer already exists 16:27:35 7a4e86b9fd6d: Layer already exists 16:27:35 7148ec46611e: Layer already exists 16:27:35 f5f50ad6eb74: Layer already exists 16:27:35 53f5d704c905: Layer already exists 16:27:35 43a9a21bf327: Layer already exists 16:27:35 8c1912542fee: Layer already exists 16:27:35 6fad63e58ac6: Layer already exists 16:27:35 63493a9ab2d4: Layer already exists 16:27:35 latest: digest: sha256:fe60bed3f2cc93cf8bc99d383a72a33ae544e3ba8b4f8bca194f27147e1a2496 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:35 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:36 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.15 16:27:36 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:27:36 7148ec46611e: Preparing 16:27:36 f5f50ad6eb74: Preparing 16:27:36 53f5d704c905: Preparing 16:27:36 b182fd145834: Preparing 16:27:36 7a4e86b9fd6d: Preparing 16:27:36 43a9a21bf327: Preparing 16:27:36 8c1912542fee: Preparing 16:27:36 6fad63e58ac6: Preparing 16:27:36 63493a9ab2d4: Preparing 16:27:36 43a9a21bf327: Waiting 16:27:36 8c1912542fee: Waiting 16:27:36 6fad63e58ac6: Waiting 16:27:36 63493a9ab2d4: Waiting 16:27:36 f5f50ad6eb74: Layer already exists 16:27:36 53f5d704c905: Layer already exists 16:27:36 7a4e86b9fd6d: Layer already exists 16:27:36 7148ec46611e: Layer already exists 16:27:36 b182fd145834: Layer already exists 16:27:36 43a9a21bf327: Layer already exists 16:27:36 6fad63e58ac6: Layer already exists 16:27:36 8c1912542fee: Layer already exists 16:27:36 63493a9ab2d4: Layer already exists 16:27:36 2.3.0-dev.15: digest: sha256:fe60bed3f2cc93cf8bc99d383a72a33ae544e3ba8b4f8bca194f27147e1a2496 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:36 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:36 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 16:27:36 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:27:36 7148ec46611e: Preparing 16:27:36 f5f50ad6eb74: Preparing 16:27:36 53f5d704c905: Preparing 16:27:36 b182fd145834: Preparing 16:27:36 7a4e86b9fd6d: Preparing 16:27:36 43a9a21bf327: Preparing 16:27:36 8c1912542fee: Preparing 16:27:36 6fad63e58ac6: Preparing 16:27:36 63493a9ab2d4: Preparing 16:27:36 43a9a21bf327: Waiting 16:27:36 8c1912542fee: Waiting 16:27:36 63493a9ab2d4: Waiting 16:27:36 6fad63e58ac6: Waiting 16:27:36 7a4e86b9fd6d: Layer already exists 16:27:36 f5f50ad6eb74: Layer already exists 16:27:36 b182fd145834: Layer already exists 16:27:36 53f5d704c905: Layer already exists 16:27:36 7148ec46611e: Layer already exists 16:27:36 43a9a21bf327: Layer already exists 16:27:36 63493a9ab2d4: Layer already exists 16:27:36 6fad63e58ac6: Layer already exists 16:27:36 8c1912542fee: Layer already exists 16:27:36 d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15: digest: sha256:fe60bed3f2cc93cf8bc99d383a72a33ae544e3ba8b4f8bca194f27147e1a2496 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:37 + 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:27:37 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 16:27:37 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:27:37 7148ec46611e: Preparing 16:27:37 f5f50ad6eb74: Preparing 16:27:37 53f5d704c905: Preparing 16:27:37 b182fd145834: Preparing 16:27:37 7a4e86b9fd6d: Preparing 16:27:37 43a9a21bf327: Preparing 16:27:37 8c1912542fee: Preparing 16:27:37 6fad63e58ac6: Preparing 16:27:37 63493a9ab2d4: Preparing 16:27:37 8c1912542fee: Waiting 16:27:37 43a9a21bf327: Waiting 16:27:37 6fad63e58ac6: Waiting 16:27:37 63493a9ab2d4: Waiting 16:27:37 b182fd145834: Layer already exists 16:27:37 7a4e86b9fd6d: Layer already exists 16:27:37 7148ec46611e: Layer already exists 16:27:37 53f5d704c905: Layer already exists 16:27:37 f5f50ad6eb74: Layer already exists 16:27:37 43a9a21bf327: Layer already exists 16:27:37 8c1912542fee: Layer already exists 16:27:37 6fad63e58ac6: Layer already exists 16:27:37 63493a9ab2d4: Layer already exists 16:27:37 main: digest: sha256:fe60bed3f2cc93cf8bc99d383a72a33ae544e3ba8b4f8bca194f27147e1a2496 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:37 ===================================================== [Pipeline] echo 16:27:37 taggedImages: 16:27:37 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:d157eb815d7fbd973ad52ac1343ba67c62e80469 16:27:37 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:27:37 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.15 16:27:37 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 16:27:37 - 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:27:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:27:37 16:27:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:27:38 latest: Pulling from edgex-lftools-log-publisher 16:27:38 5eb5b503b376: Pulling fs layer 16:27:38 5c69ac0246d0: Pulling fs layer 16:27:38 ec43610c2a17: Pulling fs layer 16:27:38 3a2ae6a8a46f: Pulling fs layer 16:27:38 33b1e0a273af: Pulling fs layer 16:27:38 5d3b04190fa2: Pulling fs layer 16:27:38 2f39f015ded8: Pulling fs layer 16:27:38 2f39f015ded8: Waiting 16:27:38 33b1e0a273af: Waiting 16:27:38 5d3b04190fa2: Waiting 16:27:38 3a2ae6a8a46f: Waiting 16:27:38 5c69ac0246d0: Verifying Checksum 16:27:38 5c69ac0246d0: Download complete 16:27:38 3a2ae6a8a46f: Download complete 16:27:38 33b1e0a273af: Verifying Checksum 16:27:38 33b1e0a273af: Download complete 16:27:38 5d3b04190fa2: Verifying Checksum 16:27:38 5d3b04190fa2: Download complete 16:27:38 ec43610c2a17: Verifying Checksum 16:27:38 ec43610c2a17: Download complete 16:27:38 5eb5b503b376: Verifying Checksum 16:27:38 5eb5b503b376: Download complete 16:27:38 2f39f015ded8: Download complete 16:27:39 5eb5b503b376: Pull complete 16:27:39 5c69ac0246d0: Pull complete 16:27:40 ec43610c2a17: Pull complete 16:27:40 3a2ae6a8a46f: Pull complete 16:27:40 33b1e0a273af: Pull complete 16:27:40 5d3b04190fa2: Pull complete 16:27:44 2f39f015ded8: Pull complete 16:27:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:27:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:27:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:44 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:27:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:27:46 $ docker top 44156786c48516fe25f02b06c48a62ee8cb9e0f4afbced4623af922a9814b897 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:47 ---> job-cost.sh 16:27:47 lf-activate-venv: SKIPPING 16:27:47 INFO: No Stack... 16:27:47 INFO: Retrieving Pricing Info for: v3-standard-8 16:27:48 INFO: Archiving Costs [Pipeline] sh 16:27:48 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 16:27:48 + cut -d, -f6 [Pipeline] lock 16:27:48 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] 16:27:48 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] did not exist. Created. 16:27:48 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:27:48 + echo total: 0.2199999988079071 [Pipeline] stash 16:27:48 Stashed 1 file(s) [Pipeline] } 16:27:48 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 16:27:48 $ docker stop --time=1 44156786c48516fe25f02b06c48a62ee8cb9e0f4afbced4623af922a9814b897 16:27:50 $ docker rm -f 44156786c48516fe25f02b06c48a62ee8cb9e0f4afbced4623af922a9814b897 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:29:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-611 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 16:29:03 Running in /w/workspace/app-rfid-llrp-inventory/55 [Pipeline] { [Pipeline] checkout 16:29:03 The recommended git tool is: git 16:29:08 using credential edgex-jenkins-ssh 16:29:08 Cloning the remote Git repository 16:29:08 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:29:08 > git init /w/workspace/app-rfid-llrp-inventory/55 # timeout=10 16:29:09 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:29:09 > git --version # timeout=10 16:29:09 > git --version # 'git version 2.25.1' 16:29:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:29:09 Verifying host key using known hosts file 16:29:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:29:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:29:12 Avoid second fetch 16:29:12 Checking out Revision d157eb815d7fbd973ad52ac1343ba67c62e80469 (main) 16:29:11 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:29:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:29:13 Commit message: "build: Add option to build Service with NATS Capability (#109)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:29:12 > git config core.sparsecheckout # timeout=10 16:29:12 > git checkout -f d157eb815d7fbd973ad52ac1343ba67c62e80469 # timeout=10 16:29:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:29:14 % Total % Received % Xferd Average Speed Time Time Time Current 16:29:14 Dload Upload Total Spent Left Speed 16:29:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh 16:29:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:29:15 + sudo tee /etc/docker/daemon.new 16:29:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:29:15 { 16:29:15 "registry-mirrors": [ 16:29:15 "https://nexus3.edgexfoundry.org:10001" 16:29:15 ], 16:29:15 "bip": "10.250.0.254/24", 16:29:15 "hosts": [ 16:29:15 "tcp://0.0.0.0:5555", 16:29:15 "unix:///var/run/docker.sock" 16:29:15 ], 16:29:15 "mtu": 1458, 16:29:15 "selinux-enabled": true, 16:29:15 "seccomp-profile": "/etc/docker/seccomp.json" 16:29:15 } [Pipeline] sh 16:29:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:29:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:34 provisioning config files... 16:29:34 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/55@tmp/config13348700087864427271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:34 ---> docker-login.sh 16:29:34 nexus3.edgexfoundry.org:10001 16:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:35 Configure a credential helper to remove this warning. See 16:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:35 16:29:35 Login Succeeded 16:29:35 nexus3.edgexfoundry.org:10002 16:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:35 Configure a credential helper to remove this warning. See 16:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:35 16:29:35 Login Succeeded 16:29:35 nexus3.edgexfoundry.org:10003 16:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:35 Configure a credential helper to remove this warning. See 16:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:35 16:29:35 Login Succeeded 16:29:35 nexus3.edgexfoundry.org:10004 16:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:36 Configure a credential helper to remove this warning. See 16:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:36 16:29:36 Login Succeeded 16:29:36 docker.io 16:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:36 Configure a credential helper to remove this warning. See 16:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:36 16:29:36 Login Succeeded 16:29:36 ---> docker-login.sh ends [Pipeline] } 16:29:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:37 ========================================================= 16:29:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:29:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:37 + 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:29:37 Sending build context to Docker daemon 683kB 16:29:37 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:29:37 Step 2/14 : FROM ${BASE} AS builder 16:29:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:29:38 b3c136eddcbf: Pulling fs layer 16:29:38 c0a3192eca97: Pulling fs layer 16:29:38 a050256f5b6f: Pulling fs layer 16:29:38 656be50a0ddc: Pulling fs layer 16:29:38 2bbca73fdf42: Pulling fs layer 16:29:38 46d945488cbd: Pulling fs layer 16:29:38 8a5474983e97: Pulling fs layer 16:29:38 329c88fbcd65: Pulling fs layer 16:29:38 656be50a0ddc: Waiting 16:29:38 46d945488cbd: Waiting 16:29:38 2bbca73fdf42: Waiting 16:29:38 8a5474983e97: Waiting 16:29:38 329c88fbcd65: Waiting 16:29:38 a050256f5b6f: Verifying Checksum 16:29:38 a050256f5b6f: Download complete 16:29:38 c0a3192eca97: Verifying Checksum 16:29:38 c0a3192eca97: Download complete 16:29:38 2bbca73fdf42: Verifying Checksum 16:29:38 2bbca73fdf42: Download complete 16:29:38 46d945488cbd: Verifying Checksum 16:29:38 46d945488cbd: Download complete 16:29:38 b3c136eddcbf: Verifying Checksum 16:29:38 b3c136eddcbf: Download complete 16:29:39 b3c136eddcbf: Pull complete 16:29:39 329c88fbcd65: Verifying Checksum 16:29:39 329c88fbcd65: Download complete 16:29:39 c0a3192eca97: Pull complete 16:29:40 a050256f5b6f: Pull complete 16:29:40 8a5474983e97: Verifying Checksum 16:29:40 8a5474983e97: Download complete 16:29:41 656be50a0ddc: Verifying Checksum 16:29:53 656be50a0ddc: Pull complete 16:29:53 2bbca73fdf42: Pull complete 16:29:53 46d945488cbd: Pull complete 16:29:58 8a5474983e97: Pull complete 16:30:00 329c88fbcd65: Pull complete 16:30:01 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:30:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:30:01 ---> ff4287adb874 16:30:01 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:30:03 ---> Running in de101c4e7f0d 16:30:03 Removing intermediate container de101c4e7f0d 16:30:03 ---> 3ebc31f70b0e 16:30:03 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 16:30:03 ---> Running in 439981c7c52a 16:30:03 Removing intermediate container 439981c7c52a 16:30:03 ---> 96a608c31277 16:30:03 Step 5/14 : ARG ADD_BUILD_TAGS="" 16:30:03 ---> Running in c7bb00396fbb 16:30:04 Removing intermediate container c7bb00396fbb 16:30:04 ---> c611520b7bc7 16:30:04 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:30:04 ---> Running in 306c3d0c7227 16:30:04 Removing intermediate container 306c3d0c7227 16:30:04 ---> 6aa070e5d81e 16:30:04 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:30:04 ---> Running in 9a4b249fca0d 16:30:06 Removing intermediate container 9a4b249fca0d 16:30:06 ---> 93e2f98ea139 16:30:06 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:30:06 ---> Running in 5a83347e7ff4 16:30:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:30:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:30:09 OK: 221 MiB in 51 packages 16:30:10 Removing intermediate container 5a83347e7ff4 16:30:10 ---> 997c1a1eae32 16:30:10 Step 9/14 : WORKDIR /app 16:30:10 ---> Running in f2cb155c674d 16:30:10 Removing intermediate container f2cb155c674d 16:30:10 ---> a79fa8bef9f0 16:30:10 Step 10/14 : COPY go.mod vendor* ./ 16:30:11 ---> 5f0a48f80296 16:30:11 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:30:11 ---> Running in e12d4bbf4533 16:30:58 Removing intermediate container e12d4bbf4533 16:30:58 ---> 46dafe2b2875 16:30:58 Step 12/14 : COPY . . 16:30:58 ---> d9eead2db07d 16:30:58 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:30:59 ---> Running in 780ede525cda 16:30:59 Removing intermediate container 780ede525cda 16:30:59 ---> ffb69f4e1974 16:30:59 Step 14/14 : RUN $MAKE 16:30:59 ---> Running in 036f2bedb180 16:31:00 noop 16:31:00 Removing intermediate container 036f2bedb180 16:31:00 ---> 9c4ca8babcba 16:31:00 Successfully built 9c4ca8babcba 16:31:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:01 + docker inspect -f . ci-base-image-arm64 16:31:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:01 prd-ubuntu20.04-docker-arm64-4c-16g-611 does not seem to be running inside a container 16:31:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/55 -v /w/workspace/app-rfid-llrp-inventory/55:/w/workspace/app-rfid-llrp-inventory/55:rw,z -v /w/workspace/app-rfid-llrp-inventory/55@tmp:/w/workspace/app-rfid-llrp-inventory/55@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:31:03 $ docker top 57376a3144496e4b0f360384ea331bc125e5fea620f5161320f697a3a60ff372 -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:03 + go version 16:31:03 go version go1.18.3 linux/arm64 [Pipeline] } 16:31:03 $ docker stop --time=1 57376a3144496e4b0f360384ea331bc125e5fea620f5161320f697a3a60ff372 16:31:05 $ docker rm -f 57376a3144496e4b0f360384ea331bc125e5fea620f5161320f697a3a60ff372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:06 + docker inspect -f . ci-base-image-arm64 16:31:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:06 prd-ubuntu20.04-docker-arm64-4c-16g-611 does not seem to be running inside a container 16:31:06 $ 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/55 -v /w/workspace/app-rfid-llrp-inventory/55:/w/workspace/app-rfid-llrp-inventory/55:rw,z -v /w/workspace/app-rfid-llrp-inventory/55@tmp:/w/workspace/app-rfid-llrp-inventory/55@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:31:07 $ docker top a6d78911ca98388edd52af3a376c68158b97a56130f1e081cb7238cc7b48c64d -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:08 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/55 [Pipeline] fileExists [Pipeline] sh 16:31:09 + make test 16:31:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:32:45 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:32:45 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.160s coverage: 86.2% of statements 16:32:45 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:32:45 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.702s coverage: 71.9% of statements 16:32:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:32:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:33:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:33:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:33:12 ./bin/test-attribution.sh 16:33:12 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:33:12 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:33:12 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:33:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:33:12 $ docker stop --time=1 a6d78911ca98388edd52af3a376c68158b97a56130f1e081cb7238cc7b48c64d 16:33:14 $ docker rm -f a6d78911ca98388edd52af3a376c68158b97a56130f1e081cb7238cc7b48c64d [Pipeline] // withDockerContainer [Pipeline] sh 16:33:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:33:15 Warning: overwriting stash ‘coverage-report’ 16:33:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:33:16 + ls -al . 16:33:16 total 228 16:33:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:31 . 16:33:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:29 .. 16:33:16 -rw-rw-r-- 1 jenkins jenkins 262 Sep 22 16:29 .dockerignore 16:33:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:29 .git 16:33:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:29 .github 16:33:16 -rw-rw-r-- 1 jenkins jenkins 788 Sep 22 16:29 .gitignore 16:33:16 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 16:29 .golangci.yml 16:33:16 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 22 16:29 Attribution.txt 16:33:16 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 22 16:29 CHANGELOG.md 16:33:16 -rw-rw-r-- 1 jenkins jenkins 1993 Sep 22 16:29 Dockerfile 16:33:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:29 GOVERNANCE.md 16:33:16 -rw-rw-r-- 1 jenkins jenkins 687 Sep 22 16:29 Jenkinsfile 16:33:16 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 22 16:29 LICENSE 16:33:16 -rw-rw-r-- 1 jenkins jenkins 3163 Sep 22 16:29 Makefile 16:33:16 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 16:29 OWNERS.md 16:33:16 -rw-rw-r-- 1 jenkins jenkins 31023 Sep 22 16:29 README.md 16:33:16 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 16:25 VERSION 16:33:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:29 bin 16:33:16 -rw-r--r-- 1 jenkins jenkins 41008 Sep 22 16:32 coverage.out 16:33:16 -rw-rw-r-- 1 jenkins jenkins 3678 Sep 22 16:29 go.mod 16:33:16 -rw-rw-r-- 1 jenkins jenkins 38059 Sep 22 16:29 go.sum 16:33:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:29 images 16:33:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:29 internal 16:33:16 -rw-rw-r-- 1 jenkins jenkins 531 Sep 22 16:29 main.go 16:33:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:29 res 16:33:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:29 snap 16:33:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:29 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:17 + 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=d157eb815d7fbd973ad52ac1343ba67c62e80469 --label arch=arm64 --label version=2.3.0-dev.15 . 16:33:17 Sending build context to Docker daemon 683kB 16:33:17 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 16:33:17 Step 2/32 : FROM ${BASE} AS builder 16:33:17 ---> 9c4ca8babcba 16:33:17 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:33:17 ---> Running in 987008004faf 16:33:17 Removing intermediate container 987008004faf 16:33:17 ---> dd966e65bf6b 16:33:17 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 16:33:17 ---> Running in 83c08a076544 16:33:18 Removing intermediate container 83c08a076544 16:33:18 ---> b92695eb5a4e 16:33:18 Step 5/32 : ARG ADD_BUILD_TAGS="" 16:33:18 ---> Running in 79990ac111a5 16:33:18 Removing intermediate container 79990ac111a5 16:33:18 ---> 4ef4690d6bc2 16:33:18 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:33:18 ---> Running in 7f9141589443 16:33:18 Removing intermediate container 7f9141589443 16:33:18 ---> 781b4f94c92b 16:33:18 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:33:18 ---> Running in 34520197edb6 16:33:20 Removing intermediate container 34520197edb6 16:33:20 ---> 4ceb7bc1eda5 16:33:20 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:33:20 ---> Running in 585d25c4ab6e 16:33:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:33:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:33:23 OK: 221 MiB in 51 packages 16:33:24 Removing intermediate container 585d25c4ab6e 16:33:24 ---> abb699cdd8c3 16:33:24 Step 9/32 : WORKDIR /app 16:33:25 ---> Running in ed415ee97e43 16:33:25 Removing intermediate container ed415ee97e43 16:33:25 ---> f1361d9b34dd 16:33:25 Step 10/32 : COPY go.mod vendor* ./ 16:33:25 ---> c95080cb3aa3 16:33:25 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:33:25 ---> Running in 739aa856b46d 16:33:27 Removing intermediate container 739aa856b46d 16:33:27 ---> 94b680563560 16:33:27 Step 12/32 : COPY . . 16:33:28 ---> a76040d9edbf 16:33:28 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:33:28 ---> Running in 9e9fe959bd89 16:33:29 Removing intermediate container 9e9fe959bd89 16:33:29 ---> 38556ee29757 16:33:29 Step 14/32 : RUN $MAKE 16:33:29 ---> Running in 004608244f48 16:33:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.15 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 16:36:06 Removing intermediate container 004608244f48 16:36:06 ---> ec4849b7e88f 16:36:06 Step 15/32 : FROM alpine:3.14 16:36:06 3.14: Pulling from library/alpine 16:36:06 90cda3b7c325: Pulling fs layer 16:36:06 90cda3b7c325: Download complete 16:36:06 90cda3b7c325: Pull complete 16:36:06 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 16:36:06 Status: Downloaded newer image for alpine:3.14 16:36:06 ---> 376ba31ae3da 16:36:06 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:36:06 ---> Running in ead4a3b54ca9 16:36:06 Removing intermediate container ead4a3b54ca9 16:36:06 ---> c288fc8fb532 16:36:06 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:36:06 ---> Running in 2ea1dc5e85dc 16:36:06 Removing intermediate container 2ea1dc5e85dc 16:36:06 ---> dda53794139b 16:36:06 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:36:06 ---> Running in 30880db12f14 16:36:06 Removing intermediate container 30880db12f14 16:36:06 ---> 4f1623114422 16:36:06 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 16:36:06 ---> Running in ae4b7e085634 16:36:06 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:36:07 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:36:08 (1/7) Installing ca-certificates (20220614-r0) 16:36:08 (2/7) Installing dumb-init (1.2.5-r1) 16:36:08 (3/7) Installing libgcc (10.3.1_git20210424-r2) 16:36:08 (4/7) Installing libsodium (1.0.18-r0) 16:36:08 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 16:36:09 (6/7) Installing libzmq (4.3.4-r0) 16:36:09 (7/7) Installing zeromq (4.3.4-r0) 16:36:09 Executing busybox-1.33.1-r8.trigger 16:36:09 Executing ca-certificates-20220614-r0.trigger 16:36:09 OK: 9 MiB in 21 packages 16:36:10 Removing intermediate container ae4b7e085634 16:36:10 ---> 5b6eb31ba3d4 16:36:10 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:36:11 ---> c8b5c5d3dd42 16:36:11 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 16:36:11 ---> 6ac59ca19888 16:36:11 Step 22/32 : COPY --from=builder /app/res/ /res/ 16:36:12 ---> 2bc783952d4c 16:36:12 Step 23/32 : COPY --from=builder /app/static/ /static/ 16:36:12 ---> 8c81c6bb35aa 16:36:12 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:36:14 ---> 479c92ee2250 16:36:14 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:36:14 ---> Running in 4c20de85a58c 16:36:15 Removing intermediate container 4c20de85a58c 16:36:15 ---> 158246c8527e 16:36:15 Step 26/32 : VOLUME /cache 16:36:16 ---> Running in c88fa8ce48b6 16:36:16 Removing intermediate container c88fa8ce48b6 16:36:16 ---> 64168d77aafd 16:36:16 Step 27/32 : EXPOSE 59711 16:36:16 ---> Running in 4a6346122f46 16:36:16 Removing intermediate container 4a6346122f46 16:36:16 ---> 20445deb2679 16:36:16 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:36:16 ---> Running in 009b604a6d68 16:36:16 Removing intermediate container 009b604a6d68 16:36:16 ---> 0e054f7779a5 16:36:16 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 16:36:17 ---> Running in 465af2e1ea11 16:36:17 Removing intermediate container 465af2e1ea11 16:36:17 ---> f4f577e51f1b 16:36:17 Step 30/32 : LABEL arch=arm64 16:36:17 ---> Running in ba3ace0a014b 16:36:17 Removing intermediate container ba3ace0a014b 16:36:17 ---> 929ff6201397 16:36:17 Step 31/32 : LABEL git_sha=d157eb815d7fbd973ad52ac1343ba67c62e80469 16:36:17 ---> Running in cbf125b6c1fb 16:36:18 Removing intermediate container cbf125b6c1fb 16:36:18 ---> e4dce71e0778 16:36:18 Step 32/32 : LABEL version=2.3.0-dev.15 16:36:18 ---> Running in 964d3957d593 16:36:18 Removing intermediate container 964d3957d593 16:36:18 ---> 03b9a9f6cf1e 16:36:18 [Warning] One or more build-args [ARCH] were not consumed 16:36:18 Successfully built 03b9a9f6cf1e 16:36:18 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:36:18 provisioning config files... 16:36:18 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/55@tmp/config1685481555572487097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:18 ---> docker-login.sh 16:36:18 nexus3.edgexfoundry.org:10001 16:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:19 Configure a credential helper to remove this warning. See 16:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:19 16:36:19 Login Succeeded 16:36:19 nexus3.edgexfoundry.org:10002 16:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:19 Configure a credential helper to remove this warning. See 16:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:19 16:36:19 Login Succeeded 16:36:19 nexus3.edgexfoundry.org:10003 16:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:19 Configure a credential helper to remove this warning. See 16:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:19 16:36:19 Login Succeeded 16:36:19 nexus3.edgexfoundry.org:10004 16:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:20 Configure a credential helper to remove this warning. See 16:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:20 16:36:20 Login Succeeded 16:36:20 docker.io 16:36:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:20 Configure a credential helper to remove this warning. See 16:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:20 16:36:20 Login Succeeded 16:36:20 ---> docker-login.sh ends [Pipeline] } 16:36:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:36:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:36:20 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 16:36:20 d157eb815d7fbd973ad52ac1343ba67c62e80469 16:36:20 latest 16:36:20 2.3.0-dev.15 16:36:20 d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 16:36:20 main 16:36:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:21 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:d157eb815d7fbd973ad52ac1343ba67c62e80469 16:36:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:36:21 9401891efaef: Preparing 16:36:21 709d446cf64a: Preparing 16:36:21 40ed92ef3bb8: Preparing 16:36:21 29b6e3bd01fd: Preparing 16:36:21 4ce8a4aaab8d: Preparing 16:36:21 dbd5f5b0ed2a: Preparing 16:36:21 53e2d4b8e321: Preparing 16:36:21 1730314edb69: Preparing 16:36:21 28c3ef001483: Preparing 16:36:21 dbd5f5b0ed2a: Waiting 16:36:21 53e2d4b8e321: Waiting 16:36:21 1730314edb69: Waiting 16:36:21 28c3ef001483: Waiting 16:36:21 9401891efaef: Pushed 16:36:21 29b6e3bd01fd: Pushed 16:36:21 40ed92ef3bb8: Pushed 16:36:21 4ce8a4aaab8d: Pushed 16:36:22 28c3ef001483: Layer already exists 16:36:22 dbd5f5b0ed2a: Pushed 16:36:22 1730314edb69: Pushed 16:36:23 53e2d4b8e321: Pushed 16:36:26 709d446cf64a: Pushed 16:36:26 d157eb815d7fbd973ad52ac1343ba67c62e80469: digest: sha256:bf2f82efda3b1bb8e9ee5b745ec6bbbe2d15faadc459c1169a586547c669dfa3 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:27 + 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:36:27 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 16:36:27 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:36:27 9401891efaef: Preparing 16:36:27 709d446cf64a: Preparing 16:36:27 40ed92ef3bb8: Preparing 16:36:27 29b6e3bd01fd: Preparing 16:36:27 4ce8a4aaab8d: Preparing 16:36:27 dbd5f5b0ed2a: Preparing 16:36:27 53e2d4b8e321: Preparing 16:36:27 1730314edb69: Preparing 16:36:27 28c3ef001483: Preparing 16:36:27 53e2d4b8e321: Waiting 16:36:27 28c3ef001483: Waiting 16:36:27 1730314edb69: Waiting 16:36:27 dbd5f5b0ed2a: Waiting 16:36:27 9401891efaef: Layer already exists 16:36:27 4ce8a4aaab8d: Layer already exists 16:36:27 40ed92ef3bb8: Layer already exists 16:36:27 709d446cf64a: Layer already exists 16:36:27 29b6e3bd01fd: Layer already exists 16:36:27 53e2d4b8e321: Layer already exists 16:36:27 dbd5f5b0ed2a: Layer already exists 16:36:27 1730314edb69: Layer already exists 16:36:27 28c3ef001483: Layer already exists 16:36:27 latest: digest: sha256:bf2f82efda3b1bb8e9ee5b745ec6bbbe2d15faadc459c1169a586547c669dfa3 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:28 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:28 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.15 16:36:28 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:36:28 9401891efaef: Preparing 16:36:28 709d446cf64a: Preparing 16:36:28 40ed92ef3bb8: Preparing 16:36:28 29b6e3bd01fd: Preparing 16:36:28 4ce8a4aaab8d: Preparing 16:36:28 dbd5f5b0ed2a: Preparing 16:36:28 53e2d4b8e321: Preparing 16:36:28 1730314edb69: Preparing 16:36:28 28c3ef001483: Preparing 16:36:28 dbd5f5b0ed2a: Waiting 16:36:28 53e2d4b8e321: Waiting 16:36:28 1730314edb69: Waiting 16:36:28 28c3ef001483: Waiting 16:36:28 9401891efaef: Layer already exists 16:36:28 29b6e3bd01fd: Layer already exists 16:36:28 4ce8a4aaab8d: Layer already exists 16:36:28 40ed92ef3bb8: Layer already exists 16:36:28 709d446cf64a: Layer already exists 16:36:28 1730314edb69: Layer already exists 16:36:28 dbd5f5b0ed2a: Layer already exists 16:36:28 53e2d4b8e321: Layer already exists 16:36:28 28c3ef001483: Layer already exists 16:36:28 2.3.0-dev.15: digest: sha256:bf2f82efda3b1bb8e9ee5b745ec6bbbe2d15faadc459c1169a586547c669dfa3 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:29 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:29 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 16:36:29 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:36:29 9401891efaef: Preparing 16:36:29 709d446cf64a: Preparing 16:36:29 40ed92ef3bb8: Preparing 16:36:29 29b6e3bd01fd: Preparing 16:36:29 4ce8a4aaab8d: Preparing 16:36:29 dbd5f5b0ed2a: Preparing 16:36:29 53e2d4b8e321: Preparing 16:36:29 1730314edb69: Preparing 16:36:29 28c3ef001483: Preparing 16:36:29 53e2d4b8e321: Waiting 16:36:29 1730314edb69: Waiting 16:36:29 dbd5f5b0ed2a: Waiting 16:36:29 28c3ef001483: Waiting 16:36:29 40ed92ef3bb8: Layer already exists 16:36:29 709d446cf64a: Layer already exists 16:36:29 4ce8a4aaab8d: Layer already exists 16:36:29 29b6e3bd01fd: Layer already exists 16:36:29 9401891efaef: Layer already exists 16:36:29 53e2d4b8e321: Layer already exists 16:36:29 dbd5f5b0ed2a: Layer already exists 16:36:29 28c3ef001483: Layer already exists 16:36:29 1730314edb69: Layer already exists 16:36:29 d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15: digest: sha256:bf2f82efda3b1bb8e9ee5b745ec6bbbe2d15faadc459c1169a586547c669dfa3 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:29 + 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:36:30 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 16:36:30 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 16:36:30 9401891efaef: Preparing 16:36:30 709d446cf64a: Preparing 16:36:30 40ed92ef3bb8: Preparing 16:36:30 29b6e3bd01fd: Preparing 16:36:30 4ce8a4aaab8d: Preparing 16:36:30 dbd5f5b0ed2a: Preparing 16:36:30 53e2d4b8e321: Preparing 16:36:30 1730314edb69: Preparing 16:36:30 28c3ef001483: Preparing 16:36:30 53e2d4b8e321: Waiting 16:36:30 1730314edb69: Waiting 16:36:30 28c3ef001483: Waiting 16:36:30 dbd5f5b0ed2a: Waiting 16:36:30 9401891efaef: Layer already exists 16:36:30 709d446cf64a: Layer already exists 16:36:30 29b6e3bd01fd: Layer already exists 16:36:30 40ed92ef3bb8: Layer already exists 16:36:30 4ce8a4aaab8d: Layer already exists 16:36:30 dbd5f5b0ed2a: Layer already exists 16:36:30 53e2d4b8e321: Layer already exists 16:36:30 28c3ef001483: Layer already exists 16:36:30 1730314edb69: Layer already exists 16:36:30 main: digest: sha256:bf2f82efda3b1bb8e9ee5b745ec6bbbe2d15faadc459c1169a586547c669dfa3 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:36:30 ===================================================== [Pipeline] echo 16:36:30 taggedImages: 16:36:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:d157eb815d7fbd973ad52ac1343ba67c62e80469 16:36:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 16:36:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.15 16:36:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:d157eb815d7fbd973ad52ac1343ba67c62e80469-2.3.0-dev.15 16:36:30 - 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:36:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:36:30 16:36:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:36:31 arm64: Pulling from edgex-lftools-log-publisher 16:36:31 8998bd30e6a1: Pulling fs layer 16:36:31 04944245beec: Pulling fs layer 16:36:31 699f458cf7ca: Pulling fs layer 16:36:31 765212b225bb: Pulling fs layer 16:36:31 f23df028b6ca: Pulling fs layer 16:36:31 d65c8cfc05b1: Pulling fs layer 16:36:31 2437ff75d9bd: Pulling fs layer 16:36:31 f23df028b6ca: Waiting 16:36:31 d65c8cfc05b1: Waiting 16:36:31 2437ff75d9bd: Waiting 16:36:31 765212b225bb: Waiting 16:36:31 04944245beec: Verifying Checksum 16:36:31 04944245beec: Download complete 16:36:31 765212b225bb: Verifying Checksum 16:36:31 765212b225bb: Download complete 16:36:31 f23df028b6ca: Download complete 16:36:31 d65c8cfc05b1: Verifying Checksum 16:36:31 d65c8cfc05b1: Download complete 16:36:31 699f458cf7ca: Verifying Checksum 16:36:31 699f458cf7ca: Download complete 16:36:32 8998bd30e6a1: Verifying Checksum 16:36:32 8998bd30e6a1: Download complete 16:36:34 2437ff75d9bd: Verifying Checksum 16:36:34 2437ff75d9bd: Download complete 16:36:36 8998bd30e6a1: Pull complete 16:36:36 04944245beec: Pull complete 16:36:37 699f458cf7ca: Pull complete 16:36:37 765212b225bb: Pull complete 16:36:38 f23df028b6ca: Pull complete 16:36:38 d65c8cfc05b1: Pull complete 16:36:53 2437ff75d9bd: Pull complete 16:36:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:36:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:36:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:54 prd-ubuntu20.04-docker-arm64-4c-16g-611 does not seem to be running inside a container 16:36:54 $ 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/55 -v /w/workspace/app-rfid-llrp-inventory/55:/w/workspace/app-rfid-llrp-inventory/55:rw,z -v /w/workspace/app-rfid-llrp-inventory/55@tmp:/w/workspace/app-rfid-llrp-inventory/55@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:36:56 $ docker top d5f2ad0d2c763ffa0bbf2af19f5a6b8b5aee270c677d17ced9d0949cf8677625 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:57 ---> job-cost.sh 16:36:57 lf-activate-venv: SKIPPING 16:36:57 INFO: No Stack... 16:36:58 INFO: Retrieving Pricing Info for: v3-standard-4 16:36:58 INFO: Archiving Costs [Pipeline] sh 16:36:59 + cat /w/workspace/app-rfid-llrp-inventory/55/archives/cost.csv 16:36:59 + cut -d, -f6 [Pipeline] lock 16:36:59 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] 16:36:59 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] did not exist. Created. 16:36:59 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:36:59 /w/workspace/app-rfid-llrp-inventory/55@tmp/durable-4f2b3768/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:37:00 + echo total: 0.10999999940395355 [Pipeline] stash 16:37:00 Warning: overwriting stash ‘stack-cost’ 16:37:00 Stashed 1 file(s) [Pipeline] } 16:37:00 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 16:37:00 $ docker stop --time=1 d5f2ad0d2c763ffa0bbf2af19f5a6b8b5aee270c677d17ced9d0949cf8677625 16:37:02 $ docker rm -f d5f2ad0d2c763ffa0bbf2af19f5a6b8b5aee270c677d17ced9d0949cf8677625 [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:37:02 provisioning config files... 16:37:02 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3665746829386382941tmp [Pipeline] { [Pipeline] sh 16:37:02 + set +x 16:37:02 + bash -s -- 16:37:02 + curl -s https://codecov.io/bash 16:37:02 16:37:02 _____ _ 16:37:02 / ____| | | 16:37:02 | | ___ __| | ___ ___ _____ __ 16:37:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:37:02 | |___| (_) | (_| | __/ (_| (_) \ V / 16:37:02 \_____\___/ \__,_|\___|\___\___/ \_/ 16:37:02 Bash-1.0.6 16:37:02 16:37:02 16:37:02 ==> git version 2.25.1 found 16:37:02 ==> 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:37:02 Release-Date: 2020-01-08 16:37:02 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:37:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:37:02 ==> Jenkins CI detected. 16:37:02 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 16:37:02 project root: . 16:37:02 --> token set from env 16:37:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:37:02 ==> Running gcov in . (disable via -X gcov) 16:37:02 ==> Python coveragepy not found 16:37:02 ==> Searching for coverage reports in: 16:37:02 + . 16:37:02 -> Found 1 reports 16:37:02 ==> Detecting git/mercurial file structure 16:37:02 ==> Reading reports 16:37:02 + ./coverage.out bytes=41008 16:37:02 ==> Appending adjustments 16:37:02 https://docs.codecov.io/docs/fixing-reports 16:37:02 + Found adjustments 16:37:02 ==> Gzipping contents 16:37:02 12K /tmp/codecov.U18kVx.gz 16:37:02 ==> Uploading reports 16:37:02 url: https://codecov.io 16:37:02 query: branch=main&commit=d157eb815d7fbd973ad52ac1343ba67c62e80469&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 16:37:02 -> Pinging Codecov 16:37:02 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=d157eb815d7fbd973ad52ac1343ba67c62e80469&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 16:37:03 -> Uploading to 16:37:03 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/581DD39554BDF9B6E22D074273EAD858/d157eb815d7fbd973ad52ac1343ba67c62e80469/dc00ca3d-5372-486e-8552-0c61c86c4b24.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T163703Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1806d60ab666b8979d4895357a93b07d6a47b880bb72f4e26933211bb9a4dcb0 16:37:03 % Total % Received % Xferd Average Speed Time Time Time Current 16:37:03 Dload Upload Total Spent Left Speed 16:37:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11458 0 0 100 11458 0 43900 --:--:-- --:--:-- --:--:-- 43900 16:37:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] } 16:37:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:37:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:37:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:37:03 16:37:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:37:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:37:04 df9b9388f04a: Pulling fs layer 16:37:04 52dc419b0ee2: Pulling fs layer 16:37:04 25bc292e5bac: Pulling fs layer 16:37:04 114826534d7a: Pulling fs layer 16:37:04 4657fd5d0bcf: Pulling fs layer 16:37:04 6ad1cebc031e: Pulling fs layer 16:37:04 8a3aa393b2d8: Pulling fs layer 16:37:04 114826534d7a: Waiting 16:37:04 6ad1cebc031e: Waiting 16:37:04 4657fd5d0bcf: Waiting 16:37:04 8a3aa393b2d8: Waiting 16:37:04 25bc292e5bac: Verifying Checksum 16:37:04 25bc292e5bac: Download complete 16:37:04 52dc419b0ee2: Verifying Checksum 16:37:04 52dc419b0ee2: Download complete 16:37:04 4657fd5d0bcf: Verifying Checksum 16:37:04 df9b9388f04a: Download complete 16:37:04 df9b9388f04a: Pull complete 16:37:04 6ad1cebc031e: Verifying Checksum 16:37:04 6ad1cebc031e: Download complete 16:37:04 52dc419b0ee2: Pull complete 16:37:04 25bc292e5bac: Pull complete 16:37:05 114826534d7a: Download complete 16:37:05 8a3aa393b2d8: Verifying Checksum 16:37:05 8a3aa393b2d8: Download complete 16:37:08 114826534d7a: Pull complete 16:37:08 4657fd5d0bcf: Pull complete 16:37:09 6ad1cebc031e: Pull complete 16:37:12 8a3aa393b2d8: Pull complete 16:37:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:37:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:37:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:12 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:37:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:37:14 $ docker top a9a43a14a81bedbb9013e838d9f355c95799e3fec694064e0572c2effeab68e2 -eo pid,comm [Pipeline] { [Pipeline] echo 16:37:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 16:37:15 + set -o pipefail 16:37:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 16:37:20 16:37:20 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 16:37:20 16:37:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/0dba95e4-d729-46f5-a025-842288c7f4bc 16:37:20 16:37:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:37:20 16:37:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:37:20 16:37:20 [Pipeline] } 16:37:20 $ docker stop --time=1 a9a43a14a81bedbb9013e838d9f355c95799e3fec694064e0572c2effeab68e2 16:37:22 $ docker rm -f a9a43a14a81bedbb9013e838d9f355c95799e3fec694064e0572c2effeab68e2 [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:37:23 + git log --format=format:%s -1 d157eb815d7fbd973ad52ac1343ba67c62e80469 [Pipeline] sh 16:37:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:37:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:23 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:37:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:37:24 $ docker top bf7f85b10df47dbbcf3de536483d4fd7dfa7febd27f9f7ee185346a3687bef70 -eo pid,comm 16:37:24 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:37:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:37:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:24 [ssh-agent] Looking for ssh-agent implementation... 16:37:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:24 $ docker exec bf7f85b10df47dbbcf3de536483d4fd7dfa7febd27f9f7ee185346a3687bef70 ssh-agent 16:37:24 SSH_AUTH_SOCK=/tmp/ssh-UlkqAXm9iMmW/agent.31 16:37:24 SSH_AGENT_PID=37 16:37:24 Running ssh-add (command line suppressed) 16:37:24 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_18387574476364045168.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_18387574476364045168.key) 16:37:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:25 + git semver tag 16:37:25 2022-09-22 16:37:25,199 [run_tag] DEBUG tag force:False 16:37:25 2022-09-22 16:37:25,199 [check_head_tag] DEBUG check head tag 16:37:25 2022-09-22 16:37:25,199 [execute] INFO git cat-file --batch-check 16:37:25 2022-09-22 16:37:25,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 16:37:25 2022-09-22 16:37:25,204 [execute] INFO git cat-file --batch 16:37:25 2022-09-22 16:37:25,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 16:37:25 2022-09-22 16:37:25,215 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:37:25 2022-09-22 16:37:25,215 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 16:37:25 2022-09-22 16:37:25,215 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 16:37:25 2022-09-22 16:37:25,221 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:37:25 2.3.0-dev.15 [Pipeline] } 16:37:25 $ docker exec --env ******** --env ******** bf7f85b10df47dbbcf3de536483d4fd7dfa7febd27f9f7ee185346a3687bef70 ssh-agent -k 16:37:25 unset SSH_AUTH_SOCK; 16:37:25 unset SSH_AGENT_PID; 16:37:25 echo Agent pid 37 killed; 16:37:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:25 + git semver [Pipeline] } 16:37:25 $ docker stop --time=1 bf7f85b10df47dbbcf3de536483d4fd7dfa7febd27f9f7ee185346a3687bef70 16:37:27 $ docker rm -f bf7f85b10df47dbbcf3de536483d4fd7dfa7febd27f9f7ee185346a3687bef70 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:37:27 16:37:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:37:27 0.23.1-centos7: Pulling from edgex-lftools 16:37:27 ab5ef0e58194: Pulling fs layer 16:37:27 9712f1f96733: Pulling fs layer 16:37:27 63f879dbbcfc: Pulling fs layer 16:37:27 0d9ebad4ef96: Pulling fs layer 16:37:27 e9a5061849ea: Pulling fs layer 16:37:27 d747dcd14b5f: Pulling fs layer 16:37:27 2de7ff778b66: Pulling fs layer 16:37:27 e9a5061849ea: Waiting 16:37:27 d747dcd14b5f: Waiting 16:37:27 0d9ebad4ef96: Waiting 16:37:27 2de7ff778b66: Waiting 16:37:27 9712f1f96733: Verifying Checksum 16:37:27 9712f1f96733: Download complete 16:37:28 63f879dbbcfc: Verifying Checksum 16:37:28 63f879dbbcfc: Download complete 16:37:28 0d9ebad4ef96: Verifying Checksum 16:37:28 0d9ebad4ef96: Download complete 16:37:28 d747dcd14b5f: Download complete 16:37:28 e9a5061849ea: Verifying Checksum 16:37:28 e9a5061849ea: Download complete 16:37:28 ab5ef0e58194: Download complete 16:37:28 2de7ff778b66: Verifying Checksum 16:37:28 2de7ff778b66: Download complete 16:37:31 ab5ef0e58194: Pull complete 16:37:31 9712f1f96733: Pull complete 16:37:31 63f879dbbcfc: Pull complete 16:37:35 0d9ebad4ef96: Pull complete 16:37:35 e9a5061849ea: Pull complete 16:37:35 d747dcd14b5f: Pull complete 16:37:36 2de7ff778b66: Pull complete 16:37:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:37:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:37:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:36 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:37:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:37:39 $ docker top 661095272dc66cc3f3efbc56812eddffc1a300bdf849762a5e5db225999b9d8b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:37:39 provisioning config files... 16:37:39 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config14788435137654325182tmp 16:37:39 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2293407736343915440tmp 16:37:39 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config12257156114112035706tmp [Pipeline] { [Pipeline] echo 16:37:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:37:40 ---> sigul-configuration.sh 16:37:40 gpg: directory `/root/.gnupg' created 16:37:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:37:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:37:40 gpg: keyring `/root/.gnupg/secring.gpg' created 16:37:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:37:40 gpg: CAST5 encrypted data 16:37:40 gpg: encrypted with 1 passphrase 16:37:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:37:40 + mkdir /home/jenkins 16:37:40 + mkdir /home/jenkins/sigul [Pipeline] sh 16:37:40 + 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:37:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:37:40 ---> sigul-install.sh 16:37:40 Sigul already installed; skipping installation. [Pipeline] sh 16:37:41 + git tag --list 16:37:41 v0.0.0 16:37:41 v1.0.0 16:37:41 v2.1.0 16:37:41 v2.1.1 16:37:41 v2.1.1-dev.1 16:37:41 v2.2.0 16:37:41 v2.2.1-dev.1 16:37:41 v2.2.1-dev.2 16:37:41 v2.2.1-dev.3 16:37:41 v2.2.1-dev.4 16:37:41 v2.2.1-dev.5 16:37:41 v2.2.1-dev.6 16:37:41 v2.2.1-dev.7 16:37:41 v2.3.0-dev.10 16:37:41 v2.3.0-dev.11 16:37:41 v2.3.0-dev.12 16:37:41 v2.3.0-dev.13 16:37:41 v2.3.0-dev.14 16:37:41 v2.3.0-dev.15 16:37:41 v2.3.0-dev.9 [Pipeline] sh 16:37:41 + lftools sign git-tag v2.3.0-dev.15 16:37:42 Signing Git tag with Sigul... 16:37:42 Signing v2.3.0-dev.15 [Pipeline] echo 16:37:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:37:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:37:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:37:42 $ docker stop --time=1 661095272dc66cc3f3efbc56812eddffc1a300bdf849762a5e5db225999b9d8b 16:37:44 $ docker rm -f 661095272dc66cc3f3efbc56812eddffc1a300bdf849762a5e5db225999b9d8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:37:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:37:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:44 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:37:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:37:45 $ docker top 81e785d0c208f13ed50c76060065ac9ea43024139a92d80bc13682c77b9042ad -eo pid,comm 16:37:45 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:37:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:37:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:45 [ssh-agent] Looking for ssh-agent implementation... 16:37:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:45 $ docker exec 81e785d0c208f13ed50c76060065ac9ea43024139a92d80bc13682c77b9042ad ssh-agent 16:37:45 SSH_AUTH_SOCK=/tmp/ssh-YhHea7nRlDUM/agent.32 16:37:45 SSH_AGENT_PID=38 16:37:45 Running ssh-add (command line suppressed) 16:37:45 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8626835217123198260.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8626835217123198260.key) 16:37:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:45 + git semver bump pre 16:37:46 2022-09-22 16:37:46,067 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:37:46 2022-09-22 16:37:46,067 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 16:37:46 2022-09-22 16:37:46,067 [bump_version] DEBUG bumped version:2.3.0-dev.16 16:37:46 2022-09-22 16:37:46,067 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 16:37:46 2022-09-22 16:37:46,067 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:37:46 2022-09-22 16:37:46,067 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:37:46 2022-09-22 16:37:46,069 [execute] INFO git cat-file --batch-check 16:37:46 2022-09-22 16:37:46,069 [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:37:46 2022-09-22 16:37:46,074 [execute] INFO git cat-file --batch 16:37:46 2022-09-22 16:37:46,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 16:37:46 2022-09-22 16:37:46,081 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:37:46 2.3.0-dev.16 [Pipeline] } 16:37:46 $ docker exec --env ******** --env ******** 81e785d0c208f13ed50c76060065ac9ea43024139a92d80bc13682c77b9042ad ssh-agent -k 16:37:46 unset SSH_AUTH_SOCK; 16:37:46 unset SSH_AGENT_PID; 16:37:46 echo Agent pid 38 killed; 16:37:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:46 + git semver [Pipeline] } 16:37:46 $ docker stop --time=1 81e785d0c208f13ed50c76060065ac9ea43024139a92d80bc13682c77b9042ad 16:37:48 $ docker rm -f 81e785d0c208f13ed50c76060065ac9ea43024139a92d80bc13682c77b9042ad [Pipeline] // withDockerContainer [Pipeline] sh 16:37:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:37:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:48 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:37: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:37:49 $ docker top b27b437a69df7864c1a960a73991b7c646b4abff2abc89c2a1371c36aa7d578c -eo pid,comm 16:37:49 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:37:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:37:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:49 [ssh-agent] Looking for ssh-agent implementation... 16:37:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:49 $ docker exec b27b437a69df7864c1a960a73991b7c646b4abff2abc89c2a1371c36aa7d578c ssh-agent 16:37:49 SSH_AUTH_SOCK=/tmp/ssh-Dozxgplm481M/agent.32 16:37:49 SSH_AGENT_PID=38 16:37:49 Running ssh-add (command line suppressed) 16:37:49 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16714688343968970583.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_16714688343968970583.key) 16:37:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:49 + git semver push 16:37:50 2022-09-22 16:37:50,085 [run_push] DEBUG push 16:37:50 2022-09-22 16:37:50,085 [execute] INFO git cat-file --batch-check 16:37:50 2022-09-22 16:37:50,085 [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:37:50 2022-09-22 16:37:50,089 [execute] INFO git rev-list 1f582e9642c39d161fd96c3c041c3521e54b5b9e -- 16:37:50 2022-09-22 16:37:50,089 [execute] DEBUG Popen(['git', 'rev-list', '1f582e9642c39d161fd96c3c041c3521e54b5b9e', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 16:37:50 2022-09-22 16:37:50,096 [execute] INFO git fetch -v origin 16:37:50 2022-09-22 16:37:50,096 [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:37:50 2022-09-22 16:37:50,630 [run_push] DEBUG no remote changes detected 16:37:50 2022-09-22 16:37:50,630 [execute] INFO git push origin semver 16:37:50 2022-09-22 16:37:50,631 [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:37:51 2022-09-22 16:37:51,442 [run_push] DEBUG push all version tags 16:37:51 2022-09-22 16:37:51,443 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:37:51 2022-09-22 16:37:51,443 [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:37:52 2022-09-22 16:37:52,272 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:37:52 2.3.0-dev.16 [Pipeline] } 16:37:52 $ docker exec --env ******** --env ******** b27b437a69df7864c1a960a73991b7c646b4abff2abc89c2a1371c36aa7d578c ssh-agent -k 16:37:52 unset SSH_AUTH_SOCK; 16:37:52 unset SSH_AGENT_PID; 16:37:52 echo Agent pid 38 killed; 16:37:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:53 + git semver [Pipeline] } 16:37:53 $ docker stop --time=1 b27b437a69df7864c1a960a73991b7c646b4abff2abc89c2a1371c36aa7d578c 16:37:54 $ docker rm -f b27b437a69df7864c1a960a73991b7c646b4abff2abc89c2a1371c36aa7d578c [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:37:55 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 16:37:55 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 16:37:55 total 16 16:37:55 drwxr-xr-x 3 root root 4096 Sep 22 16:27 . 16:37:55 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:37 .. 16:37:55 drwxr-xr-x 2 root root 4096 Sep 22 16:27 cost 16:37:55 -rw-r--r-- 1 root root 94 Sep 22 16:27 cost.csv 16:37:55 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 16:37:55 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 16:37:55 total 16 16:37:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:27 . 16:37:55 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:37 .. 16:37:55 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:27 cost 16:37:55 -rw-r--r-- 1 jenkins jenkins 94 Sep 22 16:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:37:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:37:56 ---> package-listing.sh 16:37:56 ++ facter osfamily 16:37:56 ++ tr '[:upper:]' '[:lower:]' 16:37:56 + OS_FAMILY=debian 16:37:56 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 16:37:56 + START_PACKAGES=/tmp/packages_start.txt 16:37:56 + END_PACKAGES=/tmp/packages_end.txt 16:37:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:37:56 + PACKAGES=/tmp/packages_start.txt 16:37:56 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 16:37:56 + PACKAGES=/tmp/packages_end.txt 16:37:56 + case "${OS_FAMILY}" in 16:37:56 + dpkg -l 16:37:56 + grep '^ii' 16:37:56 + '[' -f /tmp/packages_start.txt ']' 16:37:56 + '[' -f /tmp/packages_end.txt ']' 16:37:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:37:56 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 16:37:56 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 16:37:56 + 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:37:56 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:37:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:37:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:57 prd-ubuntu20.04-docker-8c-8g-609 does not seem to be running inside a container 16:37:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:37:57 $ docker top e817bdf3875795deb029c7f4af9c3b1731f0585c20672d04363aa424d0916053 -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:58 + touch /tmp/pre-build-complete [Pipeline] sh 16:37:58 + mkdir -p /var/log/sysstat [Pipeline] sh 16:37:58 + ls /var/log/sa-host 16:37:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:58 provisioning config files... 16:37:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config17818072224327833211tmp [Pipeline] { [Pipeline] echo 16:37:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:37:59 ---> create-netrc.sh [Pipeline] } 16:37:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:37:59 ---> python-tools-install.sh [Pipeline] echo 16:37:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:37:59 ---> sudo-logs.sh 16:37:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:37:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:38:00 ---> job-cost.sh 16:38:00 lf-activate-venv: SKIPPING 16:38:00 DEBUG: total: 0.2199999988079071 16:38:00 INFO: Retrieving Stack Cost... 16:38:00 INFO: Retrieving Pricing Info for: v3-standard-8 16:38:00 INFO: Archiving Costs [Pipeline] echo 16:38:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:38:01 ---> logs-deploy.sh 16:38:01 lf-activate-venv: SKIPPING 16:38:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/55 16:38:01 INFO: archiving workspace using pattern(s): 16:38:02 Archives upload complete. 16:38:02 INFO: archiving logs to Nexus