Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bdd9de2e6b7fb58cdebc45eb3705f9970870401e 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-ssh14020463151491552150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh10307629854739670772.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7524574025620254166.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3219460621361955639.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh14409892555094919037.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 ‘prd-centos7-blackbox-4c-2g-20272’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-20273’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-20495’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20496 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/dry_app-rfid-llrp-inventory_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision bdd9de2e6b7fb58cdebc45eb3705f9970870401e (main) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bdd9de2e6b7fb58cdebc45eb3705f9970870401e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#100)" > git rev-list --no-walk bf0cdc510067010a7614561d99b7e3f1f4b6f8fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:14:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:14:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:14:34 ========================================================= 17:14:34 EdgeX Global Pipelines Version Info 17:14:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:14:35 ------------------- 17:14:35 stable info: 17:14:35 ------------------- 17:14:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:14:35 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:14:35 Message: update stable to v1.0.238 17:14:36 ------------------- 17:14:36 experimental info: 17:14:36 ------------------- 17:14:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:14:36 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:14:36 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:14:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:14:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:14:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] echo 17:14:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdd9de2 [Pipeline] echo 17:14:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:37 provisioning config files... 17:14:37 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7069119572101412146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:37 ---> docker-login.sh 17:14:37 nexus3.edgexfoundry.org:10001 17:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:37 Configure a credential helper to remove this warning. See 17:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:37 17:14:37 Login Succeeded 17:14:37 nexus3.edgexfoundry.org:10002 17:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:37 Configure a credential helper to remove this warning. See 17:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:37 17:14:37 Login Succeeded 17:14:37 nexus3.edgexfoundry.org:10003 17:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:37 Configure a credential helper to remove this warning. See 17:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:37 17:14:37 Login Succeeded 17:14:37 nexus3.edgexfoundry.org:10004 17:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:38 Configure a credential helper to remove this warning. See 17:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:38 17:14:38 Login Succeeded 17:14:38 docker.io 17:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:38 Configure a credential helper to remove this warning. See 17:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:38 17:14:38 Login Succeeded 17:14:38 ---> docker-login.sh ends [Pipeline] } 17:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:14:38 + git rev-list -1 --merges bdd9de2e6b7fb58cdebc45eb3705f9970870401e~1..bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] echo 17:14:38 -----------> git rev-list -1 --merges bdd9de2e6b7fb58cdebc45eb3705f9970870401e~1..bdd9de2e6b7fb58cdebc45eb3705f9970870401e bdd9de2e6b7fb58cdebc45eb3705f9970870401e [false] [Pipeline] sh 17:14:39 + git log --format=format:%s -1 bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] echo 17:14:39 ========================================================= 17:14:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:14:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:39 + git log --format=format:%s -1 bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] echo 17:14:39 [semverPrep] GIT_COMMIT: bdd9de2e6b7fb58cdebc45eb3705f9970870401e, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#100) [Pipeline] echo 17:14:39 [semverPrep] This is not a build commit. [Pipeline] sh 17:14:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:14:39 + grep -v github /etc/ssh/ssh_known_hosts 17:14:39 + [ -e /tmp/ssh_known_hosts ] 17:14:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:14:39 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 17:14:39 tee -a /etc/ssh/ssh_known_hosts 17:14:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:40 17:14:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:40 0.1.4: Pulling from edgex-devops/py-git-semver 17:14:40 b85a868b505f: Pulling fs layer 17:14:40 e2be974225ed: Pulling fs layer 17:14:40 339a4e72a1f5: Pulling fs layer 17:14:40 988bab9f4d93: Pulling fs layer 17:14:40 1469e6f7b9e6: Pulling fs layer 17:14:40 eaf3925da568: Pulling fs layer 17:14:40 bab4dde63d76: Pulling fs layer 17:14:40 bde34c3a00c8: Pulling fs layer 17:14:40 b352a97aabf1: Pulling fs layer 17:14:40 4872d77fe225: Pulling fs layer 17:14:40 988bab9f4d93: Waiting 17:14:40 eaf3925da568: Waiting 17:14:40 bab4dde63d76: Waiting 17:14:40 1469e6f7b9e6: Waiting 17:14:40 5851b861e8e6: Pulling fs layer 17:14:40 bde34c3a00c8: Waiting 17:14:40 b352a97aabf1: Waiting 17:14:40 4872d77fe225: Waiting 17:14:40 5851b861e8e6: Waiting 17:14:40 e2be974225ed: Verifying Checksum 17:14:40 e2be974225ed: Download complete 17:14:40 988bab9f4d93: Verifying Checksum 17:14:40 988bab9f4d93: Download complete 17:14:40 1469e6f7b9e6: Verifying Checksum 17:14:40 1469e6f7b9e6: Download complete 17:14:40 339a4e72a1f5: Verifying Checksum 17:14:40 339a4e72a1f5: Download complete 17:14:40 eaf3925da568: Verifying Checksum 17:14:40 eaf3925da568: Download complete 17:14:40 bde34c3a00c8: Download complete 17:14:40 b352a97aabf1: Verifying Checksum 17:14:40 b352a97aabf1: Download complete 17:14:40 4872d77fe225: Verifying Checksum 17:14:40 4872d77fe225: Download complete 17:14:40 5851b861e8e6: Download complete 17:14:40 b85a868b505f: Verifying Checksum 17:14:40 b85a868b505f: Download complete 17:14:41 bab4dde63d76: Verifying Checksum 17:14:41 bab4dde63d76: Download complete 17:14:42 b85a868b505f: Pull complete 17:14:42 e2be974225ed: Pull complete 17:14:42 339a4e72a1f5: Pull complete 17:14:42 988bab9f4d93: Pull complete 17:14:43 1469e6f7b9e6: Pull complete 17:14:43 eaf3925da568: Pull complete 17:14:45 bab4dde63d76: Pull complete 17:14:45 bde34c3a00c8: Pull complete 17:14:45 b352a97aabf1: Pull complete 17:14:45 4872d77fe225: Pull complete 17:14:45 5851b861e8e6: Pull complete 17:14:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:45 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:14:45 $ 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 17:14:47 $ docker top e0516f869ed8666131bd8fc67225b8caeea90e06fb9f6f4ea6b01dc7f08857cf -eo pid,comm 17:14:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:14:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:14:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:47 [ssh-agent] Looking for ssh-agent implementation... 17:14:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:47 $ docker exec e0516f869ed8666131bd8fc67225b8caeea90e06fb9f6f4ea6b01dc7f08857cf ssh-agent 17:14:47 SSH_AUTH_SOCK=/tmp/ssh-KXtuGr62SjnY/agent.33 17:14:47 SSH_AGENT_PID=41 17:14:47 Running ssh-add (command line suppressed) 17:14:47 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5121409344511960109.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5121409344511960109.key) 17:14:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:48 + git tag --points-at HEAD [Pipeline] } 17:14:48 $ docker exec --env ******** --env ******** e0516f869ed8666131bd8fc67225b8caeea90e06fb9f6f4ea6b01dc7f08857cf ssh-agent -k 17:14:48 unset SSH_AUTH_SOCK; 17:14:48 unset SSH_AGENT_PID; 17:14:48 echo Agent pid 41 killed; 17:14:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:14:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:48 [ssh-agent] Looking for ssh-agent implementation... 17:14:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:48 $ docker exec e0516f869ed8666131bd8fc67225b8caeea90e06fb9f6f4ea6b01dc7f08857cf ssh-agent 17:14:48 SSH_AUTH_SOCK=/tmp/ssh-XgDNQhG1OaUP/agent.75 17:14:48 SSH_AGENT_PID=83 17:14:48 Running ssh-add (command line suppressed) 17:14:48 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_413298702072891288.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_413298702072891288.key) 17:14:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:48 + git semver init 17:14:49 2022-07-19 17:14:49,120 [run_init] DEBUG init version:0.0.0 force:False 17:14:49 2022-07-19 17:14:49,121 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:14:49 2022-07-19 17:14:49,122 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:14:49 2022-07-19 17:14:49,122 [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) 17:14:53 2022-07-19 17:14:52,489 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 17:14:53 2022-07-19 17:14:52,489 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 17:14:53 2022-07-19 17:14:52,489 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:14:53 2022-07-19 17:14:52,490 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:14:53 2.2.1-dev.8 [Pipeline] } 17:14:53 $ docker exec --env ******** --env ******** e0516f869ed8666131bd8fc67225b8caeea90e06fb9f6f4ea6b01dc7f08857cf ssh-agent -k 17:14:53 unset SSH_AUTH_SOCK; 17:14:53 unset SSH_AGENT_PID; 17:14:53 echo Agent pid 83 killed; 17:14:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:14:53 + git semver [Pipeline] } 17:14:54 $ docker stop --time=1 e0516f869ed8666131bd8fc67225b8caeea90e06fb9f6f4ea6b01dc7f08857cf 17:14:55 $ docker rm -f e0516f869ed8666131bd8fc67225b8caeea90e06fb9f6f4ea6b01dc7f08857cf [Pipeline] // withDockerContainer [Pipeline] sh 17:14:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:14:56 Stashed 1 file(s) [Pipeline] echo 17:14:56 [edgeXSemver]: initialized semver on version 2.2.1-dev.8 [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 17:14:56 provisioning config files... 17:14:56 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config142820643688765576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:56 ---> docker-login.sh 17:14:56 nexus3.edgexfoundry.org:10001 17:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:56 Configure a credential helper to remove this warning. See 17:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:56 17:14:56 Login Succeeded 17:14:56 nexus3.edgexfoundry.org:10002 17:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:56 Configure a credential helper to remove this warning. See 17:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:56 17:14:56 Login Succeeded 17:14:56 nexus3.edgexfoundry.org:10003 17:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:56 Configure a credential helper to remove this warning. See 17:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:56 17:14:56 Login Succeeded 17:14:56 nexus3.edgexfoundry.org:10004 17:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:57 Configure a credential helper to remove this warning. See 17:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:57 17:14:57 Login Succeeded 17:14:57 docker.io 17:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:57 Configure a credential helper to remove this warning. See 17:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:57 17:14:57 Login Succeeded 17:14:57 ---> docker-login.sh ends [Pipeline] } 17:14:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:57 ========================================================= 17:14:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:14:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:14:58 Sending build context to Docker daemon 12.45MB 17:14:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:14:58 Step 2/13 : FROM ${BASE} AS builder 17:14:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:14:58 2408cc74d12b: Pulling fs layer 17:14:58 ea60b727a1ce: Pulling fs layer 17:14:58 30c4a7721957: Pulling fs layer 17:14:58 370296b7ddb6: Pulling fs layer 17:14:58 7c6cee850709: Pulling fs layer 17:14:58 39a5fcdaea64: Pulling fs layer 17:14:58 d94ebbe4e438: Pulling fs layer 17:14:58 7c6cee850709: Waiting 17:14:58 39a5fcdaea64: Waiting 17:14:58 bcfd1f05c69d: Pulling fs layer 17:14:58 59ccb84bbe0f: Pulling fs layer 17:14:58 bcfd1f05c69d: Waiting 17:14:58 59ccb84bbe0f: Waiting 17:14:58 30c4a7721957: Download complete 17:14:58 ea60b727a1ce: Download complete 17:14:58 7c6cee850709: Verifying Checksum 17:14:58 7c6cee850709: Download complete 17:14:58 39a5fcdaea64: Download complete 17:14:58 2408cc74d12b: Verifying Checksum 17:14:58 2408cc74d12b: Download complete 17:14:58 d94ebbe4e438: Download complete 17:14:58 2408cc74d12b: Pull complete 17:14:58 ea60b727a1ce: Pull complete 17:14:58 30c4a7721957: Pull complete 17:14:58 59ccb84bbe0f: Verifying Checksum 17:14:59 370296b7ddb6: Verifying Checksum 17:14:59 370296b7ddb6: Download complete 17:14:59 bcfd1f05c69d: Verifying Checksum 17:14:59 bcfd1f05c69d: Download complete 17:15:03 370296b7ddb6: Pull complete 17:15:03 7c6cee850709: Pull complete 17:15:03 39a5fcdaea64: Pull complete 17:15:03 d94ebbe4e438: Pull complete 17:15:06 bcfd1f05c69d: Pull complete 17:15:06 59ccb84bbe0f: Pull complete 17:15:06 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:15:06 ---> a4fb48ad2a94 17:15:06 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:15:08 ---> Running in f257aa29cad9 17:15:08 Removing intermediate container f257aa29cad9 17:15:08 ---> 4e6497ac8825 17:15:08 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:15:08 ---> Running in 69359de11c53 17:15:08 Removing intermediate container 69359de11c53 17:15:08 ---> 752aabeba7c9 17:15:08 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:15:08 ---> Running in 11c63dd3b4cb 17:15:08 Removing intermediate container 11c63dd3b4cb 17:15:08 ---> 141a115c0482 17:15:08 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:08 ---> Running in 4f90d1e7904c 17:15:09 Removing intermediate container 4f90d1e7904c 17:15:09 ---> 8cdd1a167491 17:15:09 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:15:09 ---> Running in 23720bbfbfd4 17:15:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:15:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:15:10 OK: 211 MiB in 51 packages 17:15:10 Removing intermediate container 23720bbfbfd4 17:15:10 ---> 16aa7c0712db 17:15:10 Step 8/13 : WORKDIR /app 17:15:11 ---> Running in ffddf0b1777d 17:15:11 Removing intermediate container ffddf0b1777d 17:15:11 ---> 8b78fcebad2a 17:15:11 Step 9/13 : COPY go.mod vendor* ./ 17:15:11 Still waiting to schedule task 17:15:11 ‘prd-centos7-blackbox-4c-2g-20272’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:15:11 ‘prd-centos7-blackbox-4c-2g-20273’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:15:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-20497’ is offline 17:15:11 ---> 85f13fa594b4 17:15:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:15:11 ---> Running in ee86822eec07 17:15:26 Removing intermediate container ee86822eec07 17:15:26 ---> 61125e111985 17:15:26 Step 11/13 : COPY . . 17:15:26 ---> 4e2af8441f10 17:15:26 Step 12/13 : ARG MAKE="make build" 17:15:26 ---> Running in fc9094037cab 17:15:26 Removing intermediate container fc9094037cab 17:15:26 ---> 5909f89749ab 17:15:26 Step 13/13 : RUN $MAKE 17:15:26 ---> Running in 0bb8e892fe57 17:15:26 noop 17:15:26 Removing intermediate container 0bb8e892fe57 17:15:26 ---> 61549b2bf9fa 17:15:26 Successfully built 61549b2bf9fa 17:15:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:26 + docker inspect -f . ci-base-image-x86_64 17:15:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:26 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:15:27 $ 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 17:15:27 $ docker top 0123fbeb37e243aa9ba360839750ed6078ad5c7425067ae5bc0e207e56e7c143 -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:27 + go version 17:15:27 go version go1.18.3 linux/amd64 [Pipeline] } 17:15:27 $ docker stop --time=1 0123fbeb37e243aa9ba360839750ed6078ad5c7425067ae5bc0e207e56e7c143 17:15:29 $ docker rm -f 0123fbeb37e243aa9ba360839750ed6078ad5c7425067ae5bc0e207e56e7c143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:29 + docker inspect -f . ci-base-image-x86_64 17:15:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:29 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 17:15:30 $ docker top a8ad167c8ad641881a4e79935c886b018b37edc5c1c3c4024415bf60151ae060 -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:30 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 17:15:30 + make test 17:15:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:15:43 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:15:43 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.054s coverage: 86.2% of statements 17:15:43 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:15:44 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.552s coverage: 71.9% of statements 17:15:52 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." 17:15:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:15:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:15:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:15:56 ./bin/test-attribution.sh [Pipeline] echo 17:15:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:15:56 $ docker stop --time=1 a8ad167c8ad641881a4e79935c886b018b37edc5c1c3c4024415bf60151ae060 17:15:58 $ docker rm -f a8ad167c8ad641881a4e79935c886b018b37edc5c1c3c4024415bf60151ae060 [Pipeline] // withDockerContainer [Pipeline] sh 17:15:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:15:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:15:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:15:59 + ls -al . 17:15:59 total 228 17:15:59 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 17:15 . 17:15:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:14 .. 17:15:59 -rw-rw-r-- 1 jenkins jenkins 262 Jul 19 17:14 .dockerignore 17:15:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 17:15 .git 17:15:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:14 .github 17:15:59 -rw-rw-r-- 1 jenkins jenkins 788 Jul 19 17:14 .gitignore 17:15:59 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 17:14 .golangci.yml 17:15:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 17:14 .semver 17:15:59 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 19 17:14 Attribution.txt 17:15:59 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 19 17:14 CHANGELOG.md 17:15:59 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 19 17:14 Dockerfile 17:15:59 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 17:14 GOVERNANCE.md 17:15:59 -rw-rw-r-- 1 jenkins jenkins 687 Jul 19 17:14 Jenkinsfile 17:15:59 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 19 17:14 LICENSE 17:15:59 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 19 17:14 Makefile 17:15:59 -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 17:14 OWNERS.md 17:15:59 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 19 17:14 README.md 17:15:59 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 17:14 VERSION 17:15:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:14 bin 17:15:59 -rw-r--r-- 1 jenkins jenkins 41008 Jul 19 17:15 coverage.out 17:15:59 -rw-rw-r-- 1 jenkins jenkins 3539 Jul 19 17:14 go.mod 17:15:59 -rw-rw-r-- 1 jenkins jenkins 36290 Jul 19 17:14 go.sum 17:15:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:14 images 17:15:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:14 internal 17:15:59 -rw-rw-r-- 1 jenkins jenkins 531 Jul 19 17:14 main.go 17:15:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:14 res 17:15:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:14 snap 17:15:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:14 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:00 + 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=bdd9de2e6b7fb58cdebc45eb3705f9970870401e --label arch=amd64 --label version=2.2.1-dev.8 . 17:16:00 Sending build context to Docker daemon 12.45MB 17:16:00 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 17:16:00 Step 2/31 : FROM ${BASE} AS builder 17:16:00 ---> 61549b2bf9fa 17:16:00 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:16:00 ---> Running in e94de7f5be1d 17:16:00 Removing intermediate container e94de7f5be1d 17:16:00 ---> 349cf4c81928 17:16:00 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:16:00 ---> Running in e9abf3f886b1 17:16:00 Removing intermediate container e9abf3f886b1 17:16:00 ---> 07ce17b09c42 17:16:00 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:16:00 ---> Running in 0b2a241a0e3f 17:16:00 Removing intermediate container 0b2a241a0e3f 17:16:00 ---> 8bdaf8618f24 17:16:00 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:16:00 ---> Running in 776d8360e382 17:16:01 Removing intermediate container 776d8360e382 17:16:01 ---> b99b71355aea 17:16:01 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:16:01 ---> Running in a4252007183b 17:16:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:16:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:16:02 OK: 211 MiB in 51 packages 17:16:02 Removing intermediate container a4252007183b 17:16:02 ---> 8f8900fd6de8 17:16:02 Step 8/31 : WORKDIR /app 17:16:02 ---> Running in 46a977b167e3 17:16:03 Removing intermediate container 46a977b167e3 17:16:03 ---> 511f9a4ee2fe 17:16:03 Step 9/31 : COPY go.mod vendor* ./ 17:16:03 ---> e11c1f82eda5 17:16:03 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:16:03 ---> Running in b8c5fd5b0d62 17:16:04 Removing intermediate container b8c5fd5b0d62 17:16:04 ---> c5bf883ea23a 17:16:04 Step 11/31 : COPY . . 17:16:04 ---> 09144e904957 17:16:04 Step 12/31 : ARG MAKE="make build" 17:16:04 ---> Running in efa0043565a9 17:16:04 Removing intermediate container efa0043565a9 17:16:04 ---> 86e7f4cd7a6d 17:16:04 Step 13/31 : RUN $MAKE 17:16:04 ---> Running in fca059fd0687 17:16:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.22 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.8 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:16:26 Removing intermediate container fca059fd0687 17:16:26 ---> 41a33eac3441 17:16:26 Step 14/31 : FROM alpine:3.14 17:16:26 3.14: Pulling from library/alpine 17:16:26 8663204ce13b: Pulling fs layer 17:16:26 8663204ce13b: Verifying Checksum 17:16:26 8663204ce13b: Download complete 17:16:27 8663204ce13b: Pull complete 17:16:27 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:16:27 Status: Downloaded newer image for alpine:3.14 17:16:27 ---> e04c818066af 17:16:27 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:16:27 ---> Running in ba403864e587 17:16:27 Removing intermediate container ba403864e587 17:16:27 ---> cc0cf9811d93 17:16:27 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:16:27 ---> Running in 0e7daf45fb8b 17:16:27 Removing intermediate container 0e7daf45fb8b 17:16:27 ---> 70eb213d4204 17:16:27 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:16:27 ---> Running in 37a1e70bc74d 17:16:27 Removing intermediate container 37a1e70bc74d 17:16:27 ---> bb1e339eb021 17:16:27 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:16:27 ---> Running in 4513327d071f 17:16:28 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:16:29 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:16:29 (1/7) Installing ca-certificates (20211220-r0) 17:16:29 (2/7) Installing dumb-init (1.2.5-r1) 17:16:29 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:16:29 (4/7) Installing libsodium (1.0.18-r0) 17:16:29 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:16:29 (6/7) Installing libzmq (4.3.4-r0) 17:16:29 (7/7) Installing zeromq (4.3.4-r0) 17:16:29 Executing busybox-1.33.1-r7.trigger 17:16:29 Executing ca-certificates-20211220-r0.trigger 17:16:30 OK: 9 MiB in 21 packages 17:16:30 Removing intermediate container 4513327d071f 17:16:30 ---> 6698814acb80 17:16:30 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:16:30 ---> d616dbc0a4a7 17:16:30 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:16:30 ---> 55a937222ae3 17:16:30 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:16:30 ---> ea799cc92e21 17:16:30 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:16:31 ---> 62d2ef342a44 17:16:31 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:16:31 ---> ee8e9c9692fe 17:16:31 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:16:31 ---> Running in 704fff37093e 17:16:32 Removing intermediate container 704fff37093e 17:16:32 ---> 1a225d119bcd 17:16:32 Step 25/31 : VOLUME /cache 17:16:32 ---> Running in 63170efbf7e2 17:16:32 Removing intermediate container 63170efbf7e2 17:16:32 ---> 43d928371135 17:16:32 Step 26/31 : EXPOSE 59711 17:16:32 ---> Running in 02526511f9d8 17:16:32 Removing intermediate container 02526511f9d8 17:16:32 ---> 6331dbb2c2bb 17:16:32 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:16:32 ---> Running in 1dbc51d24f08 17:16:32 Removing intermediate container 1dbc51d24f08 17:16:32 ---> d77d1189dc97 17:16:32 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:16:32 ---> Running in 6fae64a73114 17:16:32 Removing intermediate container 6fae64a73114 17:16:32 ---> 988854912489 17:16:32 Step 29/31 : LABEL arch=amd64 17:16:32 ---> Running in 68fab9830ff5 17:16:32 Removing intermediate container 68fab9830ff5 17:16:32 ---> 07f100c1f007 17:16:32 Step 30/31 : LABEL git_sha=bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:16:32 ---> Running in 5664decf8663 17:16:33 Removing intermediate container 5664decf8663 17:16:33 ---> 6d6acfbac25e 17:16:33 Step 31/31 : LABEL version=2.2.1-dev.8 17:16:33 ---> Running in c12e93b0ff12 17:16:33 Removing intermediate container c12e93b0ff12 17:16:33 ---> dbd9754d32f2 17:16:33 [Warning] One or more build-args [ARCH] were not consumed 17:16:33 Successfully built dbd9754d32f2 17:16:33 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 17:16:33 provisioning config files... 17:16:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4035794289272270866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:33 ---> docker-login.sh 17:16:33 nexus3.edgexfoundry.org:10001 17:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:33 Configure a credential helper to remove this warning. See 17:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:33 17:16:33 Login Succeeded 17:16:33 nexus3.edgexfoundry.org:10002 17:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:33 Configure a credential helper to remove this warning. See 17:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:33 17:16:33 Login Succeeded 17:16:33 nexus3.edgexfoundry.org:10003 17:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:33 Configure a credential helper to remove this warning. See 17:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:33 17:16:33 Login Succeeded 17:16:33 nexus3.edgexfoundry.org:10004 17:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:34 Configure a credential helper to remove this warning. See 17:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:34 17:16:34 Login Succeeded 17:16:34 docker.io 17:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:34 Configure a credential helper to remove this warning. See 17:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:34 17:16:34 Login Succeeded 17:16:34 ---> docker-login.sh ends [Pipeline] } 17:16:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:16:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:34 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 17:16:34 bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:16:34 latest 17:16:34 2.2.1-dev.8 17:16:34 bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 17:16:34 main 17:16:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:35 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:35 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:16:35 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:16:35 5f0029bb816e: Preparing 17:16:35 c7e84cb9dad5: Preparing 17:16:35 53f03a3ec351: Preparing 17:16:35 3f9759683b96: Preparing 17:16:35 e25c9fa69979: Preparing 17:16:35 1d94422292ff: Preparing 17:16:35 6dffd5fcf304: Preparing 17:16:35 6b33017a906b: Preparing 17:16:35 b541d28bf3b4: Preparing 17:16:35 6b33017a906b: Waiting 17:16:35 6dffd5fcf304: Waiting 17:16:35 b541d28bf3b4: Waiting 17:16:35 1d94422292ff: Waiting 17:16:35 e25c9fa69979: Pushed 17:16:35 3f9759683b96: Pushed 17:16:35 5f0029bb816e: Pushed 17:16:35 53f03a3ec351: Pushed 17:16:35 b541d28bf3b4: Layer already exists 17:16:35 1d94422292ff: Pushed 17:16:35 6b33017a906b: Pushed 17:16:35 6dffd5fcf304: Pushed 17:16:38 c7e84cb9dad5: Pushed 17:16:38 bdd9de2e6b7fb58cdebc45eb3705f9970870401e: digest: sha256:020eea3d44c4611408a32fd4a663200b5453d208ed098072debe853c8c201a7e size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:38 + 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 17:16:39 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:16:39 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:16:39 5f0029bb816e: Preparing 17:16:39 c7e84cb9dad5: Preparing 17:16:39 53f03a3ec351: Preparing 17:16:39 3f9759683b96: Preparing 17:16:39 e25c9fa69979: Preparing 17:16:39 1d94422292ff: Preparing 17:16:39 6dffd5fcf304: Preparing 17:16:39 6b33017a906b: Preparing 17:16:39 6dffd5fcf304: Waiting 17:16:39 1d94422292ff: Waiting 17:16:39 b541d28bf3b4: Preparing 17:16:39 6b33017a906b: Waiting 17:16:39 b541d28bf3b4: Waiting 17:16:39 c7e84cb9dad5: Layer already exists 17:16:39 e25c9fa69979: Layer already exists 17:16:39 5f0029bb816e: Layer already exists 17:16:39 3f9759683b96: Layer already exists 17:16:39 53f03a3ec351: Layer already exists 17:16:39 1d94422292ff: Layer already exists 17:16:39 6dffd5fcf304: Layer already exists 17:16:39 b541d28bf3b4: Layer already exists 17:16:39 6b33017a906b: Layer already exists 17:16:39 latest: digest: sha256:020eea3d44c4611408a32fd4a663200b5453d208ed098072debe853c8c201a7e size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:39 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:39 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.8 17:16:39 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:16:39 5f0029bb816e: Preparing 17:16:39 c7e84cb9dad5: Preparing 17:16:39 53f03a3ec351: Preparing 17:16:39 3f9759683b96: Preparing 17:16:39 e25c9fa69979: Preparing 17:16:39 1d94422292ff: Preparing 17:16:39 6dffd5fcf304: Preparing 17:16:39 6b33017a906b: Preparing 17:16:39 b541d28bf3b4: Preparing 17:16:39 6dffd5fcf304: Waiting 17:16:39 6b33017a906b: Waiting 17:16:39 b541d28bf3b4: Waiting 17:16:39 1d94422292ff: Waiting 17:16:39 5f0029bb816e: Layer already exists 17:16:39 53f03a3ec351: Layer already exists 17:16:39 e25c9fa69979: Layer already exists 17:16:39 3f9759683b96: Layer already exists 17:16:39 c7e84cb9dad5: Layer already exists 17:16:39 1d94422292ff: Layer already exists 17:16:39 6dffd5fcf304: Layer already exists 17:16:39 6b33017a906b: Layer already exists 17:16:39 b541d28bf3b4: Layer already exists 17:16:39 2.2.1-dev.8: digest: sha256:020eea3d44c4611408a32fd4a663200b5453d208ed098072debe853c8c201a7e size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:40 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:40 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 17:16:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:16:40 5f0029bb816e: Preparing 17:16:40 c7e84cb9dad5: Preparing 17:16:40 53f03a3ec351: Preparing 17:16:40 3f9759683b96: Preparing 17:16:40 e25c9fa69979: Preparing 17:16:40 1d94422292ff: Preparing 17:16:40 6dffd5fcf304: Preparing 17:16:40 6b33017a906b: Preparing 17:16:40 b541d28bf3b4: Preparing 17:16:40 1d94422292ff: Waiting 17:16:40 6b33017a906b: Waiting 17:16:40 b541d28bf3b4: Waiting 17:16:40 5f0029bb816e: Layer already exists 17:16:40 e25c9fa69979: Layer already exists 17:16:40 53f03a3ec351: Layer already exists 17:16:40 c7e84cb9dad5: Layer already exists 17:16:40 3f9759683b96: Layer already exists 17:16:40 1d94422292ff: Layer already exists 17:16:40 6b33017a906b: Layer already exists 17:16:40 6dffd5fcf304: Layer already exists 17:16:40 b541d28bf3b4: Layer already exists 17:16:40 bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8: digest: sha256:020eea3d44c4611408a32fd4a663200b5453d208ed098072debe853c8c201a7e size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:40 + 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 17:16:41 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 17:16:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:16:41 5f0029bb816e: Preparing 17:16:41 c7e84cb9dad5: Preparing 17:16:41 53f03a3ec351: Preparing 17:16:41 3f9759683b96: Preparing 17:16:41 e25c9fa69979: Preparing 17:16:41 1d94422292ff: Preparing 17:16:41 6dffd5fcf304: Preparing 17:16:41 6b33017a906b: Preparing 17:16:41 b541d28bf3b4: Preparing 17:16:41 6b33017a906b: Waiting 17:16:41 1d94422292ff: Waiting 17:16:41 b541d28bf3b4: Waiting 17:16:41 3f9759683b96: Layer already exists 17:16:41 5f0029bb816e: Layer already exists 17:16:41 e25c9fa69979: Layer already exists 17:16:41 c7e84cb9dad5: Layer already exists 17:16:41 53f03a3ec351: Layer already exists 17:16:41 1d94422292ff: Layer already exists 17:16:41 6dffd5fcf304: Layer already exists 17:16:41 6b33017a906b: Layer already exists 17:16:41 b541d28bf3b4: Layer already exists 17:16:41 main: digest: sha256:020eea3d44c4611408a32fd4a663200b5453d208ed098072debe853c8c201a7e size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:16:41 ===================================================== [Pipeline] echo 17:16:41 taggedImages: 17:16:41 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:16:41 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:16:41 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.8 17:16:41 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 17:16:41 - 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 17:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:41 17:16:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:41 latest: Pulling from edgex-lftools-log-publisher 17:16:41 5eb5b503b376: Pulling fs layer 17:16:41 5c69ac0246d0: Pulling fs layer 17:16:41 ec43610c2a17: Pulling fs layer 17:16:41 3a2ae6a8a46f: Pulling fs layer 17:16:41 33b1e0a273af: Pulling fs layer 17:16:41 5d3b04190fa2: Pulling fs layer 17:16:41 2f39f015ded8: Pulling fs layer 17:16:41 2f39f015ded8: Waiting 17:16:41 33b1e0a273af: Waiting 17:16:41 5d3b04190fa2: Waiting 17:16:41 3a2ae6a8a46f: Waiting 17:16:41 5c69ac0246d0: Download complete 17:16:41 3a2ae6a8a46f: Verifying Checksum 17:16:41 3a2ae6a8a46f: Download complete 17:16:41 33b1e0a273af: Verifying Checksum 17:16:41 33b1e0a273af: Download complete 17:16:42 5d3b04190fa2: Verifying Checksum 17:16:42 5d3b04190fa2: Download complete 17:16:42 ec43610c2a17: Verifying Checksum 17:16:42 ec43610c2a17: Download complete 17:16:42 5eb5b503b376: Verifying Checksum 17:16:42 5eb5b503b376: Download complete 17:16:42 2f39f015ded8: Download complete 17:16:43 5eb5b503b376: Pull complete 17:16:43 5c69ac0246d0: Pull complete 17:16:44 ec43610c2a17: Pull complete 17:16:44 3a2ae6a8a46f: Pull complete 17:16:44 33b1e0a273af: Pull complete 17:16:44 5d3b04190fa2: Pull complete 17:16:49 2f39f015ded8: Pull complete 17:16:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:16:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:49 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:16:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:16:51 $ docker top 8a70b08a587fc60e7a8a963bf16762129fdf4b6b6c217e0b102b67e3ac1f33e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:51 ---> job-cost.sh 17:16:51 lf-activate-venv: SKIPPING 17:16:51 INFO: No Stack... 17:16:51 INFO: Retrieving Pricing Info for: v3-standard-8 17:16:52 INFO: Archiving Costs [Pipeline] sh 17:16:52 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 17:16:52 + cut -d, -f6 [Pipeline] lock 17:16:52 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] 17:16:52 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] did not exist. Created. 17:16:52 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:53 + echo total: 0.2199999988079071 [Pipeline] stash 17:16:53 Stashed 1 file(s) [Pipeline] } 17:16:53 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:53 $ docker stop --time=1 8a70b08a587fc60e7a8a963bf16762129fdf4b6b6c217e0b102b67e3ac1f33e8 17:16:54 $ docker rm -f 8a70b08a587fc60e7a8a963bf16762129fdf4b6b6c217e0b102b67e3ac1f33e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:17:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20500 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 17:17:50 Running in /w/workspace/app-rfid-llrp-inventory/47 [Pipeline] { [Pipeline] checkout 17:17:50 The recommended git tool is: git 17:18:00 using credential edgex-jenkins-ssh 17:18:00 Cloning the remote Git repository 17:18:00 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:18:00 > git init /w/workspace/app-rfid-llrp-inventory/47 # timeout=10 17:18:00 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:18:00 > git --version # timeout=10 17:18:00 > git --version # 'git version 2.25.1' 17:18:00 using GIT_SSH to set credentials SSH Credentials for GitHub 17:18:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:18:03 Avoid second fetch 17:18:03 Checking out Revision bdd9de2e6b7fb58cdebc45eb3705f9970870401e (main) 17:18:03 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:18:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:18:03 > git config core.sparsecheckout # timeout=10 17:18:03 > git checkout -f bdd9de2e6b7fb58cdebc45eb3705f9970870401e # timeout=10 17:18:08 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#100)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:18:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:18:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:18:09 Dload Upload Total Spent Left Speed 17:18:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 17:18:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:18:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:18:10 + sudo tee /etc/docker/daemon.new 17:18:10 { 17:18:10 "registry-mirrors": [ 17:18:10 "https://nexus3.edgexfoundry.org:10001" 17:18:10 ], 17:18:10 "bip": "10.250.0.254/24", 17:18:10 "hosts": [ 17:18:10 "tcp://0.0.0.0:5555", 17:18:10 "unix:///var/run/docker.sock" 17:18:10 ], 17:18:10 "mtu": 1458, 17:18:10 "selinux-enabled": true, 17:18:10 "seccomp-profile": "/etc/docker/seccomp.json" 17:18:10 } [Pipeline] sh 17:18:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:18:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:29 provisioning config files... 17:18:29 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/47@tmp/config4400436377960449866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:30 ---> docker-login.sh 17:18:30 nexus3.edgexfoundry.org:10001 17:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:30 Configure a credential helper to remove this warning. See 17:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:30 17:18:30 Login Succeeded 17:18:30 nexus3.edgexfoundry.org:10002 17:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:31 Configure a credential helper to remove this warning. See 17:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:31 17:18:31 Login Succeeded 17:18:31 nexus3.edgexfoundry.org:10003 17:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:32 Configure a credential helper to remove this warning. See 17:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:32 17:18:32 Login Succeeded 17:18:32 nexus3.edgexfoundry.org:10004 17:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:32 Configure a credential helper to remove this warning. See 17:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:32 17:18:32 Login Succeeded 17:18:32 docker.io 17:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:33 Configure a credential helper to remove this warning. See 17:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:33 17:18:33 Login Succeeded 17:18:33 ---> docker-login.sh ends [Pipeline] } 17:18:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:33 ========================================================= 17:18:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:18:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:33 + 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 . 17:18:34 Sending build context to Docker daemon 687.1kB 17:18:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:18:34 Step 2/13 : FROM ${BASE} AS builder 17:18:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:18:34 b3c136eddcbf: Pulling fs layer 17:18:34 c0a3192eca97: Pulling fs layer 17:18:34 a050256f5b6f: Pulling fs layer 17:18:34 656be50a0ddc: Pulling fs layer 17:18:34 2bbca73fdf42: Pulling fs layer 17:18:34 656be50a0ddc: Waiting 17:18:34 46d945488cbd: Pulling fs layer 17:18:34 2bbca73fdf42: Waiting 17:18:34 8a5474983e97: Pulling fs layer 17:18:34 329c88fbcd65: Pulling fs layer 17:18:34 8a5474983e97: Waiting 17:18:34 329c88fbcd65: Waiting 17:18:34 46d945488cbd: Waiting 17:18:34 a050256f5b6f: Verifying Checksum 17:18:34 a050256f5b6f: Download complete 17:18:34 c0a3192eca97: Download complete 17:18:34 2bbca73fdf42: Verifying Checksum 17:18:34 2bbca73fdf42: Download complete 17:18:34 b3c136eddcbf: Verifying Checksum 17:18:34 b3c136eddcbf: Download complete 17:18:34 46d945488cbd: Verifying Checksum 17:18:34 46d945488cbd: Download complete 17:18:35 b3c136eddcbf: Pull complete 17:18:35 329c88fbcd65: Verifying Checksum 17:18:35 329c88fbcd65: Download complete 17:18:36 c0a3192eca97: Pull complete 17:18:36 a050256f5b6f: Pull complete 17:18:36 8a5474983e97: Verifying Checksum 17:18:36 8a5474983e97: Download complete 17:18:37 656be50a0ddc: Verifying Checksum 17:18:37 656be50a0ddc: Download complete 17:18:52 656be50a0ddc: Pull complete 17:18:52 2bbca73fdf42: Pull complete 17:18:52 46d945488cbd: Pull complete 17:18:58 8a5474983e97: Pull complete 17:19:00 329c88fbcd65: Pull complete 17:19:00 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:19:00 ---> ff4287adb874 17:19:00 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:19:01 ---> Running in 1b461aa8c1d4 17:19:01 Removing intermediate container 1b461aa8c1d4 17:19:01 ---> 2583ad8106a1 17:19:01 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:19:01 ---> Running in be225df5f2d2 17:19:01 Removing intermediate container be225df5f2d2 17:19:01 ---> 72a9a6b6f800 17:19:01 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:19:01 ---> Running in 82cfb5778fe0 17:19:02 Removing intermediate container 82cfb5778fe0 17:19:02 ---> 1dc04f45b467 17:19:02 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:19:02 ---> Running in cc752768498b 17:19:04 Removing intermediate container cc752768498b 17:19:04 ---> 7150e8383778 17:19:04 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:04 ---> Running in 5467355e1c63 17:19:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:19:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:19:08 OK: 221 MiB in 51 packages 17:19:09 Removing intermediate container 5467355e1c63 17:19:09 ---> 20ab9edadc37 17:19:09 Step 8/13 : WORKDIR /app 17:19:09 ---> Running in 8bbd15008304 17:19:10 Removing intermediate container 8bbd15008304 17:19:10 ---> ed81ed8066b7 17:19:10 Step 9/13 : COPY go.mod vendor* ./ 17:19:10 ---> 5d3eebee9134 17:19:10 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:10 ---> Running in 78cf1262413d 17:20:07 Removing intermediate container 78cf1262413d 17:20:07 ---> 310e089d080c 17:20:07 Step 11/13 : COPY . . 17:20:07 ---> ec855ee90ff9 17:20:07 Step 12/13 : ARG MAKE="make build" 17:20:07 ---> Running in 896654554ca1 17:20:07 Removing intermediate container 896654554ca1 17:20:07 ---> a0d5e9f3399e 17:20:07 Step 13/13 : RUN $MAKE 17:20:07 ---> Running in 98302fda70ab 17:20:07 noop 17:20:07 Removing intermediate container 98302fda70ab 17:20:07 ---> 888e42896d4c 17:20:07 Successfully built 888e42896d4c 17:20:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:07 + docker inspect -f . ci-base-image-arm64 17:20:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:07 prd-ubuntu20.04-docker-arm64-4c-16g-20500 does not seem to be running inside a container 17:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/47 -v /w/workspace/app-rfid-llrp-inventory/47:/w/workspace/app-rfid-llrp-inventory/47:rw,z -v /w/workspace/app-rfid-llrp-inventory/47@tmp:/w/workspace/app-rfid-llrp-inventory/47@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 17:20:09 $ docker top 9fe0e58a954aaa5918daf537e537dc0fcf0fd57b1b561fffc4590341daa14905 -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:10 + go version 17:20:10 go version go1.18.3 linux/arm64 [Pipeline] } 17:20:10 $ docker stop --time=1 9fe0e58a954aaa5918daf537e537dc0fcf0fd57b1b561fffc4590341daa14905 17:20:11 $ docker rm -f 9fe0e58a954aaa5918daf537e537dc0fcf0fd57b1b561fffc4590341daa14905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:12 + docker inspect -f . ci-base-image-arm64 17:20:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:12 prd-ubuntu20.04-docker-arm64-4c-16g-20500 does not seem to be running inside a container 17:20:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/app-rfid-llrp-inventory/47 -v /w/workspace/app-rfid-llrp-inventory/47:/w/workspace/app-rfid-llrp-inventory/47:rw,z -v /w/workspace/app-rfid-llrp-inventory/47@tmp:/w/workspace/app-rfid-llrp-inventory/47@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 17:20:14 $ docker top 1447a310dbf7600ac11c460102b15164c779acac127390ad5e1728884c7dd05c -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:15 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/47 [Pipeline] fileExists [Pipeline] sh 17:20:15 + make test 17:20:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:21:52 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:21:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.154s coverage: 86.2% of statements 17:21:52 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:21:55 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.728s coverage: 71.9% of statements 17:21:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:21:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:22:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:22:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:22:22 ./bin/test-attribution.sh [Pipeline] echo 17:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:22:22 $ docker stop --time=1 1447a310dbf7600ac11c460102b15164c779acac127390ad5e1728884c7dd05c 17:22:24 $ docker rm -f 1447a310dbf7600ac11c460102b15164c779acac127390ad5e1728884c7dd05c [Pipeline] // withDockerContainer [Pipeline] sh 17:22:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:22:25 Warning: overwriting stash ‘coverage-report’ 17:22:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:22:27 + ls -al . 17:22:27 total 224 17:22:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 17:20 . 17:22:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:18 .. 17:22:27 -rw-rw-r-- 1 jenkins jenkins 262 Jul 19 17:18 .dockerignore 17:22:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 17:18 .git 17:22:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:18 .github 17:22:27 -rw-rw-r-- 1 jenkins jenkins 788 Jul 19 17:18 .gitignore 17:22:27 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 17:18 .golangci.yml 17:22:27 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 19 17:18 Attribution.txt 17:22:27 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 19 17:18 CHANGELOG.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 19 17:18 Dockerfile 17:22:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 17:18 GOVERNANCE.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 687 Jul 19 17:18 Jenkinsfile 17:22:27 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 19 17:18 LICENSE 17:22:27 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 19 17:18 Makefile 17:22:27 -rw-rw-r-- 1 jenkins jenkins 617 Jul 19 17:18 OWNERS.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 19 17:18 README.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 17:14 VERSION 17:22:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:18 bin 17:22:27 -rw-r--r-- 1 jenkins jenkins 41008 Jul 19 17:21 coverage.out 17:22:27 -rw-rw-r-- 1 jenkins jenkins 3539 Jul 19 17:18 go.mod 17:22:27 -rw-rw-r-- 1 jenkins jenkins 36290 Jul 19 17:18 go.sum 17:22:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:18 images 17:22:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:18 internal 17:22:27 -rw-rw-r-- 1 jenkins jenkins 531 Jul 19 17:18 main.go 17:22:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:18 res 17:22:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:18 snap 17:22:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:18 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:27 + 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=bdd9de2e6b7fb58cdebc45eb3705f9970870401e --label arch=arm64 --label version=2.2.1-dev.8 . 17:22:28 Sending build context to Docker daemon 687.1kB 17:22:28 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 17:22:28 Step 2/31 : FROM ${BASE} AS builder 17:22:28 ---> 888e42896d4c 17:22:28 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:22:28 ---> Running in d9cf4785086a 17:22:28 Removing intermediate container d9cf4785086a 17:22:28 ---> 805251cca9b5 17:22:28 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:22:28 ---> Running in 2a1ee24fae2d 17:22:29 Removing intermediate container 2a1ee24fae2d 17:22:29 ---> b055aa3c5ea6 17:22:29 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:22:29 ---> Running in 60282dbdedfe 17:22:29 Removing intermediate container 60282dbdedfe 17:22:29 ---> 983a8d71cc0c 17:22:29 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:22:29 ---> Running in acd71520c04f 17:22:31 Removing intermediate container acd71520c04f 17:22:31 ---> 909352b8936d 17:22:31 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:31 ---> Running in c62d272cff59 17:22:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:22:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:22:34 OK: 221 MiB in 51 packages 17:22:35 Removing intermediate container c62d272cff59 17:22:35 ---> f9583e4f79b0 17:22:35 Step 8/31 : WORKDIR /app 17:22:35 ---> Running in 07dbdb581c41 17:22:35 Removing intermediate container 07dbdb581c41 17:22:35 ---> c6fb87b03bbb 17:22:35 Step 9/31 : COPY go.mod vendor* ./ 17:22:36 ---> 1eacd8cafbd7 17:22:36 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:36 ---> Running in 51a4c4b0a84b 17:22:38 Removing intermediate container 51a4c4b0a84b 17:22:38 ---> ededf82316af 17:22:38 Step 11/31 : COPY . . 17:22:39 ---> 97f84f1b4cb5 17:22:39 Step 12/31 : ARG MAKE="make build" 17:22:39 ---> Running in e78a00e2dbf9 17:22:39 Removing intermediate container e78a00e2dbf9 17:22:39 ---> c468d346190d 17:22:39 Step 13/31 : RUN $MAKE 17:22:39 ---> Running in f91707765c6d 17:22:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.22 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.8 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:25:02 Removing intermediate container f91707765c6d 17:25:02 ---> c6f2729b2b2d 17:25:02 Step 14/31 : FROM alpine:3.14 17:25:02 3.14: Pulling from library/alpine 17:25:02 455c02918c45: Pulling fs layer 17:25:02 455c02918c45: Verifying Checksum 17:25:02 455c02918c45: Download complete 17:25:02 455c02918c45: Pull complete 17:25:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:25:02 Status: Downloaded newer image for alpine:3.14 17:25:02 ---> ac73e934f311 17:25:02 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:25:02 ---> Running in 602487db9eca 17:25:02 Removing intermediate container 602487db9eca 17:25:02 ---> dfe3224746f7 17:25:02 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:25:02 ---> Running in cb412d50a2ee 17:25:02 Removing intermediate container cb412d50a2ee 17:25:02 ---> f61b9dd21655 17:25:02 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:25:02 ---> Running in a9f1b07ddb4e 17:25:02 Removing intermediate container a9f1b07ddb4e 17:25:02 ---> eb5011bf910d 17:25:02 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:25:02 ---> Running in a06e2dd70bd6 17:25:03 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:25:04 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:25:05 (1/7) Installing ca-certificates (20211220-r0) 17:25:05 (2/7) Installing dumb-init (1.2.5-r1) 17:25:05 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:25:06 (4/7) Installing libsodium (1.0.18-r0) 17:25:06 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:25:06 (6/7) Installing libzmq (4.3.4-r0) 17:25:06 (7/7) Installing zeromq (4.3.4-r0) 17:25:06 Executing busybox-1.33.1-r7.trigger 17:25:06 Executing ca-certificates-20211220-r0.trigger 17:25:06 OK: 9 MiB in 21 packages 17:25:08 Removing intermediate container a06e2dd70bd6 17:25:08 ---> 93f54147b1b1 17:25:08 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:25:08 ---> 02cbba4ebb9a 17:25:08 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:25:08 ---> f74371e619ad 17:25:08 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:25:09 ---> 10df7b748a99 17:25:09 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:25:10 ---> 12096ce5022e 17:25:10 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:25:11 ---> ac0cce69e67c 17:25:11 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:25:11 ---> Running in a6e10fadd8ef 17:25:13 Removing intermediate container a6e10fadd8ef 17:25:13 ---> 48026bf1631f 17:25:13 Step 25/31 : VOLUME /cache 17:25:13 ---> Running in 426bacba771c 17:25:13 Removing intermediate container 426bacba771c 17:25:13 ---> 2cbe41513a22 17:25:13 Step 26/31 : EXPOSE 59711 17:25:13 ---> Running in 11a3ee832b49 17:25:14 Removing intermediate container 11a3ee832b49 17:25:14 ---> 3c4fbdcae52c 17:25:14 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:25:14 ---> Running in 9fbd8244b924 17:25:14 Removing intermediate container 9fbd8244b924 17:25:14 ---> bdbd26c70e63 17:25:14 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:25:14 ---> Running in 3206903b1f9f 17:25:15 Removing intermediate container 3206903b1f9f 17:25:15 ---> d9f9902ef798 17:25:15 Step 29/31 : LABEL arch=arm64 17:25:15 ---> Running in 16cbae94115a 17:25:15 Removing intermediate container 16cbae94115a 17:25:15 ---> 546d6bd1273a 17:25:15 Step 30/31 : LABEL git_sha=bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:25:15 ---> Running in 8580bf681d26 17:25:15 Removing intermediate container 8580bf681d26 17:25:15 ---> 9ffdcd576220 17:25:15 Step 31/31 : LABEL version=2.2.1-dev.8 17:25:15 ---> Running in f04727814548 17:25:16 Removing intermediate container f04727814548 17:25:16 ---> d4c79e1ba4be 17:25:16 [Warning] One or more build-args [ARCH] were not consumed 17:25:16 Successfully built d4c79e1ba4be 17:25:16 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 17:25:16 provisioning config files... 17:25:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/47@tmp/config4657451800195752289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:16 ---> docker-login.sh 17:25:16 nexus3.edgexfoundry.org:10001 17:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:16 Configure a credential helper to remove this warning. See 17:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:16 17:25:16 Login Succeeded 17:25:16 nexus3.edgexfoundry.org:10002 17:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:17 Configure a credential helper to remove this warning. See 17:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:17 17:25:17 Login Succeeded 17:25:17 nexus3.edgexfoundry.org:10003 17:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:18 Configure a credential helper to remove this warning. See 17:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:18 17:25:18 Login Succeeded 17:25:18 nexus3.edgexfoundry.org:10004 17:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:18 Configure a credential helper to remove this warning. See 17:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:18 17:25:18 Login Succeeded 17:25:18 docker.io 17:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:19 Configure a credential helper to remove this warning. See 17:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:19 17:25:19 Login Succeeded 17:25:19 ---> docker-login.sh ends [Pipeline] } 17:25:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:25:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:19 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 17:25:19 bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:25:19 latest 17:25:19 2.2.1-dev.8 17:25:19 bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 17:25:19 main 17:25:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:19 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:19 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:25:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:25:19 2ab69cd8d8a5: Preparing 17:25:19 897efa740f69: Preparing 17:25:19 e3b3d4ca32d1: Preparing 17:25:19 4eced2863411: Preparing 17:25:19 a95ffcd5c912: Preparing 17:25:19 6729ceffef24: Preparing 17:25:19 3aaa80f850c9: Preparing 17:25:19 30a7a61c632f: Preparing 17:25:19 f73e7dbfee58: Preparing 17:25:19 6729ceffef24: Waiting 17:25:19 30a7a61c632f: Waiting 17:25:19 f73e7dbfee58: Waiting 17:25:19 3aaa80f850c9: Waiting 17:25:20 4eced2863411: Pushed 17:25:20 a95ffcd5c912: Pushed 17:25:20 2ab69cd8d8a5: Pushed 17:25:20 e3b3d4ca32d1: Pushed 17:25:20 f73e7dbfee58: Layer already exists 17:25:20 6729ceffef24: Pushed 17:25:20 30a7a61c632f: Pushed 17:25:21 3aaa80f850c9: Pushed 17:25:25 897efa740f69: Pushed 17:25:26 bdd9de2e6b7fb58cdebc45eb3705f9970870401e: digest: sha256:82d8292e1746960164893f3ad08a3a74a65304bdfa1765cee16d085972620bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:26 + 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 17:25:26 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:25:26 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:25:26 2ab69cd8d8a5: Preparing 17:25:26 897efa740f69: Preparing 17:25:26 e3b3d4ca32d1: Preparing 17:25:26 4eced2863411: Preparing 17:25:26 a95ffcd5c912: Preparing 17:25:26 6729ceffef24: Preparing 17:25:26 3aaa80f850c9: Preparing 17:25:26 30a7a61c632f: Preparing 17:25:26 f73e7dbfee58: Preparing 17:25:26 3aaa80f850c9: Waiting 17:25:26 30a7a61c632f: Waiting 17:25:26 6729ceffef24: Waiting 17:25:26 f73e7dbfee58: Waiting 17:25:26 a95ffcd5c912: Layer already exists 17:25:26 e3b3d4ca32d1: Layer already exists 17:25:26 2ab69cd8d8a5: Layer already exists 17:25:26 4eced2863411: Layer already exists 17:25:26 897efa740f69: Layer already exists 17:25:27 3aaa80f850c9: Layer already exists 17:25:27 f73e7dbfee58: Layer already exists 17:25:27 6729ceffef24: Layer already exists 17:25:27 30a7a61c632f: Layer already exists 17:25:27 latest: digest: sha256:82d8292e1746960164893f3ad08a3a74a65304bdfa1765cee16d085972620bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:27 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:27 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.8 17:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:25:27 2ab69cd8d8a5: Preparing 17:25:27 897efa740f69: Preparing 17:25:27 e3b3d4ca32d1: Preparing 17:25:27 4eced2863411: Preparing 17:25:27 a95ffcd5c912: Preparing 17:25:27 6729ceffef24: Preparing 17:25:27 3aaa80f850c9: Preparing 17:25:27 30a7a61c632f: Preparing 17:25:27 f73e7dbfee58: Preparing 17:25:27 6729ceffef24: Waiting 17:25:27 3aaa80f850c9: Waiting 17:25:27 30a7a61c632f: Waiting 17:25:27 f73e7dbfee58: Waiting 17:25:27 a95ffcd5c912: Layer already exists 17:25:27 4eced2863411: Layer already exists 17:25:27 e3b3d4ca32d1: Layer already exists 17:25:27 897efa740f69: Layer already exists 17:25:27 2ab69cd8d8a5: Layer already exists 17:25:28 6729ceffef24: Layer already exists 17:25:28 f73e7dbfee58: Layer already exists 17:25:28 3aaa80f850c9: Layer already exists 17:25:28 30a7a61c632f: Layer already exists 17:25:28 2.2.1-dev.8: digest: sha256:82d8292e1746960164893f3ad08a3a74a65304bdfa1765cee16d085972620bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:28 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:28 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 17:25:28 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:25:28 2ab69cd8d8a5: Preparing 17:25:28 897efa740f69: Preparing 17:25:28 e3b3d4ca32d1: Preparing 17:25:28 4eced2863411: Preparing 17:25:28 a95ffcd5c912: Preparing 17:25:28 6729ceffef24: Preparing 17:25:28 3aaa80f850c9: Preparing 17:25:28 30a7a61c632f: Preparing 17:25:28 f73e7dbfee58: Preparing 17:25:28 3aaa80f850c9: Waiting 17:25:28 6729ceffef24: Waiting 17:25:28 f73e7dbfee58: Waiting 17:25:28 30a7a61c632f: Waiting 17:25:28 a95ffcd5c912: Layer already exists 17:25:28 4eced2863411: Layer already exists 17:25:28 e3b3d4ca32d1: Layer already exists 17:25:28 2ab69cd8d8a5: Layer already exists 17:25:28 897efa740f69: Layer already exists 17:25:28 3aaa80f850c9: Layer already exists 17:25:28 30a7a61c632f: Layer already exists 17:25:29 6729ceffef24: Layer already exists 17:25:29 f73e7dbfee58: Layer already exists 17:25:29 bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8: digest: sha256:82d8292e1746960164893f3ad08a3a74a65304bdfa1765cee16d085972620bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:29 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:29 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 17:25:29 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:25:29 2ab69cd8d8a5: Preparing 17:25:29 897efa740f69: Preparing 17:25:29 e3b3d4ca32d1: Preparing 17:25:29 4eced2863411: Preparing 17:25:29 a95ffcd5c912: Preparing 17:25:29 6729ceffef24: Preparing 17:25:29 3aaa80f850c9: Preparing 17:25:29 30a7a61c632f: Preparing 17:25:29 f73e7dbfee58: Preparing 17:25:29 3aaa80f850c9: Waiting 17:25:29 30a7a61c632f: Waiting 17:25:29 f73e7dbfee58: Waiting 17:25:29 6729ceffef24: Waiting 17:25:29 e3b3d4ca32d1: Layer already exists 17:25:29 4eced2863411: Layer already exists 17:25:29 2ab69cd8d8a5: Layer already exists 17:25:29 897efa740f69: Layer already exists 17:25:29 a95ffcd5c912: Layer already exists 17:25:30 30a7a61c632f: Layer already exists 17:25:30 6729ceffef24: Layer already exists 17:25:30 f73e7dbfee58: Layer already exists 17:25:30 3aaa80f850c9: Layer already exists 17:25:30 main: digest: sha256:82d8292e1746960164893f3ad08a3a74a65304bdfa1765cee16d085972620bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:25:30 ===================================================== [Pipeline] echo 17:25:30 taggedImages: 17:25:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bdd9de2e6b7fb58cdebc45eb3705f9970870401e 17:25:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:25:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.8 17:25:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:bdd9de2e6b7fb58cdebc45eb3705f9970870401e-2.2.1-dev.8 17:25:30 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:30 17:25:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:31 arm64: Pulling from edgex-lftools-log-publisher 17:25:31 8998bd30e6a1: Pulling fs layer 17:25:31 04944245beec: Pulling fs layer 17:25:31 699f458cf7ca: Pulling fs layer 17:25:31 765212b225bb: Pulling fs layer 17:25:31 f23df028b6ca: Pulling fs layer 17:25:31 d65c8cfc05b1: Pulling fs layer 17:25:31 2437ff75d9bd: Pulling fs layer 17:25:31 f23df028b6ca: Waiting 17:25:31 765212b225bb: Waiting 17:25:31 d65c8cfc05b1: Waiting 17:25:31 2437ff75d9bd: Waiting 17:25:31 04944245beec: Verifying Checksum 17:25:31 04944245beec: Download complete 17:25:31 765212b225bb: Download complete 17:25:31 f23df028b6ca: Verifying Checksum 17:25:31 f23df028b6ca: Download complete 17:25:31 d65c8cfc05b1: Verifying Checksum 17:25:31 d65c8cfc05b1: Download complete 17:25:31 699f458cf7ca: Verifying Checksum 17:25:31 699f458cf7ca: Download complete 17:25:31 8998bd30e6a1: Verifying Checksum 17:25:31 8998bd30e6a1: Download complete 17:25:34 2437ff75d9bd: Verifying Checksum 17:25:34 2437ff75d9bd: Download complete 17:25:36 8998bd30e6a1: Pull complete 17:25:36 04944245beec: Pull complete 17:25:38 699f458cf7ca: Pull complete 17:25:38 765212b225bb: Pull complete 17:25:39 f23df028b6ca: Pull complete 17:25:39 d65c8cfc05b1: Pull complete 17:25:54 2437ff75d9bd: Pull complete 17:25:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:54 prd-ubuntu20.04-docker-arm64-4c-16g-20500 does not seem to be running inside a container 17:25:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/47 -v /w/workspace/app-rfid-llrp-inventory/47:/w/workspace/app-rfid-llrp-inventory/47:rw,z -v /w/workspace/app-rfid-llrp-inventory/47@tmp:/w/workspace/app-rfid-llrp-inventory/47@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 17:25:57 $ docker top 67b0b99330e3d481628150f074b1bf26ccf30d2fd9859aa1a381f53285fa112a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:58 ---> job-cost.sh 17:25:58 lf-activate-venv: SKIPPING 17:25:58 INFO: No Stack... 17:25:59 INFO: Retrieving Pricing Info for: v3-standard-4 17:26:00 INFO: Archiving Costs [Pipeline] sh 17:26:00 + cat /w/workspace/app-rfid-llrp-inventory/47/archives/cost.csv 17:26:00 + cut -d, -f6 [Pipeline] lock 17:26:00 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] 17:26:00 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] did not exist. Created. 17:26:00 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:26:01 /w/workspace/app-rfid-llrp-inventory/47@tmp/durable-83692b73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:26:02 + echo total: 0.10999999940395355 [Pipeline] stash 17:26:02 Warning: overwriting stash ‘stack-cost’ 17:26:02 Stashed 1 file(s) [Pipeline] } 17:26:02 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:02 $ docker stop --time=1 67b0b99330e3d481628150f074b1bf26ccf30d2fd9859aa1a381f53285fa112a 17:26:03 $ docker rm -f 67b0b99330e3d481628150f074b1bf26ccf30d2fd9859aa1a381f53285fa112a [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 17:26:04 provisioning config files... 17:26:04 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5687421194844102313tmp [Pipeline] { [Pipeline] sh 17:26:04 + set +x 17:26:04 + bash -s -- 17:26:04 + curl -s https://codecov.io/bash 17:26:04 17:26:04 _____ _ 17:26:04 / ____| | | 17:26:04 | | ___ __| | ___ ___ _____ __ 17:26:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:26:04 | |___| (_) | (_| | __/ (_| (_) \ V / 17:26:04 \_____\___/ \__,_|\___|\___\___/ \_/ 17:26:04 Bash-1.0.6 17:26:04 17:26:04 17:26:04 ==> git version 2.25.1 found 17:26:04 ==> 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 17:26:04 Release-Date: 2020-01-08 17:26:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:26:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:26:04 ==> Jenkins CI detected. 17:26:04 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 17:26:04 project root: . 17:26:04 --> token set from env 17:26:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:26:04 ==> Running gcov in . (disable via -X gcov) 17:26:04 ==> Python coveragepy not found 17:26:04 ==> Searching for coverage reports in: 17:26:04 + . 17:26:04 -> Found 1 reports 17:26:04 ==> Detecting git/mercurial file structure 17:26:04 ==> Reading reports 17:26:04 + ./coverage.out bytes=41008 17:26:04 ==> Appending adjustments 17:26:04 https://docs.codecov.io/docs/fixing-reports 17:26:05 + Found adjustments 17:26:05 ==> Gzipping contents 17:26:05 12K /tmp/codecov.490cyB.gz 17:26:05 ==> Uploading reports 17:26:05 url: https://codecov.io 17:26:05 query: branch=main&commit=bdd9de2e6b7fb58cdebc45eb3705f9970870401e&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:26:05 -> Pinging Codecov 17:26:05 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=bdd9de2e6b7fb58cdebc45eb3705f9970870401e&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:26:05 -> Uploading to 17:26:05 https://storage.googleapis.com/codecov/v4/raw/2022-07-19/581DD39554BDF9B6E22D074273EAD858/bdd9de2e6b7fb58cdebc45eb3705f9970870401e/7bc11820-2ccf-4e92-8a07-3690fb990287.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T172605Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25160b02a7aec17b8366bc2f6775b6eaf10db57a5dc68563b6c82c5aa714ab67 17:26:05 % Total % Received % Xferd Average Speed Time Time Time Current 17:26:05 Dload Upload Total Spent Left Speed 17:26:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11502 0 0 100 11502 0 50227 --:--:-- --:--:-- --:--:-- 50227 17:26:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] } 17:26:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:26:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:26:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:26:05 17:26:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:26:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:26:06 df9b9388f04a: Pulling fs layer 17:26:06 52dc419b0ee2: Pulling fs layer 17:26:06 25bc292e5bac: Pulling fs layer 17:26:06 114826534d7a: Pulling fs layer 17:26:06 4657fd5d0bcf: Pulling fs layer 17:26:06 6ad1cebc031e: Pulling fs layer 17:26:06 8a3aa393b2d8: Pulling fs layer 17:26:06 114826534d7a: Waiting 17:26:06 6ad1cebc031e: Waiting 17:26:06 8a3aa393b2d8: Waiting 17:26:06 4657fd5d0bcf: Waiting 17:26:06 25bc292e5bac: Verifying Checksum 17:26:06 25bc292e5bac: Download complete 17:26:06 52dc419b0ee2: Verifying Checksum 17:26:06 52dc419b0ee2: Download complete 17:26:06 4657fd5d0bcf: Download complete 17:26:06 df9b9388f04a: Verifying Checksum 17:26:06 df9b9388f04a: Download complete 17:26:06 df9b9388f04a: Pull complete 17:26:06 6ad1cebc031e: Verifying Checksum 17:26:06 6ad1cebc031e: Download complete 17:26:06 52dc419b0ee2: Pull complete 17:26:06 25bc292e5bac: Pull complete 17:26:07 114826534d7a: Verifying Checksum 17:26:07 114826534d7a: Download complete 17:26:07 8a3aa393b2d8: Verifying Checksum 17:26:07 8a3aa393b2d8: Download complete 17:26:10 114826534d7a: Pull complete 17:26:10 4657fd5d0bcf: Pull complete 17:26:11 6ad1cebc031e: Pull complete 17:26:14 8a3aa393b2d8: Pull complete 17:26:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:26:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:14 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:26:14 $ 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 17:26:16 $ docker top 562de4da5460c94ee3b613d85dda43e0ec912b66038ade0b9b085ff02164fd5c -eo pid,comm [Pipeline] { [Pipeline] echo 17:26:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 17:26:16 + set -o pipefail 17:26:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 17:26:23 17:26:23 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 17:26:23 17:26:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/cbbb94cf-64c9-45f2-8099-0e2936375d6b 17:26:23 17:26:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:26:23 17:26:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:26:23 17:26:23 [Pipeline] } 17:26:23 $ docker stop --time=1 562de4da5460c94ee3b613d85dda43e0ec912b66038ade0b9b085ff02164fd5c 17:26:25 $ docker rm -f 562de4da5460c94ee3b613d85dda43e0ec912b66038ade0b9b085ff02164fd5c [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 17:26:25 + git log --format=format:%s -1 bdd9de2e6b7fb58cdebc45eb3705f9970870401e [Pipeline] sh 17:26:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:26:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:26 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:26:26 $ 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 17:26:27 $ docker top 98590d646dc285c1983eba61ea9a53b3b0dc794098a73f8eeb5ea44c3fcf9187 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:26:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:26:27 [ssh-agent] Looking for ssh-agent implementation... 17:26:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:26:27 $ docker exec 98590d646dc285c1983eba61ea9a53b3b0dc794098a73f8eeb5ea44c3fcf9187 ssh-agent 17:26:27 SSH_AUTH_SOCK=/tmp/ssh-hgxPyEHIfreZ/agent.33 17:26:27 SSH_AGENT_PID=40 17:26:27 Running ssh-add (command line suppressed) 17:26:27 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1017210601195668771.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1017210601195668771.key) 17:26:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:26:27 + git semver tag 17:26:28 2022-07-19 17:26:28,154 [run_tag] DEBUG tag force:False 17:26:28 2022-07-19 17:26:28,154 [check_head_tag] DEBUG check head tag 17:26:28 2022-07-19 17:26:28,154 [execute] INFO git cat-file --batch-check 17:26:28 2022-07-19 17:26:28,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:26:28 2022-07-19 17:26:28,158 [execute] INFO git cat-file --batch 17:26:28 2022-07-19 17:26:28,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:26:28 2022-07-19 17:26:28,166 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:26:28 2022-07-19 17:26:28,167 [execute] INFO git tag -a v2.2.1-dev.8 -m v2.2.1-dev.8 17:26:28 2022-07-19 17:26:28,167 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.8', '-m', 'v2.2.1-dev.8'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:26:28 2022-07-19 17:26:28,171 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:26:28 2.2.1-dev.8 [Pipeline] } 17:26:28 $ docker exec --env ******** --env ******** 98590d646dc285c1983eba61ea9a53b3b0dc794098a73f8eeb5ea44c3fcf9187 ssh-agent -k 17:26:28 unset SSH_AUTH_SOCK; 17:26:28 unset SSH_AGENT_PID; 17:26:28 echo Agent pid 40 killed; 17:26:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:26:28 + git semver [Pipeline] } 17:26:28 $ docker stop --time=1 98590d646dc285c1983eba61ea9a53b3b0dc794098a73f8eeb5ea44c3fcf9187 17:26:30 $ docker rm -f 98590d646dc285c1983eba61ea9a53b3b0dc794098a73f8eeb5ea44c3fcf9187 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:26:30 17:26:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:26:30 0.23.1-centos7: Pulling from edgex-lftools 17:26:30 ab5ef0e58194: Pulling fs layer 17:26:30 9712f1f96733: Pulling fs layer 17:26:30 63f879dbbcfc: Pulling fs layer 17:26:30 0d9ebad4ef96: Pulling fs layer 17:26:30 e9a5061849ea: Pulling fs layer 17:26:30 d747dcd14b5f: Pulling fs layer 17:26:30 2de7ff778b66: Pulling fs layer 17:26:30 0d9ebad4ef96: Waiting 17:26:30 d747dcd14b5f: Waiting 17:26:30 2de7ff778b66: Waiting 17:26:30 e9a5061849ea: Waiting 17:26:30 9712f1f96733: Verifying Checksum 17:26:30 9712f1f96733: Download complete 17:26:31 63f879dbbcfc: Verifying Checksum 17:26:31 63f879dbbcfc: Download complete 17:26:31 e9a5061849ea: Verifying Checksum 17:26:31 e9a5061849ea: Download complete 17:26:31 0d9ebad4ef96: Verifying Checksum 17:26:31 0d9ebad4ef96: Download complete 17:26:31 d747dcd14b5f: Download complete 17:26:31 ab5ef0e58194: Verifying Checksum 17:26:31 ab5ef0e58194: Download complete 17:26:31 2de7ff778b66: Verifying Checksum 17:26:31 2de7ff778b66: Download complete 17:26:34 ab5ef0e58194: Pull complete 17:26:34 9712f1f96733: Pull complete 17:26:35 63f879dbbcfc: Pull complete 17:26:39 0d9ebad4ef96: Pull complete 17:26:40 e9a5061849ea: Pull complete 17:26:40 d747dcd14b5f: Pull complete 17:26:41 2de7ff778b66: Pull complete 17:26:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:26:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:26:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:41 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:26:41 $ 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 17:26:43 $ docker top ceede86dcb9e157c4c70ac4db6c81fab29c0ef7085734997cf048f24a5f46778 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:26:43 provisioning config files... 17:26:43 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2267625736958614488tmp 17:26:43 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7725161312530937364tmp 17:26:43 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9186649912966016731tmp [Pipeline] { [Pipeline] echo 17:26:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:26:43 ---> sigul-configuration.sh 17:26:43 gpg: directory `/root/.gnupg' created 17:26:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:26:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:26:43 gpg: keyring `/root/.gnupg/secring.gpg' created 17:26:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:26:43 gpg: CAST5 encrypted data 17:26:43 gpg: encrypted with 1 passphrase 17:26:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:26:44 + mkdir /home/jenkins 17:26:44 + mkdir /home/jenkins/sigul [Pipeline] sh 17:26:44 + 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 17:26:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:26:44 ---> sigul-install.sh 17:26:44 Sigul already installed; skipping installation. [Pipeline] sh 17:26:45 + git tag --list 17:26:45 v0.0.0 17:26:45 v1.0.0 17:26:45 v2.1.0 17:26:45 v2.1.1 17:26:45 v2.1.1-dev.1 17:26:45 v2.2.0 17:26:45 v2.2.1-dev.1 17:26:45 v2.2.1-dev.2 17:26:45 v2.2.1-dev.3 17:26:45 v2.2.1-dev.4 17:26:45 v2.2.1-dev.5 17:26:45 v2.2.1-dev.6 17:26:45 v2.2.1-dev.7 17:26:45 v2.2.1-dev.8 [Pipeline] sh 17:26:45 + lftools sign git-tag v2.2.1-dev.8 17:26:45 Signing Git tag with Sigul... 17:26:45 Signing v2.2.1-dev.8 [Pipeline] echo 17:26:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:26:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:26:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:26:46 $ docker stop --time=1 ceede86dcb9e157c4c70ac4db6c81fab29c0ef7085734997cf048f24a5f46778 17:26:47 $ docker rm -f ceede86dcb9e157c4c70ac4db6c81fab29c0ef7085734997cf048f24a5f46778 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:26:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:26:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:26:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:48 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:26:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:26:49 $ docker top 8136e6ad6b0e74392aed11e6ac3c7c4e7f91977815f994b6d14d635365b2d6b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:26:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:26:49 [ssh-agent] Looking for ssh-agent implementation... 17:26:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:26:49 $ docker exec 8136e6ad6b0e74392aed11e6ac3c7c4e7f91977815f994b6d14d635365b2d6b7 ssh-agent 17:26:49 SSH_AUTH_SOCK=/tmp/ssh-cpo0gF0NbzQC/agent.33 17:26:49 SSH_AGENT_PID=40 17:26:49 Running ssh-add (command line suppressed) 17:26:49 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4179439683934292994.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4179439683934292994.key) 17:26:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:26:49 + git semver bump pre 17:26:50 2022-07-19 17:26:49,934 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:26:50 2022-07-19 17:26:49,934 [bump_version] DEBUG bumping version:2.2.1-dev.8 on axis:pre with prefix:dev 17:26:50 2022-07-19 17:26:49,934 [bump_version] DEBUG bumped version:2.2.1-dev.9 17:26:50 2022-07-19 17:26:49,934 [write_version] DEBUG write version:2.2.1-dev.9 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 17:26:50 2022-07-19 17:26:49,934 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:26:50 2022-07-19 17:26:49,934 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:26:50 2022-07-19 17:26:49,937 [execute] INFO git cat-file --batch-check 17:26:50 2022-07-19 17:26:49,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:26:50 2022-07-19 17:26:49,943 [execute] INFO git cat-file --batch 17:26:50 2022-07-19 17:26:49,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:26:50 2022-07-19 17:26:49,948 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:26:50 2.2.1-dev.9 [Pipeline] } 17:26:50 $ docker exec --env ******** --env ******** 8136e6ad6b0e74392aed11e6ac3c7c4e7f91977815f994b6d14d635365b2d6b7 ssh-agent -k 17:26:50 unset SSH_AUTH_SOCK; 17:26:50 unset SSH_AGENT_PID; 17:26:50 echo Agent pid 40 killed; 17:26:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:26:50 + git semver [Pipeline] } 17:26:50 $ docker stop --time=1 8136e6ad6b0e74392aed11e6ac3c7c4e7f91977815f994b6d14d635365b2d6b7 17:26:52 $ docker rm -f 8136e6ad6b0e74392aed11e6ac3c7c4e7f91977815f994b6d14d635365b2d6b7 [Pipeline] // withDockerContainer [Pipeline] sh 17:26:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:26:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:26:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:52 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:26:52 $ 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 17:26:53 $ docker top d707dfd85d587c506a1aa5ef1cc4058d74a0ab4f8588479b24b9aa9bddbaacb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:26:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:26:53 [ssh-agent] Looking for ssh-agent implementation... 17:26:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:26:53 $ docker exec d707dfd85d587c506a1aa5ef1cc4058d74a0ab4f8588479b24b9aa9bddbaacb7 ssh-agent 17:26:53 SSH_AUTH_SOCK=/tmp/ssh-SF78uCXZzfVU/agent.33 17:26:53 SSH_AGENT_PID=40 17:26:53 Running ssh-add (command line suppressed) 17:26:53 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6210029137584243919.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6210029137584243919.key) 17:26:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:26:54 + git semver push 17:26:54 2022-07-19 17:26:54,353 [run_push] DEBUG push 17:26:54 2022-07-19 17:26:54,353 [execute] INFO git cat-file --batch-check 17:26:54 2022-07-19 17:26:54,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:26:54 2022-07-19 17:26:54,358 [execute] INFO git rev-list 06251a2cc7645049dd621ecd07e13c2c901828db -- 17:26:54 2022-07-19 17:26:54,358 [execute] DEBUG Popen(['git', 'rev-list', '06251a2cc7645049dd621ecd07e13c2c901828db', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:26:54 2022-07-19 17:26:54,366 [execute] INFO git fetch -v origin 17:26:54 2022-07-19 17:26:54,366 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 17:26:54 2022-07-19 17:26:54,841 [run_push] DEBUG no remote changes detected 17:26:54 2022-07-19 17:26:54,842 [execute] INFO git push origin semver 17:26:54 2022-07-19 17:26:54,843 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:26:55 2022-07-19 17:26:55,554 [run_push] DEBUG push all version tags 17:26:55 2022-07-19 17:26:55,554 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:26:55 2022-07-19 17:26:55,555 [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) 17:26:56 2022-07-19 17:26:56,234 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:26:56 2.2.1-dev.9 [Pipeline] } 17:26:56 $ docker exec --env ******** --env ******** d707dfd85d587c506a1aa5ef1cc4058d74a0ab4f8588479b24b9aa9bddbaacb7 ssh-agent -k 17:26:56 unset SSH_AUTH_SOCK; 17:26:56 unset SSH_AGENT_PID; 17:26:56 echo Agent pid 40 killed; 17:26:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:26:56 + git semver [Pipeline] } 17:26:57 $ docker stop --time=1 d707dfd85d587c506a1aa5ef1cc4058d74a0ab4f8588479b24b9aa9bddbaacb7 17:26:58 $ docker rm -f d707dfd85d587c506a1aa5ef1cc4058d74a0ab4f8588479b24b9aa9bddbaacb7 [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 17:26:59 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 17:26:59 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:26:59 total 16 17:26:59 drwxr-xr-x 3 root root 4096 Jul 19 17:16 . 17:26:59 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 17:26 .. 17:26:59 drwxr-xr-x 2 root root 4096 Jul 19 17:16 cost 17:26:59 -rw-r--r-- 1 root root 93 Jul 19 17:16 cost.csv 17:26:59 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:26:59 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:26:59 total 16 17:26:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 17:16 . 17:26:59 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 17:26 .. 17:26:59 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 17:16 cost 17:26:59 -rw-r--r-- 1 jenkins jenkins 93 Jul 19 17:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:26:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:27:00 ---> package-listing.sh 17:27:00 ++ facter osfamily 17:27:00 ++ tr '[:upper:]' '[:lower:]' 17:27:00 + OS_FAMILY=debian 17:27:00 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 17:27:00 + START_PACKAGES=/tmp/packages_start.txt 17:27:00 + END_PACKAGES=/tmp/packages_end.txt 17:27:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:27:00 + PACKAGES=/tmp/packages_start.txt 17:27:00 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:27:00 + PACKAGES=/tmp/packages_end.txt 17:27:00 + case "${OS_FAMILY}" in 17:27:00 + dpkg -l 17:27:00 + grep '^ii' 17:27:00 + '[' -f /tmp/packages_start.txt ']' 17:27:00 + '[' -f /tmp/packages_end.txt ']' 17:27:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:27:00 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:27:00 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 17:27:00 + 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 17:27:00 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 17:27:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:01 prd-ubuntu20.04-docker-8c-8g-20496 does not seem to be running inside a container 17:27:01 $ 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 17:27:01 $ docker top e505f3912c05402e7ef3256eedcb7da4374270eeaf2280631c45b6657a89e60c -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:02 + touch /tmp/pre-build-complete [Pipeline] sh 17:27:02 + mkdir -p /var/log/sysstat [Pipeline] sh 17:27:02 + ls /var/log/sa-host 17:27:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:02 provisioning config files... 17:27:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6636226885451636906tmp [Pipeline] { [Pipeline] echo 17:27:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:27:03 ---> create-netrc.sh [Pipeline] } 17:27:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:27:03 ---> python-tools-install.sh [Pipeline] echo 17:27:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:27:03 ---> sudo-logs.sh 17:27:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:27:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:27:03 ---> job-cost.sh 17:27:03 lf-activate-venv: SKIPPING 17:27:03 DEBUG: total: 0.2199999988079071 17:27:03 INFO: Retrieving Stack Cost... 17:27:04 INFO: Retrieving Pricing Info for: v3-standard-8 17:27:04 INFO: Archiving Costs [Pipeline] echo 17:27:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:27:05 ---> logs-deploy.sh 17:27:05 lf-activate-venv: SKIPPING 17:27:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/47 17:27:05 INFO: archiving workspace using pattern(s): 17:27:06 Archives upload complete. 17:27:06 INFO: archiving logs to Nexus