Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5c5033a0bec85948549d813e6099cab37f5f597 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-ssh17531639413885293524.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh9692763185091914158.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17192048259536486416.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh5359627113024611085.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-ssh18201913014818710737.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-117378’ Running on prd-ubuntu20.04-docker-8c-8g-117380 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 c5c5033a0bec85948549d813e6099cab37f5f597 (main) Commit message: "build: Update to latest SDK (#119)" > 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 c5c5033a0bec85948549d813e6099cab37f5f597 # timeout=10 > git rev-list --no-walk 76318d8d0ed5e6f9c337186f7bcc2221c50803e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:12:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:12:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:12:08 ========================================================= 21:12:08 EdgeX Global Pipelines Version Info 21:12:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:12:09 ------------------- 21:12:09 stable info: 21:12:09 ------------------- 21:12:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:12:09 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 21:12:09 Message: update stable to v1.0.243 21:12:09 ------------------- 21:12:09 experimental info: 21:12:09 ------------------- 21:12:09 Commited By: **** collab-it+edgex@linuxfoundation.org 21:12:09 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 21:12:09 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:12:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:12:09 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:12:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:12:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:12:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5c5033 [Pipeline] echo 21:12:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:10 provisioning config files... 21:12:10 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2916627230117354949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:10 ---> docker-login.sh 21:12:10 nexus3.edgexfoundry.org:10001 21:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:11 Configure a credential helper to remove this warning. See 21:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:11 21:12:11 Login Succeeded 21:12:11 nexus3.edgexfoundry.org:10002 21:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:11 Configure a credential helper to remove this warning. See 21:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:11 21:12:11 Login Succeeded 21:12:11 nexus3.edgexfoundry.org:10003 21:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:11 Configure a credential helper to remove this warning. See 21:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:11 21:12:11 Login Succeeded 21:12:11 nexus3.edgexfoundry.org:10004 21:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:11 Configure a credential helper to remove this warning. See 21:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:11 21:12:11 Login Succeeded 21:12:11 docker.io 21:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:12 Configure a credential helper to remove this warning. See 21:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:12 21:12:12 Login Succeeded 21:12:12 ---> docker-login.sh ends [Pipeline] } 21:12:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:12:12 + git rev-list -1 --merges c5c5033a0bec85948549d813e6099cab37f5f597~1..c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] echo 21:12:12 -----------> git rev-list -1 --merges c5c5033a0bec85948549d813e6099cab37f5f597~1..c5c5033a0bec85948549d813e6099cab37f5f597 c5c5033a0bec85948549d813e6099cab37f5f597 [false] [Pipeline] sh 21:12:13 + git log --format=format:%s -1 c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] echo 21:12:13 ========================================================= 21:12:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:12:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:13 + git log --format=format:%s -1 c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] echo 21:12:13 [semverPrep] GIT_COMMIT: c5c5033a0bec85948549d813e6099cab37f5f597, Commit Message: build: Update to latest SDK (#119) [Pipeline] echo 21:12:13 [semverPrep] This is not a build commit. [Pipeline] sh 21:12:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:13 + grep -v github /etc/ssh/ssh_known_hosts 21:12:13 + [ -e /tmp/ssh_known_hosts ] 21:12:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:12:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:12:13 + sudo tee -a /etc/ssh/ssh_known_hosts 21:12:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:14 21:12:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:14 0.1.4: Pulling from edgex-devops/py-git-semver 21:12:14 b85a868b505f: Pulling fs layer 21:12:14 e2be974225ed: Pulling fs layer 21:12:14 339a4e72a1f5: Pulling fs layer 21:12:14 988bab9f4d93: Pulling fs layer 21:12:14 1469e6f7b9e6: Pulling fs layer 21:12:14 eaf3925da568: Pulling fs layer 21:12:14 bab4dde63d76: Pulling fs layer 21:12:14 bde34c3a00c8: Pulling fs layer 21:12:14 b352a97aabf1: Pulling fs layer 21:12:14 4872d77fe225: Pulling fs layer 21:12:14 5851b861e8e6: Pulling fs layer 21:12:14 1469e6f7b9e6: Waiting 21:12:14 988bab9f4d93: Waiting 21:12:14 eaf3925da568: Waiting 21:12:14 b352a97aabf1: Waiting 21:12:14 4872d77fe225: Waiting 21:12:14 5851b861e8e6: Waiting 21:12:14 bab4dde63d76: Waiting 21:12:14 e2be974225ed: Download complete 21:12:14 988bab9f4d93: Verifying Checksum 21:12:14 988bab9f4d93: Download complete 21:12:14 1469e6f7b9e6: Verifying Checksum 21:12:14 1469e6f7b9e6: Download complete 21:12:14 eaf3925da568: Verifying Checksum 21:12:14 eaf3925da568: Download complete 21:12:14 339a4e72a1f5: Verifying Checksum 21:12:14 339a4e72a1f5: Download complete 21:12:14 bde34c3a00c8: Verifying Checksum 21:12:14 bde34c3a00c8: Download complete 21:12:14 b352a97aabf1: Download complete 21:12:14 4872d77fe225: Verifying Checksum 21:12:14 4872d77fe225: Download complete 21:12:14 5851b861e8e6: Verifying Checksum 21:12:14 5851b861e8e6: Download complete 21:12:14 b85a868b505f: Verifying Checksum 21:12:14 b85a868b505f: Download complete 21:12:15 bab4dde63d76: Verifying Checksum 21:12:15 bab4dde63d76: Download complete 21:12:15 b85a868b505f: Pull complete 21:12:15 e2be974225ed: Pull complete 21:12:16 339a4e72a1f5: Pull complete 21:12:16 988bab9f4d93: Pull complete 21:12:16 1469e6f7b9e6: Pull complete 21:12:16 eaf3925da568: Pull complete 21:12:18 bab4dde63d76: Pull complete 21:12:18 bde34c3a00c8: Pull complete 21:12:18 b352a97aabf1: Pull complete 21:12:18 4872d77fe225: Pull complete 21:12:18 5851b861e8e6: Pull complete 21:12:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:12:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:19 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:12:19 $ 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 21:12:22 $ docker top f4c7c97545b21afc10f5ab1dfa48e2c1a66ece55045675789b7f67722d46da98 -eo pid,comm 21:12:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:12:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:22 [ssh-agent] Looking for ssh-agent implementation... 21:12:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:22 $ docker exec f4c7c97545b21afc10f5ab1dfa48e2c1a66ece55045675789b7f67722d46da98 ssh-agent 21:12:22 SSH_AUTH_SOCK=/tmp/ssh-PRRIqD1YkeQN/agent.32 21:12:22 SSH_AGENT_PID=38 21:12:22 Running ssh-add (command line suppressed) 21:12:22 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2224749618260586789.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2224749618260586789.key) 21:12:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:22 + git tag --points-at HEAD [Pipeline] } 21:12:22 $ docker exec --env ******** --env ******** f4c7c97545b21afc10f5ab1dfa48e2c1a66ece55045675789b7f67722d46da98 ssh-agent -k 21:12:22 unset SSH_AUTH_SOCK; 21:12:22 unset SSH_AGENT_PID; 21:12:22 echo Agent pid 38 killed; 21:12:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:12:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:22 [ssh-agent] Looking for ssh-agent implementation... 21:12:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:23 $ docker exec f4c7c97545b21afc10f5ab1dfa48e2c1a66ece55045675789b7f67722d46da98 ssh-agent 21:12:23 SSH_AUTH_SOCK=/tmp/ssh-zTJGPvcAV89M/agent.72 21:12:23 SSH_AGENT_PID=78 21:12:23 Running ssh-add (command line suppressed) 21:12:23 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7011400613687981213.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7011400613687981213.key) 21:12:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:23 + git semver init 21:12:23 2022-10-26 21:12:23,924 [run_init] DEBUG init version:0.0.0 force:False 21:12:23 2022-10-26 21:12:23,925 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:12:23 2022-10-26 21:12:23,925 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:12:23 2022-10-26 21:12:23,925 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:12:25 2022-10-26 21:12:25,200 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 21:12:25 2022-10-26 21:12:25,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 21:12:25 2022-10-26 21:12:25,201 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:25 2022-10-26 21:12:25,201 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:25 2.3.0-dev.23 [Pipeline] } 21:12:25 $ docker exec --env ******** --env ******** f4c7c97545b21afc10f5ab1dfa48e2c1a66ece55045675789b7f67722d46da98 ssh-agent -k 21:12:25 unset SSH_AUTH_SOCK; 21:12:25 unset SSH_AGENT_PID; 21:12:25 echo Agent pid 78 killed; 21:12:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:25 + git semver [Pipeline] } 21:12:26 $ docker stop --time=1 f4c7c97545b21afc10f5ab1dfa48e2c1a66ece55045675789b7f67722d46da98 21:12:27 $ docker rm -f f4c7c97545b21afc10f5ab1dfa48e2c1a66ece55045675789b7f67722d46da98 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:12:27 Stashed 1 file(s) [Pipeline] echo 21:12:27 [edgeXSemver]: initialized semver on version 2.3.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:27 provisioning config files... 21:12:27 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4448923568942568587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:28 ---> docker-login.sh 21:12:28 nexus3.edgexfoundry.org:10001 21:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:28 Configure a credential helper to remove this warning. See 21:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:28 21:12:28 Login Succeeded 21:12:28 nexus3.edgexfoundry.org:10002 21:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:28 Configure a credential helper to remove this warning. See 21:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:28 21:12:28 Login Succeeded 21:12:28 nexus3.edgexfoundry.org:10003 21:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:28 Configure a credential helper to remove this warning. See 21:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:28 21:12:28 Login Succeeded 21:12:28 nexus3.edgexfoundry.org:10004 21:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:28 Configure a credential helper to remove this warning. See 21:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:28 21:12:28 Login Succeeded 21:12:28 docker.io 21:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:29 Configure a credential helper to remove this warning. See 21:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:29 21:12:29 Login Succeeded 21:12:29 ---> docker-login.sh ends [Pipeline] } 21:12:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:29 ========================================================= 21:12:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:12:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:12:29 Sending build context to Docker daemon 12.51MB 21:12:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:12:29 Step 2/13 : FROM ${BASE} AS builder 21:12:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:12:29 213ec9aee27d: Pulling fs layer 21:12:29 4583459ba037: Pulling fs layer 21:12:29 93c1e223e6f2: Pulling fs layer 21:12:29 53926ce57604: Pulling fs layer 21:12:29 21b2b0c7a3f4: Pulling fs layer 21:12:29 30f14e443154: Pulling fs layer 21:12:29 801331c1e519: Pulling fs layer 21:12:29 99cc6dd402b0: Pulling fs layer 21:12:29 7d9ed39f4882: Pulling fs layer 21:12:29 21b2b0c7a3f4: Waiting 21:12:29 53926ce57604: Waiting 21:12:29 30f14e443154: Waiting 21:12:29 801331c1e519: Waiting 21:12:29 99cc6dd402b0: Waiting 21:12:29 93c1e223e6f2: Verifying Checksum 21:12:29 93c1e223e6f2: Download complete 21:12:29 4583459ba037: Verifying Checksum 21:12:29 4583459ba037: Download complete 21:12:29 21b2b0c7a3f4: Verifying Checksum 21:12:29 21b2b0c7a3f4: Download complete 21:12:29 30f14e443154: Verifying Checksum 21:12:29 30f14e443154: Download complete 21:12:29 213ec9aee27d: Verifying Checksum 21:12:29 213ec9aee27d: Download complete 21:12:29 801331c1e519: Verifying Checksum 21:12:29 801331c1e519: Download complete 21:12:29 213ec9aee27d: Pull complete 21:12:30 4583459ba037: Pull complete 21:12:30 93c1e223e6f2: Pull complete 21:12:30 7d9ed39f4882: Verifying Checksum 21:12:30 7d9ed39f4882: Download complete 21:12:30 99cc6dd402b0: Verifying Checksum 21:12:30 99cc6dd402b0: Download complete 21:12:30 53926ce57604: Verifying Checksum 21:12:30 53926ce57604: Download complete 21:12:34 53926ce57604: Pull complete 21:12:34 21b2b0c7a3f4: Pull complete 21:12:34 30f14e443154: Pull complete 21:12:34 801331c1e519: Pull complete 21:12:36 99cc6dd402b0: Pull complete 21:12:36 7d9ed39f4882: Pull complete 21:12:37 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 21:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:12:37 ---> 1dedd983c030 21:12:37 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:12:42 Still waiting to schedule task 21:12:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117379’ 21:12:43 ---> Running in 1f898acdd513 21:12:43 Removing intermediate container 1f898acdd513 21:12:43 ---> 039b2df7d08c 21:12:43 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:12:43 ---> Running in 8e5ad95fc154 21:12:43 Removing intermediate container 8e5ad95fc154 21:12:43 ---> d7b36a57dba1 21:12:43 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:12:43 ---> Running in 52d82b31b064 21:12:43 Removing intermediate container 52d82b31b064 21:12:43 ---> 65deca19f33b 21:12:43 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:12:43 ---> Running in c1a3250b20d3 21:12:43 Removing intermediate container c1a3250b20d3 21:12:43 ---> 2ff9f0718b76 21:12:43 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:43 ---> Running in facfde4337cc 21:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:12:44 OK: 211 MiB in 51 packages 21:12:44 Removing intermediate container facfde4337cc 21:12:44 ---> 242d12c62785 21:12:44 Step 8/13 : WORKDIR /app 21:12:44 ---> Running in 7d7e3c24e641 21:12:44 Removing intermediate container 7d7e3c24e641 21:12:44 ---> 5f7d08594f70 21:12:44 Step 9/13 : COPY go.mod vendor* ./ 21:12:44 ---> f07d03dc4a14 21:12:44 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:44 ---> Running in da87492fb693 21:13:11 Removing intermediate container da87492fb693 21:13:11 ---> 9c573e06d610 21:13:11 Step 11/13 : COPY . . 21:13:11 ---> c37416f3d041 21:13:11 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:11 ---> Running in da4c8d864876 21:13:11 Removing intermediate container da4c8d864876 21:13:11 ---> de5434da434a 21:13:11 Step 13/13 : RUN $MAKE 21:13:11 ---> Running in 117c8fce38fb 21:13:11 noop 21:13:11 Removing intermediate container 117c8fce38fb 21:13:11 ---> dfa6cb0ccf63 21:13:11 Successfully built dfa6cb0ccf63 21:13:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:11 + docker inspect -f . ci-base-image-x86_64 21:13:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:11 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:13:11 $ 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 21:13:12 $ docker top 5e386aa7bfe4e62b689c7a09882f5abf25e84437f6592961186d785fed512a4a -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:12 + go version 21:13:12 go version go1.18.7 linux/amd64 [Pipeline] } 21:13:12 $ docker stop --time=1 5e386aa7bfe4e62b689c7a09882f5abf25e84437f6592961186d785fed512a4a 21:13:14 $ docker rm -f 5e386aa7bfe4e62b689c7a09882f5abf25e84437f6592961186d785fed512a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:14 + docker inspect -f . ci-base-image-x86_64 21:13:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:14 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:13:14 $ 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 21:13:14 $ docker top d04a8d464921d88e9d66644b16c7bbeb542e14fde374dd0f90326515b33c734b -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:15 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 21:13:15 + make test 21:13:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:13:25 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:13:25 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.036s coverage: 86.2% of statements 21:13:25 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:13:28 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.552s coverage: 71.9% of statements 21:13:35 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:13:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:13:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:38 ./bin/test-attribution.sh [Pipeline] echo 21:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:38 $ docker stop --time=1 d04a8d464921d88e9d66644b16c7bbeb542e14fde374dd0f90326515b33c734b 21:13:41 $ docker rm -f d04a8d464921d88e9d66644b16c7bbeb542e14fde374dd0f90326515b33c734b [Pipeline] // withDockerContainer [Pipeline] sh 21:13:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:13:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:42 + ls -al . 21:13:42 total 236 21:13:42 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 21:13 . 21:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:12 .. 21:13:42 -rw-rw-r-- 1 jenkins jenkins 262 Oct 26 21:12 .dockerignore 21:13:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:13 .git 21:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:12 .github 21:13:42 -rw-rw-r-- 1 jenkins jenkins 788 Oct 26 21:12 .gitignore 21:13:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 21:12 .golangci.yml 21:13:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 21:12 .semver 21:13:42 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 26 21:12 Attribution.txt 21:13:42 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 26 21:12 CHANGELOG.md 21:13:42 -rw-rw-r-- 1 jenkins jenkins 1815 Oct 26 21:12 Dockerfile 21:13:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 21:12 GOVERNANCE.md 21:13:42 -rw-rw-r-- 1 jenkins jenkins 687 Oct 26 21:12 Jenkinsfile 21:13:42 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 26 21:12 LICENSE 21:13:42 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 26 21:12 Makefile 21:13:42 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 21:12 OWNERS.md 21:13:42 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 26 21:12 README.md 21:13:42 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 21:12 VERSION 21:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:12 bin 21:13:42 -rw-r--r-- 1 jenkins jenkins 41008 Oct 26 21:13 coverage.out 21:13:42 -rw-rw-r-- 1 jenkins jenkins 3646 Oct 26 21:12 go.mod 21:13:42 -rw-rw-r-- 1 jenkins jenkins 44955 Oct 26 21:12 go.sum 21:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:12 images 21:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:12 internal 21:13:42 -rw-rw-r-- 1 jenkins jenkins 531 Oct 26 21:12 main.go 21:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:12 res 21:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:12 snap 21:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:12 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:42 + 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=c5c5033a0bec85948549d813e6099cab37f5f597 --label arch=amd64 --label version=2.3.0-dev.23 . 21:13:42 Sending build context to Docker daemon 12.51MB 21:13:42 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 21:13:42 Step 2/30 : FROM ${BASE} AS builder 21:13:42 ---> dfa6cb0ccf63 21:13:42 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:13:43 ---> Running in b9f81a111cce 21:13:43 Removing intermediate container b9f81a111cce 21:13:43 ---> fc499a5d046f 21:13:43 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 21:13:43 ---> Running in a88b7fd650d0 21:13:43 Removing intermediate container a88b7fd650d0 21:13:43 ---> 2fa38b0f93f6 21:13:43 Step 5/30 : ARG ADD_BUILD_TAGS="" 21:13:43 ---> Running in d7dadd84ef8f 21:13:43 Removing intermediate container d7dadd84ef8f 21:13:43 ---> 2baf7a2bff8b 21:13:43 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:13:43 ---> Running in f135932b1690 21:13:43 Removing intermediate container f135932b1690 21:13:43 ---> bdb001cff1af 21:13:43 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:43 ---> Running in e14aa69c1774 21:13:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:13:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:13:44 OK: 211 MiB in 51 packages 21:13:44 Removing intermediate container e14aa69c1774 21:13:44 ---> 1dc64caee525 21:13:44 Step 8/30 : WORKDIR /app 21:13:44 ---> Running in 1bd304aef215 21:13:44 Removing intermediate container 1bd304aef215 21:13:44 ---> 2d4e5ae2fb2c 21:13:44 Step 9/30 : COPY go.mod vendor* ./ 21:13:44 ---> 9ad49b8f1301 21:13:44 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:44 ---> Running in d3f15e6b0d22 21:13:45 Removing intermediate container d3f15e6b0d22 21:13:45 ---> 354e7e719f38 21:13:45 Step 11/30 : COPY . . 21:13:45 ---> 27ce037e8fd0 21:13:45 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:45 ---> Running in 96bce64ce1de 21:13:45 Removing intermediate container 96bce64ce1de 21:13:45 ---> 193fb6037ca2 21:13:45 Step 13/30 : RUN $MAKE 21:13:45 ---> Running in 5821491a10fe 21:13:46 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.58 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.23 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:14:07 Removing intermediate container 5821491a10fe 21:14:07 ---> 8cbc3a5b6c06 21:14:07 Step 14/30 : FROM alpine:3.14 21:14:07 3.14: Pulling from library/alpine 21:14:07 c7ed990a2339: Pulling fs layer 21:14:07 c7ed990a2339: Verifying Checksum 21:14:07 c7ed990a2339: Download complete 21:14:07 c7ed990a2339: Pull complete 21:14:07 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:14:07 Status: Downloaded newer image for alpine:3.14 21:14:07 ---> dd53f409bf0b 21:14:07 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:14:07 ---> Running in 1d0c67fbbb7a 21:14:07 Removing intermediate container 1d0c67fbbb7a 21:14:07 ---> b393d375ac92 21:14:07 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:14:07 ---> Running in 4549d3fd3860 21:14:07 Removing intermediate container 4549d3fd3860 21:14:07 ---> 81d5eaf43524 21:14:07 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 21:14:08 ---> Running in 2b9cabf8e541 21:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:14:08 (1/7) Installing ca-certificates (20220614-r0) 21:14:08 (2/7) Installing dumb-init (1.2.5-r1) 21:14:08 (3/7) Installing libgcc (10.3.1_git20210424-r2) 21:14:08 (4/7) Installing libsodium (1.0.18-r0) 21:14:08 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 21:14:08 (6/7) Installing libzmq (4.3.4-r0) 21:14:08 (7/7) Installing zeromq (4.3.4-r0) 21:14:08 Executing busybox-1.33.1-r8.trigger 21:14:08 Executing ca-certificates-20220614-r0.trigger 21:14:08 OK: 9 MiB in 21 packages 21:14:09 Removing intermediate container 2b9cabf8e541 21:14:09 ---> ac23ad57c574 21:14:09 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:14:09 ---> 7dc9d0aa5003 21:14:09 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 21:14:09 ---> 5f689baae091 21:14:09 Step 20/30 : COPY --from=builder /app/res/ /res/ 21:14:09 ---> bc9bcfed4aa7 21:14:09 Step 21/30 : COPY --from=builder /app/static/ /static/ 21:14:09 ---> eaf1e8d30ffd 21:14:09 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:14:10 ---> fd838faa2285 21:14:10 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:14:10 ---> Running in 5db65176b251 21:14:11 Removing intermediate container 5db65176b251 21:14:11 ---> b91751d80571 21:14:11 Step 24/30 : VOLUME /cache 21:14:11 ---> Running in d9db451bcd41 21:14:11 Removing intermediate container d9db451bcd41 21:14:11 ---> 506dc6145d92 21:14:11 Step 25/30 : EXPOSE 59711 21:14:11 ---> Running in 67223857be17 21:14:11 Removing intermediate container 67223857be17 21:14:11 ---> 872984dc8a76 21:14:11 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:14:11 ---> Running in 29279696a059 21:14:11 Removing intermediate container 29279696a059 21:14:11 ---> b383ee7544c3 21:14:11 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:14:11 ---> Running in aafd20b3d72d 21:14:11 Removing intermediate container aafd20b3d72d 21:14:11 ---> 96247c03028d 21:14:11 Step 28/30 : LABEL arch=amd64 21:14:11 ---> Running in b245d3ada835 21:14:11 Removing intermediate container b245d3ada835 21:14:11 ---> c557185592d4 21:14:11 Step 29/30 : LABEL git_sha=c5c5033a0bec85948549d813e6099cab37f5f597 21:14:11 ---> Running in f580e52bfb2b 21:14:11 Removing intermediate container f580e52bfb2b 21:14:11 ---> 3a899ed644b1 21:14:11 Step 30/30 : LABEL version=2.3.0-dev.23 21:14:11 ---> Running in fe508a3e18ff 21:14:11 Removing intermediate container fe508a3e18ff 21:14:11 ---> bfd8cf84aec7 21:14:11 [Warning] One or more build-args [ARCH] were not consumed 21:14:11 Successfully built bfd8cf84aec7 21:14:11 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:11 provisioning config files... 21:14:11 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15310204047439834482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:12 ---> docker-login.sh 21:14:12 nexus3.edgexfoundry.org:10001 21:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:12 Configure a credential helper to remove this warning. See 21:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:12 21:14:12 Login Succeeded 21:14:12 nexus3.edgexfoundry.org:10002 21:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:12 Configure a credential helper to remove this warning. See 21:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:12 21:14:12 Login Succeeded 21:14:12 nexus3.edgexfoundry.org:10003 21:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:12 Configure a credential helper to remove this warning. See 21:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:12 21:14:12 Login Succeeded 21:14:12 nexus3.edgexfoundry.org:10004 21:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:12 Configure a credential helper to remove this warning. See 21:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:12 21:14:12 Login Succeeded 21:14:12 docker.io 21:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:13 Configure a credential helper to remove this warning. See 21:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:13 21:14:13 Login Succeeded 21:14:13 ---> docker-login.sh ends [Pipeline] } 21:14:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:14:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:13 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 21:14:13 c5c5033a0bec85948549d813e6099cab37f5f597 21:14:13 latest 21:14:13 2.3.0-dev.23 21:14:13 c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 21:14:13 main 21:14:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:13 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:13 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:c5c5033a0bec85948549d813e6099cab37f5f597 21:14:13 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:14:13 b908f4e15de9: Preparing 21:14:13 58389d0475f0: Preparing 21:14:13 bc8a5ec4177f: Preparing 21:14:13 8a219ff9a50a: Preparing 21:14:13 f36f6f29b7ed: Preparing 21:14:13 711b0275031d: Preparing 21:14:13 2c8fbf0956ea: Preparing 21:14:13 63493a9ab2d4: Preparing 21:14:13 2c8fbf0956ea: Waiting 21:14:13 711b0275031d: Waiting 21:14:13 63493a9ab2d4: Waiting 21:14:13 f36f6f29b7ed: Pushed 21:14:13 bc8a5ec4177f: Pushed 21:14:13 b908f4e15de9: Pushed 21:14:13 63493a9ab2d4: Layer already exists 21:14:13 711b0275031d: Pushed 21:14:13 8a219ff9a50a: Pushed 21:14:14 2c8fbf0956ea: Pushed 21:14:16 58389d0475f0: Pushed 21:14:16 c5c5033a0bec85948549d813e6099cab37f5f597: digest: sha256:b07f1b308e828d15975ea994ab6812144708c87377987c1e5ea4cbeab73e6c14 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:16 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:17 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:14:17 b908f4e15de9: Preparing 21:14:17 58389d0475f0: Preparing 21:14:17 bc8a5ec4177f: Preparing 21:14:17 8a219ff9a50a: Preparing 21:14:17 f36f6f29b7ed: Preparing 21:14:17 711b0275031d: Preparing 21:14:17 2c8fbf0956ea: Preparing 21:14:17 63493a9ab2d4: Preparing 21:14:17 711b0275031d: Waiting 21:14:17 2c8fbf0956ea: Waiting 21:14:17 63493a9ab2d4: Waiting 21:14:17 b908f4e15de9: Layer already exists 21:14:17 bc8a5ec4177f: Layer already exists 21:14:17 58389d0475f0: Layer already exists 21:14:17 8a219ff9a50a: Layer already exists 21:14:17 f36f6f29b7ed: Layer already exists 21:14:17 711b0275031d: Layer already exists 21:14:17 2c8fbf0956ea: Layer already exists 21:14:17 63493a9ab2d4: Layer already exists 21:14:17 latest: digest: sha256:b07f1b308e828d15975ea994ab6812144708c87377987c1e5ea4cbeab73e6c14 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:17 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:17 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.23 21:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:14:17 b908f4e15de9: Preparing 21:14:17 58389d0475f0: Preparing 21:14:17 bc8a5ec4177f: Preparing 21:14:17 8a219ff9a50a: Preparing 21:14:17 f36f6f29b7ed: Preparing 21:14:17 711b0275031d: Preparing 21:14:17 2c8fbf0956ea: Preparing 21:14:17 63493a9ab2d4: Preparing 21:14:17 2c8fbf0956ea: Waiting 21:14:17 711b0275031d: Waiting 21:14:17 58389d0475f0: Layer already exists 21:14:17 8a219ff9a50a: Layer already exists 21:14:17 f36f6f29b7ed: Layer already exists 21:14:17 b908f4e15de9: Layer already exists 21:14:17 bc8a5ec4177f: Layer already exists 21:14:17 63493a9ab2d4: Layer already exists 21:14:17 2c8fbf0956ea: Layer already exists 21:14:17 711b0275031d: Layer already exists 21:14:17 2.3.0-dev.23: digest: sha256:b07f1b308e828d15975ea994ab6812144708c87377987c1e5ea4cbeab73e6c14 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:18 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:18 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 21:14:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:14:18 b908f4e15de9: Preparing 21:14:18 58389d0475f0: Preparing 21:14:18 bc8a5ec4177f: Preparing 21:14:18 8a219ff9a50a: Preparing 21:14:18 f36f6f29b7ed: Preparing 21:14:18 711b0275031d: Preparing 21:14:18 2c8fbf0956ea: Preparing 21:14:18 63493a9ab2d4: Preparing 21:14:18 2c8fbf0956ea: Waiting 21:14:18 63493a9ab2d4: Waiting 21:14:18 711b0275031d: Waiting 21:14:18 bc8a5ec4177f: Layer already exists 21:14:18 8a219ff9a50a: Layer already exists 21:14:18 58389d0475f0: Layer already exists 21:14:18 b908f4e15de9: Layer already exists 21:14:18 f36f6f29b7ed: Layer already exists 21:14:18 711b0275031d: Layer already exists 21:14:18 63493a9ab2d4: Layer already exists 21:14:18 2c8fbf0956ea: Layer already exists 21:14:18 c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23: digest: sha256:b07f1b308e828d15975ea994ab6812144708c87377987c1e5ea4cbeab73e6c14 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:18 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:18 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 21:14:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:14:18 b908f4e15de9: Preparing 21:14:18 58389d0475f0: Preparing 21:14:18 bc8a5ec4177f: Preparing 21:14:18 8a219ff9a50a: Preparing 21:14:18 f36f6f29b7ed: Preparing 21:14:18 711b0275031d: Preparing 21:14:18 2c8fbf0956ea: Preparing 21:14:18 63493a9ab2d4: Preparing 21:14:18 2c8fbf0956ea: Waiting 21:14:18 63493a9ab2d4: Waiting 21:14:18 711b0275031d: Waiting 21:14:18 b908f4e15de9: Layer already exists 21:14:18 8a219ff9a50a: Layer already exists 21:14:18 f36f6f29b7ed: Layer already exists 21:14:18 bc8a5ec4177f: Layer already exists 21:14:18 58389d0475f0: Layer already exists 21:14:18 711b0275031d: Layer already exists 21:14:18 63493a9ab2d4: Layer already exists 21:14:18 2c8fbf0956ea: Layer already exists 21:14:18 main: digest: sha256:b07f1b308e828d15975ea994ab6812144708c87377987c1e5ea4cbeab73e6c14 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:14:19 ===================================================== [Pipeline] echo 21:14:19 taggedImages: 21:14:19 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:c5c5033a0bec85948549d813e6099cab37f5f597 21:14:19 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:14:19 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.23 21:14:19 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 21:14:19 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:19 21:14:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:19 latest: Pulling from edgex-lftools-log-publisher 21:14:19 5eb5b503b376: Pulling fs layer 21:14:19 5c69ac0246d0: Pulling fs layer 21:14:19 ec43610c2a17: Pulling fs layer 21:14:19 3a2ae6a8a46f: Pulling fs layer 21:14:19 33b1e0a273af: Pulling fs layer 21:14:19 5d3b04190fa2: Pulling fs layer 21:14:19 2f39f015ded8: Pulling fs layer 21:14:19 33b1e0a273af: Waiting 21:14:19 5d3b04190fa2: Waiting 21:14:19 2f39f015ded8: Waiting 21:14:19 3a2ae6a8a46f: Waiting 21:14:19 5c69ac0246d0: Verifying Checksum 21:14:19 5c69ac0246d0: Download complete 21:14:19 3a2ae6a8a46f: Download complete 21:14:19 33b1e0a273af: Verifying Checksum 21:14:19 33b1e0a273af: Download complete 21:14:19 5d3b04190fa2: Verifying Checksum 21:14:19 5d3b04190fa2: Download complete 21:14:19 ec43610c2a17: Verifying Checksum 21:14:19 ec43610c2a17: Download complete 21:14:19 5eb5b503b376: Verifying Checksum 21:14:19 5eb5b503b376: Download complete 21:14:20 2f39f015ded8: Download complete 21:14:21 5eb5b503b376: Pull complete 21:14:21 5c69ac0246d0: Pull complete 21:14:21 ec43610c2a17: Pull complete 21:14:21 3a2ae6a8a46f: Pull complete 21:14:22 33b1e0a273af: Pull complete 21:14:22 5d3b04190fa2: Pull complete 21:14:26 2f39f015ded8: Pull complete 21:14:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:14:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:26 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:14:26 $ 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 21:14:30 $ docker top 0480ca63b25fdd4bc6092261fe598dadaee2ef95b0abc5908ffc3b7d86b19646 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:30 ---> job-cost.sh 21:14:30 lf-activate-venv: SKIPPING 21:14:30 INFO: No Stack... 21:14:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:31 INFO: Archiving Costs [Pipeline] sh 21:14:31 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 21:14:31 + cut -d, -f6 [Pipeline] lock 21:14:31 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] 21:14:31 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] did not exist. Created. 21:14:31 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:31 + echo total: 0.2199999988079071 [Pipeline] stash 21:14:31 Stashed 1 file(s) [Pipeline] } 21:14:32 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:32 $ docker stop --time=1 0480ca63b25fdd4bc6092261fe598dadaee2ef95b0abc5908ffc3b7d86b19646 21:14:33 $ docker rm -f 0480ca63b25fdd4bc6092261fe598dadaee2ef95b0abc5908ffc3b7d86b19646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:16:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117381 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 21:16:08 Running in /w/workspace/app-rfid-llrp-inventory/63 [Pipeline] { [Pipeline] checkout 21:16:08 The recommended git tool is: git 21:16:13 using credential edgex-jenkins-ssh 21:16:13 Cloning the remote Git repository 21:16:13 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:16:13 > git init /w/workspace/app-rfid-llrp-inventory/63 # timeout=10 21:16:13 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:16:13 > git --version # timeout=10 21:16:13 > git --version # 'git version 2.25.1' 21:16:13 using GIT_SSH to set credentials SSH Credentials for GitHub 21:16:13 Verifying host key using known hosts file 21:16:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:16:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:16:19 Avoid second fetch 21:16:19 Checking out Revision c5c5033a0bec85948549d813e6099cab37f5f597 (main) 21:16:18 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:16:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:16:19 > git config core.sparsecheckout # timeout=10 21:16:19 > git checkout -f c5c5033a0bec85948549d813e6099cab37f5f597 # timeout=10 21:16:20 Commit message: "build: Update to latest SDK (#119)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:16:21 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:21 Dload Upload Total Spent Left Speed 21:16:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 34716 0 --:--:-- --:--:-- --:--:-- 34620 [Pipeline] sh 21:16:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:16:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:16:22 + sudo tee /etc/docker/daemon.new 21:16:22 { 21:16:22 "registry-mirrors": [ 21:16:22 "https://nexus3.edgexfoundry.org:10001" 21:16:22 ], 21:16:22 "bip": "10.250.0.254/24", 21:16:22 "hosts": [ 21:16:22 "tcp://0.0.0.0:5555", 21:16:22 "unix:///var/run/docker.sock" 21:16:22 ], 21:16:22 "mtu": 1458, 21:16:22 "selinux-enabled": true, 21:16:22 "seccomp-profile": "/etc/docker/seccomp.json" 21:16:22 } [Pipeline] sh 21:16:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:16:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:41 provisioning config files... 21:16:41 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/63@tmp/config16277341773518534410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:41 ---> docker-login.sh 21:16:41 nexus3.edgexfoundry.org:10001 21:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:42 Configure a credential helper to remove this warning. See 21:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:42 21:16:42 Login Succeeded 21:16:42 nexus3.edgexfoundry.org:10002 21:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:42 Configure a credential helper to remove this warning. See 21:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:42 21:16:42 Login Succeeded 21:16:42 nexus3.edgexfoundry.org:10003 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:43 Configure a credential helper to remove this warning. See 21:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:43 21:16:43 Login Succeeded 21:16:43 nexus3.edgexfoundry.org:10004 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:43 Configure a credential helper to remove this warning. See 21:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:43 21:16:43 Login Succeeded 21:16:43 docker.io 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:44 Configure a credential helper to remove this warning. See 21:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:44 21:16:44 Login Succeeded 21:16:44 ---> docker-login.sh ends [Pipeline] } 21:16:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:16:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:45 ========================================================= 21:16:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:16:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:16:45 Sending build context to Docker daemon 684.5kB 21:16:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:16:45 Step 2/13 : FROM ${BASE} AS builder 21:16:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:16:45 9b18e9b68314: Pulling fs layer 21:16:45 d32db5db7311: Pulling fs layer 21:16:45 d0c4b47475fc: Pulling fs layer 21:16:45 5831b945b038: Pulling fs layer 21:16:45 86bbec2aaacd: Pulling fs layer 21:16:45 e10730c5d714: Pulling fs layer 21:16:45 5dd5c2283517: Pulling fs layer 21:16:45 d5ac0230b979: Pulling fs layer 21:16:45 5831b945b038: Waiting 21:16:45 86bbec2aaacd: Waiting 21:16:45 e10730c5d714: Waiting 21:16:45 5dd5c2283517: Waiting 21:16:45 d5ac0230b979: Waiting 21:16:45 d0c4b47475fc: Verifying Checksum 21:16:45 d0c4b47475fc: Download complete 21:16:45 d32db5db7311: Download complete 21:16:45 86bbec2aaacd: Verifying Checksum 21:16:45 86bbec2aaacd: Download complete 21:16:45 9b18e9b68314: Verifying Checksum 21:16:45 9b18e9b68314: Download complete 21:16:45 e10730c5d714: Verifying Checksum 21:16:45 e10730c5d714: Download complete 21:16:46 9b18e9b68314: Pull complete 21:16:46 d5ac0230b979: Verifying Checksum 21:16:46 d5ac0230b979: Download complete 21:16:47 d32db5db7311: Pull complete 21:16:47 d0c4b47475fc: Pull complete 21:16:48 5dd5c2283517: Verifying Checksum 21:16:48 5dd5c2283517: Download complete 21:16:49 5831b945b038: Verifying Checksum 21:16:49 5831b945b038: Download complete 21:17:01 5831b945b038: Pull complete 21:17:01 86bbec2aaacd: Pull complete 21:17:01 e10730c5d714: Pull complete 21:17:07 5dd5c2283517: Pull complete 21:17:09 d5ac0230b979: Pull complete 21:17:09 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 21:17:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:17:09 ---> 59b3b1a385d4 21:17:09 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:17:09 ---> Running in e8783a3c3ed8 21:17:10 Removing intermediate container e8783a3c3ed8 21:17:10 ---> cfa9e6f36d81 21:17:10 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:17:10 ---> Running in a1e5f28f857e 21:17:10 Removing intermediate container a1e5f28f857e 21:17:10 ---> 1b708816a601 21:17:10 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:17:10 ---> Running in aa43ef11b25e 21:17:10 Removing intermediate container aa43ef11b25e 21:17:10 ---> 0c1c106a6989 21:17:10 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:17:10 ---> Running in 07a425f56b4e 21:17:11 Removing intermediate container 07a425f56b4e 21:17:11 ---> cbf0baa2b267 21:17:11 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:11 ---> Running in c398749902db 21:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:17:13 OK: 221 MiB in 51 packages 21:17:14 Removing intermediate container c398749902db 21:17:14 ---> 9ca94db32900 21:17:14 Step 8/13 : WORKDIR /app 21:17:14 ---> Running in 9a1470b610d5 21:17:14 Removing intermediate container 9a1470b610d5 21:17:14 ---> c0274ddf8548 21:17:14 Step 9/13 : COPY go.mod vendor* ./ 21:17:15 ---> e42e0260126a 21:17:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:15 ---> Running in c30f360a4070 21:19:37 Removing intermediate container c30f360a4070 21:19:37 ---> 95fb9312006c 21:19:37 Step 11/13 : COPY . . 21:19:37 ---> 47448123abdf 21:19:37 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:19:37 ---> Running in 983ea84aa3bb 21:19:37 Removing intermediate container 983ea84aa3bb 21:19:37 ---> 4f5f9a610b74 21:19:37 Step 13/13 : RUN $MAKE 21:19:37 ---> Running in e7bf0506e38a 21:19:37 noop 21:19:37 Removing intermediate container e7bf0506e38a 21:19:37 ---> 11ea414d6642 21:19:37 Successfully built 11ea414d6642 21:19:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:37 + docker inspect -f . ci-base-image-arm64 21:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:37 prd-ubuntu20.04-docker-arm64-4c-16g-117381 does not seem to be running inside a container 21:19:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/63 -v /w/workspace/app-rfid-llrp-inventory/63:/w/workspace/app-rfid-llrp-inventory/63:rw,z -v /w/workspace/app-rfid-llrp-inventory/63@tmp:/w/workspace/app-rfid-llrp-inventory/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:19:38 $ docker top c945b7eba9991b40660d18e1efd9f92f37b11a6d8697592cc3231499239ad0fa -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:39 + go version 21:19:39 go version go1.18.7 linux/arm64 [Pipeline] } 21:19:39 $ docker stop --time=1 c945b7eba9991b40660d18e1efd9f92f37b11a6d8697592cc3231499239ad0fa 21:19:42 $ docker rm -f c945b7eba9991b40660d18e1efd9f92f37b11a6d8697592cc3231499239ad0fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:43 + docker inspect -f . ci-base-image-arm64 21:19:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:43 prd-ubuntu20.04-docker-arm64-4c-16g-117381 does not seem to be running inside a container 21:19:43 $ 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/63 -v /w/workspace/app-rfid-llrp-inventory/63:/w/workspace/app-rfid-llrp-inventory/63:rw,z -v /w/workspace/app-rfid-llrp-inventory/63@tmp:/w/workspace/app-rfid-llrp-inventory/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:19:45 $ docker top daeeeb7b441580ad3b746fb00f5520938d41959ba7a32fe4ce4af996395e94f3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:45 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/63 [Pipeline] fileExists [Pipeline] sh 21:19:46 + make test 21:19:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:21:22 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:21:27 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.177s coverage: 86.2% of statements 21:21:27 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:21:35 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.746s coverage: 71.9% of statements 21:21:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:21:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:22:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:02 ./bin/test-attribution.sh [Pipeline] echo 21:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:22:02 $ docker stop --time=1 daeeeb7b441580ad3b746fb00f5520938d41959ba7a32fe4ce4af996395e94f3 21:22:03 $ docker rm -f daeeeb7b441580ad3b746fb00f5520938d41959ba7a32fe4ce4af996395e94f3 [Pipeline] // withDockerContainer [Pipeline] sh 21:22:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:04 Warning: overwriting stash ‘coverage-report’ 21:22:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:05 + ls -al . 21:22:05 total 232 21:22:05 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 21:19 . 21:22:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:16 .. 21:22:05 -rw-rw-r-- 1 jenkins jenkins 262 Oct 26 21:16 .dockerignore 21:22:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 21:16 .git 21:22:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:16 .github 21:22:05 -rw-rw-r-- 1 jenkins jenkins 788 Oct 26 21:16 .gitignore 21:22:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 21:16 .golangci.yml 21:22:05 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 26 21:16 Attribution.txt 21:22:05 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 26 21:16 CHANGELOG.md 21:22:05 -rw-rw-r-- 1 jenkins jenkins 1815 Oct 26 21:16 Dockerfile 21:22:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 21:16 GOVERNANCE.md 21:22:05 -rw-rw-r-- 1 jenkins jenkins 687 Oct 26 21:16 Jenkinsfile 21:22:05 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 26 21:16 LICENSE 21:22:05 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 26 21:16 Makefile 21:22:05 -rw-rw-r-- 1 jenkins jenkins 617 Oct 26 21:16 OWNERS.md 21:22:05 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 26 21:16 README.md 21:22:05 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 21:12 VERSION 21:22:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:16 bin 21:22:05 -rw-r--r-- 1 jenkins jenkins 41008 Oct 26 21:21 coverage.out 21:22:05 -rw-rw-r-- 1 jenkins jenkins 3646 Oct 26 21:16 go.mod 21:22:05 -rw-rw-r-- 1 jenkins jenkins 44955 Oct 26 21:16 go.sum 21:22:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:16 images 21:22:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:16 internal 21:22:05 -rw-rw-r-- 1 jenkins jenkins 531 Oct 26 21:16 main.go 21:22:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 21:16 res 21:22:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 21:16 snap 21:22:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 21:16 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:06 + 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=c5c5033a0bec85948549d813e6099cab37f5f597 --label arch=arm64 --label version=2.3.0-dev.23 . 21:22:06 Sending build context to Docker daemon 684.5kB 21:22:06 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 21:22:06 Step 2/30 : FROM ${BASE} AS builder 21:22:06 ---> 11ea414d6642 21:22:06 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:22:06 ---> Running in 91e277414ddb 21:22:06 Removing intermediate container 91e277414ddb 21:22:06 ---> 0bef817e5721 21:22:06 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 21:22:06 ---> Running in 87942c9de5d0 21:22:06 Removing intermediate container 87942c9de5d0 21:22:06 ---> d269f2ec3888 21:22:06 Step 5/30 : ARG ADD_BUILD_TAGS="" 21:22:07 ---> Running in 863ee71fd90a 21:22:07 Removing intermediate container 863ee71fd90a 21:22:07 ---> e126df0483cb 21:22:07 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:22:07 ---> Running in a66d1b3f4feb 21:22:07 Removing intermediate container a66d1b3f4feb 21:22:07 ---> c1ebb30ca0e0 21:22:07 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:07 ---> Running in 011457c516a7 21:22:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:22:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:22:09 OK: 221 MiB in 51 packages 21:22:10 Removing intermediate container 011457c516a7 21:22:10 ---> 1d8f21abb86a 21:22:10 Step 8/30 : WORKDIR /app 21:22:10 ---> Running in 8ddff1b95b94 21:22:11 Removing intermediate container 8ddff1b95b94 21:22:11 ---> 1be7013a332b 21:22:11 Step 9/30 : COPY go.mod vendor* ./ 21:22:11 ---> 12a48c521c4a 21:22:11 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:11 ---> Running in 9a5750bdcb34 21:22:13 Removing intermediate container 9a5750bdcb34 21:22:13 ---> 410b3d610486 21:22:13 Step 11/30 : COPY . . 21:22:14 ---> ee2b31fb6790 21:22:14 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:14 ---> Running in 27e36ba2efca 21:22:14 Removing intermediate container 27e36ba2efca 21:22:14 ---> f7839fe2393c 21:22:14 Step 13/30 : RUN $MAKE 21:22:14 ---> Running in cc021e1ec0c5 21:22:15 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.58 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.23 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:24:21 Removing intermediate container cc021e1ec0c5 21:24:21 ---> dabf09ac8bf6 21:24:21 Step 14/30 : FROM alpine:3.14 21:24:22 3.14: Pulling from library/alpine 21:24:22 90cda3b7c325: Pulling fs layer 21:24:23 90cda3b7c325: Verifying Checksum 21:24:23 90cda3b7c325: Download complete 21:24:23 90cda3b7c325: Pull complete 21:24:23 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:24:23 Status: Downloaded newer image for alpine:3.14 21:24:23 ---> 376ba31ae3da 21:24:23 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:24:23 ---> Running in 7817d92b4989 21:24:24 Removing intermediate container 7817d92b4989 21:24:24 ---> 63c2e9c7c218 21:24:24 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:24:24 ---> Running in 85c9eb1ccaef 21:24:24 Removing intermediate container 85c9eb1ccaef 21:24:24 ---> a55ff502f848 21:24:24 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 21:24:24 ---> Running in b6e5e2f6d713 21:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:24:26 (1/7) Installing ca-certificates (20220614-r0) 21:24:26 (2/7) Installing dumb-init (1.2.5-r1) 21:24:26 (3/7) Installing libgcc (10.3.1_git20210424-r2) 21:24:26 (4/7) Installing libsodium (1.0.18-r0) 21:24:26 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 21:24:26 (6/7) Installing libzmq (4.3.4-r0) 21:24:26 (7/7) Installing zeromq (4.3.4-r0) 21:24:26 Executing busybox-1.33.1-r8.trigger 21:24:26 Executing ca-certificates-20220614-r0.trigger 21:24:27 OK: 9 MiB in 21 packages 21:24:28 Removing intermediate container b6e5e2f6d713 21:24:28 ---> d2afe3bac8dc 21:24:28 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:24:28 ---> 22569ad2b31d 21:24:28 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 21:24:29 ---> dc1b66e5bb19 21:24:29 Step 20/30 : COPY --from=builder /app/res/ /res/ 21:24:30 ---> e5a22cf44413 21:24:30 Step 21/30 : COPY --from=builder /app/static/ /static/ 21:24:31 ---> 1e6df9f69778 21:24:31 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:24:32 ---> d25c61c899f7 21:24:32 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:24:32 ---> Running in ec3e194a10c5 21:24:34 Removing intermediate container ec3e194a10c5 21:24:34 ---> 5393b8fbec54 21:24:34 Step 24/30 : VOLUME /cache 21:24:34 ---> Running in a7be2e64e28e 21:24:34 Removing intermediate container a7be2e64e28e 21:24:34 ---> 728b8cb35bb2 21:24:34 Step 25/30 : EXPOSE 59711 21:24:34 ---> Running in 5ed17d4ca28d 21:24:35 Removing intermediate container 5ed17d4ca28d 21:24:35 ---> 607311582269 21:24:35 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:24:35 ---> Running in 2036de8c8cfb 21:24:35 Removing intermediate container 2036de8c8cfb 21:24:35 ---> f4432be9e76c 21:24:35 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:24:35 ---> Running in c32df2a2cf8a 21:24:35 Removing intermediate container c32df2a2cf8a 21:24:35 ---> 5a44da374a4f 21:24:35 Step 28/30 : LABEL arch=arm64 21:24:35 ---> Running in 746d49b8858f 21:24:36 Removing intermediate container 746d49b8858f 21:24:36 ---> 7a3d7d89b7df 21:24:36 Step 29/30 : LABEL git_sha=c5c5033a0bec85948549d813e6099cab37f5f597 21:24:36 ---> Running in c659cf7c3272 21:24:36 Removing intermediate container c659cf7c3272 21:24:36 ---> cb811e0be5cf 21:24:36 Step 30/30 : LABEL version=2.3.0-dev.23 21:24:36 ---> Running in 3e4614c96f5e 21:24:36 Removing intermediate container 3e4614c96f5e 21:24:36 ---> 904801790e85 21:24:36 [Warning] One or more build-args [ARCH] were not consumed 21:24:36 Successfully built 904801790e85 21:24:36 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:36 provisioning config files... 21:24:36 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/63@tmp/config14062692729152905319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:37 ---> docker-login.sh 21:24:37 nexus3.edgexfoundry.org:10001 21:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:37 Configure a credential helper to remove this warning. See 21:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:37 21:24:37 Login Succeeded 21:24:37 nexus3.edgexfoundry.org:10002 21:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:37 Configure a credential helper to remove this warning. See 21:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:37 21:24:37 Login Succeeded 21:24:37 nexus3.edgexfoundry.org:10003 21:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:38 Configure a credential helper to remove this warning. See 21:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:38 21:24:38 Login Succeeded 21:24:38 nexus3.edgexfoundry.org:10004 21:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:38 Configure a credential helper to remove this warning. See 21:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:38 21:24:38 Login Succeeded 21:24:38 docker.io 21:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:39 Configure a credential helper to remove this warning. See 21:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:39 21:24:39 Login Succeeded 21:24:39 ---> docker-login.sh ends [Pipeline] } 21:24:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:24:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:24:39 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 21:24:39 c5c5033a0bec85948549d813e6099cab37f5f597 21:24:39 latest 21:24:39 2.3.0-dev.23 21:24:39 c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 21:24:39 main 21:24:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:39 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:39 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:c5c5033a0bec85948549d813e6099cab37f5f597 21:24:39 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:24:39 95ea6986097f: Preparing 21:24:39 ce6d974f8044: Preparing 21:24:39 746340fa4b4b: Preparing 21:24:39 8eb34b306272: Preparing 21:24:39 c7cf7d578ab8: Preparing 21:24:39 cd2acebf1c0e: Preparing 21:24:39 721909258a62: Preparing 21:24:39 28c3ef001483: Preparing 21:24:39 721909258a62: Waiting 21:24:39 28c3ef001483: Waiting 21:24:39 cd2acebf1c0e: Waiting 21:24:40 95ea6986097f: Pushed 21:24:40 c7cf7d578ab8: Pushed 21:24:40 746340fa4b4b: Pushed 21:24:40 8eb34b306272: Pushed 21:24:40 28c3ef001483: Layer already exists 21:24:40 cd2acebf1c0e: Pushed 21:24:41 721909258a62: Pushed 21:24:46 ce6d974f8044: Pushed 21:24:46 c5c5033a0bec85948549d813e6099cab37f5f597: digest: sha256:d920409c9215276d9aa0903327dfa4200c616e1ed1bf2e1d09612eddb2329f34 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:46 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:47 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:24:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:24:47 95ea6986097f: Preparing 21:24:47 ce6d974f8044: Preparing 21:24:47 746340fa4b4b: Preparing 21:24:47 8eb34b306272: Preparing 21:24:47 c7cf7d578ab8: Preparing 21:24:47 cd2acebf1c0e: Preparing 21:24:47 721909258a62: Preparing 21:24:47 28c3ef001483: Preparing 21:24:47 721909258a62: Waiting 21:24:47 28c3ef001483: Waiting 21:24:47 cd2acebf1c0e: Waiting 21:24:47 746340fa4b4b: Layer already exists 21:24:47 8eb34b306272: Layer already exists 21:24:47 ce6d974f8044: Layer already exists 21:24:47 95ea6986097f: Layer already exists 21:24:47 c7cf7d578ab8: Layer already exists 21:24:47 cd2acebf1c0e: Layer already exists 21:24:47 28c3ef001483: Layer already exists 21:24:47 721909258a62: Layer already exists 21:24:47 latest: digest: sha256:d920409c9215276d9aa0903327dfa4200c616e1ed1bf2e1d09612eddb2329f34 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:47 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:48 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.23 21:24:48 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:24:48 95ea6986097f: Preparing 21:24:48 ce6d974f8044: Preparing 21:24:48 746340fa4b4b: Preparing 21:24:48 8eb34b306272: Preparing 21:24:48 c7cf7d578ab8: Preparing 21:24:48 cd2acebf1c0e: Preparing 21:24:48 721909258a62: Preparing 21:24:48 28c3ef001483: Preparing 21:24:48 cd2acebf1c0e: Waiting 21:24:48 28c3ef001483: Waiting 21:24:48 721909258a62: Waiting 21:24:48 ce6d974f8044: Layer already exists 21:24:48 95ea6986097f: Layer already exists 21:24:48 8eb34b306272: Layer already exists 21:24:48 746340fa4b4b: Layer already exists 21:24:48 c7cf7d578ab8: Layer already exists 21:24:48 cd2acebf1c0e: Layer already exists 21:24:48 721909258a62: Layer already exists 21:24:48 28c3ef001483: Layer already exists 21:24:48 2.3.0-dev.23: digest: sha256:d920409c9215276d9aa0903327dfa4200c616e1ed1bf2e1d09612eddb2329f34 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:48 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:48 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 21:24:48 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:24:48 95ea6986097f: Preparing 21:24:48 ce6d974f8044: Preparing 21:24:48 746340fa4b4b: Preparing 21:24:48 8eb34b306272: Preparing 21:24:48 c7cf7d578ab8: Preparing 21:24:48 cd2acebf1c0e: Preparing 21:24:48 721909258a62: Preparing 21:24:48 28c3ef001483: Preparing 21:24:48 cd2acebf1c0e: Waiting 21:24:48 721909258a62: Waiting 21:24:48 28c3ef001483: Waiting 21:24:48 c7cf7d578ab8: Layer already exists 21:24:48 746340fa4b4b: Layer already exists 21:24:48 ce6d974f8044: Layer already exists 21:24:48 95ea6986097f: Layer already exists 21:24:48 8eb34b306272: Layer already exists 21:24:48 28c3ef001483: Layer already exists 21:24:48 721909258a62: Layer already exists 21:24:48 cd2acebf1c0e: Layer already exists 21:24:48 c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23: digest: sha256:d920409c9215276d9aa0903327dfa4200c616e1ed1bf2e1d09612eddb2329f34 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:49 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:49 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 21:24:49 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:24:49 95ea6986097f: Preparing 21:24:49 ce6d974f8044: Preparing 21:24:49 746340fa4b4b: Preparing 21:24:49 8eb34b306272: Preparing 21:24:49 c7cf7d578ab8: Preparing 21:24:49 cd2acebf1c0e: Preparing 21:24:49 721909258a62: Preparing 21:24:49 28c3ef001483: Preparing 21:24:49 721909258a62: Waiting 21:24:49 28c3ef001483: Waiting 21:24:49 cd2acebf1c0e: Waiting 21:24:49 95ea6986097f: Layer already exists 21:24:49 ce6d974f8044: Layer already exists 21:24:49 8eb34b306272: Layer already exists 21:24:49 c7cf7d578ab8: Layer already exists 21:24:49 746340fa4b4b: Layer already exists 21:24:49 721909258a62: Layer already exists 21:24:49 28c3ef001483: Layer already exists 21:24:49 cd2acebf1c0e: Layer already exists 21:24:49 main: digest: sha256:d920409c9215276d9aa0903327dfa4200c616e1ed1bf2e1d09612eddb2329f34 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:24:50 ===================================================== [Pipeline] echo 21:24:50 taggedImages: 21:24:50 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:c5c5033a0bec85948549d813e6099cab37f5f597 21:24:50 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:24:50 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.23 21:24:50 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:c5c5033a0bec85948549d813e6099cab37f5f597-2.3.0-dev.23 21:24:50 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:50 21:24:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:50 arm64: Pulling from edgex-lftools-log-publisher 21:24:50 8998bd30e6a1: Pulling fs layer 21:24:50 04944245beec: Pulling fs layer 21:24:50 699f458cf7ca: Pulling fs layer 21:24:50 765212b225bb: Pulling fs layer 21:24:50 f23df028b6ca: Pulling fs layer 21:24:50 d65c8cfc05b1: Pulling fs layer 21:24:50 2437ff75d9bd: Pulling fs layer 21:24:50 f23df028b6ca: Waiting 21:24:50 765212b225bb: Waiting 21:24:50 d65c8cfc05b1: Waiting 21:24:50 2437ff75d9bd: Waiting 21:24:51 04944245beec: Verifying Checksum 21:24:51 04944245beec: Download complete 21:24:51 765212b225bb: Download complete 21:24:51 f23df028b6ca: Download complete 21:24:51 d65c8cfc05b1: Verifying Checksum 21:24:51 d65c8cfc05b1: Download complete 21:24:51 699f458cf7ca: Verifying Checksum 21:24:51 699f458cf7ca: Download complete 21:24:51 8998bd30e6a1: Download complete 21:24:53 2437ff75d9bd: Verifying Checksum 21:24:53 2437ff75d9bd: Download complete 21:24:55 8998bd30e6a1: Pull complete 21:24:55 04944245beec: Pull complete 21:24:57 699f458cf7ca: Pull complete 21:24:57 765212b225bb: Pull complete 21:24:58 f23df028b6ca: Pull complete 21:24:58 d65c8cfc05b1: Pull complete 21:25:13 2437ff75d9bd: Pull complete 21:25:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:25:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:13 prd-ubuntu20.04-docker-arm64-4c-16g-117381 does not seem to be running inside a container 21:25:13 $ 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/63 -v /w/workspace/app-rfid-llrp-inventory/63:/w/workspace/app-rfid-llrp-inventory/63:rw,z -v /w/workspace/app-rfid-llrp-inventory/63@tmp:/w/workspace/app-rfid-llrp-inventory/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:25:15 $ docker top 951cf20ea4c6fe5d3cbdad18a8491e8b67610e9b0ad4b7956dc3f637ade006be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:16 ---> job-cost.sh 21:25:16 lf-activate-venv: SKIPPING 21:25:16 INFO: No Stack... 21:25:17 INFO: Retrieving Pricing Info for: v3-standard-4 21:25:17 INFO: Archiving Costs [Pipeline] sh 21:25:18 + cat /w/workspace/app-rfid-llrp-inventory/63/archives/cost.csv 21:25:18 + cut -d, -f6 [Pipeline] lock 21:25:18 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] 21:25:18 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] did not exist. Created. 21:25:18 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:18 /w/workspace/app-rfid-llrp-inventory/63@tmp/durable-375096b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:25:19 + echo total: 0.10999999940395355 [Pipeline] stash 21:25:19 Warning: overwriting stash ‘stack-cost’ 21:25:19 Stashed 1 file(s) [Pipeline] } 21:25:19 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:19 $ docker stop --time=1 951cf20ea4c6fe5d3cbdad18a8491e8b67610e9b0ad4b7956dc3f637ade006be 21:25:20 $ docker rm -f 951cf20ea4c6fe5d3cbdad18a8491e8b67610e9b0ad4b7956dc3f637ade006be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:25:21 provisioning config files... 21:25:21 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config10162926709264323602tmp [Pipeline] { [Pipeline] sh 21:25:21 + set +x 21:25:21 + curl -s https://codecov.io/bash 21:25:21 + bash -s -- 21:25:21 21:25:21 _____ _ 21:25:21 / ____| | | 21:25:21 | | ___ __| | ___ ___ _____ __ 21:25:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:25:21 | |___| (_) | (_| | __/ (_| (_) \ V / 21:25:21 \_____\___/ \__,_|\___|\___\___/ \_/ 21:25:21 Bash-1.0.6 21:25:21 21:25:21 21:25:21 ==> git version 2.25.1 found 21:25:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:25:21 Release-Date: 2020-01-08 21:25:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:25:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:25:21 ==> Jenkins CI detected. 21:25:21 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 21:25:21 project root: . 21:25:21 --> token set from env 21:25:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:25:21 ==> Running gcov in . (disable via -X gcov) 21:25:21 ==> Python coveragepy not found 21:25:21 ==> Searching for coverage reports in: 21:25:21 + . 21:25:21 -> Found 1 reports 21:25:21 ==> Detecting git/mercurial file structure 21:25:21 ==> Reading reports 21:25:21 + ./coverage.out bytes=41008 21:25:21 ==> Appending adjustments 21:25:21 https://docs.codecov.io/docs/fixing-reports 21:25:21 + Found adjustments 21:25:21 ==> Gzipping contents 21:25:21 12K /tmp/codecov.8bfOzR.gz 21:25:21 ==> Uploading reports 21:25:21 url: https://codecov.io 21:25:21 query: branch=main&commit=c5c5033a0bec85948549d813e6099cab37f5f597&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:25:21 -> Pinging Codecov 21:25:21 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=c5c5033a0bec85948549d813e6099cab37f5f597&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:25:21 -> Uploading to 21:25:21 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/581DD39554BDF9B6E22D074273EAD858/c5c5033a0bec85948549d813e6099cab37f5f597/0d747891-3904-4f61-bd35-1c69976fd42c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T212521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46421d5c57e73228dd2acdff9c162f5da759786cf66031e6acb4bfd81d8d58a8 21:25:21 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:21 Dload Upload Total Spent Left Speed 21:25:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11459 0 0 100 11459 0 40348 --:--:-- --:--:-- --:--:-- 40348 21:25:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] } 21:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:25:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:25:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:25:22 21:25:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:25:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:25:22 df9b9388f04a: Pulling fs layer 21:25:22 52dc419b0ee2: Pulling fs layer 21:25:22 25bc292e5bac: Pulling fs layer 21:25:22 114826534d7a: Pulling fs layer 21:25:22 4657fd5d0bcf: Pulling fs layer 21:25:22 6ad1cebc031e: Pulling fs layer 21:25:22 8a3aa393b2d8: Pulling fs layer 21:25:22 4657fd5d0bcf: Waiting 21:25:22 8a3aa393b2d8: Waiting 21:25:22 114826534d7a: Waiting 21:25:22 6ad1cebc031e: Waiting 21:25:22 25bc292e5bac: Verifying Checksum 21:25:22 25bc292e5bac: Download complete 21:25:22 52dc419b0ee2: Download complete 21:25:22 4657fd5d0bcf: Verifying Checksum 21:25:22 4657fd5d0bcf: Download complete 21:25:22 df9b9388f04a: Verifying Checksum 21:25:22 df9b9388f04a: Download complete 21:25:23 df9b9388f04a: Pull complete 21:25:23 6ad1cebc031e: Verifying Checksum 21:25:23 6ad1cebc031e: Download complete 21:25:23 52dc419b0ee2: Pull complete 21:25:23 25bc292e5bac: Pull complete 21:25:23 114826534d7a: Verifying Checksum 21:25:23 114826534d7a: Download complete 21:25:24 8a3aa393b2d8: Verifying Checksum 21:25:24 8a3aa393b2d8: Download complete 21:25:26 114826534d7a: Pull complete 21:25:26 4657fd5d0bcf: Pull complete 21:25:27 6ad1cebc031e: Pull complete 21:25:29 8a3aa393b2d8: Pull complete 21:25:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:25:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:25:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:29 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:25:29 $ 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 21:25:31 $ docker top 8217d211fba6d6486cdfb842e6c689517daa0bcc5cbe27ee7beedb0204162576 -eo pid,comm [Pipeline] { [Pipeline] echo 21:25:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 21:25:32 + set -o pipefail 21:25:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 21:25:37 21:25:37 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 21:25:37 21:25:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/76694a66-a657-47c2-bff6-5113fd103556 21:25:37 21:25:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:25:37 21:25:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:25:37 21:25:37 21:25:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:25:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:25:37 More details here: https://snyk.co/ue1NS [Pipeline] } 21:25:37 $ docker stop --time=1 8217d211fba6d6486cdfb842e6c689517daa0bcc5cbe27ee7beedb0204162576 21:25:39 $ docker rm -f 8217d211fba6d6486cdfb842e6c689517daa0bcc5cbe27ee7beedb0204162576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:40 + git log --format=format:%s -1 c5c5033a0bec85948549d813e6099cab37f5f597 [Pipeline] sh 21:25:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:25:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:41 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:25:41 $ docker top 4c6d6bacd12ba022ea5176f380af3b7bd6a8a4668c57123f6aca6fdc51812804 -eo pid,comm 21:25:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:25:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:25:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:41 [ssh-agent] Looking for ssh-agent implementation... 21:25:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:41 $ docker exec 4c6d6bacd12ba022ea5176f380af3b7bd6a8a4668c57123f6aca6fdc51812804 ssh-agent 21:25:41 SSH_AUTH_SOCK=/tmp/ssh-UsWYZgaduc2p/agent.33 21:25:41 SSH_AGENT_PID=40 21:25:41 Running ssh-add (command line suppressed) 21:25:41 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6126941365266851158.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6126941365266851158.key) 21:25:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:42 + git semver tag 21:25:42 2022-10-26 21:25:42,267 [run_tag] DEBUG tag force:False 21:25:42 2022-10-26 21:25:42,267 [check_head_tag] DEBUG check head tag 21:25:42 2022-10-26 21:25:42,268 [execute] INFO git cat-file --batch-check 21:25:42 2022-10-26 21:25:42,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:25:42 2022-10-26 21:25:42,272 [execute] INFO git cat-file --batch 21:25:42 2022-10-26 21:25:42,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:25:42 2022-10-26 21:25:42,284 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:25:42 2022-10-26 21:25:42,284 [execute] INFO git tag -a v2.3.0-dev.23 -m v2.3.0-dev.23 21:25:42 2022-10-26 21:25:42,284 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.23', '-m', 'v2.3.0-dev.23'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:25:42 2022-10-26 21:25:42,289 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:25:42 2.3.0-dev.23 [Pipeline] } 21:25:42 $ docker exec --env ******** --env ******** 4c6d6bacd12ba022ea5176f380af3b7bd6a8a4668c57123f6aca6fdc51812804 ssh-agent -k 21:25:42 unset SSH_AUTH_SOCK; 21:25:42 unset SSH_AGENT_PID; 21:25:42 echo Agent pid 40 killed; 21:25:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:25:42 + git semver [Pipeline] } 21:25:43 $ docker stop --time=1 4c6d6bacd12ba022ea5176f380af3b7bd6a8a4668c57123f6aca6fdc51812804 21:25:44 $ docker rm -f 4c6d6bacd12ba022ea5176f380af3b7bd6a8a4668c57123f6aca6fdc51812804 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:25:44 21:25:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:25:45 0.23.1-centos7: Pulling from edgex-lftools 21:25:45 ab5ef0e58194: Pulling fs layer 21:25:45 9712f1f96733: Pulling fs layer 21:25:45 63f879dbbcfc: Pulling fs layer 21:25:45 0d9ebad4ef96: Pulling fs layer 21:25:45 e9a5061849ea: Pulling fs layer 21:25:45 d747dcd14b5f: Pulling fs layer 21:25:45 2de7ff778b66: Pulling fs layer 21:25:45 0d9ebad4ef96: Waiting 21:25:45 d747dcd14b5f: Waiting 21:25:45 e9a5061849ea: Waiting 21:25:45 2de7ff778b66: Waiting 21:25:45 9712f1f96733: Verifying Checksum 21:25:45 9712f1f96733: Download complete 21:25:45 63f879dbbcfc: Verifying Checksum 21:25:45 63f879dbbcfc: Download complete 21:25:45 e9a5061849ea: Verifying Checksum 21:25:45 e9a5061849ea: Download complete 21:25:45 d747dcd14b5f: Verifying Checksum 21:25:45 d747dcd14b5f: Download complete 21:25:45 ab5ef0e58194: Verifying Checksum 21:25:45 ab5ef0e58194: Download complete 21:25:45 0d9ebad4ef96: Verifying Checksum 21:25:45 0d9ebad4ef96: Download complete 21:25:45 2de7ff778b66: Verifying Checksum 21:25:45 2de7ff778b66: Download complete 21:25:48 ab5ef0e58194: Pull complete 21:25:48 9712f1f96733: Pull complete 21:25:48 63f879dbbcfc: Pull complete 21:25:51 0d9ebad4ef96: Pull complete 21:25:51 e9a5061849ea: Pull complete 21:25:51 d747dcd14b5f: Pull complete 21:25:52 2de7ff778b66: Pull complete 21:25:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:25:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:25:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:52 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:25:53 $ 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 21:25:54 $ docker top e1ec5422a221a1e8a139809cd837886acbb08c5f0dc86039d2278204d946d800 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:25:55 provisioning config files... 21:25:55 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config10995508357519145820tmp 21:25:55 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6331036514809504896tmp 21:25:55 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8594142609041009091tmp [Pipeline] { [Pipeline] echo 21:25:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:25:55 ---> sigul-configuration.sh 21:25:55 gpg: directory `/root/.gnupg' created 21:25:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:25:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:25:55 gpg: keyring `/root/.gnupg/secring.gpg' created 21:25:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:25:55 gpg: CAST5 encrypted data 21:25:55 gpg: encrypted with 1 passphrase 21:25:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:25:55 + mkdir /home/jenkins 21:25:55 + mkdir /home/jenkins/sigul [Pipeline] sh 21:25:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:25:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:25:56 ---> sigul-install.sh 21:25:56 Sigul already installed; skipping installation. [Pipeline] sh 21:25:56 + git tag --list 21:25:56 v0.0.0 21:25:56 v1.0.0 21:25:56 v2.1.0 21:25:56 v2.1.1 21:25:56 v2.1.1-dev.1 21:25:56 v2.2.0 21:25:56 v2.2.1-dev.1 21:25:56 v2.2.1-dev.2 21:25:56 v2.2.1-dev.3 21:25:56 v2.2.1-dev.4 21:25:56 v2.2.1-dev.5 21:25:56 v2.2.1-dev.6 21:25:56 v2.2.1-dev.7 21:25:56 v2.3.0-dev.10 21:25:56 v2.3.0-dev.11 21:25:56 v2.3.0-dev.12 21:25:56 v2.3.0-dev.13 21:25:56 v2.3.0-dev.14 21:25:56 v2.3.0-dev.15 21:25:56 v2.3.0-dev.16 21:25:56 v2.3.0-dev.17 21:25:56 v2.3.0-dev.18 21:25:56 v2.3.0-dev.19 21:25:56 v2.3.0-dev.20 21:25:56 v2.3.0-dev.21 21:25:56 v2.3.0-dev.22 21:25:56 v2.3.0-dev.23 21:25:56 v2.3.0-dev.9 [Pipeline] sh 21:25:56 + lftools sign git-tag v2.3.0-dev.23 21:25:57 Signing Git tag with Sigul... 21:25:57 Signing v2.3.0-dev.23 [Pipeline] echo 21:25:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:25:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:25:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:25:57 $ docker stop --time=1 e1ec5422a221a1e8a139809cd837886acbb08c5f0dc86039d2278204d946d800 21:25:59 $ docker rm -f e1ec5422a221a1e8a139809cd837886acbb08c5f0dc86039d2278204d946d800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:25:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:25:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:59 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:25:59 $ 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 21:26:00 $ docker top 488b74b32e3aba8267d1b1df1a320f5dd8a84cdaaa969dc0eb9aef3054827680 -eo pid,comm 21:26:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:26:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:00 [ssh-agent] Looking for ssh-agent implementation... 21:26:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:00 $ docker exec 488b74b32e3aba8267d1b1df1a320f5dd8a84cdaaa969dc0eb9aef3054827680 ssh-agent 21:26:00 SSH_AUTH_SOCK=/tmp/ssh-98XATWcqOiy4/agent.31 21:26:00 SSH_AGENT_PID=37 21:26:00 Running ssh-add (command line suppressed) 21:26:00 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_595724778205998301.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_595724778205998301.key) 21:26:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:01 + git semver bump pre 21:26:01 2022-10-26 21:26:01,229 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:01 2022-10-26 21:26:01,229 [bump_version] DEBUG bumping version:2.3.0-dev.23 on axis:pre with prefix:dev 21:26:01 2022-10-26 21:26:01,230 [bump_version] DEBUG bumped version:2.3.0-dev.24 21:26:01 2022-10-26 21:26:01,230 [write_version] DEBUG write version:2.3.0-dev.24 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 21:26:01 2022-10-26 21:26:01,230 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:01 2022-10-26 21:26:01,230 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:01 2022-10-26 21:26:01,232 [execute] INFO git cat-file --batch-check 21:26:01 2022-10-26 21:26:01,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:26:01 2022-10-26 21:26:01,238 [execute] INFO git cat-file --batch 21:26:01 2022-10-26 21:26:01,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:26:01 2022-10-26 21:26:01,242 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:01 2.3.0-dev.24 [Pipeline] } 21:26:01 $ docker exec --env ******** --env ******** 488b74b32e3aba8267d1b1df1a320f5dd8a84cdaaa969dc0eb9aef3054827680 ssh-agent -k 21:26:01 unset SSH_AUTH_SOCK; 21:26:01 unset SSH_AGENT_PID; 21:26:01 echo Agent pid 37 killed; 21:26:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:01 + git semver [Pipeline] } 21:26:02 $ docker stop --time=1 488b74b32e3aba8267d1b1df1a320f5dd8a84cdaaa969dc0eb9aef3054827680 21:26:03 $ docker rm -f 488b74b32e3aba8267d1b1df1a320f5dd8a84cdaaa969dc0eb9aef3054827680 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:26:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:03 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:26:03 $ 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 21:26:04 $ docker top 18a02de72b5d31d706ed43e7dc70de08ee88ef6574705f17798b4c63ffbee33a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:04 [ssh-agent] Looking for ssh-agent implementation... 21:26:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:04 $ docker exec 18a02de72b5d31d706ed43e7dc70de08ee88ef6574705f17798b4c63ffbee33a ssh-agent 21:26:04 SSH_AUTH_SOCK=/tmp/ssh-GGx5ByIzDwoA/agent.32 21:26:04 SSH_AGENT_PID=38 21:26:04 Running ssh-add (command line suppressed) 21:26:04 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_12253980479402076466.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_12253980479402076466.key) 21:26:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:05 + git semver push 21:26:05 2022-10-26 21:26:05,180 [run_push] DEBUG push 21:26:05 2022-10-26 21:26:05,180 [execute] INFO git cat-file --batch-check 21:26:05 2022-10-26 21:26:05,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:26:05 2022-10-26 21:26:05,184 [execute] INFO git rev-list 45efe2959395d32f3ec0900d6a212cd3c6be9996 -- 21:26:05 2022-10-26 21:26:05,185 [execute] DEBUG Popen(['git', 'rev-list', '45efe2959395d32f3ec0900d6a212cd3c6be9996', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:26:05 2022-10-26 21:26:05,191 [execute] INFO git fetch -v origin 21:26:05 2022-10-26 21:26:05,192 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 21:26:05 2022-10-26 21:26:05,751 [run_push] DEBUG no remote changes detected 21:26:05 2022-10-26 21:26:05,751 [execute] INFO git push origin semver 21:26:05 2022-10-26 21:26:05,752 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:26:06 2022-10-26 21:26:06,684 [run_push] DEBUG push all version tags 21:26:06 2022-10-26 21:26:06,684 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:26:06 2022-10-26 21:26:06,685 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:26:07 2022-10-26 21:26:07,427 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:07 2.3.0-dev.24 [Pipeline] } 21:26:07 $ docker exec --env ******** --env ******** 18a02de72b5d31d706ed43e7dc70de08ee88ef6574705f17798b4c63ffbee33a ssh-agent -k 21:26:07 unset SSH_AUTH_SOCK; 21:26:07 unset SSH_AGENT_PID; 21:26:07 echo Agent pid 38 killed; 21:26:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:08 + git semver [Pipeline] } 21:26:08 $ docker stop --time=1 18a02de72b5d31d706ed43e7dc70de08ee88ef6574705f17798b4c63ffbee33a 21:26:09 $ docker rm -f 18a02de72b5d31d706ed43e7dc70de08ee88ef6574705f17798b4c63ffbee33a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:26:10 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 21:26:10 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:26:10 total 16 21:26:10 drwxr-xr-x 3 root root 4096 Oct 26 21:14 . 21:26:10 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 21:25 .. 21:26:10 drwxr-xr-x 2 root root 4096 Oct 26 21:14 cost 21:26:10 -rw-r--r-- 1 root root 94 Oct 26 21:14 cost.csv 21:26:10 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:26:10 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:26:10 total 16 21:26:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 21:14 . 21:26:10 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 21:25 .. 21:26:10 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 21:14 cost 21:26:10 -rw-r--r-- 1 jenkins jenkins 94 Oct 26 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:26:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:26:11 ---> package-listing.sh 21:26:11 ++ facter osfamily 21:26:11 ++ tr '[:upper:]' '[:lower:]' 21:26:11 + OS_FAMILY=debian 21:26:11 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 21:26:11 + START_PACKAGES=/tmp/packages_start.txt 21:26:11 + END_PACKAGES=/tmp/packages_end.txt 21:26:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:26:11 + PACKAGES=/tmp/packages_start.txt 21:26:11 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:26:11 + PACKAGES=/tmp/packages_end.txt 21:26:11 + case "${OS_FAMILY}" in 21:26:11 + grep '^ii' 21:26:11 + dpkg -l 21:26:11 + '[' -f /tmp/packages_start.txt ']' 21:26:11 + '[' -f /tmp/packages_end.txt ']' 21:26:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:26:11 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:26:11 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 21:26:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 21:26:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:26:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:12 prd-ubuntu20.04-docker-8c-8g-117380 does not seem to be running inside a container 21:26:12 $ 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 21:26:12 $ docker top 9b504f8b57af8f822720a657e135bb8b1376a30e182abd5093a9e86eafc01bb5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:26:13 + touch /tmp/pre-build-complete [Pipeline] sh 21:26:13 + mkdir -p /var/log/sysstat [Pipeline] sh 21:26:13 + ls /var/log/sa-host 21:26:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:13 provisioning config files... 21:26:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11221434796673572599tmp [Pipeline] { [Pipeline] echo 21:26:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:26:14 ---> create-netrc.sh [Pipeline] } 21:26:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:26:14 ---> python-tools-install.sh [Pipeline] echo 21:26:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:26:14 ---> sudo-logs.sh 21:26:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:26:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:26:15 ---> job-cost.sh 21:26:15 lf-activate-venv: SKIPPING 21:26:15 DEBUG: total: 0.2199999988079071 21:26:15 INFO: Retrieving Stack Cost... 21:26:15 INFO: Retrieving Pricing Info for: v3-standard-8 21:26:16 INFO: Archiving Costs [Pipeline] echo 21:26:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:26:16 ---> logs-deploy.sh 21:26:16 lf-activate-venv: SKIPPING 21:26:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/63 21:26:16 INFO: archiving workspace using pattern(s): 21:26:17 Archives upload complete. 21:26:17 INFO: archiving logs to Nexus