Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ccdb054e5d16bd529c2fd15a52524dce2c381cd1 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-ssh2560628219677997205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh5273410569976810095.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh6256498492459133288.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh4895271296347364858.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-ssh16643284103495590522.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.17 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-17291’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-17292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-17265’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17424’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17428 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 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 (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 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16 (#96)" > git rev-list --no-walk 5d59561c1133a6ca726020ae56ce39f2a90031a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:30:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:30:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:30:28 ========================================================= 16:30:28 EdgeX Global Pipelines Version Info 16:30:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:30:29 ------------------- 16:30:29 stable info: 16:30:29 ------------------- 16:30:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:30:29 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:30:29 Message: update stable to v1.0.234 16:30:30 ------------------- 16:30:30 experimental info: 16:30:30 ------------------- 16:30:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:30:30 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 16:30:30 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:30:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccdb054 [Pipeline] echo 16:30:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:31 provisioning config files... 16:30:31 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config663978319703859120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:31 ---> docker-login.sh 16:30:31 nexus3.edgexfoundry.org:10001 16:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:31 Configure a credential helper to remove this warning. See 16:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:31 16:30:31 Login Succeeded 16:30:31 nexus3.edgexfoundry.org:10002 16:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:32 Configure a credential helper to remove this warning. See 16:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:32 16:30:32 Login Succeeded 16:30:32 nexus3.edgexfoundry.org:10003 16:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:32 Configure a credential helper to remove this warning. See 16:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:32 16:30:32 Login Succeeded 16:30:32 nexus3.edgexfoundry.org:10004 16:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:32 Configure a credential helper to remove this warning. See 16:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:32 16:30:32 Login Succeeded 16:30:32 docker.io 16:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:33 Configure a credential helper to remove this warning. See 16:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:33 16:30:33 Login Succeeded 16:30:33 ---> docker-login.sh ends [Pipeline] } 16:30:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:30:33 + git rev-list -1 --merges ccdb054e5d16bd529c2fd15a52524dce2c381cd1~1..ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] echo 16:30:33 -----------> git rev-list -1 --merges ccdb054e5d16bd529c2fd15a52524dce2c381cd1~1..ccdb054e5d16bd529c2fd15a52524dce2c381cd1 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [false] [Pipeline] sh 16:30:33 + git log --format=format:%s -1 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] echo 16:30:33 ========================================================= 16:30:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:30:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:34 + git log --format=format:%s -1 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] echo 16:30:34 [semverPrep] GIT_COMMIT: ccdb054e5d16bd529c2fd15a52524dce2c381cd1, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 (#96) [Pipeline] echo 16:30:34 [semverPrep] This is not a build commit. [Pipeline] sh 16:30:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:30:34 + grep -v github /etc/ssh/ssh_known_hosts 16:30:34 + [ -e /tmp/ssh_known_hosts ] 16:30:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:30:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:30:34 + sudo tee -a /etc/ssh/ssh_known_hosts 16:30:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:35 16:30:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:35 0.1.4: Pulling from edgex-devops/py-git-semver 16:30:35 b85a868b505f: Pulling fs layer 16:30:35 e2be974225ed: Pulling fs layer 16:30:35 339a4e72a1f5: Pulling fs layer 16:30:35 988bab9f4d93: Pulling fs layer 16:30:35 1469e6f7b9e6: Pulling fs layer 16:30:35 eaf3925da568: Pulling fs layer 16:30:35 bab4dde63d76: Pulling fs layer 16:30:35 bde34c3a00c8: Pulling fs layer 16:30:35 b352a97aabf1: Pulling fs layer 16:30:35 eaf3925da568: Waiting 16:30:35 1469e6f7b9e6: Waiting 16:30:35 988bab9f4d93: Waiting 16:30:35 bab4dde63d76: Waiting 16:30:35 bde34c3a00c8: Waiting 16:30:35 4872d77fe225: Pulling fs layer 16:30:35 b352a97aabf1: Waiting 16:30:35 5851b861e8e6: Pulling fs layer 16:30:35 5851b861e8e6: Waiting 16:30:35 4872d77fe225: Waiting 16:30:35 e2be974225ed: Verifying Checksum 16:30:35 e2be974225ed: Download complete 16:30:35 988bab9f4d93: Verifying Checksum 16:30:35 988bab9f4d93: Download complete 16:30:35 1469e6f7b9e6: Verifying Checksum 16:30:35 1469e6f7b9e6: Download complete 16:30:35 eaf3925da568: Download complete 16:30:35 339a4e72a1f5: Verifying Checksum 16:30:35 339a4e72a1f5: Download complete 16:30:35 bde34c3a00c8: Verifying Checksum 16:30:35 bde34c3a00c8: Download complete 16:30:35 b352a97aabf1: Verifying Checksum 16:30:35 b352a97aabf1: Download complete 16:30:35 4872d77fe225: Download complete 16:30:35 5851b861e8e6: Download complete 16:30:35 b85a868b505f: Download complete 16:30:35 bab4dde63d76: Verifying Checksum 16:30:35 bab4dde63d76: Download complete 16:30:37 b85a868b505f: Pull complete 16:30:37 e2be974225ed: Pull complete 16:30:37 339a4e72a1f5: Pull complete 16:30:37 988bab9f4d93: Pull complete 16:30:38 1469e6f7b9e6: Pull complete 16:30:38 eaf3925da568: Pull complete 16:30:40 bab4dde63d76: Pull complete 16:30:40 bde34c3a00c8: Pull complete 16:30:40 b352a97aabf1: Pull complete 16:30:40 4872d77fe225: Pull complete 16:30:40 5851b861e8e6: Pull complete 16:30:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:30:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:40 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 16:30:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:30:42 $ docker top bd755de570ee459533910396de8e2c0c7fe31db97102596828496fd700a33cd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:30:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:42 [ssh-agent] Looking for ssh-agent implementation... 16:30:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:42 $ docker exec bd755de570ee459533910396de8e2c0c7fe31db97102596828496fd700a33cd2 ssh-agent 16:30:43 SSH_AUTH_SOCK=/tmp/ssh-FyAqNbOGt0kE/agent.32 16:30:43 SSH_AGENT_PID=39 16:30:43 Running ssh-add (command line suppressed) 16:30:43 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2828518942002638757.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2828518942002638757.key) 16:30:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:43 + git tag --points-at HEAD [Pipeline] } 16:30:44 $ docker exec --env ******** --env ******** bd755de570ee459533910396de8e2c0c7fe31db97102596828496fd700a33cd2 ssh-agent -k 16:30:44 unset SSH_AUTH_SOCK; 16:30:44 unset SSH_AGENT_PID; 16:30:44 echo Agent pid 39 killed; 16:30:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:30:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:44 [ssh-agent] Looking for ssh-agent implementation... 16:30:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:44 $ docker exec bd755de570ee459533910396de8e2c0c7fe31db97102596828496fd700a33cd2 ssh-agent 16:30:44 SSH_AUTH_SOCK=/tmp/ssh-uEmgFfB2MfkC/agent.71 16:30:44 SSH_AGENT_PID=78 16:30:44 Running ssh-add (command line suppressed) 16:30:44 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8591536812060463751.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8591536812060463751.key) 16:30:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:45 + git semver init 16:30:45 2022-07-11 16:30:45,595 [run_init] DEBUG init version:0.0.0 force:False 16:30:45 2022-07-11 16:30:45,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 16:30:45 2022-07-11 16:30:45,596 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 16:30:45 2022-07-11 16:30:45,596 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 16:30:59 2022-07-11 16:30:57,521 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 16:30:59 2022-07-11 16:30:57,521 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 16:30:59 2022-07-11 16:30:57,521 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:30:59 2022-07-11 16:30:57,522 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 16:30:59 2.2.1-dev.6 [Pipeline] } 16:30:59 $ docker exec --env ******** --env ******** bd755de570ee459533910396de8e2c0c7fe31db97102596828496fd700a33cd2 ssh-agent -k 16:30:59 unset SSH_AUTH_SOCK; 16:30:59 unset SSH_AGENT_PID; 16:30:59 echo Agent pid 78 killed; 16:30:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:30:59 + git semver [Pipeline] } 16:31:00 $ docker stop --time=1 bd755de570ee459533910396de8e2c0c7fe31db97102596828496fd700a33cd2 16:31:01 $ docker rm -f bd755de570ee459533910396de8e2c0c7fe31db97102596828496fd700a33cd2 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:31:01 Stashed 1 file(s) [Pipeline] echo 16:31:01 [edgeXSemver]: initialized semver on version 2.2.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:31:02 provisioning config files... 16:31:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config993523089070556035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:02 ---> docker-login.sh 16:31:02 nexus3.edgexfoundry.org:10001 16:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:02 Configure a credential helper to remove this warning. See 16:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:02 16:31:02 Login Succeeded 16:31:02 nexus3.edgexfoundry.org:10002 16:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:02 Configure a credential helper to remove this warning. See 16:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:02 16:31:02 Login Succeeded 16:31:02 nexus3.edgexfoundry.org:10003 16:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:02 Configure a credential helper to remove this warning. See 16:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:02 16:31:02 Login Succeeded 16:31:02 nexus3.edgexfoundry.org:10004 16:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:02 Configure a credential helper to remove this warning. See 16:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:02 16:31:02 Login Succeeded 16:31:02 docker.io 16:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:03 Configure a credential helper to remove this warning. See 16:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:03 16:31:03 Login Succeeded 16:31:03 ---> docker-login.sh ends [Pipeline] } 16:31:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:31:03 ========================================================= 16:31:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:31:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:31:03 Sending build context to Docker daemon 12.44MB 16:31:03 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:31:03 Step 2/13 : FROM ${BASE} AS builder 16:31:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:31:03 59bf1c3509f3: Pulling fs layer 16:31:03 666ba61612fd: Pulling fs layer 16:31:03 8ed8ca486205: Pulling fs layer 16:31:03 cc1cd167ecdc: Pulling fs layer 16:31:03 c516ae0d96e1: Pulling fs layer 16:31:03 684cea983483: Pulling fs layer 16:31:03 dd3240ac7de5: Pulling fs layer 16:31:03 b1e948a4e11c: Pulling fs layer 16:31:03 a8fd76ee1af6: Pulling fs layer 16:31:03 646ad004c059: Pulling fs layer 16:31:03 684cea983483: Waiting 16:31:03 dd3240ac7de5: Waiting 16:31:03 b1e948a4e11c: Waiting 16:31:03 cc1cd167ecdc: Waiting 16:31:03 c516ae0d96e1: Waiting 16:31:03 a8fd76ee1af6: Waiting 16:31:03 646ad004c059: Waiting 16:31:03 8ed8ca486205: Verifying Checksum 16:31:03 8ed8ca486205: Download complete 16:31:03 666ba61612fd: Download complete 16:31:03 c516ae0d96e1: Download complete 16:31:03 684cea983483: Verifying Checksum 16:31:03 684cea983483: Download complete 16:31:03 dd3240ac7de5: Verifying Checksum 16:31:03 dd3240ac7de5: Download complete 16:31:03 59bf1c3509f3: Download complete 16:31:03 b1e948a4e11c: Verifying Checksum 16:31:03 b1e948a4e11c: Download complete 16:31:03 59bf1c3509f3: Pull complete 16:31:04 666ba61612fd: Pull complete 16:31:04 8ed8ca486205: Pull complete 16:31:04 646ad004c059: Verifying Checksum 16:31:04 646ad004c059: Download complete 16:31:04 a8fd76ee1af6: Verifying Checksum 16:31:04 a8fd76ee1af6: Download complete 16:31:04 cc1cd167ecdc: Verifying Checksum 16:31:04 cc1cd167ecdc: Download complete 16:31:08 cc1cd167ecdc: Pull complete 16:31:08 c516ae0d96e1: Pull complete 16:31:08 684cea983483: Pull complete 16:31:08 dd3240ac7de5: Pull complete 16:31:08 b1e948a4e11c: Pull complete 16:31:11 a8fd76ee1af6: Pull complete 16:31:11 646ad004c059: Pull complete 16:31:11 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:31:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:11 ---> 8f69c11f6b0c 16:31:11 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:31:14 ---> Running in d54df9b2d6ba 16:31:14 Removing intermediate container d54df9b2d6ba 16:31:14 ---> 7f937c563839 16:31:14 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 16:31:14 ---> Running in 41431a73b906 16:31:14 Removing intermediate container 41431a73b906 16:31:14 ---> 5b4ccc75f2a9 16:31:14 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:31:14 ---> Running in 2757d45988f9 16:31:14 Removing intermediate container 2757d45988f9 16:31:14 ---> cc992e4f8d7a 16:31:14 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:31:14 ---> Running in 075c09f6aaf0 16:31:15 Removing intermediate container 075c09f6aaf0 16:31:15 ---> db4dc4716db1 16:31:15 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:31:15 ---> Running in eace33bb637b 16:31:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:31:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:31:16 OK: 221 MiB in 52 packages 16:31:17 Still waiting to schedule task 16:31:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17425’ 16:31:17 Removing intermediate container eace33bb637b 16:31:17 ---> 05234d017804 16:31:17 Step 8/13 : WORKDIR /app 16:31:17 ---> Running in c476e4457d7a 16:31:17 Removing intermediate container c476e4457d7a 16:31:17 ---> 5982a6f94f72 16:31:17 Step 9/13 : COPY go.mod vendor* ./ 16:31:17 ---> 71736429470d 16:31:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:17 ---> Running in e13cabe3e0bf 16:31:35 Removing intermediate container e13cabe3e0bf 16:31:35 ---> 63f6d3c6b496 16:31:35 Step 11/13 : COPY . . 16:31:35 ---> c24e5e2c5e22 16:31:35 Step 12/13 : ARG MAKE="make build" 16:31:35 ---> Running in 70afdf240b7f 16:31:35 Removing intermediate container 70afdf240b7f 16:31:35 ---> 1e845ecd0f21 16:31:35 Step 13/13 : RUN $MAKE 16:31:35 ---> Running in 43a84960f5e9 16:31:35 noop 16:31:35 Removing intermediate container 43a84960f5e9 16:31:35 ---> ed76b79a03fe 16:31:35 Successfully built ed76b79a03fe 16:31:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:35 + docker inspect -f . ci-base-image-x86_64 16:31:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:35 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 16:31:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:36 $ docker top a6a4c3ccd8d785fcc896e1601a7016e8bea05454c0ea6e302ed32c93c260ce53 -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:36 + go version 16:31:36 go version go1.17.7 linux/amd64 [Pipeline] } 16:31:36 $ docker stop --time=1 a6a4c3ccd8d785fcc896e1601a7016e8bea05454c0ea6e302ed32c93c260ce53 16:31:37 $ docker rm -f a6a4c3ccd8d785fcc896e1601a7016e8bea05454c0ea6e302ed32c93c260ce53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:38 + docker inspect -f . ci-base-image-x86_64 16:31:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:38 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 16:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:39 $ docker top 810b7ad417d13979ae1b0c09f82f198e2fa584280ef31995039b4d7398d034ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:31:39 + make test 16:31:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:31:49 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:31:49 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.041s coverage: 86.2% of statements 16:31:49 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:31:51 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.544s coverage: 71.9% of statements 16:31:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:32:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:32:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:32:02 ./bin/test-attribution.sh [Pipeline] echo 16:32:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:32:03 $ docker stop --time=1 810b7ad417d13979ae1b0c09f82f198e2fa584280ef31995039b4d7398d034ea 16:32:05 $ docker rm -f 810b7ad417d13979ae1b0c09f82f198e2fa584280ef31995039b4d7398d034ea [Pipeline] // withDockerContainer [Pipeline] sh 16:32:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:32:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:32:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:32:06 + ls -al . 16:32:06 total 232 16:32:06 drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 16:31 . 16:32:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:30 .. 16:32:06 -rw-rw-r-- 1 jenkins jenkins 262 Jul 11 16:30 .dockerignore 16:32:06 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:30 .git 16:32:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 16:30 .github 16:32:06 -rw-rw-r-- 1 jenkins jenkins 788 Jul 11 16:30 .gitignore 16:32:06 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 16:30 .golangci.yml 16:32:06 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 16:30 .semver 16:32:06 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 11 16:30 Attribution.txt 16:32:06 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 11 16:30 CHANGELOG.md 16:32:06 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 11 16:30 Dockerfile 16:32:06 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 16:30 GOVERNANCE.md 16:32:06 -rw-rw-r-- 1 jenkins jenkins 687 Jul 11 16:30 Jenkinsfile 16:32:06 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 11 16:30 LICENSE 16:32:06 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 11 16:30 Makefile 16:32:06 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 16:30 OWNERS.md 16:32:06 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 11 16:30 README.md 16:32:06 -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 16:31 VERSION 16:32:06 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:30 bin 16:32:06 -rw-r--r-- 1 jenkins jenkins 41008 Jul 11 16:31 coverage.out 16:32:06 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 11 16:30 go.mod 16:32:06 -rw-rw-r-- 1 jenkins jenkins 36956 Jul 11 16:30 go.sum 16:32:06 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:30 images 16:32:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:30 internal 16:32:06 -rw-rw-r-- 1 jenkins jenkins 531 Jul 11 16:30 main.go 16:32:06 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:30 res 16:32:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:30 snap 16:32:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 16:30 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:06 + 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=ccdb054e5d16bd529c2fd15a52524dce2c381cd1 --label arch=amd64 --label version=2.2.1-dev.6 . 16:32:06 Sending build context to Docker daemon 12.44MB 16:32:06 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 16:32:06 Step 2/31 : FROM ${BASE} AS builder 16:32:06 ---> ed76b79a03fe 16:32:06 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:32:07 ---> Running in afc2df7310c3 16:32:07 Removing intermediate container afc2df7310c3 16:32:07 ---> 945b829941c2 16:32:07 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 16:32:07 ---> Running in befc1ac6cd60 16:32:07 Removing intermediate container befc1ac6cd60 16:32:07 ---> adc7474df87c 16:32:07 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:32:07 ---> Running in 1b137474725b 16:32:07 Removing intermediate container 1b137474725b 16:32:07 ---> 04c9e7a83b4f 16:32:07 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:32:07 ---> Running in a0e2b4777bf4 16:32:07 Removing intermediate container a0e2b4777bf4 16:32:07 ---> 76cdb8842eb3 16:32:07 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:32:07 ---> Running in b833ea3868f0 16:32:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:32:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:32:09 OK: 221 MiB in 52 packages 16:32:09 Removing intermediate container b833ea3868f0 16:32:09 ---> 326ccede7584 16:32:09 Step 8/31 : WORKDIR /app 16:32:09 ---> Running in a9d489e5a0c4 16:32:09 Removing intermediate container a9d489e5a0c4 16:32:09 ---> a39e14f8357b 16:32:09 Step 9/31 : COPY go.mod vendor* ./ 16:32:09 ---> f46c6cf13faa 16:32:09 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:32:10 ---> Running in 8a32251c59d0 16:32:10 Removing intermediate container 8a32251c59d0 16:32:10 ---> 7dc5b75cf3f6 16:32:10 Step 11/31 : COPY . . 16:32:11 ---> cbc52da29606 16:32:11 Step 12/31 : ARG MAKE="make build" 16:32:11 ---> Running in fc475bd63be4 16:32:11 Removing intermediate container fc475bd63be4 16:32:11 ---> 12ed1bd96e00 16:32:11 Step 13/31 : RUN $MAKE 16:32:11 ---> Running in 0c7294f8876f 16:32:11 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.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.6 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 16:32:33 Removing intermediate container 0c7294f8876f 16:32:33 ---> 42df042ec978 16:32:33 Step 14/31 : FROM alpine:3.14 16:32:33 3.14: Pulling from library/alpine 16:32:33 8663204ce13b: Pulling fs layer 16:32:33 8663204ce13b: Verifying Checksum 16:32:33 8663204ce13b: Download complete 16:32:33 8663204ce13b: Pull complete 16:32:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:32:33 Status: Downloaded newer image for alpine:3.14 16:32:33 ---> e04c818066af 16:32:33 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:32:33 ---> Running in c45b98949664 16:32:33 Removing intermediate container c45b98949664 16:32:33 ---> c534950dde4f 16:32:33 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 16:32:33 ---> Running in 5c20885d78d7 16:32:33 Removing intermediate container 5c20885d78d7 16:32:33 ---> 141cb6b6b65a 16:32:33 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:32:33 ---> Running in cdd829621b34 16:32:33 Removing intermediate container cdd829621b34 16:32:33 ---> 3d8d175883c7 16:32:33 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 16:32:33 ---> Running in a89eca10229d 16:32:33 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:32:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:32:34 (1/7) Installing ca-certificates (20211220-r0) 16:32:35 (2/7) Installing dumb-init (1.2.5-r1) 16:32:35 (3/7) Installing libgcc (10.3.1_git20210424-r2) 16:32:35 (4/7) Installing libsodium (1.0.18-r0) 16:32:35 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 16:32:35 (6/7) Installing libzmq (4.3.4-r0) 16:32:35 (7/7) Installing zeromq (4.3.4-r0) 16:32:35 Executing busybox-1.33.1-r7.trigger 16:32:35 Executing ca-certificates-20211220-r0.trigger 16:32:35 OK: 9 MiB in 21 packages 16:32:36 Removing intermediate container a89eca10229d 16:32:36 ---> 61c8b09057bd 16:32:36 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:32:36 ---> e7987978f0cf 16:32:36 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 16:32:36 ---> 496d41171514 16:32:36 Step 21/31 : COPY --from=builder /app/res/ /res/ 16:32:36 ---> ef7b2a1cbdd4 16:32:36 Step 22/31 : COPY --from=builder /app/static/ /static/ 16:32:36 ---> f94d187571f2 16:32:36 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 16:32:37 ---> cb33190734f1 16:32:37 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 16:32:37 ---> Running in d0ce4b1bb970 16:32:38 Removing intermediate container d0ce4b1bb970 16:32:38 ---> fcdca3d1ba01 16:32:38 Step 25/31 : VOLUME /cache 16:32:38 ---> Running in f6257d2b2b8f 16:32:38 Removing intermediate container f6257d2b2b8f 16:32:38 ---> b934056fb6f3 16:32:38 Step 26/31 : EXPOSE 59711 16:32:38 ---> Running in d9bfe066466f 16:32:38 Removing intermediate container d9bfe066466f 16:32:38 ---> 923e0fab2071 16:32:38 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 16:32:38 ---> Running in d223bef56d1f 16:32:38 Removing intermediate container d223bef56d1f 16:32:38 ---> e8f50b9e74af 16:32:38 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 16:32:38 ---> Running in 9cf433d1d077 16:32:38 Removing intermediate container 9cf433d1d077 16:32:38 ---> 5ec8c6f377d1 16:32:38 Step 29/31 : LABEL arch=amd64 16:32:38 ---> Running in 81dddc0f3b07 16:32:38 Removing intermediate container 81dddc0f3b07 16:32:38 ---> 8edd864a44b9 16:32:38 Step 30/31 : LABEL git_sha=ccdb054e5d16bd529c2fd15a52524dce2c381cd1 16:32:38 ---> Running in ea27c8e66d91 16:32:38 Removing intermediate container ea27c8e66d91 16:32:38 ---> a5d5d1e9ae82 16:32:38 Step 31/31 : LABEL version=2.2.1-dev.6 16:32:39 ---> Running in 5696f633f1a0 16:32:39 Removing intermediate container 5696f633f1a0 16:32:39 ---> 4bc58b787d89 16:32:39 [Warning] One or more build-args [ARCH] were not consumed 16:32:39 Successfully built 4bc58b787d89 16:32:39 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:39 provisioning config files... 16:32:39 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1594881992740217548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:39 ---> docker-login.sh 16:32:39 nexus3.edgexfoundry.org:10001 16:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:39 Configure a credential helper to remove this warning. See 16:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:39 16:32:39 Login Succeeded 16:32:39 nexus3.edgexfoundry.org:10002 16:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:39 Configure a credential helper to remove this warning. See 16:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:39 16:32:39 Login Succeeded 16:32:39 nexus3.edgexfoundry.org:10003 16:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:40 Configure a credential helper to remove this warning. See 16:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:40 16:32:40 Login Succeeded 16:32:40 nexus3.edgexfoundry.org:10004 16:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:40 Configure a credential helper to remove this warning. See 16:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:40 16:32:40 Login Succeeded 16:32:40 docker.io 16:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:40 Configure a credential helper to remove this warning. See 16:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:40 16:32:40 Login Succeeded 16:32:40 ---> docker-login.sh ends [Pipeline] } 16:32:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:32:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:32:40 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 16:32:40 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 16:32:40 latest 16:32:40 2.2.1-dev.6 16:32:40 ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 16:32:40 main 16:32:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:41 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:41 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:ccdb054e5d16bd529c2fd15a52524dce2c381cd1 16:32:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:32:41 a02d88110a3c: Preparing 16:32:41 ff24ce4cf791: Preparing 16:32:41 482cb7f8769c: Preparing 16:32:41 5faaeead613c: Preparing 16:32:41 8b0f51f1b1a4: Preparing 16:32:41 7e6d9c6b5012: Preparing 16:32:41 24cbfbc50866: Preparing 16:32:41 be787fd18c1e: Preparing 16:32:41 b541d28bf3b4: Preparing 16:32:41 7e6d9c6b5012: Waiting 16:32:41 24cbfbc50866: Waiting 16:32:41 be787fd18c1e: Waiting 16:32:41 b541d28bf3b4: Waiting 16:32:41 a02d88110a3c: Pushed 16:32:41 482cb7f8769c: Pushed 16:32:41 8b0f51f1b1a4: Pushed 16:32:41 5faaeead613c: Pushed 16:32:41 b541d28bf3b4: Layer already exists 16:32:41 be787fd18c1e: Pushed 16:32:41 7e6d9c6b5012: Pushed 16:32:41 24cbfbc50866: Pushed 16:32:44 ff24ce4cf791: Pushed 16:32:44 ccdb054e5d16bd529c2fd15a52524dce2c381cd1: digest: sha256:03084ff5b5bef24d913cb2d9c9d33a60d8c6f1bcc1c2425f7a504c146133224f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:44 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:45 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:32:45 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:32:45 a02d88110a3c: Preparing 16:32:45 ff24ce4cf791: Preparing 16:32:45 482cb7f8769c: Preparing 16:32:45 5faaeead613c: Preparing 16:32:45 8b0f51f1b1a4: Preparing 16:32:45 7e6d9c6b5012: Preparing 16:32:45 24cbfbc50866: Preparing 16:32:45 be787fd18c1e: Preparing 16:32:45 b541d28bf3b4: Preparing 16:32:45 7e6d9c6b5012: Waiting 16:32:45 24cbfbc50866: Waiting 16:32:45 be787fd18c1e: Waiting 16:32:45 b541d28bf3b4: Waiting 16:32:45 8b0f51f1b1a4: Layer already exists 16:32:45 a02d88110a3c: Layer already exists 16:32:45 5faaeead613c: Layer already exists 16:32:45 ff24ce4cf791: Layer already exists 16:32:45 482cb7f8769c: Layer already exists 16:32:45 24cbfbc50866: Layer already exists 16:32:45 7e6d9c6b5012: Layer already exists 16:32:45 b541d28bf3b4: Layer already exists 16:32:45 be787fd18c1e: Layer already exists 16:32:45 latest: digest: sha256:03084ff5b5bef24d913cb2d9c9d33a60d8c6f1bcc1c2425f7a504c146133224f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:45 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:46 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.6 16:32:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:32:46 a02d88110a3c: Preparing 16:32:46 ff24ce4cf791: Preparing 16:32:46 482cb7f8769c: Preparing 16:32:46 5faaeead613c: Preparing 16:32:46 8b0f51f1b1a4: Preparing 16:32:46 7e6d9c6b5012: Preparing 16:32:46 24cbfbc50866: Preparing 16:32:46 be787fd18c1e: Preparing 16:32:46 b541d28bf3b4: Preparing 16:32:46 24cbfbc50866: Waiting 16:32:46 be787fd18c1e: Waiting 16:32:46 7e6d9c6b5012: Waiting 16:32:46 b541d28bf3b4: Waiting 16:32:46 a02d88110a3c: Layer already exists 16:32:46 5faaeead613c: Layer already exists 16:32:46 482cb7f8769c: Layer already exists 16:32:46 8b0f51f1b1a4: Layer already exists 16:32:46 7e6d9c6b5012: Layer already exists 16:32:46 be787fd18c1e: Layer already exists 16:32:46 ff24ce4cf791: Layer already exists 16:32:46 24cbfbc50866: Layer already exists 16:32:46 b541d28bf3b4: Layer already exists 16:32:46 2.2.1-dev.6: digest: sha256:03084ff5b5bef24d913cb2d9c9d33a60d8c6f1bcc1c2425f7a504c146133224f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:46 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:46 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 16:32:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:32:46 a02d88110a3c: Preparing 16:32:46 ff24ce4cf791: Preparing 16:32:46 482cb7f8769c: Preparing 16:32:46 5faaeead613c: Preparing 16:32:46 8b0f51f1b1a4: Preparing 16:32:46 7e6d9c6b5012: Preparing 16:32:46 24cbfbc50866: Preparing 16:32:46 be787fd18c1e: Preparing 16:32:46 b541d28bf3b4: Preparing 16:32:46 7e6d9c6b5012: Waiting 16:32:46 24cbfbc50866: Waiting 16:32:46 be787fd18c1e: Waiting 16:32:46 b541d28bf3b4: Waiting 16:32:46 482cb7f8769c: Layer already exists 16:32:46 8b0f51f1b1a4: Layer already exists 16:32:46 ff24ce4cf791: Layer already exists 16:32:46 5faaeead613c: Layer already exists 16:32:46 a02d88110a3c: Layer already exists 16:32:46 7e6d9c6b5012: Layer already exists 16:32:46 be787fd18c1e: Layer already exists 16:32:46 24cbfbc50866: Layer already exists 16:32:46 b541d28bf3b4: Layer already exists 16:32:46 ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6: digest: sha256:03084ff5b5bef24d913cb2d9c9d33a60d8c6f1bcc1c2425f7a504c146133224f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:47 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:47 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 16:32:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 16:32:47 a02d88110a3c: Preparing 16:32:47 ff24ce4cf791: Preparing 16:32:47 482cb7f8769c: Preparing 16:32:47 5faaeead613c: Preparing 16:32:47 8b0f51f1b1a4: Preparing 16:32:47 7e6d9c6b5012: Preparing 16:32:47 24cbfbc50866: Preparing 16:32:47 be787fd18c1e: Preparing 16:32:47 b541d28bf3b4: Preparing 16:32:47 be787fd18c1e: Waiting 16:32:47 7e6d9c6b5012: Waiting 16:32:47 24cbfbc50866: Waiting 16:32:47 b541d28bf3b4: Waiting 16:32:47 482cb7f8769c: Layer already exists 16:32:47 5faaeead613c: Layer already exists 16:32:47 a02d88110a3c: Layer already exists 16:32:47 ff24ce4cf791: Layer already exists 16:32:47 8b0f51f1b1a4: Layer already exists 16:32:47 24cbfbc50866: Layer already exists 16:32:47 be787fd18c1e: Layer already exists 16:32:47 b541d28bf3b4: Layer already exists 16:32:47 7e6d9c6b5012: Layer already exists 16:32:47 main: digest: sha256:03084ff5b5bef24d913cb2d9c9d33a60d8c6f1bcc1c2425f7a504c146133224f size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:32:47 ===================================================== [Pipeline] echo 16:32:47 taggedImages: 16:32:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:ccdb054e5d16bd529c2fd15a52524dce2c381cd1 16:32:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 16:32:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.6 16:32:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 16:32:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:47 16:32:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:48 latest: Pulling from edgex-lftools-log-publisher 16:32:48 5eb5b503b376: Pulling fs layer 16:32:48 5c69ac0246d0: Pulling fs layer 16:32:48 ec43610c2a17: Pulling fs layer 16:32:48 3a2ae6a8a46f: Pulling fs layer 16:32:48 33b1e0a273af: Pulling fs layer 16:32:48 5d3b04190fa2: Pulling fs layer 16:32:48 2f39f015ded8: Pulling fs layer 16:32:48 33b1e0a273af: Waiting 16:32:48 5d3b04190fa2: Waiting 16:32:48 2f39f015ded8: Waiting 16:32:48 3a2ae6a8a46f: Waiting 16:32:48 5c69ac0246d0: Download complete 16:32:48 3a2ae6a8a46f: Download complete 16:32:48 33b1e0a273af: Verifying Checksum 16:32:48 33b1e0a273af: Download complete 16:32:48 5d3b04190fa2: Verifying Checksum 16:32:48 5d3b04190fa2: Download complete 16:32:48 ec43610c2a17: Verifying Checksum 16:32:48 ec43610c2a17: Download complete 16:32:48 5eb5b503b376: Download complete 16:32:49 2f39f015ded8: Verifying Checksum 16:32:49 2f39f015ded8: Download complete 16:32:50 5eb5b503b376: Pull complete 16:32:50 5c69ac0246d0: Pull complete 16:32:50 ec43610c2a17: Pull complete 16:32:50 3a2ae6a8a46f: Pull complete 16:32:50 33b1e0a273af: Pull complete 16:32:51 5d3b04190fa2: Pull complete 16:32:55 2f39f015ded8: Pull complete 16:32:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:55 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 16:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:32:57 $ docker top 73cae010df8a0a3c5a836ca217462364cacd04bc69695d27129ba9c37c88b05a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:58 ---> job-cost.sh 16:32:58 lf-activate-venv: SKIPPING 16:32:58 INFO: No Stack... 16:32:58 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:59 INFO: Archiving Costs [Pipeline] sh 16:32:59 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 16:32:59 + cut -d, -f6 [Pipeline] lock 16:32:59 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] 16:32:59 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] did not exist. Created. 16:32:59 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:32:59 + echo total: 0.2199999988079071 [Pipeline] stash 16:32:59 Stashed 1 file(s) [Pipeline] } 16:32:59 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 16:32:59 $ docker stop --time=1 73cae010df8a0a3c5a836ca217462364cacd04bc69695d27129ba9c37c88b05a 16:33:01 $ docker rm -f 73cae010df8a0a3c5a836ca217462364cacd04bc69695d27129ba9c37c88b05a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:54:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18427 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 16:54:19 Running in /w/workspace/app-rfid-llrp-inventory/43 [Pipeline] { [Pipeline] checkout 16:54:19 The recommended git tool is: git 16:54:25 using credential edgex-jenkins-ssh 16:54:25 Cloning the remote Git repository 16:54:25 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:54:25 > git init /w/workspace/app-rfid-llrp-inventory/43 # timeout=10 16:54:25 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 16:54:25 > git --version # timeout=10 16:54:26 > git --version # 'git version 2.25.1' 16:54:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:54:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:54:28 Avoid second fetch 16:54:28 Checking out Revision ccdb054e5d16bd529c2fd15a52524dce2c381cd1 (main) 16:54:28 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 16:54:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:54:28 > git config core.sparsecheckout # timeout=10 16:54:28 > git checkout -f ccdb054e5d16bd529c2fd15a52524dce2c381cd1 # timeout=10 16:54:32 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16 (#96)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:54:33 % Total % Received % Xferd Average Speed Time Time Time Current 16:54:33 Dload Upload Total Spent Left Speed 16:54:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 80763 0 --:--:-- --:--:-- --:--:-- 81298 [Pipeline] sh 16:54:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:54:34 + sudo tee /etc/docker/daemon.new 16:54:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:54:34 { 16:54:34 "registry-mirrors": [ 16:54:34 "https://nexus3.edgexfoundry.org:10001" 16:54:34 ], 16:54:34 "bip": "10.250.0.254/24", 16:54:34 "hosts": [ 16:54:34 "tcp://0.0.0.0:5555", 16:54:34 "unix:///var/run/docker.sock" 16:54:34 ], 16:54:34 "mtu": 1458, 16:54:34 "selinux-enabled": true, 16:54:34 "seccomp-profile": "/etc/docker/seccomp.json" 16:54:34 } [Pipeline] sh 16:54:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:54:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:53 provisioning config files... 16:54:54 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/43@tmp/config5323784509585989019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:54 ---> docker-login.sh 16:54:54 nexus3.edgexfoundry.org:10001 16:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:55 Configure a credential helper to remove this warning. See 16:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:55 16:54:55 Login Succeeded 16:54:55 nexus3.edgexfoundry.org:10002 16:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:55 Configure a credential helper to remove this warning. See 16:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:55 16:54:55 Login Succeeded 16:54:55 nexus3.edgexfoundry.org:10003 16:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:56 Configure a credential helper to remove this warning. See 16:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:56 16:54:56 Login Succeeded 16:54:56 nexus3.edgexfoundry.org:10004 16:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:56 Configure a credential helper to remove this warning. See 16:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:56 16:54:56 Login Succeeded 16:54:56 docker.io 16:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:57 Configure a credential helper to remove this warning. See 16:54:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:57 16:54:57 Login Succeeded 16:54:57 ---> docker-login.sh ends [Pipeline] } 16:54:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:54:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:58 ========================================================= 16:54:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:54:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:54:58 Sending build context to Docker daemon 687.1kB 16:54:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:54:58 Step 2/13 : FROM ${BASE} AS builder 16:54:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:54:58 9b3977197b4f: Pulling fs layer 16:54:58 1a89e8eeedd5: Pulling fs layer 16:54:58 94645a83ff95: Pulling fs layer 16:54:58 e6fb740bc735: Pulling fs layer 16:54:58 3a77bd46dcc9: Pulling fs layer 16:54:58 355e64cbe906: Pulling fs layer 16:54:58 63ab81a10011: Pulling fs layer 16:54:58 555d1d1c4555: Pulling fs layer 16:54:58 7d9057610161: Pulling fs layer 16:54:58 355e64cbe906: Waiting 16:54:58 63ab81a10011: Waiting 16:54:58 555d1d1c4555: Waiting 16:54:58 7d9057610161: Waiting 16:54:58 3a77bd46dcc9: Waiting 16:54:58 e6fb740bc735: Waiting 16:54:58 94645a83ff95: Verifying Checksum 16:54:58 94645a83ff95: Download complete 16:54:58 1a89e8eeedd5: Download complete 16:54:58 3a77bd46dcc9: Download complete 16:54:58 355e64cbe906: Verifying Checksum 16:54:58 355e64cbe906: Download complete 16:54:58 9b3977197b4f: Download complete 16:54:58 63ab81a10011: Verifying Checksum 16:54:58 63ab81a10011: Download complete 16:55:00 9b3977197b4f: Pull complete 16:55:00 7d9057610161: Verifying Checksum 16:55:00 7d9057610161: Download complete 16:55:00 1a89e8eeedd5: Pull complete 16:55:00 94645a83ff95: Pull complete 16:55:01 555d1d1c4555: Download complete 16:55:01 e6fb740bc735: Verifying Checksum 16:55:01 e6fb740bc735: Download complete 16:55:14 e6fb740bc735: Pull complete 16:55:14 3a77bd46dcc9: Pull complete 16:55:14 355e64cbe906: Pull complete 16:55:14 63ab81a10011: Pull complete 16:55:20 555d1d1c4555: Pull complete 16:55:22 7d9057610161: Pull complete 16:55:22 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:55:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:55:22 ---> 819e984ddca1 16:55:22 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:55:22 ---> Running in fb811e46139f 16:55:23 Removing intermediate container fb811e46139f 16:55:23 ---> d7e638042816 16:55:23 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 16:55:23 ---> Running in ff5788f16a23 16:55:23 Removing intermediate container ff5788f16a23 16:55:23 ---> 8b30d43e1ce7 16:55:23 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:55:23 ---> Running in 752218ea786a 16:55:24 Removing intermediate container 752218ea786a 16:55:24 ---> 28388ceaf26d 16:55:24 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:24 ---> Running in 0e2f74934ed0 16:55:26 Removing intermediate container 0e2f74934ed0 16:55:26 ---> 4599659a89cc 16:55:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:26 ---> Running in 700736cf3417 16:55:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:55:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:55:28 OK: 220 MiB in 52 packages 16:55:29 Removing intermediate container 700736cf3417 16:55:29 ---> 2edb1f01f916 16:55:29 Step 8/13 : WORKDIR /app 16:55:29 ---> Running in be900b8a1e45 16:55:29 Removing intermediate container be900b8a1e45 16:55:29 ---> 9df6bfe69fd5 16:55:29 Step 9/13 : COPY go.mod vendor* ./ 16:55:30 ---> 05a3726fabd4 16:55:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:30 ---> Running in 1bd218cdd907 16:56:17 Removing intermediate container 1bd218cdd907 16:56:17 ---> a3e1fe5387a2 16:56:17 Step 11/13 : COPY . . 16:56:17 ---> 1fb058a5e38c 16:56:17 Step 12/13 : ARG MAKE="make build" 16:56:17 ---> Running in a6ec1afc6cc0 16:56:17 Removing intermediate container a6ec1afc6cc0 16:56:17 ---> 4268a16bf9a0 16:56:17 Step 13/13 : RUN $MAKE 16:56:17 ---> Running in 2403d7ebe9e9 16:56:18 noop 16:56:18 Removing intermediate container 2403d7ebe9e9 16:56:18 ---> d6e7a0d9f588 16:56:18 Successfully built d6e7a0d9f588 16:56:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:19 + docker inspect -f . ci-base-image-arm64 16:56:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:19 prd-ubuntu20.04-docker-arm64-4c-16g-18427 does not seem to be running inside a container 16:56:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/43 -v /w/workspace/app-rfid-llrp-inventory/43:/w/workspace/app-rfid-llrp-inventory/43:rw,z -v /w/workspace/app-rfid-llrp-inventory/43@tmp:/w/workspace/app-rfid-llrp-inventory/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:56:20 $ docker top 204dfcf4b627851cb17f5573bcec06ad81bb3c6c91b8da268ec7647907fd6cc8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:21 + go version 16:56:21 go version go1.17.7 linux/arm64 [Pipeline] } 16:56:21 $ docker stop --time=1 204dfcf4b627851cb17f5573bcec06ad81bb3c6c91b8da268ec7647907fd6cc8 16:56:23 $ docker rm -f 204dfcf4b627851cb17f5573bcec06ad81bb3c6c91b8da268ec7647907fd6cc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:23 + docker inspect -f . ci-base-image-arm64 16:56:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:24 prd-ubuntu20.04-docker-arm64-4c-16g-18427 does not seem to be running inside a container 16:56:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/43 -v /w/workspace/app-rfid-llrp-inventory/43:/w/workspace/app-rfid-llrp-inventory/43:rw,z -v /w/workspace/app-rfid-llrp-inventory/43@tmp:/w/workspace/app-rfid-llrp-inventory/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:56:25 $ docker top 77da8ac3fbe9e7466e4449f722f2381ee50c8abcd582237f87c1f94a7360cdbd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:56:26 + make test 16:56:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:58:03 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 16:58:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.202s coverage: 86.2% of statements 16:58:03 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 16:58:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.716s coverage: 71.9% of statements 16:58:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:58:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:58:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:58:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:58:26 ./bin/test-attribution.sh [Pipeline] echo 16:58:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:58:26 $ docker stop --time=1 77da8ac3fbe9e7466e4449f722f2381ee50c8abcd582237f87c1f94a7360cdbd 16:58:28 $ docker rm -f 77da8ac3fbe9e7466e4449f722f2381ee50c8abcd582237f87c1f94a7360cdbd [Pipeline] // withDockerContainer [Pipeline] sh 16:58:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:58:29 Warning: overwriting stash ‘coverage-report’ 16:58:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:58:31 + ls -al . 16:58:31 total 228 16:58:31 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 16:56 . 16:58:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:54 .. 16:58:31 -rw-rw-r-- 1 jenkins jenkins 262 Jul 11 16:54 .dockerignore 16:58:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:54 .git 16:58:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 16:54 .github 16:58:31 -rw-rw-r-- 1 jenkins jenkins 788 Jul 11 16:54 .gitignore 16:58:31 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 16:54 .golangci.yml 16:58:31 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 11 16:54 Attribution.txt 16:58:31 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 11 16:54 CHANGELOG.md 16:58:31 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 11 16:54 Dockerfile 16:58:31 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 16:54 GOVERNANCE.md 16:58:31 -rw-rw-r-- 1 jenkins jenkins 687 Jul 11 16:54 Jenkinsfile 16:58:31 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 11 16:54 LICENSE 16:58:31 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 11 16:54 Makefile 16:58:31 -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 16:54 OWNERS.md 16:58:31 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 11 16:54 README.md 16:58:31 -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 16:31 VERSION 16:58:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:54 bin 16:58:31 -rw-r--r-- 1 jenkins jenkins 41008 Jul 11 16:57 coverage.out 16:58:31 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 11 16:54 go.mod 16:58:31 -rw-rw-r-- 1 jenkins jenkins 36956 Jul 11 16:54 go.sum 16:58:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:54 images 16:58:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:54 internal 16:58:31 -rw-rw-r-- 1 jenkins jenkins 531 Jul 11 16:54 main.go 16:58:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:54 res 16:58:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:54 snap 16:58:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 16:54 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:31 + 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=ccdb054e5d16bd529c2fd15a52524dce2c381cd1 --label arch=arm64 --label version=2.2.1-dev.6 . 16:58:31 Sending build context to Docker daemon 687.1kB 16:58:31 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 16:58:31 Step 2/31 : FROM ${BASE} AS builder 16:58:31 ---> d6e7a0d9f588 16:58:31 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 16:58:32 ---> Running in e0eb4b04d429 16:58:32 Removing intermediate container e0eb4b04d429 16:58:32 ---> 9b97409acb76 16:58:32 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 16:58:32 ---> Running in e3d88a7be9ec 16:58:32 Removing intermediate container e3d88a7be9ec 16:58:32 ---> b51ae630b25f 16:58:32 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:58:33 ---> Running in f69cc63fec30 16:58:33 Removing intermediate container f69cc63fec30 16:58:33 ---> 6f1618219c4f 16:58:33 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:58:33 ---> Running in 6cff93344aa0 16:58:35 Removing intermediate container 6cff93344aa0 16:58:35 ---> 18840d98e431 16:58:35 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:58:35 ---> Running in 7b483fc7b86b 16:58:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:58:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:58:38 OK: 220 MiB in 52 packages 16:58:38 Removing intermediate container 7b483fc7b86b 16:58:38 ---> 288e973b9dd3 16:58:38 Step 8/31 : WORKDIR /app 16:58:38 ---> Running in 925d82b92aad 16:58:39 Removing intermediate container 925d82b92aad 16:58:39 ---> 4b2ea04c2137 16:58:39 Step 9/31 : COPY go.mod vendor* ./ 16:58:39 ---> 62dd98e49dc5 16:58:39 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:58:39 ---> Running in 7d7a6878322d 16:58:41 Removing intermediate container 7d7a6878322d 16:58:41 ---> 62752c23e9ad 16:58:41 Step 11/31 : COPY . . 16:58:42 ---> ba58a27421a3 16:58:42 Step 12/31 : ARG MAKE="make build" 16:58:42 ---> Running in 3902481b1a65 16:58:42 Removing intermediate container 3902481b1a65 16:58:42 ---> 8ff1ac75bfd3 16:58:42 Step 13/31 : RUN $MAKE 16:58:42 ---> Running in d23886ea609d 16:58:43 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.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.6 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:00:51 Removing intermediate container d23886ea609d 17:00:51 ---> 97e7ca99a913 17:00:51 Step 14/31 : FROM alpine:3.14 17:00:51 3.14: Pulling from library/alpine 17:00:51 455c02918c45: Pulling fs layer 17:00:51 455c02918c45: Verifying Checksum 17:00:51 455c02918c45: Download complete 17:00:51 455c02918c45: Pull complete 17:00:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:00:51 Status: Downloaded newer image for alpine:3.14 17:00:51 ---> ac73e934f311 17:00:51 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:00:51 ---> Running in 4ac986582004 17:00:51 Removing intermediate container 4ac986582004 17:00:51 ---> e2df14d29a26 17:00:51 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:00:51 ---> Running in ef57eb33c938 17:00:51 Removing intermediate container ef57eb33c938 17:00:51 ---> 23328eb9f3d2 17:00:51 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:51 ---> Running in c2efea50db52 17:00:53 Removing intermediate container c2efea50db52 17:00:53 ---> 6dfdf2266669 17:00:53 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:00:53 ---> Running in f12edf2fad93 17:00:54 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:00:55 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:00:56 (1/7) Installing ca-certificates (20211220-r0) 17:00:56 (2/7) Installing dumb-init (1.2.5-r1) 17:00:56 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:00:56 (4/7) Installing libsodium (1.0.18-r0) 17:00:56 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:00:57 (6/7) Installing libzmq (4.3.4-r0) 17:00:57 (7/7) Installing zeromq (4.3.4-r0) 17:00:57 Executing busybox-1.33.1-r7.trigger 17:00:57 Executing ca-certificates-20211220-r0.trigger 17:00:57 OK: 9 MiB in 21 packages 17:00:58 Removing intermediate container f12edf2fad93 17:00:58 ---> 2e929426a7b3 17:00:58 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:00:59 ---> 94f7e6d2f312 17:00:59 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:00:59 ---> bd0e2d1291bb 17:00:59 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:01:00 ---> 8897a15c4109 17:01:00 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:01:00 ---> aeb56a08e8bd 17:01:00 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:01:02 ---> 403dd53faf97 17:01:02 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:01:02 ---> Running in e1c115cf2e0e 17:01:04 Removing intermediate container e1c115cf2e0e 17:01:04 ---> b35f98da5c6d 17:01:04 Step 25/31 : VOLUME /cache 17:01:04 ---> Running in e0f89b61a8fe 17:01:04 Removing intermediate container e0f89b61a8fe 17:01:04 ---> 0a40eb4c27ca 17:01:04 Step 26/31 : EXPOSE 59711 17:01:04 ---> Running in 4f14e4762182 17:01:04 Removing intermediate container 4f14e4762182 17:01:04 ---> 11ba98a85c18 17:01:04 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:01:04 ---> Running in b44f55de06c3 17:01:05 Removing intermediate container b44f55de06c3 17:01:05 ---> a227c19b7bb5 17:01:05 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:01:05 ---> Running in 32f12d04059b 17:01:05 Removing intermediate container 32f12d04059b 17:01:05 ---> aefd094f8d79 17:01:05 Step 29/31 : LABEL arch=arm64 17:01:05 ---> Running in 25ae1de23b4c 17:01:06 Removing intermediate container 25ae1de23b4c 17:01:06 ---> c53482a7586c 17:01:06 Step 30/31 : LABEL git_sha=ccdb054e5d16bd529c2fd15a52524dce2c381cd1 17:01:06 ---> Running in 8d9ac7026b45 17:01:06 Removing intermediate container 8d9ac7026b45 17:01:06 ---> 3cc53a68734d 17:01:06 Step 31/31 : LABEL version=2.2.1-dev.6 17:01:06 ---> Running in 6a570b9526a5 17:01:06 Removing intermediate container 6a570b9526a5 17:01:06 ---> 629f420d1c12 17:01:06 [Warning] One or more build-args [ARCH] were not consumed 17:01:06 Successfully built 629f420d1c12 17:01:06 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:01:06 provisioning config files... 17:01:06 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/43@tmp/config8692564138726289682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:07 ---> docker-login.sh 17:01:07 nexus3.edgexfoundry.org:10001 17:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:07 Configure a credential helper to remove this warning. See 17:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:07 17:01:07 Login Succeeded 17:01:07 nexus3.edgexfoundry.org:10002 17:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:08 Configure a credential helper to remove this warning. See 17:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:08 17:01:08 Login Succeeded 17:01:08 nexus3.edgexfoundry.org:10003 17:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:08 Configure a credential helper to remove this warning. See 17:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:08 17:01:08 Login Succeeded 17:01:08 nexus3.edgexfoundry.org:10004 17:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:09 Configure a credential helper to remove this warning. See 17:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:09 17:01:09 Login Succeeded 17:01:09 docker.io 17:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:09 Configure a credential helper to remove this warning. See 17:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:09 17:01:09 Login Succeeded 17:01:09 ---> docker-login.sh ends [Pipeline] } 17:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:09 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 17:01:09 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 17:01:09 latest 17:01:09 2.2.1-dev.6 17:01:09 ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 17:01:09 main 17:01:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:10 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:10 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:ccdb054e5d16bd529c2fd15a52524dce2c381cd1 17:01:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:01:10 f52814e292ef: Preparing 17:01:10 4a0dd2205c32: Preparing 17:01:10 f57c0209ac67: Preparing 17:01:10 5a9e3e7a9ae2: Preparing 17:01:10 78244531397e: Preparing 17:01:10 b91226833c61: Preparing 17:01:10 04502f7bd6af: Preparing 17:01:10 d347c98a7eb7: Preparing 17:01:10 f73e7dbfee58: Preparing 17:01:10 04502f7bd6af: Waiting 17:01:10 f73e7dbfee58: Waiting 17:01:10 d347c98a7eb7: Waiting 17:01:10 f52814e292ef: Pushed 17:01:10 f57c0209ac67: Pushed 17:01:10 5a9e3e7a9ae2: Pushed 17:01:10 78244531397e: Pushed 17:01:10 f73e7dbfee58: Layer already exists 17:01:11 b91226833c61: Pushed 17:01:11 d347c98a7eb7: Pushed 17:01:12 04502f7bd6af: Pushed 17:01:17 4a0dd2205c32: Pushed 17:01:17 ccdb054e5d16bd529c2fd15a52524dce2c381cd1: digest: sha256:7a42eb827c0f8ce2c69d4adae1f1584d6bd0cc362f5d873c33d22b2dcbf4043d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:18 + 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:01:18 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:01:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:01:18 f52814e292ef: Preparing 17:01:18 4a0dd2205c32: Preparing 17:01:18 f57c0209ac67: Preparing 17:01:18 5a9e3e7a9ae2: Preparing 17:01:18 78244531397e: Preparing 17:01:18 b91226833c61: Preparing 17:01:18 04502f7bd6af: Preparing 17:01:18 d347c98a7eb7: Preparing 17:01:18 f73e7dbfee58: Preparing 17:01:18 b91226833c61: Waiting 17:01:18 04502f7bd6af: Waiting 17:01:18 d347c98a7eb7: Waiting 17:01:18 f73e7dbfee58: Waiting 17:01:18 5a9e3e7a9ae2: Layer already exists 17:01:18 f57c0209ac67: Layer already exists 17:01:18 4a0dd2205c32: Layer already exists 17:01:18 78244531397e: Layer already exists 17:01:18 f52814e292ef: Layer already exists 17:01:18 d347c98a7eb7: Layer already exists 17:01:18 b91226833c61: Layer already exists 17:01:18 04502f7bd6af: Layer already exists 17:01:18 f73e7dbfee58: Layer already exists 17:01:18 latest: digest: sha256:7a42eb827c0f8ce2c69d4adae1f1584d6bd0cc362f5d873c33d22b2dcbf4043d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:19 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:19 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.6 17:01:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:01:19 f52814e292ef: Preparing 17:01:19 4a0dd2205c32: Preparing 17:01:19 f57c0209ac67: Preparing 17:01:19 5a9e3e7a9ae2: Preparing 17:01:19 78244531397e: Preparing 17:01:19 b91226833c61: Preparing 17:01:19 04502f7bd6af: Preparing 17:01:19 d347c98a7eb7: Preparing 17:01:19 f73e7dbfee58: Preparing 17:01:19 b91226833c61: Waiting 17:01:19 04502f7bd6af: Waiting 17:01:19 d347c98a7eb7: Waiting 17:01:19 f73e7dbfee58: Waiting 17:01:19 f57c0209ac67: Layer already exists 17:01:19 f52814e292ef: Layer already exists 17:01:19 5a9e3e7a9ae2: Layer already exists 17:01:19 78244531397e: Layer already exists 17:01:19 4a0dd2205c32: Layer already exists 17:01:19 b91226833c61: Layer already exists 17:01:19 d347c98a7eb7: Layer already exists 17:01:19 04502f7bd6af: Layer already exists 17:01:19 f73e7dbfee58: Layer already exists 17:01:19 2.2.1-dev.6: digest: sha256:7a42eb827c0f8ce2c69d4adae1f1584d6bd0cc362f5d873c33d22b2dcbf4043d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:20 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:20 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 17:01:20 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:01:20 f52814e292ef: Preparing 17:01:20 4a0dd2205c32: Preparing 17:01:20 f57c0209ac67: Preparing 17:01:20 5a9e3e7a9ae2: Preparing 17:01:20 78244531397e: Preparing 17:01:20 b91226833c61: Preparing 17:01:20 04502f7bd6af: Preparing 17:01:20 d347c98a7eb7: Preparing 17:01:20 f73e7dbfee58: Preparing 17:01:20 04502f7bd6af: Waiting 17:01:20 d347c98a7eb7: Waiting 17:01:20 f73e7dbfee58: Waiting 17:01:20 b91226833c61: Waiting 17:01:20 78244531397e: Layer already exists 17:01:20 4a0dd2205c32: Layer already exists 17:01:20 f57c0209ac67: Layer already exists 17:01:20 5a9e3e7a9ae2: Layer already exists 17:01:20 f52814e292ef: Layer already exists 17:01:20 b91226833c61: Layer already exists 17:01:20 04502f7bd6af: Layer already exists 17:01:20 d347c98a7eb7: Layer already exists 17:01:20 f73e7dbfee58: Layer already exists 17:01:20 ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6: digest: sha256:7a42eb827c0f8ce2c69d4adae1f1584d6bd0cc362f5d873c33d22b2dcbf4043d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:21 + 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:01:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 17:01:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:01:21 f52814e292ef: Preparing 17:01:21 4a0dd2205c32: Preparing 17:01:21 f57c0209ac67: Preparing 17:01:21 5a9e3e7a9ae2: Preparing 17:01:21 78244531397e: Preparing 17:01:21 b91226833c61: Preparing 17:01:21 04502f7bd6af: Preparing 17:01:21 d347c98a7eb7: Preparing 17:01:21 f73e7dbfee58: Preparing 17:01:21 04502f7bd6af: Waiting 17:01:21 d347c98a7eb7: Waiting 17:01:21 f73e7dbfee58: Waiting 17:01:21 b91226833c61: Waiting 17:01:21 f57c0209ac67: Layer already exists 17:01:21 4a0dd2205c32: Layer already exists 17:01:21 78244531397e: Layer already exists 17:01:21 5a9e3e7a9ae2: Layer already exists 17:01:21 f52814e292ef: Layer already exists 17:01:21 b91226833c61: Layer already exists 17:01:21 04502f7bd6af: Layer already exists 17:01:21 d347c98a7eb7: Layer already exists 17:01:21 f73e7dbfee58: Layer already exists 17:01:21 main: digest: sha256:7a42eb827c0f8ce2c69d4adae1f1584d6bd0cc362f5d873c33d22b2dcbf4043d size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:01:21 ===================================================== [Pipeline] echo 17:01:21 taggedImages: 17:01:21 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:ccdb054e5d16bd529c2fd15a52524dce2c381cd1 17:01:21 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:01:21 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.6 17:01:21 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:ccdb054e5d16bd529c2fd15a52524dce2c381cd1-2.2.1-dev.6 17:01:21 - 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:01:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:01:22 17:01:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:01:22 arm64: Pulling from edgex-lftools-log-publisher 17:01:22 8998bd30e6a1: Pulling fs layer 17:01:22 04944245beec: Pulling fs layer 17:01:22 699f458cf7ca: Pulling fs layer 17:01:22 765212b225bb: Pulling fs layer 17:01:22 f23df028b6ca: Pulling fs layer 17:01:22 d65c8cfc05b1: Pulling fs layer 17:01:22 2437ff75d9bd: Pulling fs layer 17:01:22 765212b225bb: Waiting 17:01:22 f23df028b6ca: Waiting 17:01:22 d65c8cfc05b1: Waiting 17:01:22 2437ff75d9bd: Waiting 17:01:22 04944245beec: Verifying Checksum 17:01:22 04944245beec: Download complete 17:01:22 765212b225bb: Verifying Checksum 17:01:22 765212b225bb: Download complete 17:01:22 f23df028b6ca: Download complete 17:01:22 d65c8cfc05b1: Verifying Checksum 17:01:22 d65c8cfc05b1: Download complete 17:01:23 699f458cf7ca: Verifying Checksum 17:01:23 699f458cf7ca: Download complete 17:01:23 8998bd30e6a1: Verifying Checksum 17:01:23 8998bd30e6a1: Download complete 17:01:25 2437ff75d9bd: Verifying Checksum 17:01:25 2437ff75d9bd: Download complete 17:01:27 8998bd30e6a1: Pull complete 17:01:28 04944245beec: Pull complete 17:01:29 699f458cf7ca: Pull complete 17:01:29 765212b225bb: Pull complete 17:01:30 f23df028b6ca: Pull complete 17:01:30 d65c8cfc05b1: Pull complete 17:01:45 2437ff75d9bd: Pull complete 17:01:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:01:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:01:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:46 prd-ubuntu20.04-docker-arm64-4c-16g-18427 does not seem to be running inside a container 17:01:46 $ 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/43 -v /w/workspace/app-rfid-llrp-inventory/43:/w/workspace/app-rfid-llrp-inventory/43:rw,z -v /w/workspace/app-rfid-llrp-inventory/43@tmp:/w/workspace/app-rfid-llrp-inventory/43@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:01:48 $ docker top 9d5f1646beba1db36614847578a733f7fbe399a21e71ab8ae0328adabfa86c0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:49 ---> job-cost.sh 17:01:49 lf-activate-venv: SKIPPING 17:01:49 INFO: No Stack... 17:01:50 INFO: Retrieving Pricing Info for: v3-standard-4 17:01:51 INFO: Archiving Costs [Pipeline] sh 17:01:51 + cat /w/workspace/app-rfid-llrp-inventory/43/archives/cost.csv 17:01:51 + cut -d, -f6 [Pipeline] lock 17:01:51 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] 17:01:51 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] did not exist. Created. 17:01:51 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:01:52 /w/workspace/app-rfid-llrp-inventory/43@tmp/durable-18120308/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:01:53 + echo total: 0.10999999940395355 [Pipeline] stash 17:01:53 Warning: overwriting stash ‘stack-cost’ 17:01:53 Stashed 1 file(s) [Pipeline] } 17:01:53 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 17:01:53 $ docker stop --time=1 9d5f1646beba1db36614847578a733f7fbe399a21e71ab8ae0328adabfa86c0c 17:01:54 $ docker rm -f 9d5f1646beba1db36614847578a733f7fbe399a21e71ab8ae0328adabfa86c0c [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:01:55 provisioning config files... 17:01:55 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2911010125842712932tmp [Pipeline] { [Pipeline] sh 17:01:55 + set +x 17:01:55 + curl -s https://codecov.io/bash 17:01:55 + bash -s -- 17:01:55 17:01:55 _____ _ 17:01:55 / ____| | | 17:01:55 | | ___ __| | ___ ___ _____ __ 17:01:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:01:55 | |___| (_) | (_| | __/ (_| (_) \ V / 17:01:55 \_____\___/ \__,_|\___|\___\___/ \_/ 17:01:55 Bash-1.0.6 17:01:55 17:01:55 17:01:55 ==> git version 2.25.1 found 17:01:55 ==> 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:01:55 Release-Date: 2020-01-08 17:01:55 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:01:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:01:55 ==> Jenkins CI detected. 17:01:55 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 17:01:55 project root: . 17:01:55 --> token set from env 17:01:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:01:55 ==> Running gcov in . (disable via -X gcov) 17:01:55 ==> Python coveragepy not found 17:01:55 ==> Searching for coverage reports in: 17:01:55 + . 17:01:55 -> Found 1 reports 17:01:55 ==> Detecting git/mercurial file structure 17:01:55 ==> Reading reports 17:01:55 + ./coverage.out bytes=41008 17:01:55 ==> Appending adjustments 17:01:55 https://docs.codecov.io/docs/fixing-reports 17:01:55 + Found adjustments 17:01:55 ==> Gzipping contents 17:01:55 12K /tmp/codecov.6MmasG.gz 17:01:55 ==> Uploading reports 17:01:55 url: https://codecov.io 17:01:55 query: branch=main&commit=ccdb054e5d16bd529c2fd15a52524dce2c381cd1&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:01:55 -> Pinging Codecov 17:01:55 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=ccdb054e5d16bd529c2fd15a52524dce2c381cd1&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:01:56 -> Uploading to 17:01:56 https://storage.googleapis.com/codecov/v4/raw/2022-07-11/581DD39554BDF9B6E22D074273EAD858/ccdb054e5d16bd529c2fd15a52524dce2c381cd1/1e1a6b09-b6db-445e-8b0c-a2e870058e53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T170155Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d5c6d44485a8d4846a335a78d1d057dd095a690fa3ea6ef56d7fe0385495bbe 17:01:56 % Total % Received % Xferd Average Speed Time Time Time Current 17:01:56 Dload Upload Total Spent Left Speed 17:01:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11472 0 0 100 11472 0 49236 --:--:-- --:--:-- --:--:-- 49236 17:01:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] } 17:01:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:01:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:01:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:01:56 17:01:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:01:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:01:57 df9b9388f04a: Pulling fs layer 17:01:57 52dc419b0ee2: Pulling fs layer 17:01:57 25bc292e5bac: Pulling fs layer 17:01:57 114826534d7a: Pulling fs layer 17:01:57 4657fd5d0bcf: Pulling fs layer 17:01:57 6ad1cebc031e: Pulling fs layer 17:01:57 8a3aa393b2d8: Pulling fs layer 17:01:57 6ad1cebc031e: Waiting 17:01:57 114826534d7a: Waiting 17:01:57 4657fd5d0bcf: Waiting 17:01:57 8a3aa393b2d8: Waiting 17:01:57 25bc292e5bac: Verifying Checksum 17:01:57 25bc292e5bac: Download complete 17:01:57 52dc419b0ee2: Verifying Checksum 17:01:57 52dc419b0ee2: Download complete 17:01:57 4657fd5d0bcf: Download complete 17:01:57 df9b9388f04a: Verifying Checksum 17:01:57 df9b9388f04a: Download complete 17:01:57 df9b9388f04a: Pull complete 17:01:57 6ad1cebc031e: Verifying Checksum 17:01:57 6ad1cebc031e: Download complete 17:01:57 52dc419b0ee2: Pull complete 17:01:57 25bc292e5bac: Pull complete 17:01:57 114826534d7a: Verifying Checksum 17:01:57 114826534d7a: Download complete 17:01:58 8a3aa393b2d8: Download complete 17:02:01 114826534d7a: Pull complete 17:02:01 4657fd5d0bcf: Pull complete 17:02:02 6ad1cebc031e: Pull complete 17:02:05 8a3aa393b2d8: Pull complete 17:02:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:02:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:05 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 17:02:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:02:08 $ docker top 6f26a36427809db8431cee113f3b7934b79f85a18c5563abeaa55695ca212e54 -eo pid,comm [Pipeline] { [Pipeline] echo 17:02:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 17:02:08 + set -o pipefail 17:02:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 17:02:15 17:02:15 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 17:02:15 17:02:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/61ed5ce9-311c-442f-9532-02049b7358b8 17:02:15 17:02:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:02:15 17:02:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:02:15 17:02:15 17:02:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 17:02:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:02:15 $ docker stop --time=1 6f26a36427809db8431cee113f3b7934b79f85a18c5563abeaa55695ca212e54 17:02:17 $ docker rm -f 6f26a36427809db8431cee113f3b7934b79f85a18c5563abeaa55695ca212e54 [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:02:18 + git log --format=format:%s -1 ccdb054e5d16bd529c2fd15a52524dce2c381cd1 [Pipeline] sh 17:02:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:02:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:19 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 17:02:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:02:19 $ docker top 240ce3431b794b4ce35f02f4a59787a44449819ce45ff38d3a58d1a6080a0584 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:02:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:02:19 [ssh-agent] Looking for ssh-agent implementation... 17:02:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:02:19 $ docker exec 240ce3431b794b4ce35f02f4a59787a44449819ce45ff38d3a58d1a6080a0584 ssh-agent 17:02:19 SSH_AUTH_SOCK=/tmp/ssh-9263pQtgbp4a/agent.33 17:02:19 SSH_AGENT_PID=39 17:02:19 Running ssh-add (command line suppressed) 17:02:20 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6240429371664048947.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6240429371664048947.key) 17:02:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:02:20 + git semver tag 17:02:20 2022-07-11 17:02:20,655 [run_tag] DEBUG tag force:False 17:02:20 2022-07-11 17:02:20,656 [check_head_tag] DEBUG check head tag 17:02:20 2022-07-11 17:02:20,656 [execute] INFO git cat-file --batch-check 17:02:20 2022-07-11 17:02:20,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:02:20 2022-07-11 17:02:20,660 [execute] INFO git cat-file --batch 17:02:20 2022-07-11 17:02:20,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:02:20 2022-07-11 17:02:20,667 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:02:20 2022-07-11 17:02:20,667 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 17:02:20 2022-07-11 17:02:20,667 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:02:20 2022-07-11 17:02:20,672 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:02:20 2.2.1-dev.6 [Pipeline] } 17:02:20 $ docker exec --env ******** --env ******** 240ce3431b794b4ce35f02f4a59787a44449819ce45ff38d3a58d1a6080a0584 ssh-agent -k 17:02:20 unset SSH_AUTH_SOCK; 17:02:20 unset SSH_AGENT_PID; 17:02:20 echo Agent pid 39 killed; 17:02:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:02:21 + git semver [Pipeline] } 17:02:21 $ docker stop --time=1 240ce3431b794b4ce35f02f4a59787a44449819ce45ff38d3a58d1a6080a0584 17:02:22 $ docker rm -f 240ce3431b794b4ce35f02f4a59787a44449819ce45ff38d3a58d1a6080a0584 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:02:23 17:02:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:02:23 0.23.1-centos7: Pulling from edgex-lftools 17:02:23 ab5ef0e58194: Pulling fs layer 17:02:23 9712f1f96733: Pulling fs layer 17:02:23 63f879dbbcfc: Pulling fs layer 17:02:23 0d9ebad4ef96: Pulling fs layer 17:02:23 e9a5061849ea: Pulling fs layer 17:02:23 d747dcd14b5f: Pulling fs layer 17:02:23 2de7ff778b66: Pulling fs layer 17:02:23 0d9ebad4ef96: Waiting 17:02:23 e9a5061849ea: Waiting 17:02:23 d747dcd14b5f: Waiting 17:02:23 2de7ff778b66: Waiting 17:02:23 9712f1f96733: Verifying Checksum 17:02:23 9712f1f96733: Download complete 17:02:23 0d9ebad4ef96: Download complete 17:02:23 e9a5061849ea: Verifying Checksum 17:02:23 e9a5061849ea: Download complete 17:02:23 d747dcd14b5f: Download complete 17:02:24 2de7ff778b66: Verifying Checksum 17:02:24 2de7ff778b66: Download complete 17:02:24 63f879dbbcfc: Verifying Checksum 17:02:24 63f879dbbcfc: Download complete 17:02:24 ab5ef0e58194: Verifying Checksum 17:02:24 ab5ef0e58194: Download complete 17:02:27 ab5ef0e58194: Pull complete 17:02:27 9712f1f96733: Pull complete 17:02:28 63f879dbbcfc: Pull complete 17:02:31 0d9ebad4ef96: Pull complete 17:02:31 e9a5061849ea: Pull complete 17:02:32 d747dcd14b5f: Pull complete 17:02:33 2de7ff778b66: Pull complete 17:02:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:02:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:02:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:33 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 17:02:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:02:36 $ docker top 079ff319b8f9f565467ec25511bb6ab2cfb11cdf752cf5fe6d675dcbc5d6eb00 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:02:36 provisioning config files... 17:02:36 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config168252036978234254tmp 17:02:36 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7721746741304251251tmp 17:02:36 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5288114554692517739tmp [Pipeline] { [Pipeline] echo 17:02:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:02:36 ---> sigul-configuration.sh 17:02:36 gpg: directory `/root/.gnupg' created 17:02:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:02:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:02:36 gpg: keyring `/root/.gnupg/secring.gpg' created 17:02:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:02:36 gpg: CAST5 encrypted data 17:02:36 gpg: encrypted with 1 passphrase 17:02:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:02:36 + mkdir /home/jenkins 17:02:36 + mkdir /home/jenkins/sigul [Pipeline] sh 17:02:37 + 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:02:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:02:37 ---> sigul-install.sh 17:02:37 Sigul already installed; skipping installation. [Pipeline] sh 17:02:37 + git tag --list 17:02:37 v0.0.0 17:02:37 v1.0.0 17:02:37 v2.1.0 17:02:37 v2.1.1 17:02:37 v2.1.1-dev.1 17:02:37 v2.2.0 17:02:37 v2.2.1-dev.1 17:02:37 v2.2.1-dev.2 17:02:37 v2.2.1-dev.3 17:02:37 v2.2.1-dev.4 17:02:37 v2.2.1-dev.5 17:02:37 v2.2.1-dev.6 [Pipeline] sh 17:02:37 + lftools sign git-tag v2.2.1-dev.6 17:02:38 Signing Git tag with Sigul... 17:02:38 Signing v2.2.1-dev.6 [Pipeline] echo 17:02:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:02:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:02:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:02:39 $ docker stop --time=1 079ff319b8f9f565467ec25511bb6ab2cfb11cdf752cf5fe6d675dcbc5d6eb00 17:02:40 $ docker rm -f 079ff319b8f9f565467ec25511bb6ab2cfb11cdf752cf5fe6d675dcbc5d6eb00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:02:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:02:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:41 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 17:02:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:02:41 $ docker top fb80d8981647fec2b18a7845133088f7b255404fc687ba6b969d51e9c58b9efb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:02:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:02:41 [ssh-agent] Looking for ssh-agent implementation... 17:02:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:02:42 $ docker exec fb80d8981647fec2b18a7845133088f7b255404fc687ba6b969d51e9c58b9efb ssh-agent 17:02:42 SSH_AUTH_SOCK=/tmp/ssh-7Tl9GyKINuuC/agent.33 17:02:42 SSH_AGENT_PID=40 17:02:42 Running ssh-add (command line suppressed) 17:02:42 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1909789514448013243.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1909789514448013243.key) 17:02:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:02:42 + git semver bump pre 17:02:42 2022-07-11 17:02:42,789 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:02:42 2022-07-11 17:02:42,789 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev 17:02:42 2022-07-11 17:02:42,789 [bump_version] DEBUG bumped version:2.2.1-dev.7 17:02:42 2022-07-11 17:02:42,789 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 17:02:42 2022-07-11 17:02:42,790 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:02:42 2022-07-11 17:02:42,790 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:02:42 2022-07-11 17:02:42,792 [execute] INFO git cat-file --batch-check 17:02:42 2022-07-11 17:02:42,793 [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:02:42 2022-07-11 17:02:42,799 [execute] INFO git cat-file --batch 17:02:42 2022-07-11 17:02:42,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:02:42 2022-07-11 17:02:42,803 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:02:42 2.2.1-dev.7 [Pipeline] } 17:02:42 $ docker exec --env ******** --env ******** fb80d8981647fec2b18a7845133088f7b255404fc687ba6b969d51e9c58b9efb ssh-agent -k 17:02:42 unset SSH_AUTH_SOCK; 17:02:42 unset SSH_AGENT_PID; 17:02:42 echo Agent pid 40 killed; 17:02:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:02:43 + git semver [Pipeline] } 17:02:43 $ docker stop --time=1 fb80d8981647fec2b18a7845133088f7b255404fc687ba6b969d51e9c58b9efb 17:02:44 $ docker rm -f fb80d8981647fec2b18a7845133088f7b255404fc687ba6b969d51e9c58b9efb [Pipeline] // withDockerContainer [Pipeline] sh 17:02:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:02:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:02:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:45 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 17:02: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:02:46 $ docker top 0d44a73459fa35db9cfeb90843348cba390ae1c6dc4c22a7226110b08cf65bb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:02:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:02:46 [ssh-agent] Looking for ssh-agent implementation... 17:02:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:02:46 $ docker exec 0d44a73459fa35db9cfeb90843348cba390ae1c6dc4c22a7226110b08cf65bb7 ssh-agent 17:02:46 SSH_AUTH_SOCK=/tmp/ssh-luXbrqQXCq8o/agent.32 17:02:46 SSH_AGENT_PID=38 17:02:46 Running ssh-add (command line suppressed) 17:02:46 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7124383731195992052.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7124383731195992052.key) 17:02:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:02:46 + git semver push 17:02:47 2022-07-11 17:02:47,000 [run_push] DEBUG push 17:02:47 2022-07-11 17:02:47,000 [execute] INFO git cat-file --batch-check 17:02:47 2022-07-11 17:02:47,000 [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:02:47 2022-07-11 17:02:47,003 [execute] INFO git rev-list edf5e14f20845428e0952acd9b4eac5409ae9d44 -- 17:02:47 2022-07-11 17:02:47,004 [execute] DEBUG Popen(['git', 'rev-list', 'edf5e14f20845428e0952acd9b4eac5409ae9d44', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:02:47 2022-07-11 17:02:47,010 [execute] INFO git fetch -v origin 17:02:47 2022-07-11 17:02:47,010 [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:02:47 2022-07-11 17:02:47,496 [run_push] DEBUG no remote changes detected 17:02:47 2022-07-11 17:02:47,496 [execute] INFO git push origin semver 17:02:47 2022-07-11 17:02:47,497 [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:02:48 2022-07-11 17:02:48,192 [run_push] DEBUG push all version tags 17:02:48 2022-07-11 17:02:48,192 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:02:48 2022-07-11 17:02:48,192 [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:02:49 2022-07-11 17:02:48,890 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:02:49 2.2.1-dev.7 [Pipeline] } 17:02:49 $ docker exec --env ******** --env ******** 0d44a73459fa35db9cfeb90843348cba390ae1c6dc4c22a7226110b08cf65bb7 ssh-agent -k 17:02:49 unset SSH_AUTH_SOCK; 17:02:49 unset SSH_AGENT_PID; 17:02:49 echo Agent pid 38 killed; 17:02:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:02:49 + git semver [Pipeline] } 17:02:49 $ docker stop --time=1 0d44a73459fa35db9cfeb90843348cba390ae1c6dc4c22a7226110b08cf65bb7 17:02:51 $ docker rm -f 0d44a73459fa35db9cfeb90843348cba390ae1c6dc4c22a7226110b08cf65bb7 [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:02:51 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 17:02:51 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:02:51 total 16 17:02:51 drwxr-xr-x 3 root root 4096 Jul 11 16:32 . 17:02:51 drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 17:02 .. 17:02:51 drwxr-xr-x 2 root root 4096 Jul 11 16:32 cost 17:02:51 -rw-r--r-- 1 root root 93 Jul 11 16:32 cost.csv 17:02:51 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:02:51 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:02:51 total 16 17:02:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 16:32 . 17:02:51 drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 17:02 .. 17:02:51 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 16:32 cost 17:02:51 -rw-r--r-- 1 jenkins jenkins 93 Jul 11 16:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:02:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:02:52 ---> package-listing.sh 17:02:52 ++ facter osfamily 17:02:52 ++ tr '[:upper:]' '[:lower:]' 17:02:53 + OS_FAMILY=debian 17:02:53 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 17:02:53 + START_PACKAGES=/tmp/packages_start.txt 17:02:53 + END_PACKAGES=/tmp/packages_end.txt 17:02:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:02:53 + PACKAGES=/tmp/packages_start.txt 17:02:53 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:02:53 + PACKAGES=/tmp/packages_end.txt 17:02:53 + case "${OS_FAMILY}" in 17:02:53 + grep '^ii' 17:02:53 + dpkg -l 17:02:53 + '[' -f /tmp/packages_start.txt ']' 17:02:53 + '[' -f /tmp/packages_end.txt ']' 17:02:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:02:53 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:02:53 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 17:02:53 + 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:02:53 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:02:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:54 prd-ubuntu20.04-docker-8c-8g-17428 does not seem to be running inside a container 17:02:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:02:54 $ docker top dca6736113f2d7b88dad9861d81e8ab355240ad98a94e9044fc6409faf7a029d -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:02:55 + mkdir -p /var/log/sysstat [Pipeline] sh 17:02:55 + ls /var/log/sa-host 17:02:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:02:55 provisioning config files... 17:02:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5784786995121671958tmp [Pipeline] { [Pipeline] echo 17:02:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:02:55 ---> create-netrc.sh [Pipeline] } 17:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:02:56 ---> python-tools-install.sh [Pipeline] echo 17:02:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:02:56 ---> sudo-logs.sh 17:02:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:02:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:02:56 ---> job-cost.sh 17:02:56 lf-activate-venv: SKIPPING 17:02:56 DEBUG: total: 0.2199999988079071 17:02:56 INFO: Retrieving Stack Cost... 17:02:57 INFO: Retrieving Pricing Info for: v3-standard-8 17:02:57 INFO: Archiving Costs [Pipeline] echo 17:02:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:02:57 ---> logs-deploy.sh 17:02:57 lf-activate-venv: SKIPPING 17:02:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/43 17:02:57 INFO: archiving workspace using pattern(s): 17:02:58 Archives upload complete. 17:02:59 INFO: archiving logs to Nexus