Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 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-ssh8465613185717276027.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-ssh4318635275333372559.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-ssh10466934277384176272.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-ssh7438946741145250711.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-ssh2863804119584371572.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-ubuntu20.04-docker-8c-8g-17027’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17030 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 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 (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 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 (#94)" > git rev-list --no-walk 3817b545243506d6c11f8926a861473cd0c4170b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:44:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:44:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:44:29 ========================================================= 17:44:29 EdgeX Global Pipelines Version Info 17:44:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:44:30 ------------------- 17:44:30 stable info: 17:44:30 ------------------- 17:44:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:44:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:44:30 Message: update stable to v1.0.234 17:44:31 ------------------- 17:44:31 experimental info: 17:44:31 ------------------- 17:44:31 Commited By: **** collab-it+edgex@linuxfoundation.org 17:44:31 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 17:44:31 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eba17bf [Pipeline] echo 17:44:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:31 provisioning config files... 17:44:31 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6814294664453866092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:32 ---> docker-login.sh 17:44:32 nexus3.edgexfoundry.org:10001 17:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:32 Configure a credential helper to remove this warning. See 17:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:32 17:44:32 Login Succeeded 17:44:32 nexus3.edgexfoundry.org:10002 17:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:32 Configure a credential helper to remove this warning. See 17:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:32 17:44:32 Login Succeeded 17:44:32 nexus3.edgexfoundry.org:10003 17:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:32 Configure a credential helper to remove this warning. See 17:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:32 17:44:32 Login Succeeded 17:44:32 nexus3.edgexfoundry.org:10004 17:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:33 Configure a credential helper to remove this warning. See 17:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:33 17:44:33 Login Succeeded 17:44:33 docker.io 17:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:33 Configure a credential helper to remove this warning. See 17:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:33 17:44:33 Login Succeeded 17:44:33 ---> docker-login.sh ends [Pipeline] } 17:44:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:44:33 + git rev-list -1 --merges eba17bf37215b1d1d09724bbc9ddf1e7ed276c53~1..eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] echo 17:44:34 -----------> git rev-list -1 --merges eba17bf37215b1d1d09724bbc9ddf1e7ed276c53~1..eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [false] [Pipeline] sh 17:44:34 + git log --format=format:%s -1 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] echo 17:44:34 ========================================================= 17:44:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:44:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:44:34 + git log --format=format:%s -1 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] echo 17:44:34 [semverPrep] GIT_COMMIT: eba17bf37215b1d1d09724bbc9ddf1e7ed276c53, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 (#94) [Pipeline] echo 17:44:34 [semverPrep] This is not a build commit. [Pipeline] sh 17:44:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:35 + grep -v github /etc/ssh/ssh_known_hosts 17:44:35 + [ -e /tmp/ssh_known_hosts ] 17:44:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:44:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:44:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:44:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:35 17:44:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:35 0.1.4: Pulling from edgex-devops/py-git-semver 17:44:35 42c077c10790: Pulling fs layer 17:44:35 f63e77b7563a: Pulling fs layer 17:44:35 bd5fdadae976: Pulling fs layer 17:44:35 205491f53016: Pulling fs layer 17:44:35 df18705c85c3: Pulling fs layer 17:44:35 bdb3f477010e: Pulling fs layer 17:44:35 c8a8fc8e1c8f: Pulling fs layer 17:44:35 2c6e9b1d212d: Pulling fs layer 17:44:35 bdb8f0575790: Pulling fs layer 17:44:35 386e3cb2ff24: Pulling fs layer 17:44:35 2343380bae48: Pulling fs layer 17:44:35 205491f53016: Waiting 17:44:35 df18705c85c3: Waiting 17:44:35 bdb3f477010e: Waiting 17:44:35 c8a8fc8e1c8f: Waiting 17:44:35 386e3cb2ff24: Waiting 17:44:35 bdb8f0575790: Waiting 17:44:35 f63e77b7563a: Verifying Checksum 17:44:35 f63e77b7563a: Download complete 17:44:35 205491f53016: Verifying Checksum 17:44:35 205491f53016: Download complete 17:44:36 df18705c85c3: Verifying Checksum 17:44:36 df18705c85c3: Download complete 17:44:36 bd5fdadae976: Verifying Checksum 17:44:36 bd5fdadae976: Download complete 17:44:36 bdb3f477010e: Verifying Checksum 17:44:36 bdb3f477010e: Download complete 17:44:36 2c6e9b1d212d: Verifying Checksum 17:44:36 2c6e9b1d212d: Download complete 17:44:36 bdb8f0575790: Download complete 17:44:36 386e3cb2ff24: Verifying Checksum 17:44:36 386e3cb2ff24: Download complete 17:44:36 2343380bae48: Verifying Checksum 17:44:36 2343380bae48: Download complete 17:44:36 42c077c10790: Verifying Checksum 17:44:36 42c077c10790: Download complete 17:44:36 c8a8fc8e1c8f: Download complete 17:44:37 42c077c10790: Pull complete 17:44:37 f63e77b7563a: Pull complete 17:44:37 bd5fdadae976: Pull complete 17:44:38 205491f53016: Pull complete 17:44:38 df18705c85c3: Pull complete 17:44:38 bdb3f477010e: Pull complete 17:44:40 c8a8fc8e1c8f: Pull complete 17:44:40 2c6e9b1d212d: Pull complete 17:44:40 bdb8f0575790: Pull complete 17:44:40 386e3cb2ff24: Pull complete 17:44:40 2343380bae48: Pull complete 17:44:40 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:44:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:40 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:44: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 17:44:41 $ docker top 9b5c8ec16ea5093a33ad1e22030692b33011e97277360f76e332d10ff7805800 -eo pid,comm 17:44:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:44:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:41 [ssh-agent] Looking for ssh-agent implementation... 17:44:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:41 $ docker exec 9b5c8ec16ea5093a33ad1e22030692b33011e97277360f76e332d10ff7805800 ssh-agent 17:44:42 SSH_AUTH_SOCK=/tmp/ssh-RfYgsmAQX3Sg/agent.34 17:44:42 SSH_AGENT_PID=41 17:44:42 Running ssh-add (command line suppressed) 17:44:42 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4205625991511076012.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4205625991511076012.key) 17:44:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:42 + git tag --points-at HEAD [Pipeline] } 17:44:42 $ docker exec --env ******** --env ******** 9b5c8ec16ea5093a33ad1e22030692b33011e97277360f76e332d10ff7805800 ssh-agent -k 17:44:42 unset SSH_AUTH_SOCK; 17:44:42 unset SSH_AGENT_PID; 17:44:42 echo Agent pid 41 killed; 17:44:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:44:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:42 [ssh-agent] Looking for ssh-agent implementation... 17:44:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:42 $ docker exec 9b5c8ec16ea5093a33ad1e22030692b33011e97277360f76e332d10ff7805800 ssh-agent 17:44:42 SSH_AUTH_SOCK=/tmp/ssh-ZdWMdy4lxX4x/agent.75 17:44:42 SSH_AGENT_PID=81 17:44:42 Running ssh-add (command line suppressed) 17:44:43 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8270043020882902778.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8270043020882902778.key) 17:44:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:43 + git semver init 17:44:43 2022-07-06 17:44:43,575 [run_init] DEBUG init version:0.0.0 force:False 17:44:43 2022-07-06 17:44:43,576 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:44:43 2022-07-06 17:44:43,577 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:44:43 2022-07-06 17:44:43,577 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:44:44 2022-07-06 17:44:44,522 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 17:44:44 2022-07-06 17:44:44,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 17:44:44 2022-07-06 17:44:44,523 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:44:44 2022-07-06 17:44:44,523 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:44:44 2.2.1-dev.4 [Pipeline] } 17:44:44 $ docker exec --env ******** --env ******** 9b5c8ec16ea5093a33ad1e22030692b33011e97277360f76e332d10ff7805800 ssh-agent -k 17:44:44 unset SSH_AUTH_SOCK; 17:44:44 unset SSH_AGENT_PID; 17:44:44 echo Agent pid 81 killed; 17:44:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:45 + git semver [Pipeline] } 17:44:45 $ docker stop --time=1 9b5c8ec16ea5093a33ad1e22030692b33011e97277360f76e332d10ff7805800 17:44:46 $ docker rm -f 9b5c8ec16ea5093a33ad1e22030692b33011e97277360f76e332d10ff7805800 [Pipeline] // withDockerContainer [Pipeline] sh 17:44:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:44:47 Stashed 1 file(s) [Pipeline] echo 17:44:47 [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:47 provisioning config files... 17:44:47 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6292191931699066540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:47 ---> docker-login.sh 17:44:47 nexus3.edgexfoundry.org:10001 17:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:47 Configure a credential helper to remove this warning. See 17:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:47 17:44:47 Login Succeeded 17:44:47 nexus3.edgexfoundry.org:10002 17:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:47 Configure a credential helper to remove this warning. See 17:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:47 17:44:47 Login Succeeded 17:44:47 nexus3.edgexfoundry.org:10003 17:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:47 Configure a credential helper to remove this warning. See 17:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:47 17:44:47 Login Succeeded 17:44:47 nexus3.edgexfoundry.org:10004 17:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:48 Configure a credential helper to remove this warning. See 17:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:48 17:44:48 Login Succeeded 17:44:48 docker.io 17:44:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:48 Configure a credential helper to remove this warning. See 17:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:48 17:44:48 Login Succeeded 17:44:48 ---> docker-login.sh ends [Pipeline] } 17:44:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:44:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:44:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:44:48 ========================================================= 17:44:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:44:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:48 + 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 . 17:44:48 Sending build context to Docker daemon 12.45MB 17:44:48 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:44:48 Step 2/13 : FROM ${BASE} AS builder 17:44:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:44:48 59bf1c3509f3: Pulling fs layer 17:44:48 666ba61612fd: Pulling fs layer 17:44:48 8ed8ca486205: Pulling fs layer 17:44:48 cc1cd167ecdc: Pulling fs layer 17:44:48 c516ae0d96e1: Pulling fs layer 17:44:48 684cea983483: Pulling fs layer 17:44:48 dd3240ac7de5: Pulling fs layer 17:44:48 b1e948a4e11c: Pulling fs layer 17:44:48 a8fd76ee1af6: Pulling fs layer 17:44:48 c516ae0d96e1: Waiting 17:44:48 cc1cd167ecdc: Waiting 17:44:48 b1e948a4e11c: Waiting 17:44:48 dd3240ac7de5: Waiting 17:44:48 684cea983483: Waiting 17:44:48 a8fd76ee1af6: Waiting 17:44:48 646ad004c059: Pulling fs layer 17:44:48 646ad004c059: Waiting 17:44:48 8ed8ca486205: Verifying Checksum 17:44:48 8ed8ca486205: Download complete 17:44:48 666ba61612fd: Download complete 17:44:49 c516ae0d96e1: Download complete 17:44:49 684cea983483: Verifying Checksum 17:44:49 684cea983483: Download complete 17:44:49 59bf1c3509f3: Verifying Checksum 17:44:49 59bf1c3509f3: Download complete 17:44:49 dd3240ac7de5: Verifying Checksum 17:44:49 dd3240ac7de5: Download complete 17:44:49 b1e948a4e11c: Verifying Checksum 17:44:49 b1e948a4e11c: Download complete 17:44:49 59bf1c3509f3: Pull complete 17:44:49 666ba61612fd: Pull complete 17:44:49 8ed8ca486205: Pull complete 17:44:49 646ad004c059: Verifying Checksum 17:44:49 646ad004c059: Download complete 17:44:49 cc1cd167ecdc: Verifying Checksum 17:44:49 cc1cd167ecdc: Download complete 17:44:49 a8fd76ee1af6: Verifying Checksum 17:44:49 a8fd76ee1af6: Download complete 17:44:53 cc1cd167ecdc: Pull complete 17:44:53 c516ae0d96e1: Pull complete 17:44:53 684cea983483: Pull complete 17:44:53 dd3240ac7de5: Pull complete 17:44:53 b1e948a4e11c: Pull complete 17:44:55 a8fd76ee1af6: Pull complete 17:44:56 646ad004c059: Pull complete 17:44:56 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:44:56 ---> 8f69c11f6b0c 17:44:56 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:44:57 ---> Running in 02d91dbfef97 17:44:57 Removing intermediate container 02d91dbfef97 17:44:57 ---> 1ba56025b7c0 17:44:57 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:44:57 ---> Running in a94c0b90e205 17:44:57 Removing intermediate container a94c0b90e205 17:44:57 ---> c651ed8537b6 17:44:57 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:44:57 ---> Running in f2e99402c7e6 17:44:58 Removing intermediate container f2e99402c7e6 17:44:58 ---> 6508dd487a3e 17:44:58 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:44:58 ---> Running in 366345be79ec 17:44:58 Removing intermediate container 366345be79ec 17:44:58 ---> a7d266e8ed98 17:44:58 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:44:58 ---> Running in f2b74ed41867 17:44:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:44:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:45:00 OK: 221 MiB in 52 packages 17:45:00 Removing intermediate container f2b74ed41867 17:45:00 ---> f30e14064dda 17:45:00 Step 8/13 : WORKDIR /app 17:45:00 ---> Running in 06a913e8ba0c 17:45:00 Removing intermediate container 06a913e8ba0c 17:45:00 ---> 707bd5cecbad 17:45:00 Step 9/13 : COPY go.mod vendor* ./ 17:45:00 ---> 93600b9423f8 17:45:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:45:00 ---> Running in 1bd99d73553e 17:45:02 Still waiting to schedule task 17:45:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17029’ 17:45:15 Removing intermediate container 1bd99d73553e 17:45:15 ---> ad82c75fc494 17:45:15 Step 11/13 : COPY . . 17:45:15 ---> 91185abd7dc1 17:45:15 Step 12/13 : ARG MAKE="make build" 17:45:15 ---> Running in 60c4068d3e31 17:45:15 Removing intermediate container 60c4068d3e31 17:45:15 ---> 81a5aaa1a2f0 17:45:15 Step 13/13 : RUN $MAKE 17:45:15 ---> Running in 9324fe513f6b 17:45:15 noop 17:45:15 Removing intermediate container 9324fe513f6b 17:45:15 ---> 90d65a271d0e 17:45:15 Successfully built 90d65a271d0e 17:45:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:15 + docker inspect -f . ci-base-image-x86_64 17:45:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:15 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:45:16 $ 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 17:45:16 $ docker top 9a5058fa8ae56150a3a76ed256e0a08585acc49c7a1de7a71974e7046100c1f5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:16 + go version 17:45:16 go version go1.17.7 linux/amd64 [Pipeline] } 17:45:16 $ docker stop --time=1 9a5058fa8ae56150a3a76ed256e0a08585acc49c7a1de7a71974e7046100c1f5 17:45:18 $ docker rm -f 9a5058fa8ae56150a3a76ed256e0a08585acc49c7a1de7a71974e7046100c1f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:18 + docker inspect -f . ci-base-image-x86_64 17:45:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:18 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:45:18 $ 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 17:45:19 $ docker top eeb1cb47729c3c2c0b84e8a09a26d13ff65831ae92b1f0033786120cc5c810eb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:45:19 + make test 17:45:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:45:29 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:45:29 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.053s coverage: 86.2% of statements 17:45:29 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:45:31 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.552s coverage: 71.9% of statements 17:45:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:45:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:45:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:45:43 ./bin/test-attribution.sh [Pipeline] echo 17:45:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:45:43 $ docker stop --time=1 eeb1cb47729c3c2c0b84e8a09a26d13ff65831ae92b1f0033786120cc5c810eb 17:45:44 $ docker rm -f eeb1cb47729c3c2c0b84e8a09a26d13ff65831ae92b1f0033786120cc5c810eb [Pipeline] // withDockerContainer [Pipeline] sh 17:45:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:45:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:45:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:45:46 + ls -al . 17:45:46 total 228 17:45:46 drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 17:45 . 17:45:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 17:44 .. 17:45:46 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 17:44 .dockerignore 17:45:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 17:44 .git 17:45:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 17:44 .github 17:45:46 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 17:44 .gitignore 17:45:46 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 17:44 .golangci.yml 17:45:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 17:44 .semver 17:45:46 -rw-rw-r-- 1 jenkins jenkins 9413 Jul 6 17:44 Attribution.txt 17:45:46 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 17:44 CHANGELOG.md 17:45:46 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 6 17:44 Dockerfile 17:45:46 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 17:44 GOVERNANCE.md 17:45:46 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 17:44 Jenkinsfile 17:45:46 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 17:44 LICENSE 17:45:46 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 17:44 Makefile 17:45:46 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 17:44 OWNERS.md 17:45:46 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 17:44 README.md 17:45:46 -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 17:44 VERSION 17:45:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 17:44 bin 17:45:46 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 17:45 coverage.out 17:45:46 -rw-rw-r-- 1 jenkins jenkins 3475 Jul 6 17:44 go.mod 17:45:46 -rw-rw-r-- 1 jenkins jenkins 36231 Jul 6 17:44 go.sum 17:45:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 17:44 images 17:45:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 17:44 internal 17:45:46 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 17:44 main.go 17:45:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 17:44 res 17:45:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 17:44 snap 17:45:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 17:44 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:46 + 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=eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 --label arch=amd64 --label version=2.2.1-dev.4 . 17:45:46 Sending build context to Docker daemon 12.45MB 17:45:46 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 17:45:46 Step 2/31 : FROM ${BASE} AS builder 17:45:46 ---> 90d65a271d0e 17:45:46 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:45:46 ---> Running in 0bba87ecf4d5 17:45:46 Removing intermediate container 0bba87ecf4d5 17:45:46 ---> 397bb58a5688 17:45:46 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:45:46 ---> Running in 8bacefb985a8 17:45:46 Removing intermediate container 8bacefb985a8 17:45:46 ---> 105a6bb1415a 17:45:46 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:45:46 ---> Running in cc3b45ba7eee 17:45:46 Removing intermediate container cc3b45ba7eee 17:45:46 ---> 69bd6fbfa4d5 17:45:46 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:45:46 ---> Running in f7725ba65521 17:45:47 Removing intermediate container f7725ba65521 17:45:47 ---> 572238c4eb71 17:45:47 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:45:47 ---> Running in 5be83935ca31 17:45:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:45:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:45:49 OK: 221 MiB in 52 packages 17:45:49 Removing intermediate container 5be83935ca31 17:45:49 ---> 8bda3d873a89 17:45:49 Step 8/31 : WORKDIR /app 17:45:49 ---> Running in cd9b8a4e997f 17:45:49 Removing intermediate container cd9b8a4e997f 17:45:49 ---> 91436e30eaba 17:45:49 Step 9/31 : COPY go.mod vendor* ./ 17:45:49 ---> 68e953e3fd55 17:45:49 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:45:49 ---> Running in 585674a93da1 17:45:50 Removing intermediate container 585674a93da1 17:45:50 ---> 4924d5cbbecf 17:45:50 Step 11/31 : COPY . . 17:45:50 ---> ab1efed0554f 17:45:50 Step 12/31 : ARG MAKE="make build" 17:45:50 ---> Running in a5c6040d6975 17:45:50 Removing intermediate container a5c6040d6975 17:45:50 ---> 50ffc727ae07 17:45:50 Step 13/31 : RUN $MAKE 17:45:50 ---> Running in 6f1460372b70 17:45:50 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.7 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.4 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:46:12 Removing intermediate container 6f1460372b70 17:46:12 ---> c94880b56166 17:46:12 Step 14/31 : FROM alpine:3.14 17:46:12 3.14: Pulling from library/alpine 17:46:12 8663204ce13b: Pulling fs layer 17:46:12 8663204ce13b: Verifying Checksum 17:46:12 8663204ce13b: Download complete 17:46:12 8663204ce13b: Pull complete 17:46:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:46:12 Status: Downloaded newer image for alpine:3.14 17:46:12 ---> e04c818066af 17:46:12 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:46:12 ---> Running in 99744df12ebc 17:46:12 Removing intermediate container 99744df12ebc 17:46:12 ---> 227662275685 17:46:12 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:46:12 ---> Running in 6d56fed221e5 17:46:12 Removing intermediate container 6d56fed221e5 17:46:12 ---> 592a6e7ad38e 17:46:12 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:46:12 ---> Running in 960ea6ba3471 17:46:12 Removing intermediate container 960ea6ba3471 17:46:12 ---> 26b1163dc315 17:46:12 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:46:12 ---> Running in f770950c50c6 17:46:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:46:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:46:12 (1/7) Installing ca-certificates (20211220-r0) 17:46:12 (2/7) Installing dumb-init (1.2.5-r1) 17:46:12 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:46:12 (4/7) Installing libsodium (1.0.18-r0) 17:46:12 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:46:13 (6/7) Installing libzmq (4.3.4-r0) 17:46:13 (7/7) Installing zeromq (4.3.4-r0) 17:46:13 Executing busybox-1.33.1-r7.trigger 17:46:13 Executing ca-certificates-20211220-r0.trigger 17:46:13 OK: 9 MiB in 21 packages 17:46:13 Removing intermediate container f770950c50c6 17:46:13 ---> 65174bfedbf0 17:46:13 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:46:13 ---> e999cbafe646 17:46:13 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:46:13 ---> 9155c18dc27b 17:46:13 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:46:14 ---> 7fc2ec5f685a 17:46:14 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:46:14 ---> 8aec118b6d29 17:46:14 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:46:14 ---> e47c5487f124 17:46:14 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:46:14 ---> Running in db0df7f2d4f8 17:46:15 Removing intermediate container db0df7f2d4f8 17:46:15 ---> 29be72aec805 17:46:15 Step 25/31 : VOLUME /cache 17:46:15 ---> Running in 99e41f9ecad7 17:46:15 Removing intermediate container 99e41f9ecad7 17:46:15 ---> b83e324d4074 17:46:15 Step 26/31 : EXPOSE 59711 17:46:15 ---> Running in c098eac29d0b 17:46:15 Removing intermediate container c098eac29d0b 17:46:15 ---> 06758b96577c 17:46:15 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:46:15 ---> Running in d57170fe2e1c 17:46:15 Removing intermediate container d57170fe2e1c 17:46:15 ---> 405833d88901 17:46:15 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:46:15 ---> Running in 31e263b96ec0 17:46:15 Removing intermediate container 31e263b96ec0 17:46:15 ---> 9adf9fc32315 17:46:15 Step 29/31 : LABEL arch=amd64 17:46:15 ---> Running in b6d59e0f751a 17:46:15 Removing intermediate container b6d59e0f751a 17:46:15 ---> ff4347006bb9 17:46:15 Step 30/31 : LABEL git_sha=eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:46:15 ---> Running in f03aec23c711 17:46:16 Removing intermediate container f03aec23c711 17:46:16 ---> df7c35b07d75 17:46:16 Step 31/31 : LABEL version=2.2.1-dev.4 17:46:16 ---> Running in 1966b98f2ea5 17:46:16 Removing intermediate container 1966b98f2ea5 17:46:16 ---> f16b17cb5499 17:46:16 [Warning] One or more build-args [ARCH] were not consumed 17:46:16 Successfully built f16b17cb5499 17:46:16 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:46:16 provisioning config files... 17:46:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config63763538366598162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:16 ---> docker-login.sh 17:46:16 nexus3.edgexfoundry.org:10001 17:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:16 Configure a credential helper to remove this warning. See 17:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:16 17:46:16 Login Succeeded 17:46:16 nexus3.edgexfoundry.org:10002 17:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:16 Configure a credential helper to remove this warning. See 17:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:16 17:46:16 Login Succeeded 17:46:16 nexus3.edgexfoundry.org:10003 17:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:16 Configure a credential helper to remove this warning. See 17:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:16 17:46:16 Login Succeeded 17:46:16 nexus3.edgexfoundry.org:10004 17:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:17 Configure a credential helper to remove this warning. See 17:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:17 17:46:17 Login Succeeded 17:46:17 docker.io 17:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:17 Configure a credential helper to remove this warning. See 17:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:17 17:46:17 Login Succeeded 17:46:17 ---> docker-login.sh ends [Pipeline] } 17:46:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:46:17 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 17:46:17 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:46:17 latest 17:46:17 2.2.1-dev.4 17:46:17 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 17:46:17 main 17:46:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:17 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:18 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:46:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:46:18 c10bad2a623e: Preparing 17:46:18 0ff234f0193e: Preparing 17:46:18 05d8aae4a182: Preparing 17:46:18 1bf4af46ff66: Preparing 17:46:18 856d82c82685: Preparing 17:46:18 a4db0812867d: Preparing 17:46:18 fae3500a7200: Preparing 17:46:18 3967ff48da89: Preparing 17:46:18 b541d28bf3b4: Preparing 17:46:18 3967ff48da89: Waiting 17:46:18 b541d28bf3b4: Waiting 17:46:18 a4db0812867d: Waiting 17:46:18 fae3500a7200: Waiting 17:46:18 856d82c82685: Pushed 17:46:18 05d8aae4a182: Pushed 17:46:18 c10bad2a623e: Pushed 17:46:18 1bf4af46ff66: Pushed 17:46:18 b541d28bf3b4: Layer already exists 17:46:18 a4db0812867d: Pushed 17:46:18 3967ff48da89: Pushed 17:46:18 fae3500a7200: Pushed 17:46:21 0ff234f0193e: Pushed 17:46:21 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53: digest: sha256:1b83851e9d788b7d5190421e3a1a99dcc5731c5576ea4666e2b6dd48690a8389 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:21 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:46:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:46:21 c10bad2a623e: Preparing 17:46:21 0ff234f0193e: Preparing 17:46:21 05d8aae4a182: Preparing 17:46:21 1bf4af46ff66: Preparing 17:46:21 856d82c82685: Preparing 17:46:21 a4db0812867d: Preparing 17:46:21 fae3500a7200: Preparing 17:46:21 3967ff48da89: Preparing 17:46:21 fae3500a7200: Waiting 17:46:21 a4db0812867d: Waiting 17:46:21 b541d28bf3b4: Preparing 17:46:21 b541d28bf3b4: Waiting 17:46:21 1bf4af46ff66: Layer already exists 17:46:21 05d8aae4a182: Layer already exists 17:46:21 0ff234f0193e: Layer already exists 17:46:21 856d82c82685: Layer already exists 17:46:21 c10bad2a623e: Layer already exists 17:46:21 a4db0812867d: Layer already exists 17:46:21 fae3500a7200: Layer already exists 17:46:21 3967ff48da89: Layer already exists 17:46:21 b541d28bf3b4: Layer already exists 17:46:21 latest: digest: sha256:1b83851e9d788b7d5190421e3a1a99dcc5731c5576ea4666e2b6dd48690a8389 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:22 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:22 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.4 17:46:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:46:22 c10bad2a623e: Preparing 17:46:22 0ff234f0193e: Preparing 17:46:22 05d8aae4a182: Preparing 17:46:22 1bf4af46ff66: Preparing 17:46:22 856d82c82685: Preparing 17:46:22 a4db0812867d: Preparing 17:46:22 fae3500a7200: Preparing 17:46:22 3967ff48da89: Preparing 17:46:22 b541d28bf3b4: Preparing 17:46:22 a4db0812867d: Waiting 17:46:22 3967ff48da89: Waiting 17:46:22 b541d28bf3b4: Waiting 17:46:22 fae3500a7200: Waiting 17:46:22 c10bad2a623e: Layer already exists 17:46:22 1bf4af46ff66: Layer already exists 17:46:22 05d8aae4a182: Layer already exists 17:46:22 856d82c82685: Layer already exists 17:46:22 0ff234f0193e: Layer already exists 17:46:22 a4db0812867d: Layer already exists 17:46:22 fae3500a7200: Layer already exists 17:46:22 b541d28bf3b4: Layer already exists 17:46:22 3967ff48da89: Layer already exists 17:46:22 2.2.1-dev.4: digest: sha256:1b83851e9d788b7d5190421e3a1a99dcc5731c5576ea4666e2b6dd48690a8389 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:22 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:23 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 17:46:23 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:46:23 c10bad2a623e: Preparing 17:46:23 0ff234f0193e: Preparing 17:46:23 05d8aae4a182: Preparing 17:46:23 1bf4af46ff66: Preparing 17:46:23 856d82c82685: Preparing 17:46:23 a4db0812867d: Preparing 17:46:23 fae3500a7200: Preparing 17:46:23 3967ff48da89: Preparing 17:46:23 a4db0812867d: Waiting 17:46:23 fae3500a7200: Waiting 17:46:23 b541d28bf3b4: Preparing 17:46:23 b541d28bf3b4: Waiting 17:46:23 3967ff48da89: Waiting 17:46:23 856d82c82685: Layer already exists 17:46:23 c10bad2a623e: Layer already exists 17:46:23 05d8aae4a182: Layer already exists 17:46:23 0ff234f0193e: Layer already exists 17:46:23 1bf4af46ff66: Layer already exists 17:46:23 a4db0812867d: Layer already exists 17:46:23 fae3500a7200: Layer already exists 17:46:23 3967ff48da89: Layer already exists 17:46:23 b541d28bf3b4: Layer already exists 17:46:23 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4: digest: sha256:1b83851e9d788b7d5190421e3a1a99dcc5731c5576ea4666e2b6dd48690a8389 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:23 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:23 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 17:46:23 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:46:23 c10bad2a623e: Preparing 17:46:23 0ff234f0193e: Preparing 17:46:23 05d8aae4a182: Preparing 17:46:23 1bf4af46ff66: Preparing 17:46:23 856d82c82685: Preparing 17:46:23 a4db0812867d: Preparing 17:46:23 fae3500a7200: Preparing 17:46:23 3967ff48da89: Preparing 17:46:23 b541d28bf3b4: Preparing 17:46:23 a4db0812867d: Waiting 17:46:23 fae3500a7200: Waiting 17:46:23 b541d28bf3b4: Waiting 17:46:23 3967ff48da89: Waiting 17:46:23 05d8aae4a182: Layer already exists 17:46:23 c10bad2a623e: Layer already exists 17:46:23 1bf4af46ff66: Layer already exists 17:46:23 0ff234f0193e: Layer already exists 17:46:23 856d82c82685: Layer already exists 17:46:23 a4db0812867d: Layer already exists 17:46:23 3967ff48da89: Layer already exists 17:46:23 fae3500a7200: Layer already exists 17:46:23 b541d28bf3b4: Layer already exists 17:46:23 main: digest: sha256:1b83851e9d788b7d5190421e3a1a99dcc5731c5576ea4666e2b6dd48690a8389 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:46:23 ===================================================== [Pipeline] echo 17:46:23 taggedImages: 17:46:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:46:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:46:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.4 17:46:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 17:46:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:24 17:46:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:24 latest: Pulling from edgex-lftools-log-publisher 17:46:24 5eb5b503b376: Pulling fs layer 17:46:24 5c69ac0246d0: Pulling fs layer 17:46:24 ec43610c2a17: Pulling fs layer 17:46:24 3a2ae6a8a46f: Pulling fs layer 17:46:24 33b1e0a273af: Pulling fs layer 17:46:24 5d3b04190fa2: Pulling fs layer 17:46:24 2f39f015ded8: Pulling fs layer 17:46:24 2f39f015ded8: Waiting 17:46:24 33b1e0a273af: Waiting 17:46:24 3a2ae6a8a46f: Waiting 17:46:24 5d3b04190fa2: Waiting 17:46:24 5c69ac0246d0: Verifying Checksum 17:46:24 5c69ac0246d0: Download complete 17:46:24 3a2ae6a8a46f: Verifying Checksum 17:46:24 3a2ae6a8a46f: Download complete 17:46:24 ec43610c2a17: Verifying Checksum 17:46:24 ec43610c2a17: Download complete 17:46:24 33b1e0a273af: Verifying Checksum 17:46:24 33b1e0a273af: Download complete 17:46:24 5d3b04190fa2: Download complete 17:46:24 5eb5b503b376: Verifying Checksum 17:46:24 5eb5b503b376: Download complete 17:46:25 2f39f015ded8: Download complete 17:46:25 5eb5b503b376: Pull complete 17:46:25 5c69ac0246d0: Pull complete 17:46:26 ec43610c2a17: Pull complete 17:46:26 3a2ae6a8a46f: Pull complete 17:46:26 33b1e0a273af: Pull complete 17:46:26 5d3b04190fa2: Pull complete 17:46:30 2f39f015ded8: Pull complete 17:46:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:46:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:30 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:46:30 $ 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 17:46:32 $ docker top 5acefdd1e6ee6c536ba7067250bc2f7cc7aef20f341abb187829a9be3c9bc726 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:32 ---> job-cost.sh 17:46:32 lf-activate-venv: SKIPPING 17:46:32 INFO: No Stack... 17:46:32 INFO: Retrieving Pricing Info for: v3-standard-8 17:46:33 INFO: Archiving Costs [Pipeline] sh 17:46:33 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 17:46:33 + cut -d, -f6 [Pipeline] lock 17:46:33 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] 17:46:33 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] did not exist. Created. 17:46:33 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:46:34 + echo total: 0.2199999988079071 [Pipeline] stash 17:46:34 Stashed 1 file(s) [Pipeline] } 17:46:34 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 17:46:34 $ docker stop --time=1 5acefdd1e6ee6c536ba7067250bc2f7cc7aef20f341abb187829a9be3c9bc726 17:46:35 $ docker rm -f 5acefdd1e6ee6c536ba7067250bc2f7cc7aef20f341abb187829a9be3c9bc726 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:47:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17033 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 17:47:51 Running in /w/workspace/app-rfid-llrp-inventory/41 [Pipeline] { [Pipeline] checkout 17:47:51 The recommended git tool is: git 17:47:57 using credential edgex-jenkins-ssh 17:47:57 Cloning the remote Git repository 17:47:57 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:47:57 > git init /w/workspace/app-rfid-llrp-inventory/41 # timeout=10 17:47:57 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:47:57 > git --version # timeout=10 17:47:57 > git --version # 'git version 2.25.1' 17:47:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:47:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:00 Avoid second fetch 17:48:00 Checking out Revision eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 (main) 17:48:00 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:48:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:00 > git config core.sparsecheckout # timeout=10 17:48:00 > git checkout -f eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 # timeout=10 17:48:04 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 (#94)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:48:05 % Total % Received % Xferd Average Speed Time Time Time Current 17:48:05 Dload Upload Total Spent Left Speed 17:48:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 17:48:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:48:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:48:06 + sudo tee /etc/docker/daemon.new 17:48:06 { 17:48:06 "registry-mirrors": [ 17:48:06 "https://nexus3.edgexfoundry.org:10001" 17:48:06 ], 17:48:06 "bip": "10.250.0.254/24", 17:48:06 "hosts": [ 17:48:06 "tcp://0.0.0.0:5555", 17:48:06 "unix:///var/run/docker.sock" 17:48:06 ], 17:48:06 "mtu": 1458, 17:48:06 "selinux-enabled": true, 17:48:06 "seccomp-profile": "/etc/docker/seccomp.json" 17:48:06 } [Pipeline] sh 17:48:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:48:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:25 provisioning config files... 17:48:25 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/41@tmp/config2183433877521652610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:26 ---> docker-login.sh 17:48:26 nexus3.edgexfoundry.org:10001 17:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:27 Configure a credential helper to remove this warning. See 17:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:27 17:48:27 Login Succeeded 17:48:27 nexus3.edgexfoundry.org:10002 17:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:28 Configure a credential helper to remove this warning. See 17:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:28 17:48:28 Login Succeeded 17:48:28 nexus3.edgexfoundry.org:10003 17:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:28 Configure a credential helper to remove this warning. See 17:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:28 17:48:28 Login Succeeded 17:48:28 nexus3.edgexfoundry.org:10004 17:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:29 Configure a credential helper to remove this warning. See 17:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:29 17:48:29 Login Succeeded 17:48:29 docker.io 17:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:30 Configure a credential helper to remove this warning. See 17:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:30 17:48:30 Login Succeeded 17:48:30 ---> docker-login.sh ends [Pipeline] } 17:48:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:48:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:30 ========================================================= 17:48:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:48:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:30 + 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 . 17:48:31 Sending build context to Docker daemon 687.6kB 17:48:31 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:48:31 Step 2/13 : FROM ${BASE} AS builder 17:48:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:48:31 9b3977197b4f: Pulling fs layer 17:48:31 1a89e8eeedd5: Pulling fs layer 17:48:31 94645a83ff95: Pulling fs layer 17:48:31 e6fb740bc735: Pulling fs layer 17:48:31 3a77bd46dcc9: Pulling fs layer 17:48:31 355e64cbe906: Pulling fs layer 17:48:31 63ab81a10011: Pulling fs layer 17:48:31 555d1d1c4555: Pulling fs layer 17:48:31 7d9057610161: Pulling fs layer 17:48:31 e6fb740bc735: Waiting 17:48:31 63ab81a10011: Waiting 17:48:31 3a77bd46dcc9: Waiting 17:48:31 555d1d1c4555: Waiting 17:48:31 355e64cbe906: Waiting 17:48:31 7d9057610161: Waiting 17:48:31 94645a83ff95: Verifying Checksum 17:48:31 94645a83ff95: Download complete 17:48:31 1a89e8eeedd5: Verifying Checksum 17:48:31 1a89e8eeedd5: Download complete 17:48:31 3a77bd46dcc9: Verifying Checksum 17:48:31 3a77bd46dcc9: Download complete 17:48:31 355e64cbe906: Verifying Checksum 17:48:31 355e64cbe906: Download complete 17:48:31 9b3977197b4f: Verifying Checksum 17:48:31 63ab81a10011: Verifying Checksum 17:48:31 63ab81a10011: Download complete 17:48:32 9b3977197b4f: Pull complete 17:48:32 7d9057610161: Verifying Checksum 17:48:32 7d9057610161: Download complete 17:48:33 1a89e8eeedd5: Pull complete 17:48:33 94645a83ff95: Pull complete 17:48:33 555d1d1c4555: Verifying Checksum 17:48:33 555d1d1c4555: Download complete 17:48:34 e6fb740bc735: Verifying Checksum 17:48:34 e6fb740bc735: Download complete 17:48:46 e6fb740bc735: Pull complete 17:48:47 3a77bd46dcc9: Pull complete 17:48:47 355e64cbe906: Pull complete 17:48:47 63ab81a10011: Pull complete 17:48:54 555d1d1c4555: Pull complete 17:48:56 7d9057610161: Pull complete 17:48:56 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:48:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:48:56 ---> 819e984ddca1 17:48:56 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:48:58 ---> Running in 59a4ffc61547 17:48:58 Removing intermediate container 59a4ffc61547 17:48:58 ---> 83f9d2aa1be7 17:48:58 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:48:58 ---> Running in c05b267eb2c4 17:48:58 Removing intermediate container c05b267eb2c4 17:48:58 ---> 6dfbc84e9a47 17:48:58 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:48:59 ---> Running in 96c095b48899 17:48:59 Removing intermediate container 96c095b48899 17:48:59 ---> 2732e69fbd59 17:48:59 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:48:59 ---> Running in e40248de1ff5 17:49:01 Removing intermediate container e40248de1ff5 17:49:01 ---> b27c378923e8 17:49:01 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:49:01 ---> Running in 77367791d5eb 17:49:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:49:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:49:04 OK: 220 MiB in 52 packages 17:49:05 Removing intermediate container 77367791d5eb 17:49:05 ---> cd688de1d4b8 17:49:05 Step 8/13 : WORKDIR /app 17:49:05 ---> Running in 13bad15beebb 17:49:05 Removing intermediate container 13bad15beebb 17:49:05 ---> 85eedb34a11e 17:49:05 Step 9/13 : COPY go.mod vendor* ./ 17:49:06 ---> 9a4ded1d5f6e 17:49:06 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:49:06 ---> Running in aa957a33a066 17:49:53 Removing intermediate container aa957a33a066 17:49:53 ---> 4355beacfc30 17:49:53 Step 11/13 : COPY . . 17:49:53 ---> c4c9c3292f57 17:49:53 Step 12/13 : ARG MAKE="make build" 17:49:53 ---> Running in ff49ba3d14eb 17:49:54 Removing intermediate container ff49ba3d14eb 17:49:54 ---> 8306319ead25 17:49:54 Step 13/13 : RUN $MAKE 17:49:54 ---> Running in 8db8ac98fb80 17:49:55 noop 17:49:55 Removing intermediate container 8db8ac98fb80 17:49:55 ---> bb717d5cdac7 17:49:55 Successfully built bb717d5cdac7 17:49:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:56 + docker inspect -f . ci-base-image-arm64 17:49:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:56 prd-ubuntu20.04-docker-arm64-4c-16g-17033 does not seem to be running inside a container 17:49:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/41 -v /w/workspace/app-rfid-llrp-inventory/41:/w/workspace/app-rfid-llrp-inventory/41:rw,z -v /w/workspace/app-rfid-llrp-inventory/41@tmp:/w/workspace/app-rfid-llrp-inventory/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:49:58 $ docker top b6721d876ad247f4dbad41a13a53eb63f116735a7c1798669176b4c6a7f1578e -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:59 + go version 17:49:59 go version go1.17.7 linux/arm64 [Pipeline] } 17:49:59 $ docker stop --time=1 b6721d876ad247f4dbad41a13a53eb63f116735a7c1798669176b4c6a7f1578e 17:50:00 $ docker rm -f b6721d876ad247f4dbad41a13a53eb63f116735a7c1798669176b4c6a7f1578e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:01 + docker inspect -f . ci-base-image-arm64 17:50:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:01 prd-ubuntu20.04-docker-arm64-4c-16g-17033 does not seem to be running inside a container 17:50:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/41 -v /w/workspace/app-rfid-llrp-inventory/41:/w/workspace/app-rfid-llrp-inventory/41:rw,z -v /w/workspace/app-rfid-llrp-inventory/41@tmp:/w/workspace/app-rfid-llrp-inventory/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:50:03 $ docker top 41448187a389e641a8dd38dc1d79599a216a90578de6b19010ed9e40b9300907 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:50:04 + make test 17:50:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:51:56 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:51:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.300s coverage: 86.2% of statements 17:51:56 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:51:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.766s coverage: 71.9% of statements 17:51:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:51:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:52:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:52:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:52:18 ./bin/test-attribution.sh [Pipeline] echo 17:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:52:19 $ docker stop --time=1 41448187a389e641a8dd38dc1d79599a216a90578de6b19010ed9e40b9300907 17:52:21 $ docker rm -f 41448187a389e641a8dd38dc1d79599a216a90578de6b19010ed9e40b9300907 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:52:22 Warning: overwriting stash ‘coverage-report’ 17:52:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:52:24 + ls -al . 17:52:24 total 224 17:52:24 drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 17:52 . 17:52:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 17:47 .. 17:52:24 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 17:48 .dockerignore 17:52:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 17:48 .git 17:52:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 17:48 .github 17:52:24 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 17:48 .gitignore 17:52:24 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 17:48 .golangci.yml 17:52:24 -rw-rw-r-- 1 jenkins jenkins 9413 Jul 6 17:48 Attribution.txt 17:52:24 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 17:48 CHANGELOG.md 17:52:24 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 6 17:48 Dockerfile 17:52:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 17:48 GOVERNANCE.md 17:52:24 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 17:48 Jenkinsfile 17:52:24 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 17:48 LICENSE 17:52:24 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 17:48 Makefile 17:52:24 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 17:48 OWNERS.md 17:52:24 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 17:48 README.md 17:52:24 -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 17:44 VERSION 17:52:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 17:48 bin 17:52:24 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 17:51 coverage.out 17:52:24 -rw-rw-r-- 1 jenkins jenkins 3475 Jul 6 17:48 go.mod 17:52:24 -rw-rw-r-- 1 jenkins jenkins 36231 Jul 6 17:48 go.sum 17:52:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 17:48 images 17:52:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 17:48 internal 17:52:24 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 17:48 main.go 17:52:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 17:48 res 17:52:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 17:48 snap 17:52:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 17:48 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:24 + 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=eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 --label arch=arm64 --label version=2.2.1-dev.4 . 17:52:24 Sending build context to Docker daemon 687.6kB 17:52:24 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 17:52:24 Step 2/31 : FROM ${BASE} AS builder 17:52:24 ---> bb717d5cdac7 17:52:24 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:52:25 ---> Running in ddb9e734a08f 17:52:25 Removing intermediate container ddb9e734a08f 17:52:25 ---> 9b9b8b710a25 17:52:25 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:52:25 ---> Running in 0f6fd720fcde 17:52:26 Removing intermediate container 0f6fd720fcde 17:52:26 ---> c4d7bc9c398e 17:52:26 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:52:26 ---> Running in fa84210ac8bb 17:52:26 Removing intermediate container fa84210ac8bb 17:52:26 ---> f8b7ece378b1 17:52:26 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:52:26 ---> Running in 3d2419476ee0 17:52:28 Removing intermediate container 3d2419476ee0 17:52:28 ---> 76d4f3927274 17:52:28 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:28 ---> Running in 375d5fdbed15 17:52:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:52:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:52:31 OK: 220 MiB in 52 packages 17:52:32 Removing intermediate container 375d5fdbed15 17:52:32 ---> 6e8bd2a5fa31 17:52:32 Step 8/31 : WORKDIR /app 17:52:32 ---> Running in 996faaa9dd49 17:52:33 Removing intermediate container 996faaa9dd49 17:52:33 ---> a96089da7fed 17:52:33 Step 9/31 : COPY go.mod vendor* ./ 17:52:33 ---> 506d289f8434 17:52:33 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:33 ---> Running in 5f8f1dfc17e4 17:52:35 Removing intermediate container 5f8f1dfc17e4 17:52:35 ---> 22632186becb 17:52:35 Step 11/31 : COPY . . 17:52:36 ---> f08c5cb0f654 17:52:36 Step 12/31 : ARG MAKE="make build" 17:52:36 ---> Running in c9c88366c855 17:52:36 Removing intermediate container c9c88366c855 17:52:36 ---> 6774cd377ebb 17:52:36 Step 13/31 : RUN $MAKE 17:52:36 ---> Running in 1d3f2362330f 17:52:37 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.7 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.4 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:54:59 Removing intermediate container 1d3f2362330f 17:54:59 ---> a61d67375677 17:54:59 Step 14/31 : FROM alpine:3.14 17:54:59 3.14: Pulling from library/alpine 17:54:59 455c02918c45: Pulling fs layer 17:55:00 455c02918c45: Verifying Checksum 17:55:00 455c02918c45: Download complete 17:55:00 455c02918c45: Pull complete 17:55:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:55:00 Status: Downloaded newer image for alpine:3.14 17:55:00 ---> ac73e934f311 17:55:00 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:55:00 ---> Running in 505654f26b8e 17:55:01 Removing intermediate container 505654f26b8e 17:55:01 ---> 6d751e9676ca 17:55:01 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:55:01 ---> Running in 93685dee5c06 17:55:01 Removing intermediate container 93685dee5c06 17:55:01 ---> 516b783fbb2d 17:55:01 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:55:01 ---> Running in 4b8865f68d08 17:55:03 Removing intermediate container 4b8865f68d08 17:55:03 ---> 7535e017da35 17:55:03 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:55:03 ---> Running in e0b62208620d 17:55:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:55:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:55:06 (1/7) Installing ca-certificates (20211220-r0) 17:55:06 (2/7) Installing dumb-init (1.2.5-r1) 17:55:06 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:55:06 (4/7) Installing libsodium (1.0.18-r0) 17:55:06 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:55:06 (6/7) Installing libzmq (4.3.4-r0) 17:55:07 (7/7) Installing zeromq (4.3.4-r0) 17:55:07 Executing busybox-1.33.1-r7.trigger 17:55:07 Executing ca-certificates-20211220-r0.trigger 17:55:07 OK: 9 MiB in 21 packages 17:55:08 Removing intermediate container e0b62208620d 17:55:08 ---> 4ea8734928c1 17:55:08 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:55:09 ---> aa84566348c1 17:55:09 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:55:09 ---> 23cc7adf9a73 17:55:09 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:55:10 ---> a5bf634560cf 17:55:10 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:55:10 ---> 909258614978 17:55:10 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:55:12 ---> d899321bbf1c 17:55:12 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:55:12 ---> Running in c4ef70e9bd52 17:55:14 Removing intermediate container c4ef70e9bd52 17:55:14 ---> a26d99c0f7c2 17:55:14 Step 25/31 : VOLUME /cache 17:55:14 ---> Running in 64f9634a1976 17:55:14 Removing intermediate container 64f9634a1976 17:55:14 ---> 9304355de39c 17:55:14 Step 26/31 : EXPOSE 59711 17:55:14 ---> Running in 5883a8ae5ea3 17:55:15 Removing intermediate container 5883a8ae5ea3 17:55:15 ---> 453bc87e01d2 17:55:15 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:55:15 ---> Running in a9fbb45b7d2c 17:55:15 Removing intermediate container a9fbb45b7d2c 17:55:15 ---> eb08e148bf4e 17:55:15 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:55:15 ---> Running in a15e0462d6c8 17:55:16 Removing intermediate container a15e0462d6c8 17:55:16 ---> 4a97d6633fc3 17:55:16 Step 29/31 : LABEL arch=arm64 17:55:16 ---> Running in 87ed82eb4e60 17:55:16 Removing intermediate container 87ed82eb4e60 17:55:16 ---> 83eb03207050 17:55:16 Step 30/31 : LABEL git_sha=eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:55:16 ---> Running in a4d9e91e822e 17:55:16 Removing intermediate container a4d9e91e822e 17:55:16 ---> a5b933a2762c 17:55:16 Step 31/31 : LABEL version=2.2.1-dev.4 17:55:17 ---> Running in be20e29c18d4 17:55:17 Removing intermediate container be20e29c18d4 17:55:17 ---> aedd6e77e258 17:55:17 [Warning] One or more build-args [ARCH] were not consumed 17:55:17 Successfully built aedd6e77e258 17:55:17 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:55:17 provisioning config files... 17:55:17 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/41@tmp/config5389330101047765011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:17 ---> docker-login.sh 17:55:17 nexus3.edgexfoundry.org:10001 17:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:18 Configure a credential helper to remove this warning. See 17:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:18 17:55:18 Login Succeeded 17:55:18 nexus3.edgexfoundry.org:10002 17:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:18 Configure a credential helper to remove this warning. See 17:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:18 17:55:18 Login Succeeded 17:55:18 nexus3.edgexfoundry.org:10003 17:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:19 Configure a credential helper to remove this warning. See 17:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:19 17:55:19 Login Succeeded 17:55:19 nexus3.edgexfoundry.org:10004 17:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:19 Configure a credential helper to remove this warning. See 17:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:19 17:55:19 Login Succeeded 17:55:19 docker.io 17:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:20 Configure a credential helper to remove this warning. See 17:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:20 17:55:20 Login Succeeded 17:55:20 ---> docker-login.sh ends [Pipeline] } 17:55:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:20 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 17:55:20 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:55:20 latest 17:55:20 2.2.1-dev.4 17:55:20 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 17:55:20 main 17:55:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:21 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:55:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:55:21 6017c486d849: Preparing 17:55:21 e5cb6de94127: Preparing 17:55:21 78d4ae7b8394: Preparing 17:55:21 9c5b0fa4ae75: Preparing 17:55:21 f29a3363bf2b: Preparing 17:55:21 2bf746df02ac: Preparing 17:55:21 9daf5f83d9ff: Preparing 17:55:21 20b27b59f836: Preparing 17:55:21 f73e7dbfee58: Preparing 17:55:21 2bf746df02ac: Waiting 17:55:21 9daf5f83d9ff: Waiting 17:55:21 f73e7dbfee58: Waiting 17:55:21 20b27b59f836: Waiting 17:55:21 78d4ae7b8394: Pushed 17:55:21 f29a3363bf2b: Pushed 17:55:21 9c5b0fa4ae75: Pushed 17:55:21 6017c486d849: Pushed 17:55:22 f73e7dbfee58: Layer already exists 17:55:22 2bf746df02ac: Pushed 17:55:22 20b27b59f836: Pushed 17:55:23 9daf5f83d9ff: Pushed 17:55:28 e5cb6de94127: Pushed 17:55:28 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53: digest: sha256:da5bff5f931caddcb511ba117a055e44c6bf4df37cdc77f0f5d104e52b1ff3e2 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:28 + 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:55:29 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:55:29 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:55:29 6017c486d849: Preparing 17:55:29 e5cb6de94127: Preparing 17:55:29 78d4ae7b8394: Preparing 17:55:29 9c5b0fa4ae75: Preparing 17:55:29 f29a3363bf2b: Preparing 17:55:29 2bf746df02ac: Preparing 17:55:29 9daf5f83d9ff: Preparing 17:55:29 20b27b59f836: Preparing 17:55:29 f73e7dbfee58: Preparing 17:55:29 2bf746df02ac: Waiting 17:55:29 9daf5f83d9ff: Waiting 17:55:29 20b27b59f836: Waiting 17:55:29 f73e7dbfee58: Waiting 17:55:29 78d4ae7b8394: Layer already exists 17:55:29 6017c486d849: Layer already exists 17:55:29 9c5b0fa4ae75: Layer already exists 17:55:29 f29a3363bf2b: Layer already exists 17:55:29 e5cb6de94127: Layer already exists 17:55:29 9daf5f83d9ff: Layer already exists 17:55:29 2bf746df02ac: Layer already exists 17:55:29 20b27b59f836: Layer already exists 17:55:29 f73e7dbfee58: Layer already exists 17:55:29 latest: digest: sha256:da5bff5f931caddcb511ba117a055e44c6bf4df37cdc77f0f5d104e52b1ff3e2 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:30 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:30 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.4 17:55:30 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:55:30 6017c486d849: Preparing 17:55:30 e5cb6de94127: Preparing 17:55:30 78d4ae7b8394: Preparing 17:55:30 9c5b0fa4ae75: Preparing 17:55:30 f29a3363bf2b: Preparing 17:55:30 2bf746df02ac: Preparing 17:55:30 9daf5f83d9ff: Preparing 17:55:30 20b27b59f836: Preparing 17:55:30 f73e7dbfee58: Preparing 17:55:30 9daf5f83d9ff: Waiting 17:55:30 20b27b59f836: Waiting 17:55:30 f73e7dbfee58: Waiting 17:55:30 2bf746df02ac: Waiting 17:55:30 9c5b0fa4ae75: Layer already exists 17:55:30 e5cb6de94127: Layer already exists 17:55:30 6017c486d849: Layer already exists 17:55:30 f29a3363bf2b: Layer already exists 17:55:30 78d4ae7b8394: Layer already exists 17:55:30 2bf746df02ac: Layer already exists 17:55:30 9daf5f83d9ff: Layer already exists 17:55:30 f73e7dbfee58: Layer already exists 17:55:30 20b27b59f836: Layer already exists 17:55:30 2.2.1-dev.4: digest: sha256:da5bff5f931caddcb511ba117a055e44c6bf4df37cdc77f0f5d104e52b1ff3e2 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:31 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:31 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 17:55:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:55:31 6017c486d849: Preparing 17:55:31 e5cb6de94127: Preparing 17:55:31 78d4ae7b8394: Preparing 17:55:31 9c5b0fa4ae75: Preparing 17:55:31 f29a3363bf2b: Preparing 17:55:31 2bf746df02ac: Preparing 17:55:31 9daf5f83d9ff: Preparing 17:55:31 20b27b59f836: Preparing 17:55:31 f73e7dbfee58: Preparing 17:55:31 2bf746df02ac: Waiting 17:55:31 9daf5f83d9ff: Waiting 17:55:31 20b27b59f836: Waiting 17:55:31 f73e7dbfee58: Waiting 17:55:31 9c5b0fa4ae75: Layer already exists 17:55:31 6017c486d849: Layer already exists 17:55:31 78d4ae7b8394: Layer already exists 17:55:31 e5cb6de94127: Layer already exists 17:55:31 f29a3363bf2b: Layer already exists 17:55:31 2bf746df02ac: Layer already exists 17:55:31 9daf5f83d9ff: Layer already exists 17:55:31 20b27b59f836: Layer already exists 17:55:31 f73e7dbfee58: Layer already exists 17:55:31 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4: digest: sha256:da5bff5f931caddcb511ba117a055e44c6bf4df37cdc77f0f5d104e52b1ff3e2 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:32 + 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:55:32 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 17:55:32 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:55:32 6017c486d849: Preparing 17:55:32 e5cb6de94127: Preparing 17:55:32 78d4ae7b8394: Preparing 17:55:32 9c5b0fa4ae75: Preparing 17:55:32 f29a3363bf2b: Preparing 17:55:32 2bf746df02ac: Preparing 17:55:32 9daf5f83d9ff: Preparing 17:55:32 20b27b59f836: Preparing 17:55:32 f73e7dbfee58: Preparing 17:55:32 9daf5f83d9ff: Waiting 17:55:32 20b27b59f836: Waiting 17:55:32 f73e7dbfee58: Waiting 17:55:32 2bf746df02ac: Waiting 17:55:32 78d4ae7b8394: Layer already exists 17:55:32 9c5b0fa4ae75: Layer already exists 17:55:32 e5cb6de94127: Layer already exists 17:55:32 f29a3363bf2b: Layer already exists 17:55:32 6017c486d849: Layer already exists 17:55:32 f73e7dbfee58: Layer already exists 17:55:32 2bf746df02ac: Layer already exists 17:55:32 20b27b59f836: Layer already exists 17:55:32 9daf5f83d9ff: Layer already exists 17:55:32 main: digest: sha256:da5bff5f931caddcb511ba117a055e44c6bf4df37cdc77f0f5d104e52b1ff3e2 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:32 ===================================================== [Pipeline] echo 17:55:32 taggedImages: 17:55:32 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 17:55:32 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:55:32 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.4 17:55:32 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:eba17bf37215b1d1d09724bbc9ddf1e7ed276c53-2.2.1-dev.4 17:55:32 - 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:55:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:33 17:55:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:33 arm64: Pulling from edgex-lftools-log-publisher 17:55:33 8998bd30e6a1: Pulling fs layer 17:55:33 04944245beec: Pulling fs layer 17:55:33 699f458cf7ca: Pulling fs layer 17:55:33 765212b225bb: Pulling fs layer 17:55:33 f23df028b6ca: Pulling fs layer 17:55:33 d65c8cfc05b1: Pulling fs layer 17:55:33 2437ff75d9bd: Pulling fs layer 17:55:33 765212b225bb: Waiting 17:55:33 f23df028b6ca: Waiting 17:55:33 d65c8cfc05b1: Waiting 17:55:33 2437ff75d9bd: Waiting 17:55:33 04944245beec: Verifying Checksum 17:55:33 04944245beec: Download complete 17:55:33 765212b225bb: Verifying Checksum 17:55:33 765212b225bb: Download complete 17:55:33 f23df028b6ca: Verifying Checksum 17:55:33 f23df028b6ca: Download complete 17:55:33 d65c8cfc05b1: Verifying Checksum 17:55:33 d65c8cfc05b1: Download complete 17:55:34 699f458cf7ca: Verifying Checksum 17:55:34 699f458cf7ca: Download complete 17:55:34 8998bd30e6a1: Verifying Checksum 17:55:34 8998bd30e6a1: Download complete 17:55:36 2437ff75d9bd: Download complete 17:55:38 8998bd30e6a1: Pull complete 17:55:39 04944245beec: Pull complete 17:55:41 699f458cf7ca: Pull complete 17:55:41 765212b225bb: Pull complete 17:55:41 f23df028b6ca: Pull complete 17:55:42 d65c8cfc05b1: Pull complete 17:55:57 2437ff75d9bd: Pull complete 17:55:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:57 prd-ubuntu20.04-docker-arm64-4c-16g-17033 does not seem to be running inside a container 17:55:57 $ 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/41 -v /w/workspace/app-rfid-llrp-inventory/41:/w/workspace/app-rfid-llrp-inventory/41:rw,z -v /w/workspace/app-rfid-llrp-inventory/41@tmp:/w/workspace/app-rfid-llrp-inventory/41@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:56:00 $ docker top a4db7a2f232056232b85559d8cd38da93dd1cdbddda099f71051f63834ad4c5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:01 ---> job-cost.sh 17:56:01 lf-activate-venv: SKIPPING 17:56:01 INFO: No Stack... 17:56:01 INFO: Retrieving Pricing Info for: v3-standard-4 17:56:02 INFO: Archiving Costs [Pipeline] sh 17:56:02 + cut -d, -f6 17:56:02 + cat /w/workspace/app-rfid-llrp-inventory/41/archives/cost.csv [Pipeline] lock 17:56:02 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] 17:56:02 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] did not exist. Created. 17:56:02 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:56:03 /w/workspace/app-rfid-llrp-inventory/41@tmp/durable-f965263a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:56:04 + echo total: 0.10999999940395355 [Pipeline] stash 17:56:04 Warning: overwriting stash ‘stack-cost’ 17:56:04 Stashed 1 file(s) [Pipeline] } 17:56:04 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 17:56:04 $ docker stop --time=1 a4db7a2f232056232b85559d8cd38da93dd1cdbddda099f71051f63834ad4c5a 17:56:05 $ docker rm -f a4db7a2f232056232b85559d8cd38da93dd1cdbddda099f71051f63834ad4c5a [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:56:06 provisioning config files... 17:56:06 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7895016414137990011tmp [Pipeline] { [Pipeline] sh 17:56:06 + set +x 17:56:06 + curl -s https://codecov.io/bash 17:56:06 + bash -s -- 17:56:06 17:56:06 _____ _ 17:56:06 / ____| | | 17:56:06 | | ___ __| | ___ ___ _____ __ 17:56:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:56:06 | |___| (_) | (_| | __/ (_| (_) \ V / 17:56:06 \_____\___/ \__,_|\___|\___\___/ \_/ 17:56:06 Bash-1.0.6 17:56:06 17:56:06 17:56:06 ==> git version 2.25.1 found 17:56:06 ==> 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:56:06 Release-Date: 2020-01-08 17:56:06 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:56:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:56:06 ==> Jenkins CI detected. 17:56:06 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 17:56:06 project root: . 17:56:06 --> token set from env 17:56:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:56:06 ==> Running gcov in . (disable via -X gcov) 17:56:06 ==> Python coveragepy not found 17:56:06 ==> Searching for coverage reports in: 17:56:06 + . 17:56:06 -> Found 1 reports 17:56:06 ==> Detecting git/mercurial file structure 17:56:06 ==> Reading reports 17:56:06 + ./coverage.out bytes=41008 17:56:06 ==> Appending adjustments 17:56:06 https://docs.codecov.io/docs/fixing-reports 17:56:06 + Found adjustments 17:56:06 ==> Gzipping contents 17:56:06 12K /tmp/codecov.2wUmE1.gz 17:56:06 ==> Uploading reports 17:56:06 url: https://codecov.io 17:56:06 query: branch=main&commit=eba17bf37215b1d1d09724bbc9ddf1e7ed276c53&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:56:06 -> Pinging Codecov 17:56:06 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=eba17bf37215b1d1d09724bbc9ddf1e7ed276c53&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:56:07 -> Uploading to 17:56:07 https://storage.googleapis.com/codecov/v4/raw/2022-07-06/581DD39554BDF9B6E22D074273EAD858/eba17bf37215b1d1d09724bbc9ddf1e7ed276c53/0d7ff5d8-9da2-496a-a818-9f73309c4b5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220706T175607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=469106739649d155566e5896f3fc3c648e707118f78c651f9d3e15e53cb2dd3a 17:56:07 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:07 Dload Upload Total Spent Left Speed 17:56:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11485 0 0 100 11485 0 54952 --:--:-- --:--:-- --:--:-- 54952 17:56:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] } 17:56:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:56:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:56:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:56:07 17:56:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:56:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:56:08 df9b9388f04a: Pulling fs layer 17:56:08 52dc419b0ee2: Pulling fs layer 17:56:08 25bc292e5bac: Pulling fs layer 17:56:08 114826534d7a: Pulling fs layer 17:56:08 4657fd5d0bcf: Pulling fs layer 17:56:08 6ad1cebc031e: Pulling fs layer 17:56:08 8a3aa393b2d8: Pulling fs layer 17:56:08 4657fd5d0bcf: Waiting 17:56:08 6ad1cebc031e: Waiting 17:56:08 8a3aa393b2d8: Waiting 17:56:08 114826534d7a: Waiting 17:56:08 25bc292e5bac: Verifying Checksum 17:56:08 25bc292e5bac: Download complete 17:56:08 52dc419b0ee2: Verifying Checksum 17:56:08 52dc419b0ee2: Download complete 17:56:08 4657fd5d0bcf: Verifying Checksum 17:56:08 4657fd5d0bcf: Download complete 17:56:08 df9b9388f04a: Verifying Checksum 17:56:08 df9b9388f04a: Download complete 17:56:08 df9b9388f04a: Pull complete 17:56:08 6ad1cebc031e: Verifying Checksum 17:56:08 6ad1cebc031e: Download complete 17:56:08 52dc419b0ee2: Pull complete 17:56:08 25bc292e5bac: Pull complete 17:56:09 114826534d7a: Verifying Checksum 17:56:09 114826534d7a: Download complete 17:56:09 8a3aa393b2d8: Verifying Checksum 17:56:09 8a3aa393b2d8: Download complete 17:56:12 114826534d7a: Pull complete 17:56:12 4657fd5d0bcf: Pull complete 17:56:12 6ad1cebc031e: Pull complete 17:56:15 8a3aa393b2d8: Pull complete 17:56:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:56:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:56:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:15 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:56:15 $ 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:56:17 $ docker top 2448d656e0b32505e91b3c08faf6f00dc2966b88f5ecca8c62b62c08322b250c -eo pid,comm [Pipeline] { [Pipeline] echo 17:56:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 17:56:17 + set -o pipefail 17:56:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 17:56:21 17:56:21 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 17:56:21 17:56:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/b80d2ec1-6987-404c-84cd-c400554646fe 17:56:21 17:56:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:56:21 17:56:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:56:21 17:56:22 17:56:22 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 17:56:22 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:56:22 $ docker stop --time=1 2448d656e0b32505e91b3c08faf6f00dc2966b88f5ecca8c62b62c08322b250c 17:56:24 $ docker rm -f 2448d656e0b32505e91b3c08faf6f00dc2966b88f5ecca8c62b62c08322b250c [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:56:25 + git log --format=format:%s -1 eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 [Pipeline] sh 17:56:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:56:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:25 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:56:25 $ 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:56:26 $ docker top 5439835c64c6134cfa3e2adaa8c7ef2abf962d90a111e200492df69a1a977cca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:26 [ssh-agent] Looking for ssh-agent implementation... 17:56:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:26 $ docker exec 5439835c64c6134cfa3e2adaa8c7ef2abf962d90a111e200492df69a1a977cca ssh-agent 17:56:26 SSH_AUTH_SOCK=/tmp/ssh-v6ZSTHkVeEr1/agent.33 17:56:26 SSH_AGENT_PID=39 17:56:26 Running ssh-add (command line suppressed) 17:56:26 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6195057187704996612.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_6195057187704996612.key) 17:56:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:26 + git semver tag 17:56:27 2022-07-06 17:56:27,170 [run_tag] DEBUG tag force:False 17:56:27 2022-07-06 17:56:27,170 [check_head_tag] DEBUG check head tag 17:56:27 2022-07-06 17:56:27,170 [execute] INFO git cat-file --batch-check 17:56:27 2022-07-06 17:56:27,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:56:27 2022-07-06 17:56:27,174 [execute] INFO git cat-file --batch 17:56:27 2022-07-06 17:56:27,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:56:27 2022-07-06 17:56:27,183 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:56:27 2022-07-06 17:56:27,183 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 17:56:27 2022-07-06 17:56:27,184 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:56:27 2022-07-06 17:56:27,189 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:56:27 2.2.1-dev.4 [Pipeline] } 17:56:27 $ docker exec --env ******** --env ******** 5439835c64c6134cfa3e2adaa8c7ef2abf962d90a111e200492df69a1a977cca ssh-agent -k 17:56:27 unset SSH_AUTH_SOCK; 17:56:27 unset SSH_AGENT_PID; 17:56:27 echo Agent pid 39 killed; 17:56:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:27 + git semver [Pipeline] } 17:56:27 $ docker stop --time=1 5439835c64c6134cfa3e2adaa8c7ef2abf962d90a111e200492df69a1a977cca 17:56:29 $ docker rm -f 5439835c64c6134cfa3e2adaa8c7ef2abf962d90a111e200492df69a1a977cca [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:56:29 17:56:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:56:30 0.23.1-centos7: Pulling from edgex-lftools 17:56:30 ab5ef0e58194: Pulling fs layer 17:56:30 9712f1f96733: Pulling fs layer 17:56:30 63f879dbbcfc: Pulling fs layer 17:56:30 0d9ebad4ef96: Pulling fs layer 17:56:30 e9a5061849ea: Pulling fs layer 17:56:30 d747dcd14b5f: Pulling fs layer 17:56:30 2de7ff778b66: Pulling fs layer 17:56:30 e9a5061849ea: Waiting 17:56:30 d747dcd14b5f: Waiting 17:56:30 2de7ff778b66: Waiting 17:56:30 0d9ebad4ef96: Waiting 17:56:30 9712f1f96733: Download complete 17:56:30 63f879dbbcfc: Verifying Checksum 17:56:30 63f879dbbcfc: Download complete 17:56:30 e9a5061849ea: Verifying Checksum 17:56:30 e9a5061849ea: Download complete 17:56:30 d747dcd14b5f: Download complete 17:56:30 ab5ef0e58194: Verifying Checksum 17:56:30 ab5ef0e58194: Download complete 17:56:30 0d9ebad4ef96: Verifying Checksum 17:56:30 0d9ebad4ef96: Download complete 17:56:30 2de7ff778b66: Verifying Checksum 17:56:30 2de7ff778b66: Download complete 17:56:33 ab5ef0e58194: Pull complete 17:56:33 9712f1f96733: Pull complete 17:56:33 63f879dbbcfc: Pull complete 17:56:38 0d9ebad4ef96: Pull complete 17:56:38 e9a5061849ea: Pull complete 17:56:38 d747dcd14b5f: Pull complete 17:56:39 2de7ff778b66: Pull complete 17:56:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:56:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:56:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:39 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:56:39 $ 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:56:41 $ docker top 33f4ea2adb66b3066c6eb1454c9755a20f4624fa07aaa0091d19eaf3c8cec09a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:56:41 provisioning config files... 17:56:41 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1647123070154915016tmp 17:56:41 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1467039640752434099tmp 17:56:41 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2325236520439768964tmp [Pipeline] { [Pipeline] echo 17:56:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:56:41 ---> sigul-configuration.sh 17:56:41 gpg: directory `/root/.gnupg' created 17:56:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:56:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:56:41 gpg: keyring `/root/.gnupg/secring.gpg' created 17:56:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:56:41 gpg: CAST5 encrypted data 17:56:41 gpg: encrypted with 1 passphrase 17:56:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:56:41 + mkdir /home/jenkins 17:56:41 + mkdir /home/jenkins/sigul [Pipeline] sh 17:56:42 + 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:56:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:56:42 ---> sigul-install.sh 17:56:42 Sigul already installed; skipping installation. [Pipeline] sh 17:56:42 + git tag --list 17:56:42 v0.0.0 17:56:42 v1.0.0 17:56:42 v2.1.0 17:56:42 v2.1.1 17:56:42 v2.1.1-dev.1 17:56:42 v2.2.0 17:56:42 v2.2.1-dev.1 17:56:42 v2.2.1-dev.2 17:56:42 v2.2.1-dev.3 17:56:42 v2.2.1-dev.4 [Pipeline] sh 17:56:42 + lftools sign git-tag v2.2.1-dev.4 17:56:43 Signing Git tag with Sigul... 17:56:43 Signing v2.2.1-dev.4 [Pipeline] echo 17:56:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:56:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:56:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:56:44 $ docker stop --time=1 33f4ea2adb66b3066c6eb1454c9755a20f4624fa07aaa0091d19eaf3c8cec09a 17:56:45 $ docker rm -f 33f4ea2adb66b3066c6eb1454c9755a20f4624fa07aaa0091d19eaf3c8cec09a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:56:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:56:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:46 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:56:46 $ 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:56:46 $ docker top 0100745327cfdcb0a412a5d3f75d170e5c30a9d775be192a06bd03119f9217b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:46 [ssh-agent] Looking for ssh-agent implementation... 17:56:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:47 $ docker exec 0100745327cfdcb0a412a5d3f75d170e5c30a9d775be192a06bd03119f9217b5 ssh-agent 17:56:47 SSH_AUTH_SOCK=/tmp/ssh-NBBxaoJf7j9L/agent.34 17:56:47 SSH_AGENT_PID=40 17:56:47 Running ssh-add (command line suppressed) 17:56:47 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8690389880328208368.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8690389880328208368.key) 17:56:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:47 + git semver bump pre 17:56:47 2022-07-06 17:56:47,820 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:56:47 2022-07-06 17:56:47,820 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev 17:56:47 2022-07-06 17:56:47,820 [bump_version] DEBUG bumped version:2.2.1-dev.5 17:56:47 2022-07-06 17:56:47,821 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 17:56:47 2022-07-06 17:56:47,821 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:56:47 2022-07-06 17:56:47,821 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:56:47 2022-07-06 17:56:47,823 [execute] INFO git cat-file --batch-check 17:56:47 2022-07-06 17:56:47,823 [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:56:47 2022-07-06 17:56:47,829 [execute] INFO git cat-file --batch 17:56:47 2022-07-06 17:56:47,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:56:47 2022-07-06 17:56:47,834 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:56:47 2.2.1-dev.5 [Pipeline] } 17:56:47 $ docker exec --env ******** --env ******** 0100745327cfdcb0a412a5d3f75d170e5c30a9d775be192a06bd03119f9217b5 ssh-agent -k 17:56:48 unset SSH_AUTH_SOCK; 17:56:48 unset SSH_AGENT_PID; 17:56:48 echo Agent pid 40 killed; 17:56:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:48 + git semver [Pipeline] } 17:56:48 $ docker stop --time=1 0100745327cfdcb0a412a5d3f75d170e5c30a9d775be192a06bd03119f9217b5 17:56:49 $ docker rm -f 0100745327cfdcb0a412a5d3f75d170e5c30a9d775be192a06bd03119f9217b5 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:56:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:50 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:56:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:56:51 $ docker top bedffc496acc2d19e3390d6a86cf2d32d0f9207429f1f64dcf7013af1550207a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:51 [ssh-agent] Looking for ssh-agent implementation... 17:56:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:51 $ docker exec bedffc496acc2d19e3390d6a86cf2d32d0f9207429f1f64dcf7013af1550207a ssh-agent 17:56:51 SSH_AUTH_SOCK=/tmp/ssh-FTeHACXq2SbX/agent.34 17:56:51 SSH_AGENT_PID=40 17:56:51 Running ssh-add (command line suppressed) 17:56:51 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_822248235548792671.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_822248235548792671.key) 17:56:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:51 + git semver push 17:56:52 2022-07-06 17:56:52,052 [run_push] DEBUG push 17:56:52 2022-07-06 17:56:52,052 [execute] INFO git cat-file --batch-check 17:56:52 2022-07-06 17:56:52,053 [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:56:52 2022-07-06 17:56:52,057 [execute] INFO git rev-list 0de29aec9bb0b7a322cb724df36962a37112c2fd -- 17:56:52 2022-07-06 17:56:52,057 [execute] DEBUG Popen(['git', 'rev-list', '0de29aec9bb0b7a322cb724df36962a37112c2fd', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:56:52 2022-07-06 17:56:52,063 [execute] INFO git fetch -v origin 17:56:52 2022-07-06 17:56:52,063 [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:56:52 2022-07-06 17:56:52,519 [run_push] DEBUG no remote changes detected 17:56:52 2022-07-06 17:56:52,519 [execute] INFO git push origin semver 17:56:52 2022-07-06 17:56:52,520 [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:56:53 2022-07-06 17:56:53,189 [run_push] DEBUG push all version tags 17:56:53 2022-07-06 17:56:53,190 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:56:53 2022-07-06 17:56:53,190 [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:56:54 2022-07-06 17:56:53,837 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:56:54 2.2.1-dev.5 [Pipeline] } 17:56:54 $ docker exec --env ******** --env ******** bedffc496acc2d19e3390d6a86cf2d32d0f9207429f1f64dcf7013af1550207a ssh-agent -k 17:56:54 unset SSH_AUTH_SOCK; 17:56:54 unset SSH_AGENT_PID; 17:56:54 echo Agent pid 40 killed; 17:56:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:54 + git semver [Pipeline] } 17:56:54 $ docker stop --time=1 bedffc496acc2d19e3390d6a86cf2d32d0f9207429f1f64dcf7013af1550207a 17:56:56 $ docker rm -f bedffc496acc2d19e3390d6a86cf2d32d0f9207429f1f64dcf7013af1550207a [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:56:56 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 17:56:56 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:56:56 total 16 17:56:56 drwxr-xr-x 3 root root 4096 Jul 6 17:46 . 17:56:56 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 17:56 .. 17:56:56 drwxr-xr-x 2 root root 4096 Jul 6 17:46 cost 17:56:56 -rw-r--r-- 1 root root 93 Jul 6 17:46 cost.csv 17:56:56 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:56:56 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:56:56 total 16 17:56:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 17:46 . 17:56:56 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 17:56 .. 17:56:56 drwxr-xr-x 2 jenkins jenkins 4096 Jul 6 17:46 cost 17:56:56 -rw-r--r-- 1 jenkins jenkins 93 Jul 6 17:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:56:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:56:57 ---> package-listing.sh 17:56:57 ++ facter osfamily 17:56:57 ++ tr '[:upper:]' '[:lower:]' 17:56:58 + OS_FAMILY=debian 17:56:58 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 17:56:58 + START_PACKAGES=/tmp/packages_start.txt 17:56:58 + END_PACKAGES=/tmp/packages_end.txt 17:56:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:56:58 + PACKAGES=/tmp/packages_start.txt 17:56:58 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:56:58 + PACKAGES=/tmp/packages_end.txt 17:56:58 + case "${OS_FAMILY}" in 17:56:58 + dpkg -l 17:56:58 + grep '^ii' 17:56:58 + '[' -f /tmp/packages_start.txt ']' 17:56:58 + '[' -f /tmp/packages_end.txt ']' 17:56:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:56:58 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:56:58 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 17:56:58 + 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:56:58 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:56:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:59 prd-ubuntu20.04-docker-8c-8g-17030 does not seem to be running inside a container 17:56:59 $ 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:56:59 $ docker top 6289a8af29efceebe901d47909d545494356ce906f964c43099c9028d7fb54f8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:56:59 + touch /tmp/pre-build-complete [Pipeline] sh 17:57:00 + mkdir -p /var/log/sysstat [Pipeline] sh 17:57:00 + ls /var/log/sa-host 17:57:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:00 provisioning config files... 17:57:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5650121029133129948tmp [Pipeline] { [Pipeline] echo 17:57:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:57:00 ---> create-netrc.sh [Pipeline] } 17:57:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:57:01 ---> python-tools-install.sh [Pipeline] echo 17:57:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:57:01 ---> sudo-logs.sh 17:57:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:57:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:57:01 ---> job-cost.sh 17:57:01 lf-activate-venv: SKIPPING 17:57:01 DEBUG: total: 0.2199999988079071 17:57:01 INFO: Retrieving Stack Cost... 17:57:02 INFO: Retrieving Pricing Info for: v3-standard-8 17:57:02 INFO: Archiving Costs [Pipeline] echo 17:57:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:57:02 ---> logs-deploy.sh 17:57:02 lf-activate-venv: SKIPPING 17:57:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/41 17:57:02 INFO: archiving workspace using pattern(s): 17:57:03 Archives upload complete. 17:57:03 INFO: archiving logs to Nexus