Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5d59561c1133a6ca726020ae56ce39f2a90031a2 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-ssh13173157158707938961.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-ssh9453090196157460804.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-ssh15663039362468958572.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-ssh17848830365326970224.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-ssh4248759941530306526.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17042 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 5d59561c1133a6ca726020ae56ce39f2a90031a2 (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 5d59561c1133a6ca726020ae56ce39f2a90031a2 # timeout=10 Commit message: "build: Lastest SDK, update attribtion script and file (#95)" > git rev-list --no-walk eba17bf37215b1d1d09724bbc9ddf1e7ed276c53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:33:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:33:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:33:00 ========================================================= 18:33:00 EdgeX Global Pipelines Version Info 18:33:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:33:00 ------------------- 18:33:00 stable info: 18:33:00 ------------------- 18:33:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:33:00 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 18:33:00 Message: update stable to v1.0.234 18:33:01 ------------------- 18:33:01 experimental info: 18:33:01 ------------------- 18:33:01 Commited By: **** collab-it+edgex@linuxfoundation.org 18:33:01 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 18:33:01 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d59561 [Pipeline] echo 18:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:33:02 provisioning config files... 18:33:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8168965457221268109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:33:02 ---> docker-login.sh 18:33:02 nexus3.edgexfoundry.org:10001 18:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:03 Configure a credential helper to remove this warning. See 18:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:03 18:33:03 Login Succeeded 18:33:03 nexus3.edgexfoundry.org:10002 18:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:03 Configure a credential helper to remove this warning. See 18:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:03 18:33:03 Login Succeeded 18:33:03 nexus3.edgexfoundry.org:10003 18:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:03 Configure a credential helper to remove this warning. See 18:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:03 18:33:03 Login Succeeded 18:33:03 nexus3.edgexfoundry.org:10004 18:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:03 Configure a credential helper to remove this warning. See 18:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:03 18:33:03 Login Succeeded 18:33:03 docker.io 18:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:04 Configure a credential helper to remove this warning. See 18:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:04 18:33:04 Login Succeeded 18:33:04 ---> docker-login.sh ends [Pipeline] } 18:33:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:33:04 + git rev-list -1 --merges 5d59561c1133a6ca726020ae56ce39f2a90031a2~1..5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] echo 18:33:04 -----------> git rev-list -1 --merges 5d59561c1133a6ca726020ae56ce39f2a90031a2~1..5d59561c1133a6ca726020ae56ce39f2a90031a2 5d59561c1133a6ca726020ae56ce39f2a90031a2 [false] [Pipeline] sh 18:33:04 + git log --format=format:%s -1 5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] echo 18:33:04 ========================================================= 18:33:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:33:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:33:05 + git log --format=format:%s -1 5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] echo 18:33:05 [semverPrep] GIT_COMMIT: 5d59561c1133a6ca726020ae56ce39f2a90031a2, Commit Message: build: Lastest SDK, update attribtion script and file (#95) [Pipeline] echo 18:33:05 [semverPrep] This is not a build commit. [Pipeline] sh 18:33:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:33:05 + grep -v github /etc/ssh/ssh_known_hosts 18:33:05 + [ -e /tmp/ssh_known_hosts ] 18:33:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:33:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:33:05 + sudo tee -a /etc/ssh/ssh_known_hosts 18:33:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:33:06 18:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:33:06 0.1.4: Pulling from edgex-devops/py-git-semver 18:33:06 42c077c10790: Pulling fs layer 18:33:06 f63e77b7563a: Pulling fs layer 18:33:06 bd5fdadae976: Pulling fs layer 18:33:06 205491f53016: Pulling fs layer 18:33:06 df18705c85c3: Pulling fs layer 18:33:06 bdb3f477010e: Pulling fs layer 18:33:06 c8a8fc8e1c8f: Pulling fs layer 18:33:06 2c6e9b1d212d: Pulling fs layer 18:33:06 205491f53016: Waiting 18:33:06 bdb3f477010e: Waiting 18:33:06 df18705c85c3: Waiting 18:33:06 c8a8fc8e1c8f: Waiting 18:33:06 bdb8f0575790: Pulling fs layer 18:33:06 2c6e9b1d212d: Waiting 18:33:06 386e3cb2ff24: Pulling fs layer 18:33:06 bdb8f0575790: Waiting 18:33:06 2343380bae48: Pulling fs layer 18:33:06 2343380bae48: Waiting 18:33:06 f63e77b7563a: Verifying Checksum 18:33:06 f63e77b7563a: Download complete 18:33:06 205491f53016: Verifying Checksum 18:33:06 205491f53016: Download complete 18:33:06 df18705c85c3: Verifying Checksum 18:33:06 df18705c85c3: Download complete 18:33:06 bd5fdadae976: Verifying Checksum 18:33:06 bd5fdadae976: Download complete 18:33:06 bdb3f477010e: Verifying Checksum 18:33:06 bdb3f477010e: Download complete 18:33:06 2c6e9b1d212d: Download complete 18:33:06 bdb8f0575790: Verifying Checksum 18:33:06 bdb8f0575790: Download complete 18:33:06 386e3cb2ff24: Download complete 18:33:06 2343380bae48: Verifying Checksum 18:33:06 2343380bae48: Download complete 18:33:06 42c077c10790: Verifying Checksum 18:33:06 42c077c10790: Download complete 18:33:07 c8a8fc8e1c8f: Download complete 18:33:08 42c077c10790: Pull complete 18:33:08 f63e77b7563a: Pull complete 18:33:08 bd5fdadae976: Pull complete 18:33:08 205491f53016: Pull complete 18:33:09 df18705c85c3: Pull complete 18:33:09 bdb3f477010e: Pull complete 18:33:11 c8a8fc8e1c8f: Pull complete 18:33:11 2c6e9b1d212d: Pull complete 18:33:11 bdb8f0575790: Pull complete 18:33:11 386e3cb2ff24: Pull complete 18:33:11 2343380bae48: Pull complete 18:33:11 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 18:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:33:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:11 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:33:11 $ 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 18:33:13 $ docker top e73f2bc3495b66881794684244e5d88e55c7872b74c96169a96aecfc30c375f6 -eo pid,comm 18:33:13 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). 18:33:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:33:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:33:13 [ssh-agent] Looking for ssh-agent implementation... 18:33:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:33:13 $ docker exec e73f2bc3495b66881794684244e5d88e55c7872b74c96169a96aecfc30c375f6 ssh-agent 18:33:14 SSH_AUTH_SOCK=/tmp/ssh-cZ3W7PPU9aEe/agent.32 18:33:14 SSH_AGENT_PID=38 18:33:14 Running ssh-add (command line suppressed) 18:33:14 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2303691169330423735.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2303691169330423735.key) 18:33:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:33:14 + git tag --points-at HEAD [Pipeline] } 18:33:14 $ docker exec --env ******** --env ******** e73f2bc3495b66881794684244e5d88e55c7872b74c96169a96aecfc30c375f6 ssh-agent -k 18:33:14 unset SSH_AUTH_SOCK; 18:33:14 unset SSH_AGENT_PID; 18:33:14 echo Agent pid 38 killed; 18:33:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:33:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:33:14 [ssh-agent] Looking for ssh-agent implementation... 18:33:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:33:14 $ docker exec e73f2bc3495b66881794684244e5d88e55c7872b74c96169a96aecfc30c375f6 ssh-agent 18:33:14 SSH_AUTH_SOCK=/tmp/ssh-8YhzFe9NVf5O/agent.71 18:33:14 SSH_AGENT_PID=77 18:33:14 Running ssh-add (command line suppressed) 18:33:15 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2372931602389287241.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2372931602389287241.key) 18:33:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:33:15 + git semver init 18:33:15 2022-07-06 18:33:15,520 [run_init] DEBUG init version:0.0.0 force:False 18:33:15 2022-07-06 18:33:15,521 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 18:33:15 2022-07-06 18:33:15,522 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 18:33:15 2022-07-06 18:33:15,522 [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) 18:33:16 2022-07-06 18:33:16,505 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 18:33:16 2022-07-06 18:33:16,505 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 18:33:16 2022-07-06 18:33:16,505 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:33:16 2022-07-06 18:33:16,506 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:33:16 2.2.1-dev.5 [Pipeline] } 18:33:16 $ docker exec --env ******** --env ******** e73f2bc3495b66881794684244e5d88e55c7872b74c96169a96aecfc30c375f6 ssh-agent -k 18:33:16 unset SSH_AUTH_SOCK; 18:33:16 unset SSH_AGENT_PID; 18:33:16 echo Agent pid 77 killed; 18:33:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:33:17 + git semver [Pipeline] } 18:33:17 $ docker stop --time=1 e73f2bc3495b66881794684244e5d88e55c7872b74c96169a96aecfc30c375f6 18:33:18 $ docker rm -f e73f2bc3495b66881794684244e5d88e55c7872b74c96169a96aecfc30c375f6 [Pipeline] // withDockerContainer [Pipeline] sh 18:33:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:33:19 Stashed 1 file(s) [Pipeline] echo 18:33:19 [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [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 18:33:19 provisioning config files... 18:33:19 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4002544243091433540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:33:19 ---> docker-login.sh 18:33:19 nexus3.edgexfoundry.org:10001 18:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:19 Configure a credential helper to remove this warning. See 18:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:19 18:33:19 Login Succeeded 18:33:19 nexus3.edgexfoundry.org:10002 18:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:20 Configure a credential helper to remove this warning. See 18:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:20 18:33:20 Login Succeeded 18:33:20 nexus3.edgexfoundry.org:10003 18:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:20 Configure a credential helper to remove this warning. See 18:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:20 18:33:20 Login Succeeded 18:33:20 nexus3.edgexfoundry.org:10004 18:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:20 Configure a credential helper to remove this warning. See 18:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:20 18:33:20 Login Succeeded 18:33:20 docker.io 18:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:20 Configure a credential helper to remove this warning. See 18:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:20 18:33:20 Login Succeeded 18:33:20 ---> docker-login.sh ends [Pipeline] } 18:33:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:33:20 ========================================================= 18:33:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:33:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:21 + 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 . 18:33:21 Sending build context to Docker daemon 12.46MB 18:33:21 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:33:21 Step 2/13 : FROM ${BASE} AS builder 18:33:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:33:21 59bf1c3509f3: Pulling fs layer 18:33:21 666ba61612fd: Pulling fs layer 18:33:21 8ed8ca486205: Pulling fs layer 18:33:21 cc1cd167ecdc: Pulling fs layer 18:33:21 c516ae0d96e1: Pulling fs layer 18:33:21 684cea983483: Pulling fs layer 18:33:21 dd3240ac7de5: Pulling fs layer 18:33:21 b1e948a4e11c: Pulling fs layer 18:33:21 a8fd76ee1af6: Pulling fs layer 18:33:21 646ad004c059: Pulling fs layer 18:33:21 c516ae0d96e1: Waiting 18:33:21 a8fd76ee1af6: Waiting 18:33:21 684cea983483: Waiting 18:33:21 646ad004c059: Waiting 18:33:21 dd3240ac7de5: Waiting 18:33:21 b1e948a4e11c: Waiting 18:33:21 8ed8ca486205: Download complete 18:33:21 666ba61612fd: Verifying Checksum 18:33:21 666ba61612fd: Download complete 18:33:21 c516ae0d96e1: Download complete 18:33:21 684cea983483: Verifying Checksum 18:33:21 684cea983483: Download complete 18:33:21 dd3240ac7de5: Verifying Checksum 18:33:21 dd3240ac7de5: Download complete 18:33:21 59bf1c3509f3: Verifying Checksum 18:33:21 59bf1c3509f3: Download complete 18:33:21 b1e948a4e11c: Verifying Checksum 18:33:21 b1e948a4e11c: Download complete 18:33:21 59bf1c3509f3: Pull complete 18:33:21 666ba61612fd: Pull complete 18:33:21 8ed8ca486205: Pull complete 18:33:22 cc1cd167ecdc: Verifying Checksum 18:33:22 cc1cd167ecdc: Download complete 18:33:22 646ad004c059: Verifying Checksum 18:33:22 646ad004c059: Download complete 18:33:22 a8fd76ee1af6: Verifying Checksum 18:33:22 a8fd76ee1af6: Download complete 18:33:26 cc1cd167ecdc: Pull complete 18:33:26 c516ae0d96e1: Pull complete 18:33:26 684cea983483: Pull complete 18:33:26 dd3240ac7de5: Pull complete 18:33:26 b1e948a4e11c: Pull complete 18:33:28 a8fd76ee1af6: Pull complete 18:33:29 646ad004c059: Pull complete 18:33:29 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 18:33:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:33:29 ---> 8f69c11f6b0c 18:33:29 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:33:31 ---> Running in 04d1e0de9568 18:33:31 Removing intermediate container 04d1e0de9568 18:33:31 ---> 25cd005fee39 18:33:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:33:31 ---> Running in aa50061032cd 18:33:31 Removing intermediate container aa50061032cd 18:33:31 ---> 53f11118fd05 18:33:31 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:33:31 ---> Running in fba70f483a8d 18:33:31 Removing intermediate container fba70f483a8d 18:33:31 ---> c2ba00d25c4c 18:33:31 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:33:31 ---> Running in a32cf271e9f3 18:33:32 Removing intermediate container a32cf271e9f3 18:33:32 ---> 91cf08873d8a 18:33:32 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:33:32 ---> Running in d8497a667ef8 18:33:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:33:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:33:33 OK: 221 MiB in 52 packages 18:33:34 Removing intermediate container d8497a667ef8 18:33:34 ---> 8b75da5dec3f 18:33:34 Step 8/13 : WORKDIR /app 18:33:34 ---> Running in 1d7274662eff 18:33:34 Removing intermediate container 1d7274662eff 18:33:34 ---> acb1c2bf0581 18:33:34 Step 9/13 : COPY go.mod vendor* ./ 18:33:34 ---> 66a4f8c3504c 18:33:34 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:34 ---> Running in 2fcad9d35e2b 18:33:34 Still waiting to schedule task 18:33:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:33:52 Removing intermediate container 2fcad9d35e2b 18:33:52 ---> df52c123f97a 18:33:52 Step 11/13 : COPY . . 18:33:52 ---> c458872fe4aa 18:33:52 Step 12/13 : ARG MAKE="make build" 18:33:52 ---> Running in 16539939867c 18:33:52 Removing intermediate container 16539939867c 18:33:52 ---> 8b6840254ff1 18:33:52 Step 13/13 : RUN $MAKE 18:33:52 ---> Running in 93448e026fd0 18:33:52 noop 18:33:52 Removing intermediate container 93448e026fd0 18:33:52 ---> 52bce658f2ca 18:33:52 Successfully built 52bce658f2ca 18:33:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:52 + docker inspect -f . ci-base-image-x86_64 18:33:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:52 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:33:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:33:53 $ docker top 87738432b222c84914c7ae4ee7c107668ff67100259afccd0c76c5b294850b53 -eo pid,comm [Pipeline] { [Pipeline] sh 18:33:53 + go version 18:33:53 go version go1.17.7 linux/amd64 [Pipeline] } 18:33:53 $ docker stop --time=1 87738432b222c84914c7ae4ee7c107668ff67100259afccd0c76c5b294850b53 18:33:55 $ docker rm -f 87738432b222c84914c7ae4ee7c107668ff67100259afccd0c76c5b294850b53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:55 + docker inspect -f . ci-base-image-x86_64 18:33:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:55 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:33:55 $ 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 18:33:56 $ docker top e3e25ea21f4489e5507e914292ea2d33a0817d9d9085fd1829c098ffc9fa249f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:33:56 + make test 18:33:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:34:08 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:34:08 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.038s coverage: 86.2% of statements 18:34:08 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:34:09 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.546s coverage: 71.9% of statements 18:34:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:34:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:34:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:34:23 ./bin/test-attribution.sh [Pipeline] echo 18:34:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:34:23 $ docker stop --time=1 e3e25ea21f4489e5507e914292ea2d33a0817d9d9085fd1829c098ffc9fa249f 18:34:25 $ docker rm -f e3e25ea21f4489e5507e914292ea2d33a0817d9d9085fd1829c098ffc9fa249f [Pipeline] // withDockerContainer [Pipeline] sh 18:34:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:34:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:34:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:34:26 + ls -al . 18:34:26 total 232 18:34:26 drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 18:33 . 18:34:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:32 .. 18:34:26 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 18:32 .dockerignore 18:34:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 18:33 .git 18:34:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:32 .github 18:34:26 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 18:32 .gitignore 18:34:26 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 18:32 .golangci.yml 18:34:26 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 18:33 .semver 18:34:26 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 6 18:32 Attribution.txt 18:34:26 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 18:32 CHANGELOG.md 18:34:26 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 6 18:32 Dockerfile 18:34:26 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 18:32 GOVERNANCE.md 18:34:26 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 18:32 Jenkinsfile 18:34:26 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 18:32 LICENSE 18:34:26 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 18:32 Makefile 18:34:26 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 18:32 OWNERS.md 18:34:26 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 18:32 README.md 18:34:26 -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 18:33 VERSION 18:34:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:32 bin 18:34:26 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 18:34 coverage.out 18:34:26 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 6 18:32 go.mod 18:34:26 -rw-rw-r-- 1 jenkins jenkins 37046 Jul 6 18:32 go.sum 18:34:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:32 images 18:34:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:32 internal 18:34:26 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 18:32 main.go 18:34:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:32 res 18:34:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:32 snap 18:34:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:32 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:26 + 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=5d59561c1133a6ca726020ae56ce39f2a90031a2 --label arch=amd64 --label version=2.2.1-dev.5 . 18:34:26 Sending build context to Docker daemon 12.46MB 18:34:26 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 18:34:26 Step 2/31 : FROM ${BASE} AS builder 18:34:26 ---> 52bce658f2ca 18:34:26 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:34:26 ---> Running in 4e2b77f7013d 18:34:26 Removing intermediate container 4e2b77f7013d 18:34:26 ---> 2b993cd95f78 18:34:26 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 18:34:26 ---> Running in f8df699baa7f 18:34:27 Removing intermediate container f8df699baa7f 18:34:27 ---> 9ac3280be658 18:34:27 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:34:27 ---> Running in 689cc84c8325 18:34:27 Removing intermediate container 689cc84c8325 18:34:27 ---> 19bb33c131c5 18:34:27 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:34:27 ---> Running in 2985528693d3 18:34:28 Removing intermediate container 2985528693d3 18:34:28 ---> 92d2aaa488b2 18:34:28 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:34:28 ---> Running in 3f19131aa0b5 18:34:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:34:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:34:29 OK: 221 MiB in 52 packages 18:34:30 Removing intermediate container 3f19131aa0b5 18:34:30 ---> cdcee0a6a025 18:34:30 Step 8/31 : WORKDIR /app 18:34:30 ---> Running in a1288fb18f23 18:34:30 Removing intermediate container a1288fb18f23 18:34:30 ---> 12e97493d2b5 18:34:30 Step 9/31 : COPY go.mod vendor* ./ 18:34:30 ---> fa7eae15c23b 18:34:30 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:34:30 ---> Running in 5221c382e079 18:34:30 Removing intermediate container 5221c382e079 18:34:30 ---> eccaac72dc3a 18:34:30 Step 11/31 : COPY . . 18:34:31 ---> 1d5436cd6414 18:34:31 Step 12/31 : ARG MAKE="make build" 18:34:31 ---> Running in 615f944fe2e7 18:34:31 Removing intermediate container 615f944fe2e7 18:34:31 ---> 0e0b549f71e0 18:34:31 Step 13/31 : RUN $MAKE 18:34:31 ---> Running in c78fef56d0b3 18:34:31 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.16 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.5 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 18:34:53 Removing intermediate container c78fef56d0b3 18:34:53 ---> e4e9b3c406f3 18:34:53 Step 14/31 : FROM alpine:3.14 18:34:53 3.14: Pulling from library/alpine 18:34:53 8663204ce13b: Pulling fs layer 18:34:53 8663204ce13b: Download complete 18:34:53 8663204ce13b: Pull complete 18:34:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:34:53 Status: Downloaded newer image for alpine:3.14 18:34:53 ---> e04c818066af 18:34:53 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:34:53 ---> Running in 085c0148a3ca 18:34:54 Removing intermediate container 085c0148a3ca 18:34:54 ---> 7314d4502eea 18:34:54 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:34:54 ---> Running in cd610cae9801 18:34:54 Removing intermediate container cd610cae9801 18:34:54 ---> daf9850dbe44 18:34:54 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:34:54 ---> Running in eb8a54de6286 18:34:54 Removing intermediate container eb8a54de6286 18:34:54 ---> 8cd16086ebe5 18:34:54 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 18:34:55 ---> Running in af0f1dba52fa 18:34:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:34:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:34:56 (1/7) Installing ca-certificates (20211220-r0) 18:34:56 (2/7) Installing dumb-init (1.2.5-r1) 18:34:56 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:34:56 (4/7) Installing libsodium (1.0.18-r0) 18:34:56 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:34:56 (6/7) Installing libzmq (4.3.4-r0) 18:34:57 (7/7) Installing zeromq (4.3.4-r0) 18:34:57 Executing busybox-1.33.1-r7.trigger 18:34:57 Executing ca-certificates-20211220-r0.trigger 18:34:57 OK: 9 MiB in 21 packages 18:34:57 Removing intermediate container af0f1dba52fa 18:34:57 ---> 85ce0431b03f 18:34:57 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:34:57 ---> fe363cb8d24a 18:34:57 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 18:34:57 ---> 8597a8e82488 18:34:57 Step 21/31 : COPY --from=builder /app/res/ /res/ 18:34:58 ---> 72a681b042a0 18:34:58 Step 22/31 : COPY --from=builder /app/static/ /static/ 18:34:58 ---> b2b4c09ae566 18:34:58 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:34:59 ---> 46950242d758 18:34:59 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:34:59 ---> Running in d4876681b252 18:34:59 Removing intermediate container d4876681b252 18:34:59 ---> 451f66b3050d 18:34:59 Step 25/31 : VOLUME /cache 18:34:59 ---> Running in 7bb941aa5ea2 18:34:59 Removing intermediate container 7bb941aa5ea2 18:34:59 ---> c2b42c571c6c 18:34:59 Step 26/31 : EXPOSE 59711 18:34:59 ---> Running in 0e43f99a81cd 18:35:00 Removing intermediate container 0e43f99a81cd 18:35:00 ---> a68c922f1c2b 18:35:00 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:35:00 ---> Running in 0735134d6e2f 18:35:00 Removing intermediate container 0735134d6e2f 18:35:00 ---> 8e3302399388 18:35:00 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 18:35:00 ---> Running in 53c945e8e179 18:35:00 Removing intermediate container 53c945e8e179 18:35:00 ---> 9e714c27b1e0 18:35:00 Step 29/31 : LABEL arch=amd64 18:35:00 ---> Running in 5403e758d40f 18:35:00 Removing intermediate container 5403e758d40f 18:35:00 ---> 764253b4ded3 18:35:00 Step 30/31 : LABEL git_sha=5d59561c1133a6ca726020ae56ce39f2a90031a2 18:35:00 ---> Running in cb0ea01c65ce 18:35:00 Removing intermediate container cb0ea01c65ce 18:35:00 ---> 452a8333520d 18:35:00 Step 31/31 : LABEL version=2.2.1-dev.5 18:35:00 ---> Running in c4d06a57411a 18:35:00 Removing intermediate container c4d06a57411a 18:35:00 ---> 2e91a5583fcf 18:35:00 [Warning] One or more build-args [ARCH] were not consumed 18:35:00 Successfully built 2e91a5583fcf 18:35:00 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 18:35:01 provisioning config files... 18:35:01 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8279257968886713763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:01 ---> docker-login.sh 18:35:01 nexus3.edgexfoundry.org:10001 18:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:01 Configure a credential helper to remove this warning. See 18:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:01 18:35:01 Login Succeeded 18:35:01 nexus3.edgexfoundry.org:10002 18:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:01 Configure a credential helper to remove this warning. See 18:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:01 18:35:01 Login Succeeded 18:35:01 nexus3.edgexfoundry.org:10003 18:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:01 Configure a credential helper to remove this warning. See 18:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:01 18:35:01 Login Succeeded 18:35:01 nexus3.edgexfoundry.org:10004 18:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:01 Configure a credential helper to remove this warning. See 18:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:01 18:35:01 Login Succeeded 18:35:01 docker.io 18:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:02 Configure a credential helper to remove this warning. See 18:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:02 18:35:02 Login Succeeded 18:35:02 ---> docker-login.sh ends [Pipeline] } 18:35:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:35:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:02 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 18:35:02 5d59561c1133a6ca726020ae56ce39f2a90031a2 18:35:02 latest 18:35:02 2.2.1-dev.5 18:35:02 5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 18:35:02 main 18:35:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:02 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:02 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:5d59561c1133a6ca726020ae56ce39f2a90031a2 18:35:02 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 18:35:02 a24b595fec8c: Preparing 18:35:02 37579f05b4bc: Preparing 18:35:02 301893d5480e: Preparing 18:35:02 b236cfff2784: Preparing 18:35:02 7fcc7cdc4159: Preparing 18:35:02 a1ca82e4de9e: Preparing 18:35:02 be5eb66b1fad: Preparing 18:35:02 a601b610b200: Preparing 18:35:02 b541d28bf3b4: Preparing 18:35:02 a1ca82e4de9e: Waiting 18:35:02 be5eb66b1fad: Waiting 18:35:02 a601b610b200: Waiting 18:35:02 b541d28bf3b4: Waiting 18:35:02 a24b595fec8c: Pushed 18:35:02 7fcc7cdc4159: Pushed 18:35:02 301893d5480e: Pushed 18:35:02 b236cfff2784: Pushed 18:35:02 b541d28bf3b4: Layer already exists 18:35:03 a1ca82e4de9e: Pushed 18:35:03 a601b610b200: Pushed 18:35:03 be5eb66b1fad: Pushed 18:35:05 37579f05b4bc: Pushed 18:35:05 5d59561c1133a6ca726020ae56ce39f2a90031a2: digest: sha256:d99bead2be90fea4e6ee4247f103164a375855fc50356b036030c2b1ddf09912 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:06 + 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 18:35:06 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 18:35:06 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 18:35:06 a24b595fec8c: Preparing 18:35:06 37579f05b4bc: Preparing 18:35:06 301893d5480e: Preparing 18:35:06 b236cfff2784: Preparing 18:35:06 7fcc7cdc4159: Preparing 18:35:06 a1ca82e4de9e: Preparing 18:35:06 be5eb66b1fad: Preparing 18:35:06 a601b610b200: Preparing 18:35:06 b541d28bf3b4: Preparing 18:35:06 be5eb66b1fad: Waiting 18:35:06 a601b610b200: Waiting 18:35:06 a1ca82e4de9e: Waiting 18:35:06 b541d28bf3b4: Waiting 18:35:06 7fcc7cdc4159: Layer already exists 18:35:06 b236cfff2784: Layer already exists 18:35:06 37579f05b4bc: Layer already exists 18:35:06 a24b595fec8c: Layer already exists 18:35:06 301893d5480e: Layer already exists 18:35:06 be5eb66b1fad: Layer already exists 18:35:06 a1ca82e4de9e: Layer already exists 18:35:06 a601b610b200: Layer already exists 18:35:06 b541d28bf3b4: Layer already exists 18:35:06 latest: digest: sha256:d99bead2be90fea4e6ee4247f103164a375855fc50356b036030c2b1ddf09912 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:06 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:07 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.5 18:35:07 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 18:35:07 a24b595fec8c: Preparing 18:35:07 37579f05b4bc: Preparing 18:35:07 301893d5480e: Preparing 18:35:07 b236cfff2784: Preparing 18:35:07 7fcc7cdc4159: Preparing 18:35:07 a1ca82e4de9e: Preparing 18:35:07 be5eb66b1fad: Preparing 18:35:07 a601b610b200: Preparing 18:35:07 b541d28bf3b4: Preparing 18:35:07 a1ca82e4de9e: Waiting 18:35:07 be5eb66b1fad: Waiting 18:35:07 a601b610b200: Waiting 18:35:07 b541d28bf3b4: Waiting 18:35:07 7fcc7cdc4159: Layer already exists 18:35:07 37579f05b4bc: Layer already exists 18:35:07 301893d5480e: Layer already exists 18:35:07 a24b595fec8c: Layer already exists 18:35:07 b236cfff2784: Layer already exists 18:35:07 a1ca82e4de9e: Layer already exists 18:35:07 be5eb66b1fad: Layer already exists 18:35:07 a601b610b200: Layer already exists 18:35:07 b541d28bf3b4: Layer already exists 18:35:07 2.2.1-dev.5: digest: sha256:d99bead2be90fea4e6ee4247f103164a375855fc50356b036030c2b1ddf09912 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:07 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17043 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 18:35:07 Running in /w/workspace/app-rfid-llrp-inventory/42 [Pipeline] { [Pipeline] checkout 18:35:07 The recommended git tool is: git 18:35:07 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 18:35:07 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 18:35:07 a24b595fec8c: Preparing 18:35:07 37579f05b4bc: Preparing 18:35:07 301893d5480e: Preparing 18:35:07 b236cfff2784: Preparing 18:35:07 7fcc7cdc4159: Preparing 18:35:07 a1ca82e4de9e: Preparing 18:35:07 be5eb66b1fad: Preparing 18:35:07 a601b610b200: Preparing 18:35:07 b541d28bf3b4: Preparing 18:35:07 be5eb66b1fad: Waiting 18:35:07 a601b610b200: Waiting 18:35:07 b541d28bf3b4: Waiting 18:35:07 a1ca82e4de9e: Waiting 18:35:07 37579f05b4bc: Layer already exists 18:35:07 7fcc7cdc4159: Layer already exists 18:35:07 301893d5480e: Layer already exists 18:35:07 a24b595fec8c: Layer already exists 18:35:07 b236cfff2784: Layer already exists 18:35:07 be5eb66b1fad: Layer already exists 18:35:07 a601b610b200: Layer already exists 18:35:07 a1ca82e4de9e: Layer already exists 18:35:07 b541d28bf3b4: Layer already exists 18:35:07 5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5: digest: sha256:d99bead2be90fea4e6ee4247f103164a375855fc50356b036030c2b1ddf09912 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:08 + 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 18:35:08 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 18:35:08 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 18:35:08 a24b595fec8c: Preparing 18:35:08 37579f05b4bc: Preparing 18:35:08 301893d5480e: Preparing 18:35:08 b236cfff2784: Preparing 18:35:08 7fcc7cdc4159: Preparing 18:35:08 a1ca82e4de9e: Preparing 18:35:08 be5eb66b1fad: Preparing 18:35:08 a601b610b200: Preparing 18:35:08 b541d28bf3b4: Preparing 18:35:08 a601b610b200: Waiting 18:35:08 b541d28bf3b4: Waiting 18:35:08 be5eb66b1fad: Waiting 18:35:08 7fcc7cdc4159: Layer already exists 18:35:08 301893d5480e: Layer already exists 18:35:08 37579f05b4bc: Layer already exists 18:35:08 a24b595fec8c: Layer already exists 18:35:08 b236cfff2784: Layer already exists 18:35:08 be5eb66b1fad: Layer already exists 18:35:08 a1ca82e4de9e: Layer already exists 18:35:08 a601b610b200: Layer already exists 18:35:08 b541d28bf3b4: Layer already exists 18:35:08 main: digest: sha256:d99bead2be90fea4e6ee4247f103164a375855fc50356b036030c2b1ddf09912 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:35:08 ===================================================== [Pipeline] echo 18:35:08 taggedImages: 18:35:08 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:5d59561c1133a6ca726020ae56ce39f2a90031a2 18:35:08 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 18:35:08 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.2.1-dev.5 18:35:08 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 18:35:08 - 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 18:35:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:09 18:35:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:09 latest: Pulling from edgex-lftools-log-publisher 18:35:09 5eb5b503b376: Pulling fs layer 18:35:09 5c69ac0246d0: Pulling fs layer 18:35:09 ec43610c2a17: Pulling fs layer 18:35:09 3a2ae6a8a46f: Pulling fs layer 18:35:09 33b1e0a273af: Pulling fs layer 18:35:09 5d3b04190fa2: Pulling fs layer 18:35:09 2f39f015ded8: Pulling fs layer 18:35:09 5d3b04190fa2: Waiting 18:35:09 2f39f015ded8: Waiting 18:35:09 3a2ae6a8a46f: Waiting 18:35:09 33b1e0a273af: Waiting 18:35:09 5c69ac0246d0: Verifying Checksum 18:35:09 5c69ac0246d0: Download complete 18:35:09 3a2ae6a8a46f: Verifying Checksum 18:35:09 3a2ae6a8a46f: Download complete 18:35:09 33b1e0a273af: Download complete 18:35:09 5d3b04190fa2: Verifying Checksum 18:35:09 5d3b04190fa2: Download complete 18:35:09 ec43610c2a17: Verifying Checksum 18:35:09 ec43610c2a17: Download complete 18:35:09 5eb5b503b376: Verifying Checksum 18:35:09 5eb5b503b376: Download complete 18:35:10 2f39f015ded8: Verifying Checksum 18:35:10 2f39f015ded8: Download complete 18:35:11 5eb5b503b376: Pull complete 18:35:11 5c69ac0246d0: Pull complete 18:35:11 ec43610c2a17: Pull complete 18:35:11 3a2ae6a8a46f: Pull complete 18:35:12 33b1e0a273af: Pull complete 18:35:12 5d3b04190fa2: Pull complete 18:35:14 using credential edgex-jenkins-ssh 18:35:14 Cloning the remote Git repository 18:35:14 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:35:14 > git init /w/workspace/app-rfid-llrp-inventory/42 # timeout=10 18:35:14 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 18:35:14 > git --version # timeout=10 18:35:14 > git --version # 'git version 2.25.1' 18:35:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:17 Avoid second fetch 18:35:17 Checking out Revision 5d59561c1133a6ca726020ae56ce39f2a90031a2 (main) 18:35:17 2f39f015ded8: Pull complete 18:35:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:35:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:17 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:35:17 $ 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 18:35:17 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 18:35:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:17 > git config core.sparsecheckout # timeout=10 18:35:17 > git checkout -f 5d59561c1133a6ca726020ae56ce39f2a90031a2 # timeout=10 18:35:21 Commit message: "build: Lastest SDK, update attribtion script and file (#95)" 18:35:21 $ docker top 72d8677544b161ae6dfa6d6bcb028c07b5a89d6a1f2166af13e892f32ac6fa7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:21 18:35:21 GitHub has been notified of this commit’s build result 18:35:21 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:21 ---> job-cost.sh 18:35:21 lf-activate-venv: SKIPPING 18:35:21 INFO: No Stack... 18:35:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:35:22 % Total % Received % Xferd Average Speed Time Time Time Current 18:35:22 Dload Upload Total Spent Left Speed 18:35:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 91440 18:35:22 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 18:35:22 INFO: Archiving Costs [Pipeline] sh 18:35:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 18:35:22 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 18:35:22 + cut -d, -f6 [Pipeline] sh [Pipeline] lock 18:35:23 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] 18:35:23 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] did not exist. Created. 18:35:23 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:35:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:35:23 + sudo tee /etc/docker/daemon.new 18:35:23 { 18:35:23 "registry-mirrors": [ 18:35:23 "https://nexus3.edgexfoundry.org:10001" 18:35:23 ], 18:35:23 "bip": "10.250.0.254/24", 18:35:23 "hosts": [ 18:35:23 "tcp://0.0.0.0:5555", 18:35:23 "unix:///var/run/docker.sock" 18:35:23 ], 18:35:23 "mtu": 1458, 18:35:23 "selinux-enabled": true, 18:35:23 "seccomp-profile": "/etc/docker/seccomp.json" 18:35:23 } [Pipeline] sh 18:35:23 + echo total: 0.2199999988079071 [Pipeline] stash 18:35:23 Stashed 1 file(s) [Pipeline] } 18:35:23 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 18:35:23 $ docker stop --time=1 72d8677544b161ae6dfa6d6bcb028c07b5a89d6a1f2166af13e892f32ac6fa7c 18:35:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 18:35:24 $ docker rm -f 72d8677544b161ae6dfa6d6bcb028c07b5a89d6a1f2166af13e892f32ac6fa7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:35:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:43 provisioning config files... 18:35:43 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/42@tmp/config3254416446499036924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:43 ---> docker-login.sh 18:35:43 nexus3.edgexfoundry.org:10001 18:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:44 Configure a credential helper to remove this warning. See 18:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:44 18:35:44 Login Succeeded 18:35:44 nexus3.edgexfoundry.org:10002 18:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:45 Configure a credential helper to remove this warning. See 18:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:45 18:35:45 Login Succeeded 18:35:45 nexus3.edgexfoundry.org:10003 18:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:45 Configure a credential helper to remove this warning. See 18:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:45 18:35:45 Login Succeeded 18:35:45 nexus3.edgexfoundry.org:10004 18:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:45 Configure a credential helper to remove this warning. See 18:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:45 18:35:45 Login Succeeded 18:35:45 docker.io 18:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:46 Configure a credential helper to remove this warning. See 18:35:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:46 18:35:46 Login Succeeded 18:35:46 ---> docker-login.sh ends [Pipeline] } 18:35:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:35:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:47 ========================================================= 18:35:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:35:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:47 + 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 . 18:35:48 Sending build context to Docker daemon 687.1kB 18:35:48 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:35:48 Step 2/13 : FROM ${BASE} AS builder 18:35:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:35:48 9b3977197b4f: Pulling fs layer 18:35:48 1a89e8eeedd5: Pulling fs layer 18:35:48 94645a83ff95: Pulling fs layer 18:35:48 e6fb740bc735: Pulling fs layer 18:35:48 3a77bd46dcc9: Pulling fs layer 18:35:48 355e64cbe906: Pulling fs layer 18:35:48 63ab81a10011: Pulling fs layer 18:35:48 555d1d1c4555: Pulling fs layer 18:35:48 7d9057610161: Pulling fs layer 18:35:48 e6fb740bc735: Waiting 18:35:48 3a77bd46dcc9: Waiting 18:35:48 355e64cbe906: Waiting 18:35:48 63ab81a10011: Waiting 18:35:48 555d1d1c4555: Waiting 18:35:48 7d9057610161: Waiting 18:35:48 94645a83ff95: Verifying Checksum 18:35:48 94645a83ff95: Download complete 18:35:48 1a89e8eeedd5: Verifying Checksum 18:35:48 1a89e8eeedd5: Download complete 18:35:48 3a77bd46dcc9: Verifying Checksum 18:35:48 3a77bd46dcc9: Download complete 18:35:48 355e64cbe906: Verifying Checksum 18:35:48 355e64cbe906: Download complete 18:35:48 9b3977197b4f: Verifying Checksum 18:35:48 9b3977197b4f: Download complete 18:35:48 63ab81a10011: Verifying Checksum 18:35:48 63ab81a10011: Download complete 18:35:49 9b3977197b4f: Pull complete 18:35:49 7d9057610161: Verifying Checksum 18:35:50 1a89e8eeedd5: Pull complete 18:35:50 94645a83ff95: Pull complete 18:35:50 555d1d1c4555: Verifying Checksum 18:35:50 555d1d1c4555: Download complete 18:35:51 e6fb740bc735: Verifying Checksum 18:35:51 e6fb740bc735: Download complete 18:36:03 e6fb740bc735: Pull complete 18:36:03 3a77bd46dcc9: Pull complete 18:36:03 355e64cbe906: Pull complete 18:36:03 63ab81a10011: Pull complete 18:36:10 555d1d1c4555: Pull complete 18:36:11 7d9057610161: Pull complete 18:36:11 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 18:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:36:11 ---> 819e984ddca1 18:36:11 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:36:12 ---> Running in bfb31d7f8208 18:36:13 Removing intermediate container bfb31d7f8208 18:36:13 ---> 26a7c2766e44 18:36:13 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:36:13 ---> Running in dba53bbb4c04 18:36:13 Removing intermediate container dba53bbb4c04 18:36:13 ---> e18e838d14af 18:36:13 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:36:13 ---> Running in 8a3c5b1e5590 18:36:13 Removing intermediate container 8a3c5b1e5590 18:36:13 ---> 9a6ec3d181ab 18:36:13 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:13 ---> Running in e8bebb1fae58 18:36:15 Removing intermediate container e8bebb1fae58 18:36:15 ---> f12dcfe2eb40 18:36:15 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:15 ---> Running in 615a1bd0750d 18:36:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:36:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:36:19 OK: 220 MiB in 52 packages 18:36:20 Removing intermediate container 615a1bd0750d 18:36:20 ---> 90db31793ce6 18:36:20 Step 8/13 : WORKDIR /app 18:36:20 ---> Running in 8a6b48702bd1 18:36:20 Removing intermediate container 8a6b48702bd1 18:36:20 ---> 5dc96e3c5516 18:36:20 Step 9/13 : COPY go.mod vendor* ./ 18:36:21 ---> a4af888eed31 18:36:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:21 ---> Running in 7c2b4d3e9e3e 18:37:08 Removing intermediate container 7c2b4d3e9e3e 18:37:08 ---> d84a79f36629 18:37:08 Step 11/13 : COPY . . 18:37:08 ---> bdd5c3100995 18:37:08 Step 12/13 : ARG MAKE="make build" 18:37:08 ---> Running in fcab947b43ae 18:37:08 Removing intermediate container fcab947b43ae 18:37:08 ---> 074fbad1746d 18:37:08 Step 13/13 : RUN $MAKE 18:37:08 ---> Running in eeb9f243032f 18:37:08 noop 18:37:08 Removing intermediate container eeb9f243032f 18:37:08 ---> 24fd5354994d 18:37:08 Successfully built 24fd5354994d 18:37:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:09 + docker inspect -f . ci-base-image-arm64 18:37:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:09 prd-ubuntu20.04-docker-arm64-4c-16g-17043 does not seem to be running inside a container 18:37:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/42 -v /w/workspace/app-rfid-llrp-inventory/42:/w/workspace/app-rfid-llrp-inventory/42:rw,z -v /w/workspace/app-rfid-llrp-inventory/42@tmp:/w/workspace/app-rfid-llrp-inventory/42@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 18:37:10 $ docker top 695d823f885ea0f99d8d817af1c2a58b63403877dcdbbde82ff85d2138507e74 -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:11 + go version 18:37:11 go version go1.17.7 linux/arm64 [Pipeline] } 18:37:11 $ docker stop --time=1 695d823f885ea0f99d8d817af1c2a58b63403877dcdbbde82ff85d2138507e74 18:37:13 $ docker rm -f 695d823f885ea0f99d8d817af1c2a58b63403877dcdbbde82ff85d2138507e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:14 + docker inspect -f . ci-base-image-arm64 18:37:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:14 prd-ubuntu20.04-docker-arm64-4c-16g-17043 does not seem to be running inside a container 18:37:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/42 -v /w/workspace/app-rfid-llrp-inventory/42:/w/workspace/app-rfid-llrp-inventory/42:rw,z -v /w/workspace/app-rfid-llrp-inventory/42@tmp:/w/workspace/app-rfid-llrp-inventory/42@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 18:37:15 $ docker top db8c7b13b8ace1da42cd0037ea11396447ce288550b73a4aab310974ceeb7d72 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:37:16 + make test 18:37:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:38:53 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 18:38:53 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.239s coverage: 86.2% of statements 18:38:53 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 18:38:53 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.716s coverage: 71.9% of statements 18:38:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:38:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:39:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:39:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:39:12 ./bin/test-attribution.sh [Pipeline] echo 18:39:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:39:12 $ docker stop --time=1 db8c7b13b8ace1da42cd0037ea11396447ce288550b73a4aab310974ceeb7d72 18:39:14 $ docker rm -f db8c7b13b8ace1da42cd0037ea11396447ce288550b73a4aab310974ceeb7d72 [Pipeline] // withDockerContainer [Pipeline] sh 18:39:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:39:15 Warning: overwriting stash ‘coverage-report’ 18:39:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:39:16 + ls -al . 18:39:16 total 228 18:39:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 18:37 . 18:39:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:35 .. 18:39:16 -rw-rw-r-- 1 jenkins jenkins 262 Jul 6 18:35 .dockerignore 18:39:16 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 18:35 .git 18:39:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:35 .github 18:39:16 -rw-rw-r-- 1 jenkins jenkins 788 Jul 6 18:35 .gitignore 18:39:16 -rw-rw-r-- 1 jenkins jenkins 41 Jul 6 18:35 .golangci.yml 18:39:16 -rw-rw-r-- 1 jenkins jenkins 9546 Jul 6 18:35 Attribution.txt 18:39:16 -rw-rw-r-- 1 jenkins jenkins 2487 Jul 6 18:35 CHANGELOG.md 18:39:16 -rw-rw-r-- 1 jenkins jenkins 1933 Jul 6 18:35 Dockerfile 18:39:16 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 18:35 GOVERNANCE.md 18:39:16 -rw-rw-r-- 1 jenkins jenkins 687 Jul 6 18:35 Jenkinsfile 18:39:16 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 6 18:35 LICENSE 18:39:16 -rw-rw-r-- 1 jenkins jenkins 2949 Jul 6 18:35 Makefile 18:39:16 -rw-rw-r-- 1 jenkins jenkins 617 Jul 6 18:35 OWNERS.md 18:39:16 -rw-rw-r-- 1 jenkins jenkins 30359 Jul 6 18:35 README.md 18:39:16 -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 18:33 VERSION 18:39:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:35 bin 18:39:16 -rw-r--r-- 1 jenkins jenkins 41008 Jul 6 18:38 coverage.out 18:39:16 -rw-rw-r-- 1 jenkins jenkins 3538 Jul 6 18:35 go.mod 18:39:16 -rw-rw-r-- 1 jenkins jenkins 37046 Jul 6 18:35 go.sum 18:39:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:35 images 18:39:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:35 internal 18:39:16 -rw-rw-r-- 1 jenkins jenkins 531 Jul 6 18:35 main.go 18:39:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 18:35 res 18:39:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 18:35 snap 18:39:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 18:35 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:16 + 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=5d59561c1133a6ca726020ae56ce39f2a90031a2 --label arch=arm64 --label version=2.2.1-dev.5 . 18:39:16 Sending build context to Docker daemon 687.1kB 18:39:16 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 18:39:16 Step 2/31 : FROM ${BASE} AS builder 18:39:16 ---> 24fd5354994d 18:39:16 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:39:17 ---> Running in ea12595f3c24 18:39:18 Removing intermediate container ea12595f3c24 18:39:18 ---> 1ff5cfb1a141 18:39:18 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 18:39:18 ---> Running in fc54ce309489 18:39:18 Removing intermediate container fc54ce309489 18:39:18 ---> db3869f55f24 18:39:18 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:39:18 ---> Running in 2757baad919b 18:39:18 Removing intermediate container 2757baad919b 18:39:18 ---> 1af4a101ea29 18:39:18 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:39:18 ---> Running in 2acc80df7caf 18:39:20 Removing intermediate container 2acc80df7caf 18:39:20 ---> 6071861fe923 18:39:20 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:20 ---> Running in fcae417c3212 18:39:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:39:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:39:24 OK: 220 MiB in 52 packages 18:39:25 Removing intermediate container fcae417c3212 18:39:25 ---> ce206809a3df 18:39:25 Step 8/31 : WORKDIR /app 18:39:25 ---> Running in 78aa8b0b0a14 18:39:25 Removing intermediate container 78aa8b0b0a14 18:39:25 ---> 0acb49c88ea9 18:39:25 Step 9/31 : COPY go.mod vendor* ./ 18:39:26 ---> 077b8aada3f8 18:39:26 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:26 ---> Running in ebb8bccf3091 18:39:28 Removing intermediate container ebb8bccf3091 18:39:28 ---> 9b904c996ad5 18:39:28 Step 11/31 : COPY . . 18:39:28 ---> 67ceb690ccc4 18:39:28 Step 12/31 : ARG MAKE="make build" 18:39:28 ---> Running in a86d8575af1f 18:39:29 Removing intermediate container a86d8575af1f 18:39:29 ---> 4cef5149e1f6 18:39:29 Step 13/31 : RUN $MAKE 18:39:29 ---> Running in d6eceb182455 18:39:30 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.16 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.2.1-dev.5 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 18:41:37 Removing intermediate container d6eceb182455 18:41:37 ---> af6412fb2131 18:41:37 Step 14/31 : FROM alpine:3.14 18:41:37 3.14: Pulling from library/alpine 18:41:37 455c02918c45: Pulling fs layer 18:41:37 455c02918c45: Verifying Checksum 18:41:37 455c02918c45: Download complete 18:41:37 455c02918c45: Pull complete 18:41:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:41:37 Status: Downloaded newer image for alpine:3.14 18:41:37 ---> ac73e934f311 18:41:37 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:41:37 ---> Running in 2e2901cc2d86 18:41:37 Removing intermediate container 2e2901cc2d86 18:41:37 ---> 92a97b5348f8 18:41:37 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 18:41:37 ---> Running in aef7a1ed1ba6 18:41:37 Removing intermediate container aef7a1ed1ba6 18:41:37 ---> a85c09ce9e08 18:41:37 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:41:37 ---> Running in d1b13c14445d 18:41:37 Removing intermediate container d1b13c14445d 18:41:37 ---> 7f7ae981c23b 18:41:37 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 18:41:37 ---> Running in a5c13826c83b 18:41:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:41:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:41:37 (1/7) Installing ca-certificates (20211220-r0) 18:41:37 (2/7) Installing dumb-init (1.2.5-r1) 18:41:37 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:41:37 (4/7) Installing libsodium (1.0.18-r0) 18:41:37 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:41:37 (6/7) Installing libzmq (4.3.4-r0) 18:41:37 (7/7) Installing zeromq (4.3.4-r0) 18:41:37 Executing busybox-1.33.1-r7.trigger 18:41:37 Executing ca-certificates-20211220-r0.trigger 18:41:37 OK: 9 MiB in 21 packages 18:41:38 Removing intermediate container a5c13826c83b 18:41:38 ---> e34c426b1cc4 18:41:38 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:41:38 ---> c49b7546b2d6 18:41:38 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 18:41:38 ---> 22ae1491fdea 18:41:38 Step 21/31 : COPY --from=builder /app/res/ /res/ 18:41:39 ---> 43ad406191d1 18:41:39 Step 22/31 : COPY --from=builder /app/static/ /static/ 18:41:40 ---> 03ada4945f5b 18:41:40 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 18:41:41 ---> aa62a3f3a886 18:41:41 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 18:41:41 ---> Running in 9486ce3eb8b4 18:41:43 Removing intermediate container 9486ce3eb8b4 18:41:43 ---> bc6caa67c052 18:41:43 Step 25/31 : VOLUME /cache 18:41:43 ---> Running in babba737f26e 18:41:43 Removing intermediate container babba737f26e 18:41:43 ---> 369c496b1999 18:41:43 Step 26/31 : EXPOSE 59711 18:41:43 ---> Running in 681b0ef43991 18:41:44 Removing intermediate container 681b0ef43991 18:41:44 ---> f105ac466a8d 18:41:44 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 18:41:44 ---> Running in 80258538e8d8 18:41:44 Removing intermediate container 80258538e8d8 18:41:44 ---> 90455c28d3ac 18:41:44 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 18:41:44 ---> Running in 21d300baca4b 18:41:44 Removing intermediate container 21d300baca4b 18:41:44 ---> 14917b8bf15e 18:41:44 Step 29/31 : LABEL arch=arm64 18:41:44 ---> Running in 98930068507c 18:41:45 Removing intermediate container 98930068507c 18:41:45 ---> 59ee2215ee42 18:41:45 Step 30/31 : LABEL git_sha=5d59561c1133a6ca726020ae56ce39f2a90031a2 18:41:45 ---> Running in eb6c3b6c966a 18:41:45 Removing intermediate container eb6c3b6c966a 18:41:45 ---> 3868dc9c780a 18:41:45 Step 31/31 : LABEL version=2.2.1-dev.5 18:41:45 ---> Running in b4ec16cee47e 18:41:46 Removing intermediate container b4ec16cee47e 18:41:46 ---> 90211106cd39 18:41:46 [Warning] One or more build-args [ARCH] were not consumed 18:41:46 Successfully built 90211106cd39 18:41:46 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 18:41:46 provisioning config files... 18:41:46 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/42@tmp/config5720275830951084080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:46 ---> docker-login.sh 18:41:46 nexus3.edgexfoundry.org:10001 18:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:46 Configure a credential helper to remove this warning. See 18:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:46 18:41:46 Login Succeeded 18:41:46 nexus3.edgexfoundry.org:10002 18:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:47 Configure a credential helper to remove this warning. See 18:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:47 18:41:47 Login Succeeded 18:41:47 nexus3.edgexfoundry.org:10003 18:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:47 Configure a credential helper to remove this warning. See 18:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:47 18:41:47 Login Succeeded 18:41:47 nexus3.edgexfoundry.org:10004 18:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:48 Configure a credential helper to remove this warning. See 18:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:48 18:41:48 Login Succeeded 18:41:48 docker.io 18:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 ---> docker-login.sh ends [Pipeline] } 18:41:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:41:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:49 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 18:41:49 5d59561c1133a6ca726020ae56ce39f2a90031a2 18:41:49 latest 18:41:49 2.2.1-dev.5 18:41:49 5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 18:41:49 main 18:41:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:49 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:49 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:5d59561c1133a6ca726020ae56ce39f2a90031a2 18:41:49 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 18:41:49 ce6ec4a6be63: Preparing 18:41:49 046d52c8d800: Preparing 18:41:49 df5d3f5c205e: Preparing 18:41:49 a876cdc86794: Preparing 18:41:49 536f97b0c9d7: Preparing 18:41:49 40825184a268: Preparing 18:41:49 268232d363bb: Preparing 18:41:49 730205f94b9b: Preparing 18:41:49 f73e7dbfee58: Preparing 18:41:49 40825184a268: Waiting 18:41:49 268232d363bb: Waiting 18:41:49 730205f94b9b: Waiting 18:41:50 536f97b0c9d7: Pushed 18:41:50 df5d3f5c205e: Pushed 18:41:50 a876cdc86794: Pushed 18:41:50 ce6ec4a6be63: Pushed 18:41:50 f73e7dbfee58: Layer already exists 18:41:50 40825184a268: Pushed 18:41:50 730205f94b9b: Pushed 18:41:51 268232d363bb: Pushed 18:41:56 046d52c8d800: Pushed 18:41:56 5d59561c1133a6ca726020ae56ce39f2a90031a2: digest: sha256:21f27005926108f9097e50635a8e8553553326f14cbb7caa99245dd12281e821 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:57 + 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 18:41:57 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 18:41:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 18:41:57 ce6ec4a6be63: Preparing 18:41:57 046d52c8d800: Preparing 18:41:57 df5d3f5c205e: Preparing 18:41:57 a876cdc86794: Preparing 18:41:57 536f97b0c9d7: Preparing 18:41:57 40825184a268: Preparing 18:41:57 268232d363bb: Preparing 18:41:57 730205f94b9b: Preparing 18:41:57 f73e7dbfee58: Preparing 18:41:57 40825184a268: Waiting 18:41:57 730205f94b9b: Waiting 18:41:57 f73e7dbfee58: Waiting 18:41:57 268232d363bb: Waiting 18:41:57 046d52c8d800: Layer already exists 18:41:57 ce6ec4a6be63: Layer already exists 18:41:57 536f97b0c9d7: Layer already exists 18:41:57 a876cdc86794: Layer already exists 18:41:57 df5d3f5c205e: Layer already exists 18:41:57 f73e7dbfee58: Layer already exists 18:41:57 268232d363bb: Layer already exists 18:41:57 730205f94b9b: Layer already exists 18:41:57 40825184a268: Layer already exists 18:41:57 latest: digest: sha256:21f27005926108f9097e50635a8e8553553326f14cbb7caa99245dd12281e821 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:58 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:58 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.5 18:41:58 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 18:41:58 ce6ec4a6be63: Preparing 18:41:58 046d52c8d800: Preparing 18:41:58 df5d3f5c205e: Preparing 18:41:58 a876cdc86794: Preparing 18:41:58 536f97b0c9d7: Preparing 18:41:58 40825184a268: Preparing 18:41:58 268232d363bb: Preparing 18:41:58 730205f94b9b: Preparing 18:41:58 f73e7dbfee58: Preparing 18:41:58 268232d363bb: Waiting 18:41:58 730205f94b9b: Waiting 18:41:58 f73e7dbfee58: Waiting 18:41:58 40825184a268: Waiting 18:42:00 536f97b0c9d7: Layer already exists 18:42:00 ce6ec4a6be63: Layer already exists 18:42:00 a876cdc86794: Layer already exists 18:42:00 df5d3f5c205e: Layer already exists 18:42:00 046d52c8d800: Layer already exists 18:42:00 40825184a268: Layer already exists 18:42:00 268232d363bb: Layer already exists 18:42:00 f73e7dbfee58: Layer already exists 18:42:00 730205f94b9b: Layer already exists 18:42:00 2.2.1-dev.5: digest: sha256:21f27005926108f9097e50635a8e8553553326f14cbb7caa99245dd12281e821 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:00 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:00 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 18:42:00 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 18:42:00 ce6ec4a6be63: Preparing 18:42:00 046d52c8d800: Preparing 18:42:00 df5d3f5c205e: Preparing 18:42:00 a876cdc86794: Preparing 18:42:00 536f97b0c9d7: Preparing 18:42:00 40825184a268: Preparing 18:42:00 268232d363bb: Preparing 18:42:00 730205f94b9b: Preparing 18:42:00 f73e7dbfee58: Preparing 18:42:00 40825184a268: Waiting 18:42:00 268232d363bb: Waiting 18:42:00 730205f94b9b: Waiting 18:42:00 f73e7dbfee58: Waiting 18:42:00 ce6ec4a6be63: Layer already exists 18:42:00 a876cdc86794: Layer already exists 18:42:00 536f97b0c9d7: Layer already exists 18:42:00 df5d3f5c205e: Layer already exists 18:42:00 046d52c8d800: Layer already exists 18:42:00 f73e7dbfee58: Layer already exists 18:42:00 40825184a268: Layer already exists 18:42:00 268232d363bb: Layer already exists 18:42:00 730205f94b9b: Layer already exists 18:42:01 5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5: digest: sha256:21f27005926108f9097e50635a8e8553553326f14cbb7caa99245dd12281e821 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:01 + 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 18:42:01 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 18:42:01 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 18:42:01 ce6ec4a6be63: Preparing 18:42:01 046d52c8d800: Preparing 18:42:01 df5d3f5c205e: Preparing 18:42:01 a876cdc86794: Preparing 18:42:01 536f97b0c9d7: Preparing 18:42:01 40825184a268: Preparing 18:42:01 268232d363bb: Preparing 18:42:01 730205f94b9b: Preparing 18:42:01 f73e7dbfee58: Preparing 18:42:01 268232d363bb: Waiting 18:42:01 730205f94b9b: Waiting 18:42:01 f73e7dbfee58: Waiting 18:42:01 40825184a268: Waiting 18:42:01 a876cdc86794: Layer already exists 18:42:02 40825184a268: Layer already exists 18:42:02 268232d363bb: Layer already exists 18:42:02 730205f94b9b: Layer already exists 18:42:02 f73e7dbfee58: Layer already exists 18:42:02 ce6ec4a6be63: Layer already exists 18:42:02 536f97b0c9d7: Layer already exists 18:42:03 046d52c8d800: Layer already exists 18:42:03 df5d3f5c205e: Layer already exists 18:42:03 main: digest: sha256:21f27005926108f9097e50635a8e8553553326f14cbb7caa99245dd12281e821 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:42:03 ===================================================== [Pipeline] echo 18:42:03 taggedImages: 18:42:03 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:5d59561c1133a6ca726020ae56ce39f2a90031a2 18:42:03 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 18:42:03 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.2.1-dev.5 18:42:03 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:5d59561c1133a6ca726020ae56ce39f2a90031a2-2.2.1-dev.5 18:42:03 - 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 18:42:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:42:03 18:42:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:42:04 arm64: Pulling from edgex-lftools-log-publisher 18:42:04 8998bd30e6a1: Pulling fs layer 18:42:04 04944245beec: Pulling fs layer 18:42:04 699f458cf7ca: Pulling fs layer 18:42:04 765212b225bb: Pulling fs layer 18:42:04 f23df028b6ca: Pulling fs layer 18:42:04 d65c8cfc05b1: Pulling fs layer 18:42:04 2437ff75d9bd: Pulling fs layer 18:42:04 765212b225bb: Waiting 18:42:04 f23df028b6ca: Waiting 18:42:04 d65c8cfc05b1: Waiting 18:42:04 2437ff75d9bd: Waiting 18:42:04 04944245beec: Verifying Checksum 18:42:04 04944245beec: Download complete 18:42:04 765212b225bb: Verifying Checksum 18:42:04 765212b225bb: Download complete 18:42:04 f23df028b6ca: Download complete 18:42:04 d65c8cfc05b1: Verifying Checksum 18:42:04 d65c8cfc05b1: Download complete 18:42:04 699f458cf7ca: Verifying Checksum 18:42:04 699f458cf7ca: Download complete 18:42:05 8998bd30e6a1: Download complete 18:42:07 2437ff75d9bd: Verifying Checksum 18:42:07 2437ff75d9bd: Download complete 18:42:09 8998bd30e6a1: Pull complete 18:42:09 04944245beec: Pull complete 18:42:10 699f458cf7ca: Pull complete 18:42:11 765212b225bb: Pull complete 18:42:11 f23df028b6ca: Pull complete 18:42:12 d65c8cfc05b1: Pull complete 18:42:27 2437ff75d9bd: Pull complete 18:42:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:42:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:28 prd-ubuntu20.04-docker-arm64-4c-16g-17043 does not seem to be running inside a container 18:42:28 $ 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/42 -v /w/workspace/app-rfid-llrp-inventory/42:/w/workspace/app-rfid-llrp-inventory/42:rw,z -v /w/workspace/app-rfid-llrp-inventory/42@tmp:/w/workspace/app-rfid-llrp-inventory/42@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 18:42:31 $ docker top 197681b899fae6ac543f9cff409553f2d0f0c2f4c06ff8dd8f38bd434498f714 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:32 ---> job-cost.sh 18:42:32 lf-activate-venv: SKIPPING 18:42:32 INFO: No Stack... 18:42:32 INFO: Retrieving Pricing Info for: v3-standard-4 18:42:33 INFO: Archiving Costs [Pipeline] sh 18:42:34 + cat /w/workspace/app-rfid-llrp-inventory/42/archives/cost.csv 18:42:34 + cut -d, -f6 [Pipeline] lock 18:42:34 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] 18:42:34 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] did not exist. Created. 18:42:34 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:34 /w/workspace/app-rfid-llrp-inventory/42@tmp/durable-a0cf9cd8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:42:35 + echo total: 0.10999999940395355 [Pipeline] stash 18:42:35 Warning: overwriting stash ‘stack-cost’ 18:42:35 Stashed 1 file(s) [Pipeline] } 18:42:35 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 18:42:35 $ docker stop --time=1 197681b899fae6ac543f9cff409553f2d0f0c2f4c06ff8dd8f38bd434498f714 18:42:37 $ docker rm -f 197681b899fae6ac543f9cff409553f2d0f0c2f4c06ff8dd8f38bd434498f714 [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 18:42:37 provisioning config files... 18:42:37 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6566369654179967259tmp [Pipeline] { [Pipeline] sh 18:42:38 + set +x 18:42:38 + curl -s https://codecov.io/bash 18:42:38 + bash -s -- 18:42:38 18:42:38 _____ _ 18:42:38 / ____| | | 18:42:38 | | ___ __| | ___ ___ _____ __ 18:42:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:42:38 | |___| (_) | (_| | __/ (_| (_) \ V / 18:42:38 \_____\___/ \__,_|\___|\___\___/ \_/ 18:42:38 Bash-1.0.6 18:42:38 18:42:38 18:42:38 ==> git version 2.25.1 found 18:42:38 ==> 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 18:42:38 Release-Date: 2020-01-08 18:42:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:42:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:42:38 ==> Jenkins CI detected. 18:42:38 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 18:42:38 project root: . 18:42:38 --> token set from env 18:42:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:42:38 ==> Running gcov in . (disable via -X gcov) 18:42:38 ==> Python coveragepy not found 18:42:38 ==> Searching for coverage reports in: 18:42:38 + . 18:42:38 -> Found 1 reports 18:42:38 ==> Detecting git/mercurial file structure 18:42:38 ==> Reading reports 18:42:38 + ./coverage.out bytes=41008 18:42:38 ==> Appending adjustments 18:42:38 https://docs.codecov.io/docs/fixing-reports 18:42:38 + Found adjustments 18:42:38 ==> Gzipping contents 18:42:38 12K /tmp/codecov.9f1dHy.gz 18:42:38 ==> Uploading reports 18:42:38 url: https://codecov.io 18:42:38 query: branch=main&commit=5d59561c1133a6ca726020ae56ce39f2a90031a2&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 18:42:38 -> Pinging Codecov 18:42:38 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=5d59561c1133a6ca726020ae56ce39f2a90031a2&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 18:42:39 -> Uploading to 18:42:39 https://storage.googleapis.com/codecov/v4/raw/2022-07-06/581DD39554BDF9B6E22D074273EAD858/5d59561c1133a6ca726020ae56ce39f2a90031a2/d6e31b2e-f943-40f5-af05-aad8019cdc6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220706T184238Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8992b032993b7d46e76be5ff0f01bd737b29dd92090d167cc17d2961cb95989 18:42:39 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:39 Dload Upload Total Spent Left Speed 18:42:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11492 0 0 100 11492 0 39902 --:--:-- --:--:-- --:--:-- 39902 18:42:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] } 18:42:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:42:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:42:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:39 18:42:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:42:40 df9b9388f04a: Pulling fs layer 18:42:40 52dc419b0ee2: Pulling fs layer 18:42:40 25bc292e5bac: Pulling fs layer 18:42:40 114826534d7a: Pulling fs layer 18:42:40 4657fd5d0bcf: Pulling fs layer 18:42:40 6ad1cebc031e: Pulling fs layer 18:42:40 8a3aa393b2d8: Pulling fs layer 18:42:40 6ad1cebc031e: Waiting 18:42:40 114826534d7a: Waiting 18:42:40 4657fd5d0bcf: Waiting 18:42:40 8a3aa393b2d8: Waiting 18:42:40 25bc292e5bac: Verifying Checksum 18:42:40 25bc292e5bac: Download complete 18:42:40 52dc419b0ee2: Verifying Checksum 18:42:40 52dc419b0ee2: Download complete 18:42:40 4657fd5d0bcf: Verifying Checksum 18:42:40 4657fd5d0bcf: Download complete 18:42:40 df9b9388f04a: Download complete 18:42:40 6ad1cebc031e: Verifying Checksum 18:42:40 6ad1cebc031e: Download complete 18:42:40 df9b9388f04a: Pull complete 18:42:40 52dc419b0ee2: Pull complete 18:42:40 25bc292e5bac: Pull complete 18:42:41 114826534d7a: Verifying Checksum 18:42:41 114826534d7a: Download complete 18:42:41 8a3aa393b2d8: Verifying Checksum 18:42:41 8a3aa393b2d8: Download complete 18:42:44 114826534d7a: Pull complete 18:42:44 4657fd5d0bcf: Pull complete 18:42:45 6ad1cebc031e: Pull complete 18:42:48 8a3aa393b2d8: Pull complete 18:42:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:42:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:48 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:42:48 $ 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 18:42:51 $ docker top c3a6cf38f95202710e1228cbae1b65c1b8a94b530d66a1a7e3f83d1197a96cd6 -eo pid,comm [Pipeline] { [Pipeline] echo 18:42:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 18:42:51 + set -o pipefail 18:42:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 18:42:56 18:42:56 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 18:42:56 18:42:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/70901dd4-e9d6-49a5-b152-2441ef30b474 18:42:56 18:42:56 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:42:56 18:42:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:42:56 18:42:56 18:42:56 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:42:56 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:42:56 $ docker stop --time=1 c3a6cf38f95202710e1228cbae1b65c1b8a94b530d66a1a7e3f83d1197a96cd6 18:42:59 $ docker rm -f c3a6cf38f95202710e1228cbae1b65c1b8a94b530d66a1a7e3f83d1197a96cd6 [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 18:42:59 + git log --format=format:%s -1 5d59561c1133a6ca726020ae56ce39f2a90031a2 [Pipeline] sh 18:43:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:00 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:43:00 $ 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 18:43:01 $ docker top fcbff26a0b39260e0d34d7b8a083aec1b556184a42d380615c28fae8a7e4b642 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:01 [ssh-agent] Looking for ssh-agent implementation... 18:43:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:01 $ docker exec fcbff26a0b39260e0d34d7b8a083aec1b556184a42d380615c28fae8a7e4b642 ssh-agent 18:43:01 SSH_AUTH_SOCK=/tmp/ssh-SbSVokxqIkGF/agent.32 18:43:01 SSH_AGENT_PID=38 18:43:01 Running ssh-add (command line suppressed) 18:43:01 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7045241252070904756.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7045241252070904756.key) 18:43:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:01 + git semver tag 18:43:02 2022-07-06 18:43:02,127 [run_tag] DEBUG tag force:False 18:43:02 2022-07-06 18:43:02,127 [check_head_tag] DEBUG check head tag 18:43:02 2022-07-06 18:43:02,127 [execute] INFO git cat-file --batch-check 18:43:02 2022-07-06 18:43:02,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 18:43:02 2022-07-06 18:43:02,132 [execute] INFO git cat-file --batch 18:43:02 2022-07-06 18:43:02,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 18:43:02 2022-07-06 18:43:02,140 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:43:02 2022-07-06 18:43:02,140 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 18:43:02 2022-07-06 18:43:02,141 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 18:43:02 2022-07-06 18:43:02,145 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:43:02 2.2.1-dev.5 [Pipeline] } 18:43:02 $ docker exec --env ******** --env ******** fcbff26a0b39260e0d34d7b8a083aec1b556184a42d380615c28fae8a7e4b642 ssh-agent -k 18:43:02 unset SSH_AUTH_SOCK; 18:43:02 unset SSH_AGENT_PID; 18:43:02 echo Agent pid 38 killed; 18:43:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:02 + git semver [Pipeline] } 18:43:02 $ docker stop --time=1 fcbff26a0b39260e0d34d7b8a083aec1b556184a42d380615c28fae8a7e4b642 18:43:04 $ docker rm -f fcbff26a0b39260e0d34d7b8a083aec1b556184a42d380615c28fae8a7e4b642 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:43:04 18:43:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:43:04 0.23.1-centos7: Pulling from edgex-lftools 18:43:04 ab5ef0e58194: Pulling fs layer 18:43:04 9712f1f96733: Pulling fs layer 18:43:04 63f879dbbcfc: Pulling fs layer 18:43:04 0d9ebad4ef96: Pulling fs layer 18:43:04 e9a5061849ea: Pulling fs layer 18:43:04 d747dcd14b5f: Pulling fs layer 18:43:04 2de7ff778b66: Pulling fs layer 18:43:04 d747dcd14b5f: Waiting 18:43:04 0d9ebad4ef96: Waiting 18:43:04 e9a5061849ea: Waiting 18:43:04 9712f1f96733: Verifying Checksum 18:43:04 9712f1f96733: Download complete 18:43:05 63f879dbbcfc: Verifying Checksum 18:43:05 63f879dbbcfc: Download complete 18:43:05 e9a5061849ea: Verifying Checksum 18:43:05 e9a5061849ea: Download complete 18:43:05 d747dcd14b5f: Download complete 18:43:05 ab5ef0e58194: Verifying Checksum 18:43:05 ab5ef0e58194: Download complete 18:43:05 0d9ebad4ef96: Verifying Checksum 18:43:05 0d9ebad4ef96: Download complete 18:43:05 2de7ff778b66: Verifying Checksum 18:43:05 2de7ff778b66: Download complete 18:43:08 ab5ef0e58194: Pull complete 18:43:08 9712f1f96733: Pull complete 18:43:09 63f879dbbcfc: Pull complete 18:43:13 0d9ebad4ef96: Pull complete 18:43:13 e9a5061849ea: Pull complete 18:43:13 d747dcd14b5f: Pull complete 18:43:15 2de7ff778b66: Pull complete 18:43:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:43:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:15 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:43:15 $ 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 18:43:19 $ docker top a6d0e6caee944acd63dc0a69a4ab47b94720b9e21090d3656573fe3ff1fcbdbc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:43:19 provisioning config files... 18:43:19 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6109944231884310702tmp 18:43:19 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7526413369262991468tmp 18:43:19 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6809554080450780935tmp [Pipeline] { [Pipeline] echo 18:43:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:43:19 ---> sigul-configuration.sh 18:43:19 gpg: directory `/root/.gnupg' created 18:43:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:43:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:43:19 gpg: keyring `/root/.gnupg/secring.gpg' created 18:43:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:43:19 gpg: CAST5 encrypted data 18:43:19 gpg: encrypted with 1 passphrase 18:43:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:43:20 + mkdir /home/jenkins 18:43:20 + mkdir /home/jenkins/sigul [Pipeline] sh 18:43:20 + 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 18:43:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:43:20 ---> sigul-install.sh 18:43:20 Sigul already installed; skipping installation. [Pipeline] sh 18:43:20 + git tag --list 18:43:20 v0.0.0 18:43:20 v1.0.0 18:43:20 v2.1.0 18:43:20 v2.1.1 18:43:20 v2.1.1-dev.1 18:43:20 v2.2.0 18:43:20 v2.2.1-dev.1 18:43:20 v2.2.1-dev.2 18:43:20 v2.2.1-dev.3 18:43:20 v2.2.1-dev.4 18:43:20 v2.2.1-dev.5 [Pipeline] sh 18:43:21 + lftools sign git-tag v2.2.1-dev.5 18:43:21 Signing Git tag with Sigul... 18:43:21 Signing v2.2.1-dev.5 [Pipeline] echo 18:43:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:43:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:43:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:43:22 $ docker stop --time=1 a6d0e6caee944acd63dc0a69a4ab47b94720b9e21090d3656573fe3ff1fcbdbc 18:43:24 $ docker rm -f a6d0e6caee944acd63dc0a69a4ab47b94720b9e21090d3656573fe3ff1fcbdbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:43:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:25 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:43: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 18:43:25 $ docker top a01be41a676def5f642ccc635cdbfee038e70fcbdeac09ff8d069ec87dc12434 -eo pid,comm 18:43:25 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). 18:43:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:25 [ssh-agent] Looking for ssh-agent implementation... 18:43:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:26 $ docker exec a01be41a676def5f642ccc635cdbfee038e70fcbdeac09ff8d069ec87dc12434 ssh-agent 18:43:26 SSH_AUTH_SOCK=/tmp/ssh-sh9uyVTLxAHe/agent.32 18:43:26 SSH_AGENT_PID=39 18:43:26 Running ssh-add (command line suppressed) 18:43:26 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5294215746174512997.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5294215746174512997.key) 18:43:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:26 + git semver bump pre 18:43:27 2022-07-06 18:43:27,155 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:43:27 2022-07-06 18:43:27,156 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev 18:43:27 2022-07-06 18:43:27,156 [bump_version] DEBUG bumped version:2.2.1-dev.6 18:43:27 2022-07-06 18:43:27,156 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 18:43:27 2022-07-06 18:43:27,156 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:43:27 2022-07-06 18:43:27,156 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:43:27 2022-07-06 18:43:27,158 [execute] INFO git cat-file --batch-check 18:43:27 2022-07-06 18:43:27,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 18:43:27 2022-07-06 18:43:27,163 [execute] INFO git cat-file --batch 18:43:27 2022-07-06 18:43:27,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 18:43:27 2022-07-06 18:43:27,167 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:43:27 2.2.1-dev.6 [Pipeline] } 18:43:27 $ docker exec --env ******** --env ******** a01be41a676def5f642ccc635cdbfee038e70fcbdeac09ff8d069ec87dc12434 ssh-agent -k 18:43:27 unset SSH_AUTH_SOCK; 18:43:27 unset SSH_AGENT_PID; 18:43:27 echo Agent pid 39 killed; 18:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:28 + git semver [Pipeline] } 18:43:28 $ docker stop --time=1 a01be41a676def5f642ccc635cdbfee038e70fcbdeac09ff8d069ec87dc12434 18:43:30 $ docker rm -f a01be41a676def5f642ccc635cdbfee038e70fcbdeac09ff8d069ec87dc12434 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:31 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:43:31 $ 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 18:43:31 $ docker top 9206078d056865edc13cf387897f4f76e819ad2f8f17f5ef838994e08b9f5bf1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:31 [ssh-agent] Looking for ssh-agent implementation... 18:43:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:31 $ docker exec 9206078d056865edc13cf387897f4f76e819ad2f8f17f5ef838994e08b9f5bf1 ssh-agent 18:43:32 SSH_AUTH_SOCK=/tmp/ssh-hgbaESVCegL6/agent.32 18:43:32 SSH_AGENT_PID=38 18:43:32 Running ssh-add (command line suppressed) 18:43:32 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8178881313487921844.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8178881313487921844.key) 18:43:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:32 + git semver push 18:43:32 2022-07-06 18:43:32,801 [run_push] DEBUG push 18:43:32 2022-07-06 18:43:32,802 [execute] INFO git cat-file --batch-check 18:43:32 2022-07-06 18:43:32,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 18:43:32 2022-07-06 18:43:32,805 [execute] INFO git rev-list 44c3c022413dfca04a997caef44aabf95df1ff93 -- 18:43:32 2022-07-06 18:43:32,806 [execute] DEBUG Popen(['git', 'rev-list', '44c3c022413dfca04a997caef44aabf95df1ff93', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 18:43:32 2022-07-06 18:43:32,810 [execute] INFO git fetch -v origin 18:43:32 2022-07-06 18:43:32,810 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 18:43:33 2022-07-06 18:43:33,460 [run_push] DEBUG no remote changes detected 18:43:33 2022-07-06 18:43:33,461 [execute] INFO git push origin semver 18:43:33 2022-07-06 18:43:33,461 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 18:43:34 2022-07-06 18:43:34,452 [run_push] DEBUG push all version tags 18:43:34 2022-07-06 18:43:34,453 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:43:34 2022-07-06 18:43:34,453 [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) 18:43:35 2022-07-06 18:43:35,360 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 18:43:35 2.2.1-dev.6 [Pipeline] } 18:43:35 $ docker exec --env ******** --env ******** 9206078d056865edc13cf387897f4f76e819ad2f8f17f5ef838994e08b9f5bf1 ssh-agent -k 18:43:35 unset SSH_AUTH_SOCK; 18:43:35 unset SSH_AGENT_PID; 18:43:35 echo Agent pid 38 killed; 18:43:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:36 + git semver [Pipeline] } 18:43:36 $ docker stop --time=1 9206078d056865edc13cf387897f4f76e819ad2f8f17f5ef838994e08b9f5bf1 18:43:37 $ docker rm -f 9206078d056865edc13cf387897f4f76e819ad2f8f17f5ef838994e08b9f5bf1 [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 18:43:38 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 18:43:38 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 18:43:38 total 16 18:43:38 drwxr-xr-x 3 root root 4096 Jul 6 18:35 . 18:43:38 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 18:43 .. 18:43:38 drwxr-xr-x 2 root root 4096 Jul 6 18:35 cost 18:43:38 -rw-r--r-- 1 root root 93 Jul 6 18:35 cost.csv 18:43:38 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 18:43:38 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 18:43:38 total 16 18:43:38 drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 18:35 . 18:43:38 drwxrwxr-x 12 jenkins jenkins 4096 Jul 6 18:43 .. 18:43:38 drwxr-xr-x 2 jenkins jenkins 4096 Jul 6 18:35 cost 18:43:38 -rw-r--r-- 1 jenkins jenkins 93 Jul 6 18:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:43:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:43:39 ---> package-listing.sh 18:43:39 ++ facter osfamily 18:43:39 ++ tr '[:upper:]' '[:lower:]' 18:43:39 + OS_FAMILY=debian 18:43:39 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 18:43:39 + START_PACKAGES=/tmp/packages_start.txt 18:43:39 + END_PACKAGES=/tmp/packages_end.txt 18:43:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:43:39 + PACKAGES=/tmp/packages_start.txt 18:43:39 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 18:43:39 + PACKAGES=/tmp/packages_end.txt 18:43:39 + case "${OS_FAMILY}" in 18:43:39 + dpkg -l 18:43:39 + grep '^ii' 18:43:39 + '[' -f /tmp/packages_start.txt ']' 18:43:39 + '[' -f /tmp/packages_end.txt ']' 18:43:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:43:39 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 18:43:39 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 18:43:39 + 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 18:43:39 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 18:43:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:40 prd-ubuntu20.04-docker-8c-8g-17042 does not seem to be running inside a container 18:43:40 $ 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 18:43:41 $ docker top 51084992981d81b14b68147c57e323aefd55f2eca4ce8469875f595ed7eef8ac -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:41 + touch /tmp/pre-build-complete [Pipeline] sh 18:43:41 + mkdir -p /var/log/sysstat [Pipeline] sh 18:43:42 + ls /var/log/sa-host 18:43:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:42 provisioning config files... 18:43:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9028065318225521899tmp [Pipeline] { [Pipeline] echo 18:43:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:43:42 ---> create-netrc.sh [Pipeline] } 18:43:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:43:42 ---> python-tools-install.sh [Pipeline] echo 18:43:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:43:43 ---> sudo-logs.sh 18:43:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:43:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:43:43 ---> job-cost.sh 18:43:43 lf-activate-venv: SKIPPING 18:43:43 DEBUG: total: 0.2199999988079071 18:43:43 INFO: Retrieving Stack Cost... 18:43:44 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:44 INFO: Archiving Costs [Pipeline] echo 18:43:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:43:44 ---> logs-deploy.sh 18:43:44 lf-activate-venv: SKIPPING 18:43:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/42 18:43:44 INFO: archiving workspace using pattern(s): 18:43:45 Archives upload complete. 18:43:45 INFO: archiving logs to Nexus