Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3df42b5de7243deaef815f1e55d1348500d22d5e 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-ssh10234292870540675965.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-ssh12082843932562250116.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-ssh16163047332994141405.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-ssh14051749504596197641.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-ssh14018352305141580740.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10184 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 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 3df42b5de7243deaef815f1e55d1348500d22d5e (main) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#116)" > git config core.sparsecheckout # timeout=10 > git checkout -f 3df42b5de7243deaef815f1e55d1348500d22d5e # timeout=10 > git rev-list --no-walk 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:50:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:50:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:50:32 ========================================================= 15:50:32 EdgeX Global Pipelines Version Info 15:50:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:50:33 ------------------- 15:50:33 stable info: 15:50:33 ------------------- 15:50:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:50:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:50:33 Message: update stable to v1.0.243 15:50:33 ------------------- 15:50:33 experimental info: 15:50:33 ------------------- 15:50:33 Commited By: **** collab-it+edgex@linuxfoundation.org 15:50:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:50:33 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:50:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3df42b5 [Pipeline] echo 15:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:34 provisioning config files... 15:50:34 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config460212022007562604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:34 ---> docker-login.sh 15:50:34 nexus3.edgexfoundry.org:10001 15:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:34 Configure a credential helper to remove this warning. See 15:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:34 15:50:34 Login Succeeded 15:50:34 nexus3.edgexfoundry.org:10002 15:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:35 Configure a credential helper to remove this warning. See 15:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:35 15:50:35 Login Succeeded 15:50:35 nexus3.edgexfoundry.org:10003 15:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:35 Configure a credential helper to remove this warning. See 15:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:35 15:50:35 Login Succeeded 15:50:35 nexus3.edgexfoundry.org:10004 15:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:35 Configure a credential helper to remove this warning. See 15:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:35 15:50:35 Login Succeeded 15:50:35 docker.io 15:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:35 Configure a credential helper to remove this warning. See 15:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:35 15:50:35 Login Succeeded 15:50:35 ---> docker-login.sh ends [Pipeline] } 15:50:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:50:35 + git rev-list -1 --merges 3df42b5de7243deaef815f1e55d1348500d22d5e~1..3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] echo 15:50:35 -----------> git rev-list -1 --merges 3df42b5de7243deaef815f1e55d1348500d22d5e~1..3df42b5de7243deaef815f1e55d1348500d22d5e 3df42b5de7243deaef815f1e55d1348500d22d5e [false] [Pipeline] sh 15:50:36 + git log --format=format:%s -1 3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] echo 15:50:36 ========================================================= 15:50:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:50:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:36 + git log --format=format:%s -1 3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] echo 15:50:36 [semverPrep] GIT_COMMIT: 3df42b5de7243deaef815f1e55d1348500d22d5e, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#116) [Pipeline] echo 15:50:36 [semverPrep] This is not a build commit. [Pipeline] sh 15:50:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:50:36 + grep -v github /etc/ssh/ssh_known_hosts 15:50:36 + [ -e /tmp/ssh_known_hosts ] 15:50:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:50:36 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:50:36 sudo tee -a /etc/ssh/ssh_known_hosts 15:50:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:37 15:50:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:37 0.1.4: Pulling from edgex-devops/py-git-semver 15:50:37 b85a868b505f: Pulling fs layer 15:50:37 e2be974225ed: Pulling fs layer 15:50:37 339a4e72a1f5: Pulling fs layer 15:50:37 988bab9f4d93: Pulling fs layer 15:50:37 1469e6f7b9e6: Pulling fs layer 15:50:37 eaf3925da568: Pulling fs layer 15:50:37 bab4dde63d76: Pulling fs layer 15:50:37 bde34c3a00c8: Pulling fs layer 15:50:37 b352a97aabf1: Pulling fs layer 15:50:37 4872d77fe225: Pulling fs layer 15:50:37 5851b861e8e6: Pulling fs layer 15:50:37 988bab9f4d93: Waiting 15:50:37 1469e6f7b9e6: Waiting 15:50:37 bde34c3a00c8: Waiting 15:50:37 eaf3925da568: Waiting 15:50:37 4872d77fe225: Waiting 15:50:37 b352a97aabf1: Waiting 15:50:37 bab4dde63d76: Waiting 15:50:37 5851b861e8e6: Waiting 15:50:37 e2be974225ed: Download complete 15:50:37 988bab9f4d93: Download complete 15:50:37 1469e6f7b9e6: Verifying Checksum 15:50:37 1469e6f7b9e6: Download complete 15:50:37 339a4e72a1f5: Verifying Checksum 15:50:37 339a4e72a1f5: Download complete 15:50:37 eaf3925da568: Verifying Checksum 15:50:37 eaf3925da568: Download complete 15:50:37 bde34c3a00c8: Verifying Checksum 15:50:37 bde34c3a00c8: Download complete 15:50:37 b352a97aabf1: Verifying Checksum 15:50:37 b352a97aabf1: Download complete 15:50:37 4872d77fe225: Verifying Checksum 15:50:37 4872d77fe225: Download complete 15:50:37 5851b861e8e6: Verifying Checksum 15:50:37 5851b861e8e6: Download complete 15:50:37 b85a868b505f: Verifying Checksum 15:50:37 b85a868b505f: Download complete 15:50:38 bab4dde63d76: Verifying Checksum 15:50:38 bab4dde63d76: Download complete 15:50:39 b85a868b505f: Pull complete 15:50:39 e2be974225ed: Pull complete 15:50:40 339a4e72a1f5: Pull complete 15:50:40 988bab9f4d93: Pull complete 15:50:40 1469e6f7b9e6: Pull complete 15:50:40 eaf3925da568: Pull complete 15:50:42 bab4dde63d76: Pull complete 15:50:42 bde34c3a00c8: Pull complete 15:50:43 b352a97aabf1: Pull complete 15:50:43 4872d77fe225: Pull complete 15:50:43 5851b861e8e6: Pull complete 15:50:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:43 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 15:50:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:50:46 $ docker top 17f514bf5bbab71b7e065d9d7b17daaff7a7b5af20bc957b7b909c5ad9db57c3 -eo pid,comm 15:50:46 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). 15:50:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:50:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:46 [ssh-agent] Looking for ssh-agent implementation... 15:50:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:46 $ docker exec 17f514bf5bbab71b7e065d9d7b17daaff7a7b5af20bc957b7b909c5ad9db57c3 ssh-agent 15:50:46 SSH_AUTH_SOCK=/tmp/ssh-iysp6YCuEWuk/agent.31 15:50:46 SSH_AGENT_PID=37 15:50:46 Running ssh-add (command line suppressed) 15:50:46 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10976432984643145849.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10976432984643145849.key) 15:50:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:46 + git tag --points-at HEAD [Pipeline] } 15:50:46 $ docker exec --env ******** --env ******** 17f514bf5bbab71b7e065d9d7b17daaff7a7b5af20bc957b7b909c5ad9db57c3 ssh-agent -k 15:50:46 unset SSH_AUTH_SOCK; 15:50:46 unset SSH_AGENT_PID; 15:50:46 echo Agent pid 37 killed; 15:50:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:50:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:47 [ssh-agent] Looking for ssh-agent implementation... 15:50:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:47 $ docker exec 17f514bf5bbab71b7e065d9d7b17daaff7a7b5af20bc957b7b909c5ad9db57c3 ssh-agent 15:50:47 SSH_AUTH_SOCK=/tmp/ssh-IGuDmvxSJ77p/agent.70 15:50:47 SSH_AGENT_PID=76 15:50:47 Running ssh-add (command line suppressed) 15:50:47 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_661341442153338763.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_661341442153338763.key) 15:50:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:47 + git semver init 15:50:47 2022-10-24 15:50:47,859 [run_init] DEBUG init version:0.0.0 force:False 15:50:47 2022-10-24 15:50:47,860 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 15:50:47 2022-10-24 15:50:47,860 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 15:50:47 2022-10-24 15:50:47,860 [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) 15:50:49 2022-10-24 15:50:49,193 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 15:50:49 2022-10-24 15:50:49,194 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 15:50:49 2022-10-24 15:50:49,194 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 15:50:49 2022-10-24 15:50:49,194 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 15:50:49 2.3.0-dev.21 [Pipeline] } 15:50:49 $ docker exec --env ******** --env ******** 17f514bf5bbab71b7e065d9d7b17daaff7a7b5af20bc957b7b909c5ad9db57c3 ssh-agent -k 15:50:49 unset SSH_AUTH_SOCK; 15:50:49 unset SSH_AGENT_PID; 15:50:49 echo Agent pid 76 killed; 15:50:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:50:49 + git semver [Pipeline] } 15:50:50 $ docker stop --time=1 17f514bf5bbab71b7e065d9d7b17daaff7a7b5af20bc957b7b909c5ad9db57c3 15:50:51 $ docker rm -f 17f514bf5bbab71b7e065d9d7b17daaff7a7b5af20bc957b7b909c5ad9db57c3 [Pipeline] // withDockerContainer [Pipeline] sh 15:50:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:50:51 Stashed 1 file(s) [Pipeline] echo 15:50:51 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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 15:50:52 provisioning config files... 15:50:52 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1772159478134948763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:52 ---> docker-login.sh 15:50:52 nexus3.edgexfoundry.org:10001 15:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:52 Configure a credential helper to remove this warning. See 15:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:52 15:50:52 Login Succeeded 15:50:52 nexus3.edgexfoundry.org:10002 15:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:52 Configure a credential helper to remove this warning. See 15:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:52 15:50:52 Login Succeeded 15:50:52 nexus3.edgexfoundry.org:10003 15:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:52 Configure a credential helper to remove this warning. See 15:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:52 15:50:52 Login Succeeded 15:50:52 nexus3.edgexfoundry.org:10004 15:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:52 Configure a credential helper to remove this warning. See 15:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:52 15:50:52 Login Succeeded 15:50:52 docker.io 15:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:53 Configure a credential helper to remove this warning. See 15:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:53 15:50:53 Login Succeeded 15:50:53 ---> docker-login.sh ends [Pipeline] } 15:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:53 ========================================================= 15:50:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:50:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:53 + 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 . 15:50:53 Sending build context to Docker daemon 12.5MB 15:50:53 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 15:50:53 Step 2/14 : FROM ${BASE} AS builder 15:50:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:50:53 213ec9aee27d: Pulling fs layer 15:50:53 4583459ba037: Pulling fs layer 15:50:53 93c1e223e6f2: Pulling fs layer 15:50:53 53926ce57604: Pulling fs layer 15:50:53 21b2b0c7a3f4: Pulling fs layer 15:50:53 30f14e443154: Pulling fs layer 15:50:53 801331c1e519: Pulling fs layer 15:50:53 99cc6dd402b0: Pulling fs layer 15:50:53 7d9ed39f4882: Pulling fs layer 15:50:53 21b2b0c7a3f4: Waiting 15:50:53 30f14e443154: Waiting 15:50:53 801331c1e519: Waiting 15:50:53 99cc6dd402b0: Waiting 15:50:53 7d9ed39f4882: Waiting 15:50:53 53926ce57604: Waiting 15:50:53 93c1e223e6f2: Verifying Checksum 15:50:53 93c1e223e6f2: Download complete 15:50:53 4583459ba037: Download complete 15:50:53 21b2b0c7a3f4: Download complete 15:50:53 30f14e443154: Download complete 15:50:53 213ec9aee27d: Verifying Checksum 15:50:53 213ec9aee27d: Download complete 15:50:53 801331c1e519: Verifying Checksum 15:50:53 801331c1e519: Download complete 15:50:54 213ec9aee27d: Pull complete 15:50:54 4583459ba037: Pull complete 15:50:54 7d9ed39f4882: Verifying Checksum 15:50:54 7d9ed39f4882: Download complete 15:50:54 93c1e223e6f2: Pull complete 15:50:54 99cc6dd402b0: Verifying Checksum 15:50:54 99cc6dd402b0: Download complete 15:50:54 53926ce57604: Verifying Checksum 15:50:54 53926ce57604: Download complete 15:50:59 53926ce57604: Pull complete 15:50:59 21b2b0c7a3f4: Pull complete 15:50:59 30f14e443154: Pull complete 15:50:59 801331c1e519: Pull complete 15:51:02 99cc6dd402b0: Pull complete 15:51:02 7d9ed39f4882: Pull complete 15:51:02 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 15:51:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:51:02 ---> 1dedd983c030 15:51:02 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:51:06 Still waiting to schedule task 15:51:06 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9419’ 15:51:08 ---> Running in 8304dc315871 15:51:08 Removing intermediate container 8304dc315871 15:51:08 ---> a65ce24483d9 15:51:08 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 15:51:08 ---> Running in 0bbdf706e6dd 15:51:08 Removing intermediate container 0bbdf706e6dd 15:51:08 ---> a43fa674b82d 15:51:08 Step 5/14 : ARG ADD_BUILD_TAGS="" 15:51:08 ---> Running in 21af2087fd62 15:51:08 Removing intermediate container 21af2087fd62 15:51:08 ---> d58dd723e808 15:51:08 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:51:08 ---> Running in 3df3ae955423 15:51:08 Removing intermediate container 3df3ae955423 15:51:08 ---> 9e1d4b33a827 15:51:08 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:08 ---> Running in 8b371056fcdf 15:51:09 Removing intermediate container 8b371056fcdf 15:51:09 ---> 2c0ae7a7ec27 15:51:09 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:51:09 ---> Running in 9a58792fcb49 15:51:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:51:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:51:11 OK: 211 MiB in 51 packages 15:51:11 Removing intermediate container 9a58792fcb49 15:51:11 ---> baccd4f3a079 15:51:11 Step 9/14 : WORKDIR /app 15:51:11 ---> Running in 62e914d1742d 15:51:12 Removing intermediate container 62e914d1742d 15:51:12 ---> 4f41e89984a5 15:51:12 Step 10/14 : COPY go.mod vendor* ./ 15:51:12 ---> 9998931ddf4c 15:51:12 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:12 ---> Running in 6eb0dd1587d8 15:51:34 Removing intermediate container 6eb0dd1587d8 15:51:34 ---> 11e1f1e5a3cd 15:51:34 Step 12/14 : COPY . . 15:51:34 ---> ccde69719179 15:51:34 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:51:34 ---> Running in d90cb969e6c2 15:51:34 Removing intermediate container d90cb969e6c2 15:51:34 ---> b5c4656db30e 15:51:34 Step 14/14 : RUN $MAKE 15:51:34 ---> Running in b75b51a62b60 15:51:34 noop 15:51:34 Removing intermediate container b75b51a62b60 15:51:34 ---> 5f94397f1597 15:51:34 Successfully built 5f94397f1597 15:51:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:34 + docker inspect -f . ci-base-image-x86_64 15:51:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:34 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 15:51:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:51:34 $ docker top a7d05437d3e35e9bfa341a3556ec0f82ae4c7dc5d693d3474c58ef5ab1d9f170 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:35 + go version 15:51:35 go version go1.18.7 linux/amd64 [Pipeline] } 15:51:35 $ docker stop --time=1 a7d05437d3e35e9bfa341a3556ec0f82ae4c7dc5d693d3474c58ef5ab1d9f170 15:51:36 $ docker rm -f a7d05437d3e35e9bfa341a3556ec0f82ae4c7dc5d693d3474c58ef5ab1d9f170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:36 + docker inspect -f . ci-base-image-x86_64 15:51:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:37 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 15:51:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:51:37 $ docker top 7a2c4040d9c0f7cf663798e987857e77e8dfb8258a5decbc1fb2d0a4db0c72cb -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:37 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 15:51:38 + make test 15:51:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:51:47 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 15:51:47 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.046s coverage: 86.2% of statements 15:51:47 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 15:51:50 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.551s coverage: 71.9% of statements 15:51:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:51:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:52:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:52:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:52:00 ./bin/test-attribution.sh [Pipeline] echo 15:52:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:52:00 $ docker stop --time=1 7a2c4040d9c0f7cf663798e987857e77e8dfb8258a5decbc1fb2d0a4db0c72cb 15:52:03 $ docker rm -f 7a2c4040d9c0f7cf663798e987857e77e8dfb8258a5decbc1fb2d0a4db0c72cb [Pipeline] // withDockerContainer [Pipeline] sh 15:52:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:52:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:52:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:52:04 + ls -al . 15:52:04 total 232 15:52:04 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 15:51 . 15:52:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:50 .. 15:52:04 -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 15:50 .dockerignore 15:52:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:51 .git 15:52:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:50 .github 15:52:04 -rw-rw-r-- 1 jenkins jenkins 788 Oct 24 15:50 .gitignore 15:52:04 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:50 .golangci.yml 15:52:04 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:50 .semver 15:52:04 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 24 15:50 Attribution.txt 15:52:04 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 24 15:50 CHANGELOG.md 15:52:04 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 24 15:50 Dockerfile 15:52:04 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:50 GOVERNANCE.md 15:52:04 -rw-rw-r-- 1 jenkins jenkins 687 Oct 24 15:50 Jenkinsfile 15:52:04 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 15:50 LICENSE 15:52:04 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 24 15:50 Makefile 15:52:04 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 15:50 OWNERS.md 15:52:04 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 24 15:50 README.md 15:52:04 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:50 VERSION 15:52:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:50 bin 15:52:04 -rw-r--r-- 1 jenkins jenkins 41008 Oct 24 15:51 coverage.out 15:52:04 -rw-rw-r-- 1 jenkins jenkins 3657 Oct 24 15:50 go.mod 15:52:04 -rw-rw-r-- 1 jenkins jenkins 38018 Oct 24 15:50 go.sum 15:52:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:50 images 15:52:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:50 internal 15:52:04 -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 15:50 main.go 15:52:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:50 res 15:52:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:50 snap 15:52:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:50 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:04 + 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=3df42b5de7243deaef815f1e55d1348500d22d5e --label arch=amd64 --label version=2.3.0-dev.21 . 15:52:04 Sending build context to Docker daemon 12.5MB 15:52:04 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 15:52:04 Step 2/32 : FROM ${BASE} AS builder 15:52:04 ---> 5f94397f1597 15:52:04 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:52:05 ---> Running in d182b37b0bd6 15:52:05 Removing intermediate container d182b37b0bd6 15:52:05 ---> 80a36d91b378 15:52:05 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 15:52:05 ---> Running in 4086541a0130 15:52:05 Removing intermediate container 4086541a0130 15:52:05 ---> adf5a7b07e6d 15:52:05 Step 5/32 : ARG ADD_BUILD_TAGS="" 15:52:05 ---> Running in 157a1a7fc35c 15:52:05 Removing intermediate container 157a1a7fc35c 15:52:05 ---> 0efd89232ec2 15:52:05 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:52:05 ---> Running in 3ac8d101f9d1 15:52:05 Removing intermediate container 3ac8d101f9d1 15:52:05 ---> 612f63770a98 15:52:05 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:05 ---> Running in 8b62dcca1bd5 15:52:06 Removing intermediate container 8b62dcca1bd5 15:52:06 ---> 339d3cce9377 15:52:06 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:52:06 ---> Running in 376e3da693c4 15:52:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:52:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:52:07 OK: 211 MiB in 51 packages 15:52:08 Removing intermediate container 376e3da693c4 15:52:08 ---> 82d7b25eeb91 15:52:08 Step 9/32 : WORKDIR /app 15:52:08 ---> Running in 4c1222541d0a 15:52:08 Removing intermediate container 4c1222541d0a 15:52:08 ---> db76fb17e86d 15:52:08 Step 10/32 : COPY go.mod vendor* ./ 15:52:08 ---> 2f465348b78b 15:52:08 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:08 ---> Running in a13619981514 15:52:08 Removing intermediate container a13619981514 15:52:08 ---> 1e453e7f1405 15:52:08 Step 12/32 : COPY . . 15:52:09 ---> ff3a93ec022f 15:52:09 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:52:09 ---> Running in 8c9f1ef9702c 15:52:09 Removing intermediate container 8c9f1ef9702c 15:52:09 ---> eb6190c2f06e 15:52:09 Step 14/32 : RUN $MAKE 15:52:09 ---> Running in 4476eb587655 15:52:09 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.50 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.21 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 15:52:31 Removing intermediate container 4476eb587655 15:52:31 ---> 3cd3681fce90 15:52:31 Step 15/32 : FROM alpine:3.14 15:52:31 3.14: Pulling from library/alpine 15:52:31 c7ed990a2339: Pulling fs layer 15:52:31 c7ed990a2339: Verifying Checksum 15:52:31 c7ed990a2339: Download complete 15:52:31 c7ed990a2339: Pull complete 15:52:31 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 15:52:31 Status: Downloaded newer image for alpine:3.14 15:52:31 ---> dd53f409bf0b 15:52:31 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:52:31 ---> Running in 8e5a5aac7749 15:52:31 Removing intermediate container 8e5a5aac7749 15:52:31 ---> 142e4b954cb4 15:52:31 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 15:52:31 ---> Running in c76833b02a86 15:52:31 Removing intermediate container c76833b02a86 15:52:31 ---> 542b16514383 15:52:31 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:31 ---> Running in 434823801c76 15:52:32 Removing intermediate container 434823801c76 15:52:32 ---> ada271491bfc 15:52:32 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 15:52:32 ---> Running in 08116327900d 15:52:32 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:52:33 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:52:33 (1/7) Installing ca-certificates (20220614-r0) 15:52:33 (2/7) Installing dumb-init (1.2.5-r1) 15:52:33 (3/7) Installing libgcc (10.3.1_git20210424-r2) 15:52:33 (4/7) Installing libsodium (1.0.18-r0) 15:52:33 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 15:52:33 (6/7) Installing libzmq (4.3.4-r0) 15:52:34 (7/7) Installing zeromq (4.3.4-r0) 15:52:34 Executing busybox-1.33.1-r8.trigger 15:52:34 Executing ca-certificates-20220614-r0.trigger 15:52:34 OK: 9 MiB in 21 packages 15:52:34 Removing intermediate container 08116327900d 15:52:34 ---> 0270567f5197 15:52:34 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:52:35 ---> 77d05e6d2be5 15:52:35 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 15:52:35 ---> 60c21716a203 15:52:35 Step 22/32 : COPY --from=builder /app/res/ /res/ 15:52:35 ---> 7d3a21b701aa 15:52:35 Step 23/32 : COPY --from=builder /app/static/ /static/ 15:52:35 ---> 9a563dc01ec3 15:52:35 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 15:52:35 ---> 83014286421c 15:52:35 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 15:52:35 ---> Running in fdef553d9f04 15:52:36 Removing intermediate container fdef553d9f04 15:52:36 ---> 2f86f48d98db 15:52:36 Step 26/32 : VOLUME /cache 15:52:36 ---> Running in 82e21f70378d 15:52:36 Removing intermediate container 82e21f70378d 15:52:36 ---> ef1bb5e88834 15:52:36 Step 27/32 : EXPOSE 59711 15:52:36 ---> Running in 9463b8ae1ad5 15:52:36 Removing intermediate container 9463b8ae1ad5 15:52:36 ---> 768c0ad67a43 15:52:36 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 15:52:36 ---> Running in a8cc423a5d1e 15:52:36 Removing intermediate container a8cc423a5d1e 15:52:36 ---> 82d7ead5ea6f 15:52:36 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 15:52:36 ---> Running in e7d03516fe98 15:52:36 Removing intermediate container e7d03516fe98 15:52:36 ---> cc7f29fc11bb 15:52:36 Step 30/32 : LABEL arch=amd64 15:52:36 ---> Running in 40583303a7fa 15:52:36 Removing intermediate container 40583303a7fa 15:52:36 ---> aca27b15c46c 15:52:36 Step 31/32 : LABEL git_sha=3df42b5de7243deaef815f1e55d1348500d22d5e 15:52:37 ---> Running in 1bd664adcbe6 15:52:37 Removing intermediate container 1bd664adcbe6 15:52:37 ---> a3aa8cf1d919 15:52:37 Step 32/32 : LABEL version=2.3.0-dev.21 15:52:37 ---> Running in 98ed7921fe83 15:52:37 Removing intermediate container 98ed7921fe83 15:52:37 ---> 120e05612b9a 15:52:37 [Warning] One or more build-args [ARCH] were not consumed 15:52:37 Successfully built 120e05612b9a 15:52:37 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 15:52:37 provisioning config files... 15:52:37 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2737693738563584586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:37 ---> docker-login.sh 15:52:37 nexus3.edgexfoundry.org:10001 15:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:37 Configure a credential helper to remove this warning. See 15:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:37 15:52:37 Login Succeeded 15:52:37 nexus3.edgexfoundry.org:10002 15:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:37 Configure a credential helper to remove this warning. See 15:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:37 15:52:37 Login Succeeded 15:52:37 nexus3.edgexfoundry.org:10003 15:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:37 Configure a credential helper to remove this warning. See 15:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:37 15:52:37 Login Succeeded 15:52:37 nexus3.edgexfoundry.org:10004 15:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:37 Configure a credential helper to remove this warning. See 15:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:37 15:52:37 Login Succeeded 15:52:37 docker.io 15:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:38 Configure a credential helper to remove this warning. See 15:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:38 15:52:38 Login Succeeded 15:52:38 ---> docker-login.sh ends [Pipeline] } 15:52:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:38 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 15:52:38 3df42b5de7243deaef815f1e55d1348500d22d5e 15:52:38 latest 15:52:38 2.3.0-dev.21 15:52:38 3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 15:52:38 main 15:52:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:38 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:39 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3df42b5de7243deaef815f1e55d1348500d22d5e 15:52:39 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 15:52:39 10407e7d8c64: Preparing 15:52:39 b24758acb5a5: Preparing 15:52:39 95d07b7d8fcf: Preparing 15:52:39 9efffd86882e: Preparing 15:52:39 52dd2b2d9dae: Preparing 15:52:39 ecd193d2bf8f: Preparing 15:52:39 e8d60e8b89f2: Preparing 15:52:39 245cd49513fb: Preparing 15:52:39 63493a9ab2d4: Preparing 15:52:39 e8d60e8b89f2: Waiting 15:52:39 ecd193d2bf8f: Waiting 15:52:39 245cd49513fb: Waiting 15:52:39 63493a9ab2d4: Waiting 15:52:39 52dd2b2d9dae: Pushed 15:52:39 95d07b7d8fcf: Pushed 15:52:39 9efffd86882e: Pushed 15:52:39 10407e7d8c64: Pushed 15:52:39 63493a9ab2d4: Layer already exists 15:52:39 ecd193d2bf8f: Pushed 15:52:39 245cd49513fb: Pushed 15:52:39 e8d60e8b89f2: Pushed 15:52:41 b24758acb5a5: Pushed 15:52:41 3df42b5de7243deaef815f1e55d1348500d22d5e: digest: sha256:f787307bf3c46fa70c13416e3282c4469984e5032f0394c68d98ba09de82a00d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:41 + 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 15:52:42 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 15:52:42 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 15:52:42 10407e7d8c64: Preparing 15:52:42 b24758acb5a5: Preparing 15:52:42 95d07b7d8fcf: Preparing 15:52:42 9efffd86882e: Preparing 15:52:42 52dd2b2d9dae: Preparing 15:52:42 ecd193d2bf8f: Preparing 15:52:42 e8d60e8b89f2: Preparing 15:52:42 245cd49513fb: Preparing 15:52:42 63493a9ab2d4: Preparing 15:52:42 e8d60e8b89f2: Waiting 15:52:42 245cd49513fb: Waiting 15:52:42 63493a9ab2d4: Waiting 15:52:42 ecd193d2bf8f: Waiting 15:52:42 52dd2b2d9dae: Layer already exists 15:52:42 10407e7d8c64: Layer already exists 15:52:42 95d07b7d8fcf: Layer already exists 15:52:42 9efffd86882e: Layer already exists 15:52:42 b24758acb5a5: Layer already exists 15:52:42 e8d60e8b89f2: Layer already exists 15:52:42 245cd49513fb: Layer already exists 15:52:42 ecd193d2bf8f: Layer already exists 15:52:42 63493a9ab2d4: Layer already exists 15:52:42 latest: digest: sha256:f787307bf3c46fa70c13416e3282c4469984e5032f0394c68d98ba09de82a00d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:42 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:42 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.21 15:52:42 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 15:52:42 10407e7d8c64: Preparing 15:52:42 b24758acb5a5: Preparing 15:52:42 95d07b7d8fcf: Preparing 15:52:42 9efffd86882e: Preparing 15:52:42 52dd2b2d9dae: Preparing 15:52:42 ecd193d2bf8f: Preparing 15:52:42 e8d60e8b89f2: Preparing 15:52:42 245cd49513fb: Preparing 15:52:42 63493a9ab2d4: Preparing 15:52:42 e8d60e8b89f2: Waiting 15:52:42 245cd49513fb: Waiting 15:52:42 63493a9ab2d4: Waiting 15:52:42 ecd193d2bf8f: Waiting 15:52:42 52dd2b2d9dae: Layer already exists 15:52:42 9efffd86882e: Layer already exists 15:52:42 95d07b7d8fcf: Layer already exists 15:52:42 b24758acb5a5: Layer already exists 15:52:42 10407e7d8c64: Layer already exists 15:52:42 e8d60e8b89f2: Layer already exists 15:52:42 ecd193d2bf8f: Layer already exists 15:52:42 245cd49513fb: Layer already exists 15:52:42 63493a9ab2d4: Layer already exists 15:52:42 2.3.0-dev.21: digest: sha256:f787307bf3c46fa70c13416e3282c4469984e5032f0394c68d98ba09de82a00d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:43 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:43 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 15:52:43 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 15:52:43 10407e7d8c64: Preparing 15:52:43 b24758acb5a5: Preparing 15:52:43 95d07b7d8fcf: Preparing 15:52:43 9efffd86882e: Preparing 15:52:43 52dd2b2d9dae: Preparing 15:52:43 ecd193d2bf8f: Preparing 15:52:43 e8d60e8b89f2: Preparing 15:52:43 245cd49513fb: Preparing 15:52:43 63493a9ab2d4: Preparing 15:52:43 ecd193d2bf8f: Waiting 15:52:43 e8d60e8b89f2: Waiting 15:52:43 245cd49513fb: Waiting 15:52:43 10407e7d8c64: Layer already exists 15:52:43 52dd2b2d9dae: Layer already exists 15:52:43 9efffd86882e: Layer already exists 15:52:43 95d07b7d8fcf: Layer already exists 15:52:43 b24758acb5a5: Layer already exists 15:52:43 ecd193d2bf8f: Layer already exists 15:52:43 63493a9ab2d4: Layer already exists 15:52:43 e8d60e8b89f2: Layer already exists 15:52:43 245cd49513fb: Layer already exists 15:52:43 3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21: digest: sha256:f787307bf3c46fa70c13416e3282c4469984e5032f0394c68d98ba09de82a00d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:43 + 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 15:52:43 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 15:52:43 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 15:52:43 10407e7d8c64: Preparing 15:52:43 b24758acb5a5: Preparing 15:52:43 95d07b7d8fcf: Preparing 15:52:43 9efffd86882e: Preparing 15:52:43 52dd2b2d9dae: Preparing 15:52:43 ecd193d2bf8f: Preparing 15:52:43 e8d60e8b89f2: Preparing 15:52:43 245cd49513fb: Preparing 15:52:43 63493a9ab2d4: Preparing 15:52:43 ecd193d2bf8f: Waiting 15:52:43 e8d60e8b89f2: Waiting 15:52:43 245cd49513fb: Waiting 15:52:43 63493a9ab2d4: Waiting 15:52:43 9efffd86882e: Layer already exists 15:52:43 b24758acb5a5: Layer already exists 15:52:43 10407e7d8c64: Layer already exists 15:52:43 95d07b7d8fcf: Layer already exists 15:52:43 52dd2b2d9dae: Layer already exists 15:52:43 ecd193d2bf8f: Layer already exists 15:52:43 e8d60e8b89f2: Layer already exists 15:52:43 245cd49513fb: Layer already exists 15:52:43 63493a9ab2d4: Layer already exists 15:52:43 main: digest: sha256:f787307bf3c46fa70c13416e3282c4469984e5032f0394c68d98ba09de82a00d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:43 ===================================================== [Pipeline] echo 15:52:43 taggedImages: 15:52:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3df42b5de7243deaef815f1e55d1348500d22d5e 15:52:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 15:52:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.21 15:52:43 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 15:52:43 - 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 15:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:44 15:52:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:44 latest: Pulling from edgex-lftools-log-publisher 15:52:44 5eb5b503b376: Pulling fs layer 15:52:44 5c69ac0246d0: Pulling fs layer 15:52:44 ec43610c2a17: Pulling fs layer 15:52:44 3a2ae6a8a46f: Pulling fs layer 15:52:44 33b1e0a273af: Pulling fs layer 15:52:44 5d3b04190fa2: Pulling fs layer 15:52:44 2f39f015ded8: Pulling fs layer 15:52:44 5d3b04190fa2: Waiting 15:52:44 33b1e0a273af: Waiting 15:52:44 5c69ac0246d0: Verifying Checksum 15:52:44 5c69ac0246d0: Download complete 15:52:44 3a2ae6a8a46f: Download complete 15:52:45 33b1e0a273af: Verifying Checksum 15:52:45 33b1e0a273af: Download complete 15:52:45 ec43610c2a17: Verifying Checksum 15:52:45 ec43610c2a17: Download complete 15:52:45 5d3b04190fa2: Verifying Checksum 15:52:45 5d3b04190fa2: Download complete 15:52:45 5eb5b503b376: Verifying Checksum 15:52:45 5eb5b503b376: Download complete 15:52:46 2f39f015ded8: Download complete 15:52:46 5eb5b503b376: Pull complete 15:52:46 5c69ac0246d0: Pull complete 15:52:47 ec43610c2a17: Pull complete 15:52:47 3a2ae6a8a46f: Pull complete 15:52:47 33b1e0a273af: Pull complete 15:52:47 5d3b04190fa2: Pull complete 15:52:52 2f39f015ded8: Pull complete 15:52:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:52 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 15:52:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:54 $ docker top bd47696097f4ecaf9c169de1c34052e8f19e1f84c95509f3d317e7560e92c3d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:55 ---> job-cost.sh 15:52:55 lf-activate-venv: SKIPPING 15:52:55 INFO: No Stack... 15:52:55 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:56 INFO: Archiving Costs [Pipeline] sh 15:52:56 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 15:52:56 + cut -d, -f6 [Pipeline] lock 15:52:56 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] 15:52:56 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] did not exist. Created. 15:52:56 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:56 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:56 Stashed 1 file(s) [Pipeline] } 15:52:56 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:56 $ docker stop --time=1 bd47696097f4ecaf9c169de1c34052e8f19e1f84c95509f3d317e7560e92c3d4 15:52:58 $ docker rm -f bd47696097f4ecaf9c169de1c34052e8f19e1f84c95509f3d317e7560e92c3d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:10:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-30986 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 20:10:44 Running in /w/workspace/app-rfid-llrp-inventory/61 [Pipeline] { [Pipeline] checkout 20:10:44 The recommended git tool is: git 20:10:49 using credential edgex-jenkins-ssh 20:10:49 Cloning the remote Git repository 20:10:49 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:10:49 > git init /w/workspace/app-rfid-llrp-inventory/61 # timeout=10 20:10:49 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 20:10:49 > git --version # timeout=10 20:10:49 > git --version # 'git version 2.25.1' 20:10:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:10:49 Verifying host key using known hosts file 20:10:50 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. 20:10:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:10:52 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 20:10:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:10:53 Avoid second fetch 20:10:53 Checking out Revision 3df42b5de7243deaef815f1e55d1348500d22d5e (main) 20:10:53 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#116)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:53 > git config core.sparsecheckout # timeout=10 20:10:53 > git checkout -f 3df42b5de7243deaef815f1e55d1348500d22d5e # timeout=10 20:10:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:10:54 % Total % Received % Xferd Average Speed Time Time Time Current 20:10:54 Dload Upload Total Spent Left Speed 20:10:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh 20:10:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:10:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:10:55 + sudo tee /etc/docker/daemon.new 20:10:55 { 20:10:55 "registry-mirrors": [ 20:10:55 "https://nexus3.edgexfoundry.org:10001" 20:10:55 ], 20:10:55 "bip": "10.250.0.254/24", 20:10:55 "hosts": [ 20:10:55 "tcp://0.0.0.0:5555", 20:10:55 "unix:///var/run/docker.sock" 20:10:55 ], 20:10:55 "mtu": 1458, 20:10:55 "selinux-enabled": true, 20:10:55 "seccomp-profile": "/etc/docker/seccomp.json" 20:10:55 } [Pipeline] sh 20:10:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:10:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:14 provisioning config files... 20:11:14 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/61@tmp/config13843061100142402072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:14 ---> docker-login.sh 20:11:14 nexus3.edgexfoundry.org:10001 20:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:15 Configure a credential helper to remove this warning. See 20:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:15 20:11:15 Login Succeeded 20:11:15 nexus3.edgexfoundry.org:10002 20:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:15 Configure a credential helper to remove this warning. See 20:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:15 20:11:15 Login Succeeded 20:11:15 nexus3.edgexfoundry.org:10003 20:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:16 Configure a credential helper to remove this warning. See 20:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:16 20:11:16 Login Succeeded 20:11:16 nexus3.edgexfoundry.org:10004 20:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:16 Configure a credential helper to remove this warning. See 20:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:16 20:11:16 Login Succeeded 20:11:16 docker.io 20:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:17 Configure a credential helper to remove this warning. See 20:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:17 20:11:17 Login Succeeded 20:11:17 ---> docker-login.sh ends [Pipeline] } 20:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:17 ========================================================= 20:11:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:11:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:17 + 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 . 20:11:18 Sending build context to Docker daemon 683.5kB 20:11:18 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:11:18 Step 2/14 : FROM ${BASE} AS builder 20:11:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:11:18 9b18e9b68314: Pulling fs layer 20:11:18 d32db5db7311: Pulling fs layer 20:11:18 d0c4b47475fc: Pulling fs layer 20:11:18 5831b945b038: Pulling fs layer 20:11:18 86bbec2aaacd: Pulling fs layer 20:11:18 e10730c5d714: Pulling fs layer 20:11:18 5dd5c2283517: Pulling fs layer 20:11:18 d5ac0230b979: Pulling fs layer 20:11:18 5831b945b038: Waiting 20:11:18 e10730c5d714: Waiting 20:11:18 86bbec2aaacd: Waiting 20:11:18 5dd5c2283517: Waiting 20:11:18 d5ac0230b979: Waiting 20:11:18 d0c4b47475fc: Download complete 20:11:18 d32db5db7311: Verifying Checksum 20:11:18 d32db5db7311: Download complete 20:11:18 86bbec2aaacd: Verifying Checksum 20:11:18 86bbec2aaacd: Download complete 20:11:18 e10730c5d714: Verifying Checksum 20:11:18 e10730c5d714: Download complete 20:11:18 9b18e9b68314: Verifying Checksum 20:11:18 9b18e9b68314: Download complete 20:11:19 9b18e9b68314: Pull complete 20:11:19 d5ac0230b979: Verifying Checksum 20:11:19 d5ac0230b979: Download complete 20:11:19 d32db5db7311: Pull complete 20:11:19 d0c4b47475fc: Pull complete 20:11:20 5dd5c2283517: Verifying Checksum 20:11:20 5dd5c2283517: Download complete 20:11:21 5831b945b038: Verifying Checksum 20:11:21 5831b945b038: Download complete 20:11:33 5831b945b038: Pull complete 20:11:33 86bbec2aaacd: Pull complete 20:11:33 e10730c5d714: Pull complete 20:11:38 5dd5c2283517: Pull complete 20:11:40 d5ac0230b979: Pull complete 20:11:41 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:11:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:11:41 ---> 59b3b1a385d4 20:11:41 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:11:43 ---> Running in ab4572c57899 20:11:43 Removing intermediate container ab4572c57899 20:11:43 ---> 2c6e8e9ebd97 20:11:43 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 20:11:43 ---> Running in 79b416d96f05 20:11:43 Removing intermediate container 79b416d96f05 20:11:43 ---> 0684df9e250e 20:11:43 Step 5/14 : ARG ADD_BUILD_TAGS="" 20:11:43 ---> Running in 1e604f88225f 20:11:43 Removing intermediate container 1e604f88225f 20:11:43 ---> f41dc68ba873 20:11:43 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:11:43 ---> Running in 33c90d5d1e20 20:11:44 Removing intermediate container 33c90d5d1e20 20:11:44 ---> c895e02bcb0c 20:11:44 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:11:44 ---> Running in f0faab4ba99d 20:11:46 Removing intermediate container f0faab4ba99d 20:11:46 ---> 6a8d042f91be 20:11:46 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:46 ---> Running in bb59a29c76b3 20:11:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:11:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:11:48 OK: 221 MiB in 51 packages 20:11:50 Removing intermediate container bb59a29c76b3 20:11:50 ---> 5b0949a5102c 20:11:50 Step 9/14 : WORKDIR /app 20:11:50 ---> Running in 60e0f75e3b5d 20:11:50 Removing intermediate container 60e0f75e3b5d 20:11:50 ---> ad2610d8c1f3 20:11:50 Step 10/14 : COPY go.mod vendor* ./ 20:11:51 ---> 862474d4982d 20:11:51 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:51 ---> Running in 9327fec5c7e1 20:12:47 Removing intermediate container 9327fec5c7e1 20:12:47 ---> 044a63705c5d 20:12:47 Step 12/14 : COPY . . 20:12:47 ---> 6f8ebcfafc28 20:12:47 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:47 ---> Running in 587cec34e437 20:12:47 Removing intermediate container 587cec34e437 20:12:47 ---> eb2e855fc44c 20:12:47 Step 14/14 : RUN $MAKE 20:12:47 ---> Running in 3cff26d99467 20:12:47 noop 20:12:47 Removing intermediate container 3cff26d99467 20:12:47 ---> bb851a05bd27 20:12:47 Successfully built bb851a05bd27 20:12:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:48 + docker inspect -f . ci-base-image-arm64 20:12:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:48 prd-ubuntu20.04-docker-arm64-4c-16g-30986 does not seem to be running inside a container 20:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/61 -v /w/workspace/app-rfid-llrp-inventory/61:/w/workspace/app-rfid-llrp-inventory/61:rw,z -v /w/workspace/app-rfid-llrp-inventory/61@tmp:/w/workspace/app-rfid-llrp-inventory/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:12:49 $ docker top 21d35de400eaf85c0b26b966094a88f7609de4ffebbb2dedaab40f20a6c36683 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:50 + go version 20:12:50 go version go1.18.7 linux/arm64 [Pipeline] } 20:12:50 $ docker stop --time=1 21d35de400eaf85c0b26b966094a88f7609de4ffebbb2dedaab40f20a6c36683 20:12:52 $ docker rm -f 21d35de400eaf85c0b26b966094a88f7609de4ffebbb2dedaab40f20a6c36683 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:52 + docker inspect -f . ci-base-image-arm64 20:12:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:52 prd-ubuntu20.04-docker-arm64-4c-16g-30986 does not seem to be running inside a container 20:12:52 $ 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/61 -v /w/workspace/app-rfid-llrp-inventory/61:/w/workspace/app-rfid-llrp-inventory/61:rw,z -v /w/workspace/app-rfid-llrp-inventory/61@tmp:/w/workspace/app-rfid-llrp-inventory/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:12:54 $ docker top 7084fab2c3acd85dadcca45755b1e5e984563b7a69124f854fcb47c6df7119d8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:54 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/61 [Pipeline] fileExists [Pipeline] sh 20:12:54 + make test 20:12:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:14:32 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 20:14:32 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.136s coverage: 86.2% of statements 20:14:32 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 20:14:32 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.707s coverage: 71.9% of statements 20:14:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:14:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:14:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:14:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:14:47 ./bin/test-attribution.sh [Pipeline] echo 20:14:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:14:47 $ docker stop --time=1 7084fab2c3acd85dadcca45755b1e5e984563b7a69124f854fcb47c6df7119d8 20:14:50 $ docker rm -f 7084fab2c3acd85dadcca45755b1e5e984563b7a69124f854fcb47c6df7119d8 [Pipeline] // withDockerContainer [Pipeline] sh 20:14:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:14:50 Warning: overwriting stash ‘coverage-report’ 20:14:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:14:52 + ls -al . 20:14:52 total 228 20:14:52 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 20:12 . 20:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 20:10 .. 20:14:52 -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 20:10 .dockerignore 20:14:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 20:10 .git 20:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 20:10 .github 20:14:52 -rw-rw-r-- 1 jenkins jenkins 788 Oct 24 20:10 .gitignore 20:14:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 20:10 .golangci.yml 20:14:52 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 24 20:10 Attribution.txt 20:14:52 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 24 20:10 CHANGELOG.md 20:14:52 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 24 20:10 Dockerfile 20:14:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 20:10 GOVERNANCE.md 20:14:52 -rw-rw-r-- 1 jenkins jenkins 687 Oct 24 20:10 Jenkinsfile 20:14:52 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 20:10 LICENSE 20:14:52 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 24 20:10 Makefile 20:14:52 -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 20:10 OWNERS.md 20:14:52 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 24 20:10 README.md 20:14:52 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:50 VERSION 20:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 20:10 bin 20:14:52 -rw-r--r-- 1 jenkins jenkins 41008 Oct 24 20:14 coverage.out 20:14:52 -rw-rw-r-- 1 jenkins jenkins 3657 Oct 24 20:10 go.mod 20:14:52 -rw-rw-r-- 1 jenkins jenkins 38018 Oct 24 20:10 go.sum 20:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 20:10 images 20:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 20:10 internal 20:14:52 -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 20:10 main.go 20:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 20:10 res 20:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 20:10 snap 20:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 20:10 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:52 + 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=3df42b5de7243deaef815f1e55d1348500d22d5e --label arch=arm64 --label version=2.3.0-dev.21 . 20:14:52 Sending build context to Docker daemon 683.5kB 20:14:52 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 20:14:52 Step 2/32 : FROM ${BASE} AS builder 20:14:52 ---> bb851a05bd27 20:14:52 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:14:52 ---> Running in 9e6219de867d 20:14:52 Removing intermediate container 9e6219de867d 20:14:52 ---> aef6db36c950 20:14:52 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 20:14:52 ---> Running in aee4f53ef905 20:14:53 Removing intermediate container aee4f53ef905 20:14:53 ---> 5855c598db24 20:14:53 Step 5/32 : ARG ADD_BUILD_TAGS="" 20:14:53 ---> Running in 62b934297456 20:14:53 Removing intermediate container 62b934297456 20:14:53 ---> adaae9756f18 20:14:53 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:14:53 ---> Running in baab4862c9c4 20:14:54 Removing intermediate container baab4862c9c4 20:14:54 ---> 1f65c9a147b0 20:14:54 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:54 ---> Running in ddaa68128a44 20:14:55 Removing intermediate container ddaa68128a44 20:14:55 ---> 1f1b13bab6fd 20:14:55 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:55 ---> Running in ca5bb0a4c86a 20:14:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:14:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:14:58 OK: 221 MiB in 51 packages 20:14:59 Removing intermediate container ca5bb0a4c86a 20:14:59 ---> 94413ad33d3d 20:14:59 Step 9/32 : WORKDIR /app 20:14:59 ---> Running in a2475403ece6 20:14:59 Removing intermediate container a2475403ece6 20:14:59 ---> 705a4c718c02 20:14:59 Step 10/32 : COPY go.mod vendor* ./ 20:15:00 ---> b3b9446226f9 20:15:00 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:00 ---> Running in 9c95e1fd0e1d 20:15:02 Removing intermediate container 9c95e1fd0e1d 20:15:02 ---> b6f4df1fe4b3 20:15:02 Step 12/32 : COPY . . 20:15:02 ---> f816622ddf43 20:15:02 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:15:02 ---> Running in 3f754b1f69e4 20:15:03 Removing intermediate container 3f754b1f69e4 20:15:03 ---> 1d0988021e07 20:15:03 Step 14/32 : RUN $MAKE 20:15:03 ---> Running in 95d43c2d2cae 20:15:03 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.50 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.21 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 20:17:40 Removing intermediate container 95d43c2d2cae 20:17:40 ---> 3967abfc20f3 20:17:40 Step 15/32 : FROM alpine:3.14 20:17:40 3.14: Pulling from library/alpine 20:17:40 90cda3b7c325: Pulling fs layer 20:17:40 90cda3b7c325: Verifying Checksum 20:17:40 90cda3b7c325: Download complete 20:17:40 90cda3b7c325: Pull complete 20:17:40 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:17:40 Status: Downloaded newer image for alpine:3.14 20:17:40 ---> 376ba31ae3da 20:17:40 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:17:40 ---> Running in 0f6879c14bb6 20:17:40 Removing intermediate container 0f6879c14bb6 20:17:40 ---> 18fd81079ef6 20:17:40 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 20:17:40 ---> Running in 4dc10ca27bda 20:17:40 Removing intermediate container 4dc10ca27bda 20:17:40 ---> 7658a0f40b26 20:17:40 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:17:40 ---> Running in d963eb3d083d 20:17:40 Removing intermediate container d963eb3d083d 20:17:40 ---> ed56b4ede534 20:17:40 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 20:17:40 ---> Running in 6141bbf55e26 20:17:40 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:17:40 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:17:40 (1/7) Installing ca-certificates (20220614-r0) 20:17:40 (2/7) Installing dumb-init (1.2.5-r1) 20:17:40 (3/7) Installing libgcc (10.3.1_git20210424-r2) 20:17:40 (4/7) Installing libsodium (1.0.18-r0) 20:17:40 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 20:17:40 (6/7) Installing libzmq (4.3.4-r0) 20:17:40 (7/7) Installing zeromq (4.3.4-r0) 20:17:40 Executing busybox-1.33.1-r8.trigger 20:17:40 Executing ca-certificates-20220614-r0.trigger 20:17:40 OK: 9 MiB in 21 packages 20:17:40 Removing intermediate container 6141bbf55e26 20:17:40 ---> 73bf678f31e3 20:17:40 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:17:40 ---> 514159f94d7d 20:17:40 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 20:17:40 ---> e7e1f987ba6d 20:17:40 Step 22/32 : COPY --from=builder /app/res/ /res/ 20:17:40 ---> 817206a03a23 20:17:40 Step 23/32 : COPY --from=builder /app/static/ /static/ 20:17:40 ---> 467b4427bf65 20:17:40 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 20:17:40 ---> 8defc5f2d4ca 20:17:40 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 20:17:40 ---> Running in e3d31027764d 20:17:42 Removing intermediate container e3d31027764d 20:17:42 ---> 0b605396d972 20:17:42 Step 26/32 : VOLUME /cache 20:17:42 ---> Running in bb16383ae808 20:17:42 Removing intermediate container bb16383ae808 20:17:42 ---> c41e09ef1272 20:17:42 Step 27/32 : EXPOSE 59711 20:17:42 ---> Running in 3ef05d1699c2 20:17:42 Removing intermediate container 3ef05d1699c2 20:17:42 ---> 4426dcf5d83a 20:17:42 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 20:17:42 ---> Running in 304d21cc4930 20:17:43 Removing intermediate container 304d21cc4930 20:17:43 ---> d0809f6f49e9 20:17:43 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 20:17:43 ---> Running in 238ff5d35ee1 20:17:43 Removing intermediate container 238ff5d35ee1 20:17:43 ---> 2f2140c52292 20:17:43 Step 30/32 : LABEL arch=arm64 20:17:43 ---> Running in ba91957c8265 20:17:44 Removing intermediate container ba91957c8265 20:17:44 ---> 85b314778f8a 20:17:44 Step 31/32 : LABEL git_sha=3df42b5de7243deaef815f1e55d1348500d22d5e 20:17:44 ---> Running in 368427d81993 20:17:44 Removing intermediate container 368427d81993 20:17:44 ---> 47dadc7bc1c9 20:17:44 Step 32/32 : LABEL version=2.3.0-dev.21 20:17:44 ---> Running in 60195fc5f548 20:17:44 Removing intermediate container 60195fc5f548 20:17:44 ---> f8fddba19263 20:17:44 [Warning] One or more build-args [ARCH] were not consumed 20:17:44 Successfully built f8fddba19263 20:17:44 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:44 provisioning config files... 20:17:45 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/61@tmp/config2403702961746736890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:45 ---> docker-login.sh 20:17:45 nexus3.edgexfoundry.org:10001 20:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:45 Configure a credential helper to remove this warning. See 20:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:45 20:17:45 Login Succeeded 20:17:45 nexus3.edgexfoundry.org:10002 20:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:45 Configure a credential helper to remove this warning. See 20:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:45 20:17:45 Login Succeeded 20:17:45 nexus3.edgexfoundry.org:10003 20:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:46 Configure a credential helper to remove this warning. See 20:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:46 20:17:46 Login Succeeded 20:17:46 nexus3.edgexfoundry.org:10004 20:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:46 Configure a credential helper to remove this warning. See 20:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:46 20:17:46 Login Succeeded 20:17:46 docker.io 20:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:47 Configure a credential helper to remove this warning. See 20:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:47 20:17:47 Login Succeeded 20:17:47 ---> docker-login.sh ends [Pipeline] } 20:17:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:47 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 20:17:47 3df42b5de7243deaef815f1e55d1348500d22d5e 20:17:47 latest 20:17:47 2.3.0-dev.21 20:17:47 3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 20:17:47 main 20:17:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:47 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:47 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3df42b5de7243deaef815f1e55d1348500d22d5e 20:17:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 20:17:47 032538e56596: Preparing 20:17:47 03d841bdf686: Preparing 20:17:47 5747083aeebc: Preparing 20:17:47 fbf090091fac: Preparing 20:17:47 fdf9e6e4daa0: Preparing 20:17:47 5ab1b2c750cb: Preparing 20:17:47 0a794500d692: Preparing 20:17:47 1c7b0ae5aea5: Preparing 20:17:47 28c3ef001483: Preparing 20:17:47 5ab1b2c750cb: Waiting 20:17:47 0a794500d692: Waiting 20:17:47 1c7b0ae5aea5: Waiting 20:17:47 28c3ef001483: Waiting 20:17:48 fbf090091fac: Pushed 20:17:48 fdf9e6e4daa0: Pushed 20:17:48 032538e56596: Pushed 20:17:48 5747083aeebc: Pushed 20:17:48 28c3ef001483: Layer already exists 20:17:48 5ab1b2c750cb: Pushed 20:17:48 1c7b0ae5aea5: Pushed 20:17:49 0a794500d692: Pushed 20:17:53 03d841bdf686: Pushed 20:17:53 3df42b5de7243deaef815f1e55d1348500d22d5e: digest: sha256:83bbdcb1298c0ae2c6c7ffbd72285b3fd2e69a42a3680c353b9c288024e77d5a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:54 + 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 20:17:54 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 20:17:54 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 20:17:54 032538e56596: Preparing 20:17:54 03d841bdf686: Preparing 20:17:54 5747083aeebc: Preparing 20:17:54 fbf090091fac: Preparing 20:17:54 fdf9e6e4daa0: Preparing 20:17:54 5ab1b2c750cb: Preparing 20:17:54 0a794500d692: Preparing 20:17:54 1c7b0ae5aea5: Preparing 20:17:54 28c3ef001483: Preparing 20:17:54 5ab1b2c750cb: Waiting 20:17:54 0a794500d692: Waiting 20:17:54 1c7b0ae5aea5: Waiting 20:17:54 28c3ef001483: Waiting 20:17:54 fdf9e6e4daa0: Layer already exists 20:17:54 03d841bdf686: Layer already exists 20:17:54 032538e56596: Layer already exists 20:17:54 fbf090091fac: Layer already exists 20:17:54 5747083aeebc: Layer already exists 20:17:54 28c3ef001483: Layer already exists 20:17:54 1c7b0ae5aea5: Layer already exists 20:17:54 0a794500d692: Layer already exists 20:17:54 5ab1b2c750cb: Layer already exists 20:17:54 latest: digest: sha256:83bbdcb1298c0ae2c6c7ffbd72285b3fd2e69a42a3680c353b9c288024e77d5a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:54 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:55 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.21 20:17:55 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 20:17:55 032538e56596: Preparing 20:17:55 03d841bdf686: Preparing 20:17:55 5747083aeebc: Preparing 20:17:55 fbf090091fac: Preparing 20:17:55 fdf9e6e4daa0: Preparing 20:17:55 5ab1b2c750cb: Preparing 20:17:55 0a794500d692: Preparing 20:17:55 1c7b0ae5aea5: Preparing 20:17:55 28c3ef001483: Preparing 20:17:55 0a794500d692: Waiting 20:17:55 1c7b0ae5aea5: Waiting 20:17:55 28c3ef001483: Waiting 20:17:55 5ab1b2c750cb: Waiting 20:17:55 fdf9e6e4daa0: Layer already exists 20:17:55 fbf090091fac: Layer already exists 20:17:55 032538e56596: Layer already exists 20:17:55 03d841bdf686: Layer already exists 20:17:55 5747083aeebc: Layer already exists 20:17:55 5ab1b2c750cb: Layer already exists 20:17:55 28c3ef001483: Layer already exists 20:17:55 0a794500d692: Layer already exists 20:17:55 1c7b0ae5aea5: Layer already exists 20:17:55 2.3.0-dev.21: digest: sha256:83bbdcb1298c0ae2c6c7ffbd72285b3fd2e69a42a3680c353b9c288024e77d5a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:55 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:56 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 20:17:56 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 20:17:56 032538e56596: Preparing 20:17:56 03d841bdf686: Preparing 20:17:56 5747083aeebc: Preparing 20:17:56 fbf090091fac: Preparing 20:17:56 fdf9e6e4daa0: Preparing 20:17:56 5ab1b2c750cb: Preparing 20:17:56 0a794500d692: Preparing 20:17:56 1c7b0ae5aea5: Preparing 20:17:56 28c3ef001483: Preparing 20:17:56 0a794500d692: Waiting 20:17:56 1c7b0ae5aea5: Waiting 20:17:56 5ab1b2c750cb: Waiting 20:17:56 28c3ef001483: Waiting 20:17:56 032538e56596: Layer already exists 20:17:56 fdf9e6e4daa0: Layer already exists 20:17:56 5747083aeebc: Layer already exists 20:17:56 03d841bdf686: Layer already exists 20:17:56 fbf090091fac: Layer already exists 20:17:56 5ab1b2c750cb: Layer already exists 20:17:56 1c7b0ae5aea5: Layer already exists 20:17:56 0a794500d692: Layer already exists 20:17:56 28c3ef001483: Layer already exists 20:17:56 3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21: digest: sha256:83bbdcb1298c0ae2c6c7ffbd72285b3fd2e69a42a3680c353b9c288024e77d5a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:56 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:56 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 20:17:56 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 20:17:56 032538e56596: Preparing 20:17:56 03d841bdf686: Preparing 20:17:56 5747083aeebc: Preparing 20:17:56 fbf090091fac: Preparing 20:17:56 fdf9e6e4daa0: Preparing 20:17:56 5ab1b2c750cb: Preparing 20:17:56 0a794500d692: Preparing 20:17:56 1c7b0ae5aea5: Preparing 20:17:56 28c3ef001483: Preparing 20:17:56 5ab1b2c750cb: Waiting 20:17:56 1c7b0ae5aea5: Waiting 20:17:56 0a794500d692: Waiting 20:17:56 28c3ef001483: Waiting 20:17:56 03d841bdf686: Layer already exists 20:17:56 5747083aeebc: Layer already exists 20:17:56 fdf9e6e4daa0: Layer already exists 20:17:56 032538e56596: Layer already exists 20:17:56 fbf090091fac: Layer already exists 20:17:56 0a794500d692: Layer already exists 20:17:56 5ab1b2c750cb: Layer already exists 20:17:56 1c7b0ae5aea5: Layer already exists 20:17:56 28c3ef001483: Layer already exists 20:17:56 main: digest: sha256:83bbdcb1298c0ae2c6c7ffbd72285b3fd2e69a42a3680c353b9c288024e77d5a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:17:56 ===================================================== [Pipeline] echo 20:17:57 taggedImages: 20:17:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3df42b5de7243deaef815f1e55d1348500d22d5e 20:17:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 20:17:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.21 20:17:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:3df42b5de7243deaef815f1e55d1348500d22d5e-2.3.0-dev.21 20:17:57 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:57 20:17:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:57 arm64: Pulling from edgex-lftools-log-publisher 20:17:57 8998bd30e6a1: Pulling fs layer 20:17:57 04944245beec: Pulling fs layer 20:17:57 699f458cf7ca: Pulling fs layer 20:17:57 765212b225bb: Pulling fs layer 20:17:57 f23df028b6ca: Pulling fs layer 20:17:57 d65c8cfc05b1: Pulling fs layer 20:17:57 2437ff75d9bd: Pulling fs layer 20:17:57 f23df028b6ca: Waiting 20:17:57 d65c8cfc05b1: Waiting 20:17:57 2437ff75d9bd: Waiting 20:17:57 765212b225bb: Waiting 20:17:57 04944245beec: Verifying Checksum 20:17:57 04944245beec: Download complete 20:17:57 765212b225bb: Download complete 20:17:57 f23df028b6ca: Verifying Checksum 20:17:57 f23df028b6ca: Download complete 20:17:57 d65c8cfc05b1: Verifying Checksum 20:17:57 d65c8cfc05b1: Download complete 20:17:57 699f458cf7ca: Verifying Checksum 20:17:57 699f458cf7ca: Download complete 20:17:58 8998bd30e6a1: Download complete 20:18:00 2437ff75d9bd: Verifying Checksum 20:18:00 2437ff75d9bd: Download complete 20:18:02 8998bd30e6a1: Pull complete 20:18:02 04944245beec: Pull complete 20:18:04 699f458cf7ca: Pull complete 20:18:04 765212b225bb: Pull complete 20:18:04 f23df028b6ca: Pull complete 20:18:04 d65c8cfc05b1: Pull complete 20:18:19 2437ff75d9bd: Pull complete 20:18:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:18:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:18:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:20 prd-ubuntu20.04-docker-arm64-4c-16g-30986 does not seem to be running inside a container 20:18:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/61 -v /w/workspace/app-rfid-llrp-inventory/61:/w/workspace/app-rfid-llrp-inventory/61:rw,z -v /w/workspace/app-rfid-llrp-inventory/61@tmp:/w/workspace/app-rfid-llrp-inventory/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:18:22 $ docker top 6fe7cff11d04ade6f91a07a6534722a4f766d182fb9cf4247a3b7a74fc85a067 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:23 ---> job-cost.sh 20:18:23 lf-activate-venv: SKIPPING 20:18:23 INFO: No Stack... 20:18:24 INFO: Retrieving Pricing Info for: v3-standard-4 20:18:24 INFO: Archiving Costs [Pipeline] sh 20:18:24 + cat /w/workspace/app-rfid-llrp-inventory/61/archives/cost.csv 20:18:24 + cut -d, -f6 [Pipeline] lock 20:18:24 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] 20:18:24 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] did not exist. Created. 20:18:24 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:18:25 /w/workspace/app-rfid-llrp-inventory/61@tmp/durable-e49ee726/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:18:25 + echo total: 0.10999999940395355 [Pipeline] stash 20:18:25 Warning: overwriting stash ‘stack-cost’ 20:18:25 Stashed 1 file(s) [Pipeline] } 20:18:25 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 20:18:25 $ docker stop --time=1 6fe7cff11d04ade6f91a07a6534722a4f766d182fb9cf4247a3b7a74fc85a067 20:18:27 $ docker rm -f 6fe7cff11d04ade6f91a07a6534722a4f766d182fb9cf4247a3b7a74fc85a067 [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 20:18:27 provisioning config files... 20:18:27 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config652373401893075777tmp [Pipeline] { [Pipeline] sh 20:18:27 + set +x 20:18:27 + bash -s -- 20:18:27 + curl -s https://codecov.io/bash 20:18:27 20:18:27 _____ _ 20:18:27 / ____| | | 20:18:27 | | ___ __| | ___ ___ _____ __ 20:18:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:18:27 | |___| (_) | (_| | __/ (_| (_) \ V / 20:18:27 \_____\___/ \__,_|\___|\___\___/ \_/ 20:18:27 Bash-1.0.6 20:18:27 20:18:27 20:18:27 ==> git version 2.25.1 found 20:18:27 ==> 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 20:18:27 Release-Date: 2020-01-08 20:18:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:18:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:18:27 ==> Jenkins CI detected. 20:18:27 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 20:18:27 project root: . 20:18:27 --> token set from env 20:18:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:18:27 ==> Running gcov in . (disable via -X gcov) 20:18:27 ==> Python coveragepy not found 20:18:27 ==> Searching for coverage reports in: 20:18:27 + . 20:18:27 -> Found 1 reports 20:18:27 ==> Detecting git/mercurial file structure 20:18:27 ==> Reading reports 20:18:28 + ./coverage.out bytes=41008 20:18:28 ==> Appending adjustments 20:18:28 https://docs.codecov.io/docs/fixing-reports 20:18:28 + Found adjustments 20:18:28 ==> Gzipping contents 20:18:28 12K /tmp/codecov.znF5pW.gz 20:18:28 ==> Uploading reports 20:18:28 url: https://codecov.io 20:18:28 query: branch=main&commit=3df42b5de7243deaef815f1e55d1348500d22d5e&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 20:18:28 -> Pinging Codecov 20:18:28 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=3df42b5de7243deaef815f1e55d1348500d22d5e&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 20:18:28 -> Uploading to 20:18:28 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/581DD39554BDF9B6E22D074273EAD858/3df42b5de7243deaef815f1e55d1348500d22d5e/e3a64117-03d7-498a-87ff-cdc048d3705f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T201828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4862666884f0958eb58895694e0c91c32802fe18047d8c1cb0b4378c09b4709d 20:18:28 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:28 Dload Upload Total Spent Left Speed 20:18:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11463 0 0 100 11463 0 56191 --:--:-- --:--:-- --:--:-- 55917 100 11463 0 0 100 11463 0 53069 --:--:-- --:--:-- --:--:-- 52824 20:18:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] } 20:18:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:18:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:18:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:18:29 20:18:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:18:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:18:29 df9b9388f04a: Pulling fs layer 20:18:29 52dc419b0ee2: Pulling fs layer 20:18:29 25bc292e5bac: Pulling fs layer 20:18:29 114826534d7a: Pulling fs layer 20:18:29 4657fd5d0bcf: Pulling fs layer 20:18:29 6ad1cebc031e: Pulling fs layer 20:18:29 8a3aa393b2d8: Pulling fs layer 20:18:29 114826534d7a: Waiting 20:18:29 4657fd5d0bcf: Waiting 20:18:29 6ad1cebc031e: Waiting 20:18:29 8a3aa393b2d8: Waiting 20:18:29 25bc292e5bac: Verifying Checksum 20:18:29 25bc292e5bac: Download complete 20:18:29 52dc419b0ee2: Verifying Checksum 20:18:29 52dc419b0ee2: Download complete 20:18:29 4657fd5d0bcf: Verifying Checksum 20:18:29 4657fd5d0bcf: Download complete 20:18:29 df9b9388f04a: Verifying Checksum 20:18:29 df9b9388f04a: Download complete 20:18:29 df9b9388f04a: Pull complete 20:18:29 6ad1cebc031e: Verifying Checksum 20:18:29 6ad1cebc031e: Download complete 20:18:29 52dc419b0ee2: Pull complete 20:18:29 25bc292e5bac: Pull complete 20:18:30 114826534d7a: Verifying Checksum 20:18:30 114826534d7a: Download complete 20:18:30 8a3aa393b2d8: Verifying Checksum 20:18:30 8a3aa393b2d8: Download complete 20:18:33 114826534d7a: Pull complete 20:18:33 4657fd5d0bcf: Pull complete 20:18:34 6ad1cebc031e: Pull complete 20:18:37 8a3aa393b2d8: Pull complete 20:18:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:18:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:37 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 20:18:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:18:39 $ docker top e4fe0d5370249a9b4a3ebae0a41e3b15f39b42670a45d2796d90be3524dcbb35 -eo pid,comm [Pipeline] { [Pipeline] echo 20:18:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 20:18:40 + set -o pipefail 20:18:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 20:18:46 20:18:46 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 20:18:46 20:18:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/76bb28f0-480c-4007-85e8-e1f6ea93f382 20:18:46 20:18:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:18:46 20:18:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:18:46 20:18:47 20:18:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:18:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:18:47 More details here: https://snyk.co/ue1NS [Pipeline] } 20:18:47 $ docker stop --time=1 e4fe0d5370249a9b4a3ebae0a41e3b15f39b42670a45d2796d90be3524dcbb35 20:18:49 $ docker rm -f e4fe0d5370249a9b4a3ebae0a41e3b15f39b42670a45d2796d90be3524dcbb35 [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 20:18:50 + git log --format=format:%s -1 3df42b5de7243deaef815f1e55d1348500d22d5e [Pipeline] sh 20:18:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:18:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:50 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 20:18:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:18:51 $ docker top 7738c5d3f61b65384dcb611c9d961f6096e755d8cd56758e9b97d7b9a9db9548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:18:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:51 [ssh-agent] Looking for ssh-agent implementation... 20:18:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:51 $ docker exec 7738c5d3f61b65384dcb611c9d961f6096e755d8cd56758e9b97d7b9a9db9548 ssh-agent 20:18:51 SSH_AUTH_SOCK=/tmp/ssh-qdh7oeuNlDhN/agent.32 20:18:51 SSH_AGENT_PID=38 20:18:51 Running ssh-add (command line suppressed) 20:18:51 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4347066494661279628.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4347066494661279628.key) 20:18:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:51 + git semver tag 20:18:52 2022-10-24 20:18:51,997 [run_tag] DEBUG tag force:False 20:18:52 2022-10-24 20:18:51,997 [check_head_tag] DEBUG check head tag 20:18:52 2022-10-24 20:18:51,998 [execute] INFO git cat-file --batch-check 20:18:52 2022-10-24 20:18:51,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 20:18:52 2022-10-24 20:18:52,002 [execute] INFO git cat-file --batch 20:18:52 2022-10-24 20:18:52,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 20:18:52 2022-10-24 20:18:52,014 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:18:52 2022-10-24 20:18:52,014 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 20:18:52 2022-10-24 20:18:52,014 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 20:18:52 2022-10-24 20:18:52,019 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:18:52 2.3.0-dev.21 [Pipeline] } 20:18:52 $ docker exec --env ******** --env ******** 7738c5d3f61b65384dcb611c9d961f6096e755d8cd56758e9b97d7b9a9db9548 ssh-agent -k 20:18:52 unset SSH_AUTH_SOCK; 20:18:52 unset SSH_AGENT_PID; 20:18:52 echo Agent pid 38 killed; 20:18:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:52 + git semver [Pipeline] } 20:18:52 $ docker stop --time=1 7738c5d3f61b65384dcb611c9d961f6096e755d8cd56758e9b97d7b9a9db9548 20:18:54 $ docker rm -f 7738c5d3f61b65384dcb611c9d961f6096e755d8cd56758e9b97d7b9a9db9548 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:18:54 20:18:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:18:54 0.23.1-centos7: Pulling from edgex-lftools 20:18:54 ab5ef0e58194: Pulling fs layer 20:18:54 9712f1f96733: Pulling fs layer 20:18:54 63f879dbbcfc: Pulling fs layer 20:18:54 0d9ebad4ef96: Pulling fs layer 20:18:54 e9a5061849ea: Pulling fs layer 20:18:54 d747dcd14b5f: Pulling fs layer 20:18:54 2de7ff778b66: Pulling fs layer 20:18:54 d747dcd14b5f: Waiting 20:18:54 2de7ff778b66: Waiting 20:18:54 0d9ebad4ef96: Waiting 20:18:54 e9a5061849ea: Waiting 20:18:54 9712f1f96733: Verifying Checksum 20:18:54 9712f1f96733: Download complete 20:18:55 63f879dbbcfc: Verifying Checksum 20:18:55 63f879dbbcfc: Download complete 20:18:55 ab5ef0e58194: Verifying Checksum 20:18:55 ab5ef0e58194: Download complete 20:18:55 d747dcd14b5f: Verifying Checksum 20:18:55 d747dcd14b5f: Download complete 20:18:55 e9a5061849ea: Verifying Checksum 20:18:55 e9a5061849ea: Download complete 20:18:55 0d9ebad4ef96: Verifying Checksum 20:18:55 0d9ebad4ef96: Download complete 20:18:55 2de7ff778b66: Verifying Checksum 20:18:55 2de7ff778b66: Download complete 20:18:58 ab5ef0e58194: Pull complete 20:18:58 9712f1f96733: Pull complete 20:18:59 63f879dbbcfc: Pull complete 20:19:03 0d9ebad4ef96: Pull complete 20:19:03 e9a5061849ea: Pull complete 20:19:03 d747dcd14b5f: Pull complete 20:19:04 2de7ff778b66: Pull complete 20:19:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:19:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:19:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:04 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 20:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:19:07 $ docker top 0b71c32bcbeb13720dcb90acbd6522fe4da33a1ca2c73bd65f5686166ec1e4b6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:19:07 provisioning config files... 20:19:07 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config386378637116980001tmp 20:19:07 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config13868224910836530032tmp 20:19:07 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6310900641618684096tmp [Pipeline] { [Pipeline] echo 20:19:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:19:07 ---> sigul-configuration.sh 20:19:07 gpg: directory `/root/.gnupg' created 20:19:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:19:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:19:07 gpg: keyring `/root/.gnupg/secring.gpg' created 20:19:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:19:07 gpg: CAST5 encrypted data 20:19:07 gpg: encrypted with 1 passphrase 20:19:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:19:07 + mkdir /home/jenkins 20:19:07 + mkdir /home/jenkins/sigul [Pipeline] sh 20:19:08 + 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 20:19:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:19:08 ---> sigul-install.sh 20:19:08 Sigul already installed; skipping installation. [Pipeline] sh 20:19:08 + git tag --list 20:19:08 v0.0.0 20:19:08 v1.0.0 20:19:08 v2.1.0 20:19:08 v2.1.1 20:19:08 v2.1.1-dev.1 20:19:08 v2.2.0 20:19:08 v2.2.1-dev.1 20:19:08 v2.2.1-dev.2 20:19:08 v2.2.1-dev.3 20:19:08 v2.2.1-dev.4 20:19:08 v2.2.1-dev.5 20:19:08 v2.2.1-dev.6 20:19:08 v2.2.1-dev.7 20:19:08 v2.3.0-dev.10 20:19:08 v2.3.0-dev.11 20:19:08 v2.3.0-dev.12 20:19:08 v2.3.0-dev.13 20:19:08 v2.3.0-dev.14 20:19:08 v2.3.0-dev.15 20:19:08 v2.3.0-dev.16 20:19:08 v2.3.0-dev.17 20:19:08 v2.3.0-dev.18 20:19:08 v2.3.0-dev.19 20:19:08 v2.3.0-dev.20 20:19:08 v2.3.0-dev.21 20:19:08 v2.3.0-dev.9 [Pipeline] sh 20:19:08 + lftools sign git-tag v2.3.0-dev.21 20:19:09 Signing Git tag with Sigul... 20:19:09 Signing v2.3.0-dev.21 [Pipeline] echo 20:19:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:19:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:19:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:19:10 $ docker stop --time=1 0b71c32bcbeb13720dcb90acbd6522fe4da33a1ca2c73bd65f5686166ec1e4b6 20:19:12 $ docker rm -f 0b71c32bcbeb13720dcb90acbd6522fe4da33a1ca2c73bd65f5686166ec1e4b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:19:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:19:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:19:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:12 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 20:19:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:19:13 $ docker top 131afeb53eb5a32d71775eb4fe04ab5d4a54092acd697bdfc7aedccac8078273 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:19:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:13 [ssh-agent] Looking for ssh-agent implementation... 20:19:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:13 $ docker exec 131afeb53eb5a32d71775eb4fe04ab5d4a54092acd697bdfc7aedccac8078273 ssh-agent 20:19:13 SSH_AUTH_SOCK=/tmp/ssh-YKUYRzcPQeeL/agent.33 20:19:13 SSH_AGENT_PID=39 20:19:13 Running ssh-add (command line suppressed) 20:19:13 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_9973890737817619766.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_9973890737817619766.key) 20:19:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:14 + git semver bump pre 20:19:14 2022-10-24 20:19:14,201 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:19:14 2022-10-24 20:19:14,201 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev 20:19:14 2022-10-24 20:19:14,201 [bump_version] DEBUG bumped version:2.3.0-dev.22 20:19:14 2022-10-24 20:19:14,202 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 20:19:14 2022-10-24 20:19:14,202 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:19:14 2022-10-24 20:19:14,202 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:19:14 2022-10-24 20:19:14,203 [execute] INFO git cat-file --batch-check 20:19:14 2022-10-24 20:19:14,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 20:19:14 2022-10-24 20:19:14,208 [execute] INFO git cat-file --batch 20:19:14 2022-10-24 20:19:14,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 20:19:14 2022-10-24 20:19:14,213 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:19:14 2.3.0-dev.22 [Pipeline] } 20:19:14 $ docker exec --env ******** --env ******** 131afeb53eb5a32d71775eb4fe04ab5d4a54092acd697bdfc7aedccac8078273 ssh-agent -k 20:19:14 unset SSH_AUTH_SOCK; 20:19:14 unset SSH_AGENT_PID; 20:19:14 echo Agent pid 39 killed; 20:19:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:19:14 + git semver [Pipeline] } 20:19:14 $ docker stop --time=1 131afeb53eb5a32d71775eb4fe04ab5d4a54092acd697bdfc7aedccac8078273 20:19:16 $ docker rm -f 131afeb53eb5a32d71775eb4fe04ab5d4a54092acd697bdfc7aedccac8078273 [Pipeline] // withDockerContainer [Pipeline] sh 20:19:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:19:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:19:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:16 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 20:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:19:17 $ docker top dc3c2fa3b05c02776acd76eeff956a34e7ebca2a36e3fb8158b905a7a437a7d7 -eo pid,comm 20:19:17 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). 20:19:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:19:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:17 [ssh-agent] Looking for ssh-agent implementation... 20:19:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:17 $ docker exec dc3c2fa3b05c02776acd76eeff956a34e7ebca2a36e3fb8158b905a7a437a7d7 ssh-agent 20:19:17 SSH_AUTH_SOCK=/tmp/ssh-OajtbOQGHYC0/agent.32 20:19:17 SSH_AGENT_PID=39 20:19:17 Running ssh-add (command line suppressed) 20:19:17 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1327347125336770931.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1327347125336770931.key) 20:19:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:18 + git semver push 20:19:18 2022-10-24 20:19:18,245 [run_push] DEBUG push 20:19:18 2022-10-24 20:19:18,245 [execute] INFO git cat-file --batch-check 20:19:18 2022-10-24 20:19:18,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 20:19:18 2022-10-24 20:19:18,249 [execute] INFO git rev-list bedc8b339cfddf856814ed0ab18864db09db9a4e -- 20:19:18 2022-10-24 20:19:18,249 [execute] DEBUG Popen(['git', 'rev-list', 'bedc8b339cfddf856814ed0ab18864db09db9a4e', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 20:19:18 2022-10-24 20:19:18,256 [execute] INFO git fetch -v origin 20:19:18 2022-10-24 20:19:18,256 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 20:19:18 2022-10-24 20:19:18,814 [run_push] DEBUG no remote changes detected 20:19:18 2022-10-24 20:19:18,815 [execute] INFO git push origin semver 20:19:18 2022-10-24 20:19:18,815 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 20:19:19 2022-10-24 20:19:19,672 [run_push] DEBUG push all version tags 20:19:19 2022-10-24 20:19:19,673 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:19:19 2022-10-24 20:19:19,673 [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) 20:19:20 2022-10-24 20:19:20,453 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:19:20 2.3.0-dev.22 [Pipeline] } 20:19:20 $ docker exec --env ******** --env ******** dc3c2fa3b05c02776acd76eeff956a34e7ebca2a36e3fb8158b905a7a437a7d7 ssh-agent -k 20:19:20 unset SSH_AUTH_SOCK; 20:19:20 unset SSH_AGENT_PID; 20:19:20 echo Agent pid 39 killed; 20:19:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:19:21 + git semver [Pipeline] } 20:19:21 $ docker stop --time=1 dc3c2fa3b05c02776acd76eeff956a34e7ebca2a36e3fb8158b905a7a437a7d7 20:19:22 $ docker rm -f dc3c2fa3b05c02776acd76eeff956a34e7ebca2a36e3fb8158b905a7a437a7d7 [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 20:19:23 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 20:19:23 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 20:19:23 total 16 20:19:23 drwxr-xr-x 3 root root 4096 Oct 24 15:52 . 20:19:23 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 20:19 .. 20:19:23 drwxr-xr-x 2 root root 4096 Oct 24 15:52 cost 20:19:23 -rw-r--r-- 1 root root 94 Oct 24 15:52 cost.csv 20:19:23 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 20:19:23 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 20:19:23 total 16 20:19:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:52 . 20:19:23 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 20:19 .. 20:19:23 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:52 cost 20:19:23 -rw-r--r-- 1 jenkins jenkins 94 Oct 24 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:19:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:19:24 ---> package-listing.sh 20:19:24 ++ facter osfamily 20:19:24 ++ tr '[:upper:]' '[:lower:]' 20:19:24 + OS_FAMILY=debian 20:19:24 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 20:19:24 + START_PACKAGES=/tmp/packages_start.txt 20:19:24 + END_PACKAGES=/tmp/packages_end.txt 20:19:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:19:24 + PACKAGES=/tmp/packages_start.txt 20:19:24 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 20:19:24 + PACKAGES=/tmp/packages_end.txt 20:19:24 + case "${OS_FAMILY}" in 20:19:24 + dpkg -l 20:19:24 + grep '^ii' 20:19:24 + '[' -f /tmp/packages_start.txt ']' 20:19:24 + '[' -f /tmp/packages_end.txt ']' 20:19:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:19:24 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 20:19:24 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 20:19:24 + 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 20:19:24 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 20:19:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:25 prd-ubuntu20.04-docker-8c-8g-10184 does not seem to be running inside a container 20:19:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:19:25 $ docker top 09653325e0c11871399c5464a47177b6b9c453323ffb1b530eae8a2f8afd8142 -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:26 + touch /tmp/pre-build-complete [Pipeline] sh 20:19:26 + mkdir -p /var/log/sysstat [Pipeline] sh 20:19:26 + ls /var/log/sa-host 20:19:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:27 provisioning config files... 20:19:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1142194656388557004tmp [Pipeline] { [Pipeline] echo 20:19:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:19:27 ---> create-netrc.sh [Pipeline] } 20:19:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:19:27 ---> python-tools-install.sh [Pipeline] echo 20:19:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:19:27 ---> sudo-logs.sh 20:19:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:19:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:19:28 ---> job-cost.sh 20:19:28 lf-activate-venv: SKIPPING 20:19:28 DEBUG: total: 0.2199999988079071 20:19:28 INFO: Retrieving Stack Cost... 20:19:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:29 INFO: Archiving Costs [Pipeline] echo 20:19:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:19:29 ---> logs-deploy.sh 20:19:29 lf-activate-venv: SKIPPING 20:19:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/61 20:19:29 INFO: archiving workspace using pattern(s): 20:19:30 Archives upload complete. 20:19:30 INFO: archiving logs to Nexus