Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 309a8ffa72e20d4133c7d51cd0433ba4077d6858 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-ssh5377160481224003956.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh13524868600087740971.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11390206529416328166.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh4058939274378092004.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh15949600230579699665.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-48077 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 309a8ffa72e20d4133c7d51cd0433ba4077d6858 (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 309a8ffa72e20d4133c7d51cd0433ba4077d6858 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#80)" > git rev-list --no-walk 1e8568491c2976ba30b0b11b80a5108cdbbaf7e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:13:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:48 ========================================================= 20:13:48 EdgeX Global Pipelines Version Info 20:13:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:13:49 ------------------- 20:13:49 stable info: 20:13:49 ------------------- 20:13:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:49 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 20:13:49 Message: update stable to v1.0.227 20:13:49 ------------------- 20:13:49 experimental info: 20:13:49 ------------------- 20:13:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:49 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 20:13:49 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 309a8ff [Pipeline] echo 20:13:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:50 provisioning config files... 20:13:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7911678823309223006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:50 ---> docker-login.sh 20:13:50 nexus3.edgexfoundry.org:10001 20:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:51 Configure a credential helper to remove this warning. See 20:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:51 20:13:51 Login Succeeded 20:13:51 nexus3.edgexfoundry.org:10002 20:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:51 Configure a credential helper to remove this warning. See 20:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:51 20:13:51 Login Succeeded 20:13:51 nexus3.edgexfoundry.org:10003 20:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:51 Configure a credential helper to remove this warning. See 20:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:51 20:13:51 Login Succeeded 20:13:51 nexus3.edgexfoundry.org:10004 20:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:51 Configure a credential helper to remove this warning. See 20:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:51 20:13:51 Login Succeeded 20:13:51 docker.io 20:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:52 Configure a credential helper to remove this warning. See 20:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:52 20:13:52 Login Succeeded 20:13:52 ---> docker-login.sh ends [Pipeline] } 20:13:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:13:52 + git rev-list -1 --merges 309a8ffa72e20d4133c7d51cd0433ba4077d6858~1..309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] echo 20:13:52 -----------> git rev-list -1 --merges 309a8ffa72e20d4133c7d51cd0433ba4077d6858~1..309a8ffa72e20d4133c7d51cd0433ba4077d6858 309a8ffa72e20d4133c7d51cd0433ba4077d6858 [false] [Pipeline] sh 20:13:53 + git log --format=format:%s -1 309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] echo 20:13:53 ========================================================= 20:13:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:13:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:53 + git log --format=format:%s -1 309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] echo 20:13:53 [semverPrep] GIT_COMMIT: 309a8ffa72e20d4133c7d51cd0433ba4077d6858, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#80) [Pipeline] echo 20:13:53 [semverPrep] This is not a build commit. [Pipeline] sh 20:13:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:13:54 + grep -v github /etc/ssh/ssh_known_hosts 20:13:54 + [ -e /tmp/ssh_known_hosts ] 20:13:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:13:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:13:54 + sudo tee -a /etc/ssh/ssh_known_hosts 20:13:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:13:54 20:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:13:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:13:54 latest: Pulling from edgex-devops/py-git-semver 20:13:54 1fe172e4850f: Pulling fs layer 20:13:54 caf521ccaac6: Pulling fs layer 20:13:54 3ead6fa29328: Pulling fs layer 20:13:54 5c2a1cbceb83: Pulling fs layer 20:13:54 a8d5f1318db7: Pulling fs layer 20:13:54 c427282e49a2: Pulling fs layer 20:13:54 1827001aaf11: Pulling fs layer 20:13:54 0714d37db230: Pulling fs layer 20:13:54 ac28cf19c067: Pulling fs layer 20:13:54 ca983d60f3e2: Pulling fs layer 20:13:54 9f894cec8388: Pulling fs layer 20:13:54 5c2a1cbceb83: Waiting 20:13:54 c427282e49a2: Waiting 20:13:54 ac28cf19c067: Waiting 20:13:54 1827001aaf11: Waiting 20:13:54 ca983d60f3e2: Waiting 20:13:54 caf521ccaac6: Verifying Checksum 20:13:54 caf521ccaac6: Download complete 20:13:54 5c2a1cbceb83: Download complete 20:13:54 a8d5f1318db7: Verifying Checksum 20:13:54 a8d5f1318db7: Download complete 20:13:55 c427282e49a2: Download complete 20:13:55 3ead6fa29328: Verifying Checksum 20:13:55 3ead6fa29328: Download complete 20:13:55 0714d37db230: Verifying Checksum 20:13:55 0714d37db230: Download complete 20:13:55 ac28cf19c067: Verifying Checksum 20:13:55 ac28cf19c067: Download complete 20:13:55 ca983d60f3e2: Download complete 20:13:55 9f894cec8388: Download complete 20:13:55 1fe172e4850f: Verifying Checksum 20:13:55 1fe172e4850f: Download complete 20:13:55 1827001aaf11: Verifying Checksum 20:13:55 1827001aaf11: Download complete 20:13:56 1fe172e4850f: Pull complete 20:13:56 caf521ccaac6: Pull complete 20:13:57 3ead6fa29328: Pull complete 20:13:57 5c2a1cbceb83: Pull complete 20:13:57 a8d5f1318db7: Pull complete 20:13:57 c427282e49a2: Pull complete 20:13:59 1827001aaf11: Pull complete 20:13:59 0714d37db230: Pull complete 20:13:59 ac28cf19c067: Pull complete 20:13:59 ca983d60f3e2: Pull complete 20:13:59 9f894cec8388: Pull complete 20:13:59 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:13:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 20:13:59 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 20:13:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 20:14:01 $ docker top 490a23b724e51a951d9d1325fd59555d9fc781de19c1ae880922f7aa3a26eb6e -eo pid,comm 20:14:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:14:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:14:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:01 [ssh-agent] Looking for ssh-agent implementation... 20:14:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:01 $ docker exec 490a23b724e51a951d9d1325fd59555d9fc781de19c1ae880922f7aa3a26eb6e ssh-agent 20:14:01 SSH_AUTH_SOCK=/tmp/ssh-BhcTNRWSvKKq/agent.32 20:14:01 SSH_AGENT_PID=38 20:14:01 Running ssh-add (command line suppressed) 20:14:01 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7261043151197077785.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7261043151197077785.key) 20:14:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:02 + git tag --points-at HEAD [Pipeline] } 20:14:02 $ docker exec --env ******** --env ******** 490a23b724e51a951d9d1325fd59555d9fc781de19c1ae880922f7aa3a26eb6e ssh-agent -k 20:14:02 unset SSH_AUTH_SOCK; 20:14:02 unset SSH_AGENT_PID; 20:14:02 echo Agent pid 38 killed; 20:14:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:02 [ssh-agent] Looking for ssh-agent implementation... 20:14:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:02 $ docker exec 490a23b724e51a951d9d1325fd59555d9fc781de19c1ae880922f7aa3a26eb6e ssh-agent 20:14:02 SSH_AUTH_SOCK=/tmp/ssh-W15CUt6hAj7X/agent.73 20:14:02 SSH_AGENT_PID=80 20:14:02 Running ssh-add (command line suppressed) 20:14:02 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5292742831032819116.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_5292742831032819116.key) 20:14:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:03 + git semver init 20:14:03 2022-05-10 20:14:03,307 [run_init] DEBUG init version:0.0.0 force:False 20:14:03 2022-05-10 20:14:03,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 20:14:03 2022-05-10 20:14:03,309 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 20:14:03 2022-05-10 20:14:03,309 [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) 20:14:04 2022-05-10 20:14:04,354 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 20:14:04 2022-05-10 20:14:04,354 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 20:14:04 2022-05-10 20:14:04,355 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:14:04 2022-05-10 20:14:04,355 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 20:14:04 2.1.0-dev.14 [Pipeline] } 20:14:04 $ docker exec --env ******** --env ******** 490a23b724e51a951d9d1325fd59555d9fc781de19c1ae880922f7aa3a26eb6e ssh-agent -k 20:14:04 unset SSH_AUTH_SOCK; 20:14:04 unset SSH_AGENT_PID; 20:14:04 echo Agent pid 80 killed; 20:14:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:05 + git semver [Pipeline] } 20:14:05 $ docker stop --time=1 490a23b724e51a951d9d1325fd59555d9fc781de19c1ae880922f7aa3a26eb6e 20:14:06 $ docker rm -f 490a23b724e51a951d9d1325fd59555d9fc781de19c1ae880922f7aa3a26eb6e [Pipeline] // withDockerContainer [Pipeline] sh 20:14:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:07 Stashed 1 file(s) [Pipeline] echo 20:14:07 [edgeXSemver]: initialized semver on version 2.1.0-dev.14 [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 20:14:07 provisioning config files... 20:14:07 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4540125391759715901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:07 ---> docker-login.sh 20:14:07 nexus3.edgexfoundry.org:10001 20:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:07 Configure a credential helper to remove this warning. See 20:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:07 20:14:07 Login Succeeded 20:14:07 nexus3.edgexfoundry.org:10002 20:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 nexus3.edgexfoundry.org:10003 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 nexus3.edgexfoundry.org:10004 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 docker.io 20:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:08 Configure a credential helper to remove this warning. See 20:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:08 20:14:08 Login Succeeded 20:14:08 ---> docker-login.sh ends [Pipeline] } 20:14:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:08 ========================================================= 20:14:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:14:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:14:09 + 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 . 20:14:09 Sending build context to Docker daemon 12.39MB 20:14:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 20:14:09 Step 2/13 : FROM ${BASE} AS builder 20:14:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:09 59bf1c3509f3: Pulling fs layer 20:14:09 666ba61612fd: Pulling fs layer 20:14:09 8ed8ca486205: Pulling fs layer 20:14:09 4fe6c5a15a65: Pulling fs layer 20:14:09 22a0e8bec74d: Pulling fs layer 20:14:09 ca2b28591e48: Pulling fs layer 20:14:09 a51346096db8: Pulling fs layer 20:14:09 daebc70d1ce1: Pulling fs layer 20:14:09 4fe6c5a15a65: Waiting 20:14:09 0e18a0eac166: Pulling fs layer 20:14:09 22a0e8bec74d: Waiting 20:14:09 ca2b28591e48: Waiting 20:14:09 a51346096db8: Waiting 20:14:09 daebc70d1ce1: Waiting 20:14:09 0e18a0eac166: Waiting 20:14:09 8ed8ca486205: Verifying Checksum 20:14:09 666ba61612fd: Download complete 20:14:09 22a0e8bec74d: Verifying Checksum 20:14:09 22a0e8bec74d: Download complete 20:14:09 ca2b28591e48: Verifying Checksum 20:14:09 ca2b28591e48: Download complete 20:14:09 59bf1c3509f3: Download complete 20:14:09 a51346096db8: Verifying Checksum 20:14:09 a51346096db8: Download complete 20:14:09 daebc70d1ce1: Verifying Checksum 20:14:09 daebc70d1ce1: Download complete 20:14:09 59bf1c3509f3: Pull complete 20:14:09 666ba61612fd: Pull complete 20:14:09 8ed8ca486205: Pull complete 20:14:09 0e18a0eac166: Download complete 20:14:10 4fe6c5a15a65: Verifying Checksum 20:14:10 4fe6c5a15a65: Download complete 20:14:14 4fe6c5a15a65: Pull complete 20:14:14 22a0e8bec74d: Pull complete 20:14:14 ca2b28591e48: Pull complete 20:14:14 a51346096db8: Pull complete 20:14:14 daebc70d1ce1: Pull complete 20:14:16 0e18a0eac166: Pull complete 20:14:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:14:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:14:16 ---> f018257e8ee9 20:14:16 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:14:17 ---> Running in 1201873ef87d 20:14:17 Removing intermediate container 1201873ef87d 20:14:17 ---> 098a42c11130 20:14:17 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:14:17 ---> Running in 0b5bffb91adc 20:14:17 Removing intermediate container 0b5bffb91adc 20:14:17 ---> bd3ad3879d15 20:14:17 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:14:17 ---> Running in 9ee4788e655d 20:14:18 Removing intermediate container 9ee4788e655d 20:14:18 ---> b2d2743b8093 20:14:18 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:18 ---> Running in 2689db3040a3 20:14:18 Removing intermediate container 2689db3040a3 20:14:18 ---> f0e8088a6aaf 20:14:18 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:18 ---> Running in f1f3b0f332d2 20:14:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:14:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:14:20 OK: 221 MiB in 52 packages 20:14:20 Removing intermediate container f1f3b0f332d2 20:14:20 ---> b20a38527093 20:14:20 Step 8/13 : WORKDIR /app 20:14:20 ---> Running in 98d48c29ffe6 20:14:20 Removing intermediate container 98d48c29ffe6 20:14:20 ---> f114d195a8e1 20:14:20 Step 9/13 : COPY go.mod vendor* ./ 20:14:20 ---> d393e740410d 20:14:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:20 ---> Running in ba7e9f23a157 20:14:22 Still waiting to schedule task 20:14:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:14:35 Removing intermediate container ba7e9f23a157 20:14:35 ---> 889ea9455f41 20:14:35 Step 11/13 : COPY . . 20:14:35 ---> c0235720f5d9 20:14:35 Step 12/13 : ARG MAKE="make build" 20:14:35 ---> Running in b165e524fe36 20:14:35 Removing intermediate container b165e524fe36 20:14:35 ---> de2bee919ad5 20:14:35 Step 13/13 : RUN $MAKE 20:14:35 ---> Running in c86151db9f4d 20:14:35 noop 20:14:35 Removing intermediate container c86151db9f4d 20:14:35 ---> 3cb764ae3a36 20:14:35 Successfully built 3cb764ae3a36 20:14:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:14:36 + docker inspect -f . ci-base-image-x86_64 20:14:36 . [Pipeline] withDockerContainer 20:14:36 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 20:14:36 $ 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 ******** ci-base-image-x86_64 cat 20:14:36 $ docker top 06f9de991adf1d13e0f73aa26a67b59d99d2ff3dc9da54368ac8579161cbffcd -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:37 + go version 20:14:37 go version go1.17.6 linux/amd64 [Pipeline] } 20:14:37 $ docker stop --time=1 06f9de991adf1d13e0f73aa26a67b59d99d2ff3dc9da54368ac8579161cbffcd 20:14:38 $ docker rm -f 06f9de991adf1d13e0f73aa26a67b59d99d2ff3dc9da54368ac8579161cbffcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:38 + docker inspect -f . ci-base-image-x86_64 20:14:38 . [Pipeline] withDockerContainer 20:14:38 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 20:14:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:14:39 $ docker top 373f329d1fd118c377fc82de2e939c21e0be0885144d255337155287f5d25771 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:14:39 + make test 20:14:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:14:49 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 20:14:49 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.048s coverage: 86.2% of statements 20:14:49 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 20:14:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.549s coverage: 71.9% of statements 20:15:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:15:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:03 ./bin/test-attribution.sh [Pipeline] echo 20:15:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:04 $ docker stop --time=1 373f329d1fd118c377fc82de2e939c21e0be0885144d255337155287f5d25771 20:15:06 $ docker rm -f 373f329d1fd118c377fc82de2e939c21e0be0885144d255337155287f5d25771 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:07 + ls -al . 20:15:07 total 228 20:15:07 drwxrwxr-x 11 jenkins jenkins 4096 May 10 20:15 . 20:15:07 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:13 .. 20:15:07 -rw-rw-r-- 1 jenkins jenkins 262 May 10 20:13 .dockerignore 20:15:07 drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:14 .git 20:15:07 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:13 .github 20:15:07 -rw-rw-r-- 1 jenkins jenkins 788 May 10 20:13 .gitignore 20:15:07 -rw-rw-r-- 1 jenkins jenkins 41 May 10 20:13 .golangci.yml 20:15:07 drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:14 .semver 20:15:07 -rw-rw-r-- 1 jenkins jenkins 9410 May 10 20:13 Attribution.txt 20:15:07 -rw-rw-r-- 1 jenkins jenkins 2487 May 10 20:13 CHANGELOG.md 20:15:07 -rw-rw-r-- 1 jenkins jenkins 1923 May 10 20:13 Dockerfile 20:15:07 -rw-rw-r-- 1 jenkins jenkins 677 May 10 20:13 GOVERNANCE.md 20:15:07 -rw-rw-r-- 1 jenkins jenkins 687 May 10 20:13 Jenkinsfile 20:15:07 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 20:13 LICENSE 20:15:07 -rw-rw-r-- 1 jenkins jenkins 2949 May 10 20:13 Makefile 20:15:07 -rw-rw-r-- 1 jenkins jenkins 617 May 10 20:13 OWNERS.md 20:15:07 -rw-rw-r-- 1 jenkins jenkins 30359 May 10 20:13 README.md 20:15:07 -rw-rw-r-- 1 jenkins jenkins 12 May 10 20:14 VERSION 20:15:07 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:13 bin 20:15:07 -rw-r--r-- 1 jenkins jenkins 41008 May 10 20:14 coverage.out 20:15:07 -rw-rw-r-- 1 jenkins jenkins 3452 May 10 20:13 go.mod 20:15:07 -rw-rw-r-- 1 jenkins jenkins 35440 May 10 20:13 go.sum 20:15:07 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:13 images 20:15:07 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:13 internal 20:15:07 -rw-rw-r-- 1 jenkins jenkins 531 May 10 20:13 main.go 20:15:07 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:13 res 20:15:07 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:13 snap 20:15:07 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:13 static [Pipeline] isUnix [Pipeline] sh 20:15:08 + 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=309a8ffa72e20d4133c7d51cd0433ba4077d6858 --label arch=amd64 --label version=2.1.0-dev.14 . 20:15:08 Sending build context to Docker daemon 12.39MB 20:15:08 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 20:15:08 Step 2/31 : FROM ${BASE} AS builder 20:15:08 ---> 3cb764ae3a36 20:15:08 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 20:15:08 ---> Running in 95ebbdc5aea7 20:15:08 Removing intermediate container 95ebbdc5aea7 20:15:08 ---> 0bbd102f9ef3 20:15:08 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 20:15:08 ---> Running in f7a986b137ee 20:15:08 Removing intermediate container f7a986b137ee 20:15:08 ---> 6862c799ca95 20:15:08 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:15:08 ---> Running in fdd391dc0cb2 20:15:08 Removing intermediate container fdd391dc0cb2 20:15:08 ---> aed0363a4033 20:15:08 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:08 ---> Running in b643a31696f4 20:15:09 Removing intermediate container b643a31696f4 20:15:09 ---> 7d8b3e2c1613 20:15:09 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:09 ---> Running in 843367e99e6b 20:15:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:15:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:15:10 OK: 221 MiB in 52 packages 20:15:10 Removing intermediate container 843367e99e6b 20:15:10 ---> bf54afa747a4 20:15:10 Step 8/31 : WORKDIR /app 20:15:10 ---> Running in 7b773c1c6b24 20:15:11 Removing intermediate container 7b773c1c6b24 20:15:11 ---> 36ef52b8291a 20:15:11 Step 9/31 : COPY go.mod vendor* ./ 20:15:11 ---> ef6bacced542 20:15:11 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:11 ---> Running in d72510a3ad8f 20:15:12 Removing intermediate container d72510a3ad8f 20:15:12 ---> d95ab6765a2a 20:15:12 Step 11/31 : COPY . . 20:15:12 ---> d0b7f33d01f1 20:15:12 Step 12/31 : ARG MAKE="make build" 20:15:12 ---> Running in 98aca0a3e2f5 20:15:12 Removing intermediate container 98aca0a3e2f5 20:15:12 ---> b9feab01db3b 20:15:12 Step 13/31 : RUN $MAKE 20:15:12 ---> Running in 4fe48ac97c8f 20:15:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.1.0-dev.14 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.1.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 20:15:34 Removing intermediate container 4fe48ac97c8f 20:15:34 ---> 682cbc9f3943 20:15:34 Step 14/31 : FROM alpine:3.14 20:15:34 3.14: Pulling from library/alpine 20:15:34 8663204ce13b: Pulling fs layer 20:15:34 8663204ce13b: Verifying Checksum 20:15:34 8663204ce13b: Pull complete 20:15:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:15:34 Status: Downloaded newer image for alpine:3.14 20:15:34 ---> e04c818066af 20:15:34 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:15:34 ---> Running in e6bc7c7ce23d 20:15:34 Removing intermediate container e6bc7c7ce23d 20:15:34 ---> 90095871649a 20:15:34 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 20:15:34 ---> Running in b110a8888f94 20:15:34 Removing intermediate container b110a8888f94 20:15:34 ---> b579e87dd2fe 20:15:34 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:34 ---> Running in 2499f23bdfc4 20:15:34 Removing intermediate container 2499f23bdfc4 20:15:34 ---> 1d9a64174724 20:15:34 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 20:15:34 ---> Running in 2376f8fca897 20:15:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:15:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:15:35 (1/6) Installing ca-certificates (20211220-r0) 20:15:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:15:35 (3/6) Installing libsodium (1.0.18-r0) 20:15:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:15:35 (5/6) Installing libzmq (4.3.4-r0) 20:15:35 (6/6) Installing zeromq (4.3.4-r0) 20:15:35 Executing busybox-1.33.1-r7.trigger 20:15:35 Executing ca-certificates-20211220-r0.trigger 20:15:35 OK: 9 MiB in 20 packages 20:15:36 Removing intermediate container 2376f8fca897 20:15:36 ---> 908a8ec7d944 20:15:36 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:15:36 ---> fcfd1b22fdb5 20:15:36 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 20:15:36 ---> 4087060158ad 20:15:36 Step 21/31 : COPY --from=builder /app/res/ /res/ 20:15:36 ---> 4d96093b5768 20:15:36 Step 22/31 : COPY --from=builder /app/static/ /static/ 20:15:37 ---> 88a5fed58530 20:15:37 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 20:15:37 ---> 18a8cf4a87fd 20:15:37 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 20:15:37 ---> Running in 9052161d0046 20:15:38 Removing intermediate container 9052161d0046 20:15:38 ---> 8a7282fcb8d5 20:15:38 Step 25/31 : VOLUME /cache 20:15:38 ---> Running in dad03e2b8a69 20:15:38 Removing intermediate container dad03e2b8a69 20:15:38 ---> b320db9d0cca 20:15:38 Step 26/31 : EXPOSE 59711 20:15:38 ---> Running in c84b871c1d73 20:15:38 Removing intermediate container c84b871c1d73 20:15:38 ---> 61ad4d70af04 20:15:38 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 20:15:38 ---> Running in ed2e46571ffc 20:15:38 Removing intermediate container ed2e46571ffc 20:15:38 ---> cdc4858ba9cc 20:15:38 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 20:15:38 ---> Running in dd0438eb5127 20:15:38 Removing intermediate container dd0438eb5127 20:15:38 ---> 6279a0ceee25 20:15:38 Step 29/31 : LABEL arch=amd64 20:15:38 ---> Running in 270b0644799d 20:15:38 Removing intermediate container 270b0644799d 20:15:38 ---> 6cca38cbd855 20:15:38 Step 30/31 : LABEL git_sha=309a8ffa72e20d4133c7d51cd0433ba4077d6858 20:15:38 ---> Running in 099af6b57e54 20:15:39 Removing intermediate container 099af6b57e54 20:15:39 ---> d0cf7c59356d 20:15:39 Step 31/31 : LABEL version=2.1.0-dev.14 20:15:39 ---> Running in e544d5ee908d 20:15:39 Removing intermediate container e544d5ee908d 20:15:39 ---> d39b678b62e2 20:15:39 [Warning] One or more build-args [ARCH] were not consumed 20:15:39 Successfully built d39b678b62e2 20:15:39 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:39 provisioning config files... 20:15:39 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1454465295246690066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:39 ---> docker-login.sh 20:15:39 nexus3.edgexfoundry.org:10001 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10002 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10003 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10004 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 docker.io 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 ---> docker-login.sh ends [Pipeline] } 20:15:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:15:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:40 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 20:15:40 309a8ffa72e20d4133c7d51cd0433ba4077d6858 20:15:40 latest 20:15:40 2.1.0-dev.14 20:15:40 309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 20:15:40 main 20:15:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] isUnix [Pipeline] sh 20:15:41 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:309a8ffa72e20d4133c7d51cd0433ba4077d6858 20:15:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 20:15:41 fbee7ba0bc96: Preparing 20:15:41 15805bdc8fd5: Preparing 20:15:41 866d07b09047: Preparing 20:15:41 42f1cf70fd3e: Preparing 20:15:41 98bcceeb5ed5: Preparing 20:15:41 7085464b1b0c: Preparing 20:15:41 676720e690e1: Preparing 20:15:41 3143c3c089f1: Preparing 20:15:41 b541d28bf3b4: Preparing 20:15:41 7085464b1b0c: Waiting 20:15:41 676720e690e1: Waiting 20:15:41 3143c3c089f1: Waiting 20:15:41 b541d28bf3b4: Waiting 20:15:41 42f1cf70fd3e: Pushed 20:15:41 fbee7ba0bc96: Pushed 20:15:41 866d07b09047: Pushed 20:15:41 98bcceeb5ed5: Pushed 20:15:41 b541d28bf3b4: Layer already exists 20:15:41 7085464b1b0c: Pushed 20:15:41 3143c3c089f1: Pushed 20:15:41 676720e690e1: Pushed 20:15:43 15805bdc8fd5: Pushed 20:15:43 309a8ffa72e20d4133c7d51cd0433ba4077d6858: digest: sha256:90e494c67c9f91682bfd274d48f1317e3f6828f9f0caef8153cdb696efa36735 size: 2197 [Pipeline] isUnix [Pipeline] sh 20:15:44 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] isUnix [Pipeline] sh 20:15:44 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 20:15:44 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 20:15:44 fbee7ba0bc96: Preparing 20:15:44 15805bdc8fd5: Preparing 20:15:44 866d07b09047: Preparing 20:15:44 42f1cf70fd3e: Preparing 20:15:44 98bcceeb5ed5: Preparing 20:15:44 7085464b1b0c: Preparing 20:15:44 676720e690e1: Preparing 20:15:44 3143c3c089f1: Preparing 20:15:44 b541d28bf3b4: Preparing 20:15:44 b541d28bf3b4: Waiting 20:15:44 676720e690e1: Waiting 20:15:44 7085464b1b0c: Waiting 20:15:44 3143c3c089f1: Waiting 20:15:44 98bcceeb5ed5: Layer already exists 20:15:44 42f1cf70fd3e: Layer already exists 20:15:44 866d07b09047: Layer already exists 20:15:44 15805bdc8fd5: Layer already exists 20:15:44 fbee7ba0bc96: Layer already exists 20:15:44 7085464b1b0c: Layer already exists 20:15:44 676720e690e1: Layer already exists 20:15:44 3143c3c089f1: Layer already exists 20:15:44 b541d28bf3b4: Layer already exists 20:15:44 latest: digest: sha256:90e494c67c9f91682bfd274d48f1317e3f6828f9f0caef8153cdb696efa36735 size: 2197 [Pipeline] isUnix [Pipeline] sh 20:15:44 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.1.0-dev.14 [Pipeline] isUnix [Pipeline] sh 20:15:44 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.1.0-dev.14 20:15:44 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 20:15:44 fbee7ba0bc96: Preparing 20:15:44 15805bdc8fd5: Preparing 20:15:44 866d07b09047: Preparing 20:15:44 42f1cf70fd3e: Preparing 20:15:44 98bcceeb5ed5: Preparing 20:15:44 7085464b1b0c: Preparing 20:15:44 676720e690e1: Preparing 20:15:44 3143c3c089f1: Preparing 20:15:44 b541d28bf3b4: Preparing 20:15:44 3143c3c089f1: Waiting 20:15:44 7085464b1b0c: Waiting 20:15:44 b541d28bf3b4: Waiting 20:15:44 15805bdc8fd5: Layer already exists 20:15:44 42f1cf70fd3e: Layer already exists 20:15:44 98bcceeb5ed5: Layer already exists 20:15:44 fbee7ba0bc96: Layer already exists 20:15:44 866d07b09047: Layer already exists 20:15:44 7085464b1b0c: Layer already exists 20:15:44 676720e690e1: Layer already exists 20:15:44 3143c3c089f1: Layer already exists 20:15:44 b541d28bf3b4: Layer already exists 20:15:44 2.1.0-dev.14: digest: sha256:90e494c67c9f91682bfd274d48f1317e3f6828f9f0caef8153cdb696efa36735 size: 2197 [Pipeline] isUnix [Pipeline] sh 20:15:45 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 [Pipeline] isUnix [Pipeline] sh 20:15:45 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 20:15:45 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 20:15:45 fbee7ba0bc96: Preparing 20:15:45 15805bdc8fd5: Preparing 20:15:45 866d07b09047: Preparing 20:15:45 42f1cf70fd3e: Preparing 20:15:45 98bcceeb5ed5: Preparing 20:15:45 7085464b1b0c: Preparing 20:15:45 676720e690e1: Preparing 20:15:45 3143c3c089f1: Preparing 20:15:45 b541d28bf3b4: Preparing 20:15:45 676720e690e1: Waiting 20:15:45 3143c3c089f1: Waiting 20:15:45 7085464b1b0c: Waiting 20:15:45 15805bdc8fd5: Layer already exists 20:15:45 fbee7ba0bc96: Layer already exists 20:15:45 42f1cf70fd3e: Layer already exists 20:15:45 98bcceeb5ed5: Layer already exists 20:15:45 866d07b09047: Layer already exists 20:15:45 7085464b1b0c: Layer already exists 20:15:45 676720e690e1: Layer already exists 20:15:45 3143c3c089f1: Layer already exists 20:15:45 b541d28bf3b4: Layer already exists 20:15:45 309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14: digest: sha256:90e494c67c9f91682bfd274d48f1317e3f6828f9f0caef8153cdb696efa36735 size: 2197 [Pipeline] isUnix [Pipeline] sh 20:15:45 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] isUnix [Pipeline] sh 20:15:46 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 20:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 20:15:46 fbee7ba0bc96: Preparing 20:15:46 15805bdc8fd5: Preparing 20:15:46 866d07b09047: Preparing 20:15:46 42f1cf70fd3e: Preparing 20:15:46 98bcceeb5ed5: Preparing 20:15:46 7085464b1b0c: Preparing 20:15:46 676720e690e1: Preparing 20:15:46 3143c3c089f1: Preparing 20:15:46 b541d28bf3b4: Preparing 20:15:46 7085464b1b0c: Waiting 20:15:46 676720e690e1: Waiting 20:15:46 3143c3c089f1: Waiting 20:15:46 b541d28bf3b4: Waiting 20:15:46 98bcceeb5ed5: Layer already exists 20:15:46 42f1cf70fd3e: Layer already exists 20:15:46 fbee7ba0bc96: Layer already exists 20:15:46 866d07b09047: Layer already exists 20:15:46 15805bdc8fd5: Layer already exists 20:15:46 7085464b1b0c: Layer already exists 20:15:46 676720e690e1: Layer already exists 20:15:46 3143c3c089f1: Layer already exists 20:15:46 b541d28bf3b4: Layer already exists 20:15:46 main: digest: sha256:90e494c67c9f91682bfd274d48f1317e3f6828f9f0caef8153cdb696efa36735 size: 2197 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:15:46 ===================================================== [Pipeline] echo 20:15:46 taggedImages: 20:15:46 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:309a8ffa72e20d4133c7d51cd0433ba4077d6858 20:15:46 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 20:15:46 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.1.0-dev.14 20:15:46 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 20:15:46 - 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] sh 20:15:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:46 20:15:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:15:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:46 latest: Pulling from edgex-lftools-log-publisher 20:15:46 5eb5b503b376: Pulling fs layer 20:15:46 5c69ac0246d0: Pulling fs layer 20:15:46 ec43610c2a17: Pulling fs layer 20:15:46 3a2ae6a8a46f: Pulling fs layer 20:15:46 33b1e0a273af: Pulling fs layer 20:15:46 5d3b04190fa2: Pulling fs layer 20:15:46 2f39f015ded8: Pulling fs layer 20:15:46 3a2ae6a8a46f: Waiting 20:15:46 33b1e0a273af: Waiting 20:15:46 5d3b04190fa2: Waiting 20:15:46 2f39f015ded8: Waiting 20:15:46 5c69ac0246d0: Download complete 20:15:46 3a2ae6a8a46f: Verifying Checksum 20:15:46 3a2ae6a8a46f: Download complete 20:15:46 33b1e0a273af: Verifying Checksum 20:15:46 33b1e0a273af: Download complete 20:15:46 ec43610c2a17: Verifying Checksum 20:15:46 ec43610c2a17: Download complete 20:15:46 5d3b04190fa2: Verifying Checksum 20:15:46 5d3b04190fa2: Download complete 20:15:47 5eb5b503b376: Verifying Checksum 20:15:47 5eb5b503b376: Download complete 20:15:47 2f39f015ded8: Download complete 20:15:48 5eb5b503b376: Pull complete 20:15:48 5c69ac0246d0: Pull complete 20:15:49 ec43610c2a17: Pull complete 20:15:49 3a2ae6a8a46f: Pull complete 20:15:49 33b1e0a273af: Pull complete 20:15:49 5d3b04190fa2: Pull complete 20:15:53 2f39f015ded8: Pull complete 20:15:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:15:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:15:53 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 20:15:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:15:55 $ docker top 86338de8ae4ba075a8561181e07fb2b6e7dee12d1e55d07b9ed442a417af8da4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:56 ---> job-cost.sh 20:15:56 lf-activate-venv: SKIPPING 20:15:56 INFO: No Stack... 20:15:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:57 INFO: Archiving Costs [Pipeline] sh 20:15:57 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 20:15:57 + cut -d, -f6 [Pipeline] lock 20:15:57 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] 20:15:57 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] did not exist. Created. 20:15:57 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:57 + echo total: 0.2199999988079071 [Pipeline] stash 20:15:57 Stashed 1 file(s) [Pipeline] } 20:15:57 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:57 $ docker stop --time=1 86338de8ae4ba075a8561181e07fb2b6e7dee12d1e55d07b9ed442a417af8da4 20:15:59 $ docker rm -f 86338de8ae4ba075a8561181e07fb2b6e7dee12d1e55d07b9ed442a417af8da4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:04:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-49646 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 21:04:39 Running in /w/workspace/app-rfid-llrp-inventory/35 [Pipeline] { [Pipeline] checkout 21:04:40 The recommended git tool is: git 21:04:46 using credential edgex-jenkins-ssh 21:04:46 Cloning the remote Git repository 21:04:46 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:04:46 > git init /w/workspace/app-rfid-llrp-inventory/35 # timeout=10 21:04:46 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:04:46 > git --version # timeout=10 21:04:46 > git --version # 'git version 2.25.1' 21:04:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:49 Avoid second fetch 21:04:49 Checking out Revision 309a8ffa72e20d4133c7d51cd0433ba4077d6858 (main) 21:04:49 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:04:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:49 > git config core.sparsecheckout # timeout=10 21:04:49 > git checkout -f 309a8ffa72e20d4133c7d51cd0433ba4077d6858 # timeout=10 21:04:53 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#80)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:04:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:54 Dload Upload Total Spent Left Speed 21:04:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87725 [Pipeline] sh 21:04:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:04:55 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:04:55 sudo tee /etc/docker/daemon.new 21:04:55 { 21:04:55 "registry-mirrors": [ 21:04:55 "https://nexus3.edgexfoundry.org:10001" 21:04:55 ], 21:04:55 "bip": "10.250.0.254/24", 21:04:55 "hosts": [ 21:04:55 "tcp://0.0.0.0:5555", 21:04:55 "unix:///var/run/docker.sock" 21:04:55 ], 21:04:55 "mtu": 1458, 21:04:55 "selinux-enabled": true, 21:04:55 "seccomp-profile": "/etc/docker/seccomp.json" 21:04:55 } [Pipeline] sh 21:04:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:04:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:14 provisioning config files... 21:05:14 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/35@tmp/config2438165546460424814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:14 ---> docker-login.sh 21:05:14 nexus3.edgexfoundry.org:10001 21:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:15 Configure a credential helper to remove this warning. See 21:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:15 21:05:15 Login Succeeded 21:05:15 nexus3.edgexfoundry.org:10002 21:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:15 Configure a credential helper to remove this warning. See 21:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:15 21:05:15 Login Succeeded 21:05:15 nexus3.edgexfoundry.org:10003 21:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:16 Configure a credential helper to remove this warning. See 21:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:16 21:05:16 Login Succeeded 21:05:16 nexus3.edgexfoundry.org:10004 21:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:16 Configure a credential helper to remove this warning. See 21:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:16 21:05:16 Login Succeeded 21:05:16 docker.io 21:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:17 Configure a credential helper to remove this warning. See 21:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:17 21:05:17 Login Succeeded 21:05:17 ---> docker-login.sh ends [Pipeline] } 21:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:17 ========================================================= 21:05:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:05:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:05:18 + 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 . 21:05:18 Sending build context to Docker daemon 687.6kB 21:05:18 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 21:05:18 Step 2/13 : FROM ${BASE} AS builder 21:05:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:18 9b3977197b4f: Pulling fs layer 21:05:18 1a89e8eeedd5: Pulling fs layer 21:05:18 94645a83ff95: Pulling fs layer 21:05:18 3f3a8bcf1eab: Pulling fs layer 21:05:18 0c92f367c5e7: Pulling fs layer 21:05:18 3096ccb668a1: Pulling fs layer 21:05:18 e8cf19c19ddd: Pulling fs layer 21:05:18 a4caa8a26152: Pulling fs layer 21:05:18 3f3a8bcf1eab: Waiting 21:05:18 0c92f367c5e7: Waiting 21:05:18 3096ccb668a1: Waiting 21:05:18 a4caa8a26152: Waiting 21:05:18 e8cf19c19ddd: Waiting 21:05:18 94645a83ff95: Verifying Checksum 21:05:18 94645a83ff95: Download complete 21:05:18 1a89e8eeedd5: Download complete 21:05:18 0c92f367c5e7: Verifying Checksum 21:05:18 0c92f367c5e7: Download complete 21:05:18 3096ccb668a1: Verifying Checksum 21:05:18 3096ccb668a1: Download complete 21:05:18 9b3977197b4f: Verifying Checksum 21:05:18 9b3977197b4f: Download complete 21:05:18 e8cf19c19ddd: Verifying Checksum 21:05:18 e8cf19c19ddd: Download complete 21:05:19 9b3977197b4f: Pull complete 21:05:20 1a89e8eeedd5: Pull complete 21:05:20 94645a83ff95: Pull complete 21:05:20 a4caa8a26152: Verifying Checksum 21:05:20 a4caa8a26152: Download complete 21:05:21 3f3a8bcf1eab: Verifying Checksum 21:05:21 3f3a8bcf1eab: Download complete 21:05:33 3f3a8bcf1eab: Pull complete 21:05:33 0c92f367c5e7: Pull complete 21:05:33 3096ccb668a1: Pull complete 21:05:34 e8cf19c19ddd: Pull complete 21:05:40 a4caa8a26152: Pull complete 21:05:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 21:05:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:05:40 ---> 725f1c02e7f9 21:05:40 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:05:41 ---> Running in c834b10d187b 21:05:41 Removing intermediate container c834b10d187b 21:05:41 ---> 5f17e11891ec 21:05:41 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:05:41 ---> Running in 4d0f9d5b63cd 21:05:41 Removing intermediate container 4d0f9d5b63cd 21:05:41 ---> ff6be873d7c7 21:05:41 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:05:41 ---> Running in e9b631089710 21:05:42 Removing intermediate container e9b631089710 21:05:42 ---> cbabf985c788 21:05:42 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:05:42 ---> Running in d18e307523f7 21:05:44 Removing intermediate container d18e307523f7 21:05:44 ---> a35ee956df92 21:05:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:44 ---> Running in 2fdb67faf805 21:05:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:05:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:05:46 OK: 220 MiB in 52 packages 21:05:47 Removing intermediate container 2fdb67faf805 21:05:47 ---> 55d49a774d08 21:05:47 Step 8/13 : WORKDIR /app 21:05:47 ---> Running in 764c91326cf2 21:05:48 Removing intermediate container 764c91326cf2 21:05:48 ---> 1c1cbc7da913 21:05:48 Step 9/13 : COPY go.mod vendor* ./ 21:05:48 ---> 575fb366c99c 21:05:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:48 ---> Running in e4dea4ba571f 21:06:35 Removing intermediate container e4dea4ba571f 21:06:35 ---> 2d5caac8ee2b 21:06:35 Step 11/13 : COPY . . 21:06:35 ---> b2aedd00fa01 21:06:35 Step 12/13 : ARG MAKE="make build" 21:06:35 ---> Running in e027210842cc 21:06:35 Removing intermediate container e027210842cc 21:06:35 ---> 4c4e40d33863 21:06:35 Step 13/13 : RUN $MAKE 21:06:35 ---> Running in 457d93499ee2 21:06:35 noop 21:06:35 Removing intermediate container 457d93499ee2 21:06:35 ---> 17918b5cacca 21:06:35 Successfully built 17918b5cacca 21:06:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:06:36 + docker inspect -f . ci-base-image-arm64 21:06:36 . [Pipeline] withDockerContainer 21:06:36 prd-ubuntu20.04-docker-arm64-4c-16g-49646 does not seem to be running inside a container 21:06:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/35 -v /w/workspace/app-rfid-llrp-inventory/35:/w/workspace/app-rfid-llrp-inventory/35:rw,z -v /w/workspace/app-rfid-llrp-inventory/35@tmp:/w/workspace/app-rfid-llrp-inventory/35@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-arm64 cat 21:06:37 $ docker top 6890672858ef31a3ccd0ec61fda8b005e754a1d22d7d7f2c7e594d38e43b9267 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:38 + go version 21:06:38 go version go1.17.6 linux/arm64 [Pipeline] } 21:06:38 $ docker stop --time=1 6890672858ef31a3ccd0ec61fda8b005e754a1d22d7d7f2c7e594d38e43b9267 21:06:40 $ docker rm -f 6890672858ef31a3ccd0ec61fda8b005e754a1d22d7d7f2c7e594d38e43b9267 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:06:40 + docker inspect -f . ci-base-image-arm64 21:06:40 . [Pipeline] withDockerContainer 21:06:41 prd-ubuntu20.04-docker-arm64-4c-16g-49646 does not seem to be running inside a container 21:06:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/35 -v /w/workspace/app-rfid-llrp-inventory/35:/w/workspace/app-rfid-llrp-inventory/35:rw,z -v /w/workspace/app-rfid-llrp-inventory/35@tmp:/w/workspace/app-rfid-llrp-inventory/35@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-arm64 cat 21:06:42 $ docker top 85a244e6059eefb1621598078e80dd3ed312176e2a43f6f8cb12c72753e9ae31 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:06:43 + make test 21:06:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:08:05 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:08:05 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.317s coverage: 86.2% of statements 21:08:05 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:08:07 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.687s coverage: 71.9% of statements 21:08:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:08:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:08:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:40 ./bin/test-attribution.sh [Pipeline] echo 21:08:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:40 $ docker stop --time=1 85a244e6059eefb1621598078e80dd3ed312176e2a43f6f8cb12c72753e9ae31 21:08:42 $ docker rm -f 85a244e6059eefb1621598078e80dd3ed312176e2a43f6f8cb12c72753e9ae31 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:43 Warning: overwriting stash ‘coverage-report’ 21:08:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:44 + ls -al . 21:08:44 total 224 21:08:44 drwxrwxr-x 10 jenkins jenkins 4096 May 10 21:08 . 21:08:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 21:04 .. 21:08:44 -rw-rw-r-- 1 jenkins jenkins 262 May 10 21:04 .dockerignore 21:08:44 drwxrwxr-x 8 jenkins jenkins 4096 May 10 21:04 .git 21:08:44 drwxrwxr-x 3 jenkins jenkins 4096 May 10 21:04 .github 21:08:44 -rw-rw-r-- 1 jenkins jenkins 788 May 10 21:04 .gitignore 21:08:44 -rw-rw-r-- 1 jenkins jenkins 41 May 10 21:04 .golangci.yml 21:08:44 -rw-rw-r-- 1 jenkins jenkins 9410 May 10 21:04 Attribution.txt 21:08:44 -rw-rw-r-- 1 jenkins jenkins 2487 May 10 21:04 CHANGELOG.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 1923 May 10 21:04 Dockerfile 21:08:44 -rw-rw-r-- 1 jenkins jenkins 677 May 10 21:04 GOVERNANCE.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 687 May 10 21:04 Jenkinsfile 21:08:44 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 21:04 LICENSE 21:08:44 -rw-rw-r-- 1 jenkins jenkins 2949 May 10 21:04 Makefile 21:08:44 -rw-rw-r-- 1 jenkins jenkins 617 May 10 21:04 OWNERS.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 30359 May 10 21:04 README.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 12 May 10 20:14 VERSION 21:08:44 drwxrwxr-x 2 jenkins jenkins 4096 May 10 21:04 bin 21:08:44 -rw-r--r-- 1 jenkins jenkins 41008 May 10 21:08 coverage.out 21:08:44 -rw-rw-r-- 1 jenkins jenkins 3452 May 10 21:04 go.mod 21:08:44 -rw-rw-r-- 1 jenkins jenkins 35440 May 10 21:04 go.sum 21:08:44 drwxrwxr-x 2 jenkins jenkins 4096 May 10 21:04 images 21:08:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 21:04 internal 21:08:44 -rw-rw-r-- 1 jenkins jenkins 531 May 10 21:04 main.go 21:08:44 drwxrwxr-x 2 jenkins jenkins 4096 May 10 21:04 res 21:08:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 21:04 snap 21:08:44 drwxrwxr-x 3 jenkins jenkins 4096 May 10 21:04 static [Pipeline] isUnix [Pipeline] sh 21:08:45 + 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=309a8ffa72e20d4133c7d51cd0433ba4077d6858 --label arch=arm64 --label version=2.1.0-dev.14 . 21:08:45 Sending build context to Docker daemon 687.6kB 21:08:45 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 21:08:45 Step 2/31 : FROM ${BASE} AS builder 21:08:45 ---> 17918b5cacca 21:08:45 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:08:45 ---> Running in 479b7c73e03f 21:08:46 Removing intermediate container 479b7c73e03f 21:08:46 ---> 0c7adce0b441 21:08:46 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 21:08:46 ---> Running in 408315356b04 21:08:46 Removing intermediate container 408315356b04 21:08:46 ---> 9958d3a2978d 21:08:46 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:08:46 ---> Running in 9bc89c9c939c 21:08:46 Removing intermediate container 9bc89c9c939c 21:08:46 ---> e37eaf8963dc 21:08:46 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:08:46 ---> Running in 2694472c600a 21:08:48 Removing intermediate container 2694472c600a 21:08:48 ---> a9f77603f1f3 21:08:48 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:48 ---> Running in 88c204b9a97c 21:08:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:08:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:08:53 OK: 220 MiB in 52 packages 21:08:54 Removing intermediate container 88c204b9a97c 21:08:54 ---> 3d5a561c59ad 21:08:54 Step 8/31 : WORKDIR /app 21:08:54 ---> Running in 55a53ffc0628 21:08:54 Removing intermediate container 55a53ffc0628 21:08:54 ---> b9eb9c529226 21:08:54 Step 9/31 : COPY go.mod vendor* ./ 21:08:55 ---> 4297caeb6a8e 21:08:55 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:55 ---> Running in 0238df8c7800 21:08:57 Removing intermediate container 0238df8c7800 21:08:57 ---> 340fb215968a 21:08:57 Step 11/31 : COPY . . 21:08:57 ---> 29c4cf1becd9 21:08:57 Step 12/31 : ARG MAKE="make build" 21:08:57 ---> Running in cfd39630168e 21:08:57 Removing intermediate container cfd39630168e 21:08:57 ---> 0c9ba1e568c0 21:08:57 Step 13/31 : RUN $MAKE 21:08:58 ---> Running in a0a27a666d8c 21:08:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.1.0-dev.14 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.1.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:11:06 Removing intermediate container a0a27a666d8c 21:11:06 ---> b8a16c4f44ec 21:11:06 Step 14/31 : FROM alpine:3.14 21:11:06 3.14: Pulling from library/alpine 21:11:06 455c02918c45: Pulling fs layer 21:11:06 455c02918c45: Verifying Checksum 21:11:06 455c02918c45: Download complete 21:11:06 455c02918c45: Pull complete 21:11:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:11:06 Status: Downloaded newer image for alpine:3.14 21:11:06 ---> ac73e934f311 21:11:06 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:11:06 ---> Running in 465e7d4a3c2b 21:11:06 Removing intermediate container 465e7d4a3c2b 21:11:06 ---> bf4dd8869f4f 21:11:06 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:11:06 ---> Running in f358c108ff36 21:11:06 Removing intermediate container f358c108ff36 21:11:06 ---> 53050dd61e5e 21:11:06 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:11:06 ---> Running in 6ab500370433 21:11:06 Removing intermediate container 6ab500370433 21:11:06 ---> a2870f77fa9a 21:11:06 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 21:11:06 ---> Running in 97a810556093 21:11:06 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:11:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:11:06 (1/6) Installing ca-certificates (20211220-r0) 21:11:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:11:06 (3/6) Installing libsodium (1.0.18-r0) 21:11:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:11:06 (5/6) Installing libzmq (4.3.4-r0) 21:11:06 (6/6) Installing zeromq (4.3.4-r0) 21:11:06 Executing busybox-1.33.1-r7.trigger 21:11:06 Executing ca-certificates-20211220-r0.trigger 21:11:06 OK: 9 MiB in 20 packages 21:11:06 Removing intermediate container 97a810556093 21:11:06 ---> c5d304c0cb59 21:11:06 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:11:06 ---> 0bd16d2f921d 21:11:06 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 21:11:06 ---> 20954bdbfcd0 21:11:06 Step 21/31 : COPY --from=builder /app/res/ /res/ 21:11:06 ---> 8a0a8613e4ac 21:11:06 Step 22/31 : COPY --from=builder /app/static/ /static/ 21:11:06 ---> 9d148a66173b 21:11:06 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:11:07 ---> e5f4e2a18cd4 21:11:07 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:11:07 ---> Running in e0eda12b7e7f 21:11:09 Removing intermediate container e0eda12b7e7f 21:11:09 ---> 70b09835e405 21:11:09 Step 25/31 : VOLUME /cache 21:11:09 ---> Running in 2500d3b80f8a 21:11:09 Removing intermediate container 2500d3b80f8a 21:11:09 ---> bde44237f81f 21:11:09 Step 26/31 : EXPOSE 59711 21:11:09 ---> Running in 6087b36f927e 21:11:10 Removing intermediate container 6087b36f927e 21:11:10 ---> 0e4767b12cef 21:11:10 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:11:10 ---> Running in 74d595f62033 21:11:10 Removing intermediate container 74d595f62033 21:11:10 ---> 45c5b0bf45f3 21:11:10 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:11:10 ---> Running in 93067546ac9a 21:11:10 Removing intermediate container 93067546ac9a 21:11:10 ---> 1cc25388cf67 21:11:10 Step 29/31 : LABEL arch=arm64 21:11:10 ---> Running in 78d41232e612 21:11:11 Removing intermediate container 78d41232e612 21:11:11 ---> ad5dc6f6dc45 21:11:11 Step 30/31 : LABEL git_sha=309a8ffa72e20d4133c7d51cd0433ba4077d6858 21:11:11 ---> Running in a774f1559442 21:11:11 Removing intermediate container a774f1559442 21:11:11 ---> bea811df5e62 21:11:11 Step 31/31 : LABEL version=2.1.0-dev.14 21:11:11 ---> Running in 528cbb12bee3 21:11:12 Removing intermediate container 528cbb12bee3 21:11:12 ---> 46e9e510f515 21:11:12 [Warning] One or more build-args [ARCH] were not consumed 21:11:12 Successfully built 46e9e510f515 21:11:12 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:12 provisioning config files... 21:11:12 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/35@tmp/config8830046061793705902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:12 ---> docker-login.sh 21:11:12 nexus3.edgexfoundry.org:10001 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:13 Configure a credential helper to remove this warning. See 21:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:13 21:11:13 Login Succeeded 21:11:13 nexus3.edgexfoundry.org:10002 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:13 Configure a credential helper to remove this warning. See 21:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:13 21:11:13 Login Succeeded 21:11:13 nexus3.edgexfoundry.org:10003 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:13 Configure a credential helper to remove this warning. See 21:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:13 21:11:13 Login Succeeded 21:11:14 nexus3.edgexfoundry.org:10004 21:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:14 Configure a credential helper to remove this warning. See 21:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:14 21:11:14 Login Succeeded 21:11:14 docker.io 21:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:15 Configure a credential helper to remove this warning. See 21:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:15 21:11:15 Login Succeeded 21:11:15 ---> docker-login.sh ends [Pipeline] } 21:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:15 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 21:11:15 309a8ffa72e20d4133c7d51cd0433ba4077d6858 21:11:15 latest 21:11:15 2.1.0-dev.14 21:11:15 309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 21:11:15 main 21:11:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:11:15 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] isUnix [Pipeline] sh 21:11:16 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:309a8ffa72e20d4133c7d51cd0433ba4077d6858 21:11:16 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:11:16 a944c125208a: Preparing 21:11:16 4ac82413f806: Preparing 21:11:16 6b91b9de6a26: Preparing 21:11:16 9f8581a840a6: Preparing 21:11:16 cdd2abfac614: Preparing 21:11:16 f8763c08bf99: Preparing 21:11:16 fff61285511a: Preparing 21:11:16 13ab81573966: Preparing 21:11:16 f73e7dbfee58: Preparing 21:11:16 f8763c08bf99: Waiting 21:11:16 13ab81573966: Waiting 21:11:16 fff61285511a: Waiting 21:11:16 f73e7dbfee58: Waiting 21:11:16 cdd2abfac614: Pushed 21:11:16 6b91b9de6a26: Pushed 21:11:16 9f8581a840a6: Pushed 21:11:16 a944c125208a: Pushed 21:11:16 f73e7dbfee58: Layer already exists 21:11:16 f8763c08bf99: Pushed 21:11:16 13ab81573966: Pushed 21:11:17 fff61285511a: Pushed 21:11:22 4ac82413f806: Pushed 21:11:22 309a8ffa72e20d4133c7d51cd0433ba4077d6858: digest: sha256:52b7c2c3eee70331040e0a3653c2a5ca7776492ecd821ebcadbdce809dab9b50 size: 2197 [Pipeline] isUnix [Pipeline] sh 21:11:22 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:11:23 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:11:23 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:11:23 a944c125208a: Preparing 21:11:23 4ac82413f806: Preparing 21:11:23 6b91b9de6a26: Preparing 21:11:23 9f8581a840a6: Preparing 21:11:23 cdd2abfac614: Preparing 21:11:23 f8763c08bf99: Preparing 21:11:23 fff61285511a: Preparing 21:11:23 13ab81573966: Preparing 21:11:23 f73e7dbfee58: Preparing 21:11:23 f8763c08bf99: Waiting 21:11:23 fff61285511a: Waiting 21:11:23 13ab81573966: Waiting 21:11:23 f73e7dbfee58: Waiting 21:11:23 a944c125208a: Layer already exists 21:11:23 cdd2abfac614: Layer already exists 21:11:23 6b91b9de6a26: Layer already exists 21:11:23 4ac82413f806: Layer already exists 21:11:23 9f8581a840a6: Layer already exists 21:11:23 13ab81573966: Layer already exists 21:11:23 fff61285511a: Layer already exists 21:11:23 f8763c08bf99: Layer already exists 21:11:23 f73e7dbfee58: Layer already exists 21:11:23 latest: digest: sha256:52b7c2c3eee70331040e0a3653c2a5ca7776492ecd821ebcadbdce809dab9b50 size: 2197 [Pipeline] isUnix [Pipeline] sh 21:11:23 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.1.0-dev.14 [Pipeline] isUnix [Pipeline] sh 21:11:24 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.1.0-dev.14 21:11:24 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:11:24 a944c125208a: Preparing 21:11:24 4ac82413f806: Preparing 21:11:24 6b91b9de6a26: Preparing 21:11:24 9f8581a840a6: Preparing 21:11:24 cdd2abfac614: Preparing 21:11:24 f8763c08bf99: Preparing 21:11:24 fff61285511a: Preparing 21:11:24 13ab81573966: Preparing 21:11:24 f73e7dbfee58: Preparing 21:11:24 f8763c08bf99: Waiting 21:11:24 fff61285511a: Waiting 21:11:24 13ab81573966: Waiting 21:11:24 f73e7dbfee58: Waiting 21:11:24 cdd2abfac614: Layer already exists 21:11:24 6b91b9de6a26: Layer already exists 21:11:24 a944c125208a: Layer already exists 21:11:24 4ac82413f806: Layer already exists 21:11:24 9f8581a840a6: Layer already exists 21:11:24 13ab81573966: Layer already exists 21:11:24 f8763c08bf99: Layer already exists 21:11:24 fff61285511a: Layer already exists 21:11:24 f73e7dbfee58: Layer already exists 21:11:24 2.1.0-dev.14: digest: sha256:52b7c2c3eee70331040e0a3653c2a5ca7776492ecd821ebcadbdce809dab9b50 size: 2197 [Pipeline] isUnix [Pipeline] sh 21:11:24 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 [Pipeline] isUnix [Pipeline] sh 21:11:25 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 21:11:25 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:11:25 a944c125208a: Preparing 21:11:25 4ac82413f806: Preparing 21:11:25 6b91b9de6a26: Preparing 21:11:25 9f8581a840a6: Preparing 21:11:25 cdd2abfac614: Preparing 21:11:25 f8763c08bf99: Preparing 21:11:25 fff61285511a: Preparing 21:11:25 13ab81573966: Preparing 21:11:25 f73e7dbfee58: Preparing 21:11:25 fff61285511a: Waiting 21:11:25 13ab81573966: Waiting 21:11:25 f73e7dbfee58: Waiting 21:11:25 6b91b9de6a26: Layer already exists 21:11:25 4ac82413f806: Layer already exists 21:11:25 cdd2abfac614: Layer already exists 21:11:25 a944c125208a: Layer already exists 21:11:25 9f8581a840a6: Layer already exists 21:11:25 f8763c08bf99: Layer already exists 21:11:25 13ab81573966: Layer already exists 21:11:25 fff61285511a: Layer already exists 21:11:25 f73e7dbfee58: Layer already exists 21:11:25 309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14: digest: sha256:52b7c2c3eee70331040e0a3653c2a5ca7776492ecd821ebcadbdce809dab9b50 size: 2197 [Pipeline] isUnix [Pipeline] sh 21:11:25 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] isUnix [Pipeline] sh 21:11:26 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 21:11:26 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:11:26 a944c125208a: Preparing 21:11:26 4ac82413f806: Preparing 21:11:26 6b91b9de6a26: Preparing 21:11:26 9f8581a840a6: Preparing 21:11:26 cdd2abfac614: Preparing 21:11:26 f8763c08bf99: Preparing 21:11:26 fff61285511a: Preparing 21:11:26 13ab81573966: Preparing 21:11:26 f73e7dbfee58: Preparing 21:11:26 fff61285511a: Waiting 21:11:26 13ab81573966: Waiting 21:11:26 f73e7dbfee58: Waiting 21:11:26 f8763c08bf99: Waiting 21:11:26 a944c125208a: Layer already exists 21:11:26 6b91b9de6a26: Layer already exists 21:11:26 9f8581a840a6: Layer already exists 21:11:26 cdd2abfac614: Layer already exists 21:11:26 4ac82413f806: Layer already exists 21:11:26 fff61285511a: Layer already exists 21:11:26 13ab81573966: Layer already exists 21:11:26 f73e7dbfee58: Layer already exists 21:11:26 f8763c08bf99: Layer already exists 21:11:26 main: digest: sha256:52b7c2c3eee70331040e0a3653c2a5ca7776492ecd821ebcadbdce809dab9b50 size: 2197 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:11:26 ===================================================== [Pipeline] echo 21:11:26 taggedImages: 21:11:26 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:309a8ffa72e20d4133c7d51cd0433ba4077d6858 21:11:26 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:11:26 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.1.0-dev.14 21:11:26 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:309a8ffa72e20d4133c7d51cd0433ba4077d6858-2.1.0-dev.14 21:11:26 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:26 21:11:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:11:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:27 arm64: Pulling from edgex-lftools-log-publisher 21:11:27 8998bd30e6a1: Pulling fs layer 21:11:27 04944245beec: Pulling fs layer 21:11:27 699f458cf7ca: Pulling fs layer 21:11:27 765212b225bb: Pulling fs layer 21:11:27 f23df028b6ca: Pulling fs layer 21:11:27 d65c8cfc05b1: Pulling fs layer 21:11:27 2437ff75d9bd: Pulling fs layer 21:11:27 f23df028b6ca: Waiting 21:11:27 d65c8cfc05b1: Waiting 21:11:27 2437ff75d9bd: Waiting 21:11:27 765212b225bb: Waiting 21:11:27 04944245beec: Verifying Checksum 21:11:27 04944245beec: Download complete 21:11:27 765212b225bb: Download complete 21:11:27 f23df028b6ca: Verifying Checksum 21:11:27 f23df028b6ca: Download complete 21:11:27 d65c8cfc05b1: Verifying Checksum 21:11:27 d65c8cfc05b1: Download complete 21:11:27 699f458cf7ca: Verifying Checksum 21:11:27 699f458cf7ca: Download complete 21:11:28 8998bd30e6a1: Verifying Checksum 21:11:28 8998bd30e6a1: Download complete 21:11:30 2437ff75d9bd: Verifying Checksum 21:11:30 2437ff75d9bd: Download complete 21:11:32 8998bd30e6a1: Pull complete 21:11:32 04944245beec: Pull complete 21:11:34 699f458cf7ca: Pull complete 21:11:34 765212b225bb: Pull complete 21:11:35 f23df028b6ca: Pull complete 21:11:35 d65c8cfc05b1: Pull complete 21:11:50 2437ff75d9bd: Pull complete 21:11:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:11:51 prd-ubuntu20.04-docker-arm64-4c-16g-49646 does not seem to be running inside a container 21:11:51 $ 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/35 -v /w/workspace/app-rfid-llrp-inventory/35:/w/workspace/app-rfid-llrp-inventory/35:rw,z -v /w/workspace/app-rfid-llrp-inventory/35@tmp:/w/workspace/app-rfid-llrp-inventory/35@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:arm64 cat 21:11:53 $ docker top a002d824e766decc77bb22683188539851cedd411d7853a15f9a9d144dc4b501 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:54 ---> job-cost.sh 21:11:54 lf-activate-venv: SKIPPING 21:11:54 INFO: No Stack... 21:11:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:11:55 INFO: Archiving Costs [Pipeline] sh 21:11:56 + cat /w/workspace/app-rfid-llrp-inventory/35/archives/cost.csv 21:11:56 + cut -d, -f6 [Pipeline] lock 21:11:56 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] 21:11:56 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] did not exist. Created. 21:11:56 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:57 /w/workspace/app-rfid-llrp-inventory/35@tmp/durable-0f7789fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:11:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:11:57 Warning: overwriting stash ‘stack-cost’ 21:11:57 Stashed 1 file(s) [Pipeline] } 21:11:57 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:57 $ docker stop --time=1 a002d824e766decc77bb22683188539851cedd411d7853a15f9a9d144dc4b501 21:11:59 $ docker rm -f a002d824e766decc77bb22683188539851cedd411d7853a15f9a9d144dc4b501 [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 21:11:59 provisioning config files... 21:11:59 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config1657309469879746455tmp [Pipeline] { [Pipeline] sh 21:12:00 + set +x 21:12:00 + curl -s+ https://codecov.io/bash 21:12:00 bash -s -- 21:12:00 21:12:00 _____ _ 21:12:00 / ____| | | 21:12:00 | | ___ __| | ___ ___ _____ __ 21:12:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:12:00 | |___| (_) | (_| | __/ (_| (_) \ V / 21:12:00 \_____\___/ \__,_|\___|\___\___/ \_/ 21:12:00 Bash-1.0.6 21:12:00 21:12:00 21:12:00 ==> git version 2.25.1 found 21:12:00 ==> 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 21:12:00 Release-Date: 2020-01-08 21:12:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:12:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:12:00 ==> Jenkins CI detected. 21:12:00 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 21:12:00 project root: . 21:12:00 --> token set from env 21:12:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:12:00 ==> Running gcov in . (disable via -X gcov) 21:12:00 ==> Python coveragepy not found 21:12:00 ==> Searching for coverage reports in: 21:12:00 + . 21:12:00 -> Found 1 reports 21:12:00 ==> Detecting git/mercurial file structure 21:12:00 ==> Reading reports 21:12:00 + ./coverage.out bytes=41008 21:12:00 ==> Appending adjustments 21:12:00 https://docs.codecov.io/docs/fixing-reports 21:12:00 + Found adjustments 21:12:00 ==> Gzipping contents 21:12:00 12K /tmp/codecov.T6nX3H.gz 21:12:00 ==> Uploading reports 21:12:00 url: https://codecov.io 21:12:00 query: branch=main&commit=309a8ffa72e20d4133c7d51cd0433ba4077d6858&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:12:00 -> Pinging Codecov 21:12:00 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=309a8ffa72e20d4133c7d51cd0433ba4077d6858&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:12:00 -> Uploading to 21:12:00 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/581DD39554BDF9B6E22D074273EAD858/309a8ffa72e20d4133c7d51cd0433ba4077d6858/8c2f3eca-69e1-4add-8113-e9305cec901c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T211200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3ca16fb46d00202faa460c44a5682b2dad20aecdb4d73a382aa83bc6249298e 21:12:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:00 Dload Upload Total Spent Left Speed 21:12:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11500 0 0 100 11500 0 41818 --:--:-- --:--:-- --:--:-- 41818 21:12:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] } 21:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:12:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:12:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:12:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:12:01 21:12:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 21:12:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:12:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:12:01 188c0c94c7c5: Pulling fs layer 21:12:01 0ef7d3d256c8: Pulling fs layer 21:12:01 de9db76c5a1d: Pulling fs layer 21:12:01 0eba1c9be4d2: Pulling fs layer 21:12:01 0d57e429df01: Pulling fs layer 21:12:01 4e4be7b47b0d: Pulling fs layer 21:12:01 0d57e429df01: Waiting 21:12:01 0eba1c9be4d2: Waiting 21:12:01 e1f770b5df2f: Pulling fs layer 21:12:01 85a0685a4137: Pulling fs layer 21:12:01 4e4be7b47b0d: Waiting 21:12:01 85a0685a4137: Waiting 21:12:01 e1f770b5df2f: Waiting 21:12:01 de9db76c5a1d: Verifying Checksum 21:12:01 de9db76c5a1d: Download complete 21:12:01 0ef7d3d256c8: Download complete 21:12:01 0d57e429df01: Verifying Checksum 21:12:01 0d57e429df01: Download complete 21:12:01 4e4be7b47b0d: Download complete 21:12:01 188c0c94c7c5: Verifying Checksum 21:12:01 188c0c94c7c5: Download complete 21:12:02 188c0c94c7c5: Pull complete 21:12:02 e1f770b5df2f: Verifying Checksum 21:12:02 e1f770b5df2f: Download complete 21:12:02 0ef7d3d256c8: Pull complete 21:12:02 de9db76c5a1d: Pull complete 21:12:02 0eba1c9be4d2: Download complete 21:12:02 85a0685a4137: Verifying Checksum 21:12:02 85a0685a4137: Download complete 21:12:06 0eba1c9be4d2: Pull complete 21:12:06 0d57e429df01: Pull complete 21:12:06 4e4be7b47b0d: Pull complete 21:12:06 e1f770b5df2f: Pull complete 21:12:10 85a0685a4137: Pull complete 21:12:10 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 21:12:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:12:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 21:12:10 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 21:12:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:12:12 $ docker top d1d2691d0df48a92b406bcd554eac446906b65a139a344a6a5d50d819fcd6846 -eo pid,comm [Pipeline] { [Pipeline] echo 21:12:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:12:13 + set -o pipefail 21:12:13 + snyk monitor '--org=edgex-jenkins' 21:12:19 21:12:19 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 21:12:19 21:12:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0ce222ee-6a10-48df-8845-d892a89a3fbe/history/f13c75d5-d399-44ac-bde5-fcd44ef576e6 21:12:19 21:12:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:12:19 21:12:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:12:19 21:12:19 [Pipeline] } 21:12:19 $ docker stop --time=1 d1d2691d0df48a92b406bcd554eac446906b65a139a344a6a5d50d819fcd6846 21:12:22 $ docker rm -f d1d2691d0df48a92b406bcd554eac446906b65a139a344a6a5d50d819fcd6846 [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 21:12:23 + git log --format=format:%s -1 309a8ffa72e20d4133c7d51cd0433ba4077d6858 [Pipeline] sh 21:12:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:12:23 . [Pipeline] withDockerContainer 21:12:23 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 21:12:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:12:24 $ docker top 43202e686fcfcd1a1beaf10a818312a48b6a7e9a6bc6e51d953b44e7f80af1b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:24 [ssh-agent] Looking for ssh-agent implementation... 21:12:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:24 $ docker exec 43202e686fcfcd1a1beaf10a818312a48b6a7e9a6bc6e51d953b44e7f80af1b4 ssh-agent 21:12:24 SSH_AUTH_SOCK=/tmp/ssh-FSmnGced4d0D/agent.32 21:12:24 SSH_AGENT_PID=38 21:12:24 Running ssh-add (command line suppressed) 21:12:24 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_748909241235668378.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_748909241235668378.key) 21:12:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:24 + git semver tag 21:12:25 2022-05-10 21:12:25,187 [run_tag] DEBUG tag force:False 21:12:25 2022-05-10 21:12:25,187 [check_head_tag] DEBUG check head tag 21:12:25 2022-05-10 21:12:25,187 [execute] INFO git cat-file --batch-check 21:12:25 2022-05-10 21:12:25,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:12:25 2022-05-10 21:12:25,191 [execute] INFO git cat-file --batch 21:12:25 2022-05-10 21:12:25,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:12:25 2022-05-10 21:12:25,203 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:25 2022-05-10 21:12:25,204 [execute] INFO git tag -a v2.1.0-dev.14 -m v2.1.0-dev.14 21:12:25 2022-05-10 21:12:25,204 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.0-dev.14', '-m', 'v2.1.0-dev.14'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:12:25 2022-05-10 21:12:25,209 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:25 2.1.0-dev.14 [Pipeline] } 21:12:25 $ docker exec --env ******** --env ******** 43202e686fcfcd1a1beaf10a818312a48b6a7e9a6bc6e51d953b44e7f80af1b4 ssh-agent -k 21:12:25 unset SSH_AUTH_SOCK; 21:12:25 unset SSH_AGENT_PID; 21:12:25 echo Agent pid 38 killed; 21:12:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:25 + git semver [Pipeline] } 21:12:25 $ docker stop --time=1 43202e686fcfcd1a1beaf10a818312a48b6a7e9a6bc6e51d953b44e7f80af1b4 21:12:27 $ docker rm -f 43202e686fcfcd1a1beaf10a818312a48b6a7e9a6bc6e51d953b44e7f80af1b4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 21:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:27 21:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 21:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:27 0.23.1-centos7: Pulling from edgex-lftools 21:12:27 ab5ef0e58194: Pulling fs layer 21:12:27 9712f1f96733: Pulling fs layer 21:12:27 63f879dbbcfc: Pulling fs layer 21:12:27 0d9ebad4ef96: Pulling fs layer 21:12:27 e9a5061849ea: Pulling fs layer 21:12:27 d747dcd14b5f: Pulling fs layer 21:12:27 2de7ff778b66: Pulling fs layer 21:12:27 e9a5061849ea: Waiting 21:12:27 0d9ebad4ef96: Waiting 21:12:27 d747dcd14b5f: Waiting 21:12:27 2de7ff778b66: Waiting 21:12:27 9712f1f96733: Verifying Checksum 21:12:27 9712f1f96733: Download complete 21:12:28 63f879dbbcfc: Verifying Checksum 21:12:28 63f879dbbcfc: Download complete 21:12:28 e9a5061849ea: Verifying Checksum 21:12:28 e9a5061849ea: Download complete 21:12:28 0d9ebad4ef96: Verifying Checksum 21:12:28 0d9ebad4ef96: Download complete 21:12:28 d747dcd14b5f: Download complete 21:12:28 ab5ef0e58194: Verifying Checksum 21:12:28 ab5ef0e58194: Download complete 21:12:28 2de7ff778b66: Verifying Checksum 21:12:28 2de7ff778b66: Download complete 21:12:31 ab5ef0e58194: Pull complete 21:12:31 9712f1f96733: Pull complete 21:12:32 63f879dbbcfc: Pull complete 21:12:35 0d9ebad4ef96: Pull complete 21:12:35 e9a5061849ea: Pull complete 21:12:35 d747dcd14b5f: Pull complete 21:12:36 2de7ff778b66: Pull complete 21:12:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:12:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 21:12:36 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 21:12:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:12:39 $ docker top 8eaeed8f43345c7ae60c1ff582611e5d6ae1ee604b53afe0db66a0dc3ff772e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:12:39 provisioning config files... 21:12:39 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config5407879880788576993tmp 21:12:39 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8059112228583194990tmp 21:12:39 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6859608850647170736tmp [Pipeline] { [Pipeline] echo 21:12:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:12:39 ---> sigul-configuration.sh 21:12:39 gpg: directory `/root/.gnupg' created 21:12:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:12:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:12:39 gpg: keyring `/root/.gnupg/secring.gpg' created 21:12:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:12:39 gpg: CAST5 encrypted data 21:12:39 gpg: encrypted with 1 passphrase 21:12:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:12:39 + mkdir /home/jenkins 21:12:39 + mkdir /home/jenkins/sigul [Pipeline] sh 21:12:40 + 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 21:12:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:12:40 ---> sigul-install.sh 21:12:40 Sigul already installed; skipping installation. [Pipeline] sh 21:12:40 + git tag --list 21:12:40 v0.0.0 21:12:40 v0.0.1-dev.1 21:12:40 v0.0.1-dev.2 21:12:40 v0.0.1-dev.3 21:12:40 v0.0.1-dev.4 21:12:40 v0.0.1-dev.5 21:12:40 v0.0.1-dev.6 21:12:40 v0.0.1-dev.7 21:12:40 v1.0.0 21:12:40 v1.0.1-dev.1 21:12:40 v1.0.1-dev.2 21:12:40 v1.0.1-dev.3 21:12:40 v1.0.1-dev.4 21:12:40 v1.0.1-dev.5 21:12:40 v2.1.0 21:12:40 v2.1.0-dev.1 21:12:40 v2.1.0-dev.10 21:12:40 v2.1.0-dev.11 21:12:40 v2.1.0-dev.12 21:12:40 v2.1.0-dev.13 21:12:40 v2.1.0-dev.14 21:12:40 v2.1.0-dev.2 21:12:40 v2.1.0-dev.3 21:12:40 v2.1.0-dev.4 21:12:40 v2.1.0-dev.5 21:12:40 v2.1.0-dev.6 21:12:40 v2.1.0-dev.7 21:12:40 v2.1.0-dev.8 21:12:40 v2.1.0-dev.9 [Pipeline] sh 21:12:40 + lftools sign git-tag v2.1.0-dev.14 21:12:41 Signing Git tag with Sigul... 21:12:41 Signing v2.1.0-dev.14 [Pipeline] echo 21:12:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:12:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:12:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:12:42 $ docker stop --time=1 8eaeed8f43345c7ae60c1ff582611e5d6ae1ee604b53afe0db66a0dc3ff772e6 21:12:43 $ docker rm -f 8eaeed8f43345c7ae60c1ff582611e5d6ae1ee604b53afe0db66a0dc3ff772e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:12:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:12:44 . [Pipeline] withDockerContainer 21:12:44 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 21:12:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:12:44 $ docker top 7f2f6f4495182a2c65bf9ee79d46c0a81bde4816e3d0fe08ca4fce604b7bb4f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:45 [ssh-agent] Looking for ssh-agent implementation... 21:12:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:45 $ docker exec 7f2f6f4495182a2c65bf9ee79d46c0a81bde4816e3d0fe08ca4fce604b7bb4f7 ssh-agent 21:12:45 SSH_AUTH_SOCK=/tmp/ssh-aCCpgLndR7Wy/agent.32 21:12:45 SSH_AGENT_PID=38 21:12:45 Running ssh-add (command line suppressed) 21:12:45 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1824028506855121821.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1824028506855121821.key) 21:12:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:45 + git semver bump pre 21:12:46 2022-05-10 21:12:45,964 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:46 2022-05-10 21:12:45,964 [bump_version] DEBUG bumping version:2.1.0-dev.14 on axis:pre with prefix:dev 21:12:46 2022-05-10 21:12:45,964 [bump_version] DEBUG bumped version:2.1.0-dev.15 21:12:46 2022-05-10 21:12:45,964 [write_version] DEBUG write version:2.1.0-dev.15 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 21:12:46 2022-05-10 21:12:45,964 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:46 2022-05-10 21:12:45,964 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:46 2022-05-10 21:12:45,966 [execute] INFO git cat-file --batch-check 21:12:46 2022-05-10 21:12:45,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:46 2022-05-10 21:12:45,971 [execute] INFO git cat-file --batch 21:12:46 2022-05-10 21:12:45,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:46 2022-05-10 21:12:45,976 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:46 2.1.0-dev.15 [Pipeline] } 21:12:46 $ docker exec --env ******** --env ******** 7f2f6f4495182a2c65bf9ee79d46c0a81bde4816e3d0fe08ca4fce604b7bb4f7 ssh-agent -k 21:12:46 unset SSH_AUTH_SOCK; 21:12:46 unset SSH_AGENT_PID; 21:12:46 echo Agent pid 38 killed; 21:12:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:46 + git semver [Pipeline] } 21:12:46 $ docker stop --time=1 7f2f6f4495182a2c65bf9ee79d46c0a81bde4816e3d0fe08ca4fce604b7bb4f7 21:12:48 $ docker rm -f 7f2f6f4495182a2c65bf9ee79d46c0a81bde4816e3d0fe08ca4fce604b7bb4f7 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:12:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:12:48 . [Pipeline] withDockerContainer 21:12:48 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 21:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:12:49 $ docker top 54ecf38b45e19686dc117177cf19beb9691fb7694b1c6186ba5ecb8eed827efe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:49 [ssh-agent] Looking for ssh-agent implementation... 21:12:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:49 $ docker exec 54ecf38b45e19686dc117177cf19beb9691fb7694b1c6186ba5ecb8eed827efe ssh-agent 21:12:49 SSH_AUTH_SOCK=/tmp/ssh-tCifgLEiQ2Pd/agent.34 21:12:49 SSH_AGENT_PID=41 21:12:49 Running ssh-add (command line suppressed) 21:12:49 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1796644622550590423.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_1796644622550590423.key) 21:12:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:49 + git semver push 21:12:50 2022-05-10 21:12:50,180 [run_push] DEBUG push 21:12:50 2022-05-10 21:12:50,181 [execute] INFO git push origin semver 21:12:50 2022-05-10 21:12:50,181 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:12:51 2022-05-10 21:12:50,910 [run_push] DEBUG push all version tags 21:12:51 2022-05-10 21:12:50,910 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:12:51 2022-05-10 21:12:50,911 [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) 21:12:51 2022-05-10 21:12:51,647 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:12:51 2.1.0-dev.15 [Pipeline] } 21:12:51 $ docker exec --env ******** --env ******** 54ecf38b45e19686dc117177cf19beb9691fb7694b1c6186ba5ecb8eed827efe ssh-agent -k 21:12:51 unset SSH_AUTH_SOCK; 21:12:51 unset SSH_AGENT_PID; 21:12:51 echo Agent pid 41 killed; 21:12:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:52 + git semver [Pipeline] } 21:12:52 $ docker stop --time=1 54ecf38b45e19686dc117177cf19beb9691fb7694b1c6186ba5ecb8eed827efe 21:12:53 $ docker rm -f 54ecf38b45e19686dc117177cf19beb9691fb7694b1c6186ba5ecb8eed827efe [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 21:12:54 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 21:12:54 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:12:54 total 16 21:12:54 drwxr-xr-x 3 root root 4096 May 10 20:15 . 21:12:54 drwxrwxr-x 12 jenkins jenkins 4096 May 10 21:12 .. 21:12:54 drwxr-xr-x 2 root root 4096 May 10 20:15 cost 21:12:54 -rw-r--r-- 1 root root 93 May 10 20:15 cost.csv 21:12:54 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:12:54 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:12:54 total 16 21:12:54 drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:15 . 21:12:54 drwxrwxr-x 12 jenkins jenkins 4096 May 10 21:12 .. 21:12:54 drwxr-xr-x 2 jenkins jenkins 4096 May 10 20:15 cost 21:12:54 -rw-r--r-- 1 jenkins jenkins 93 May 10 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:55 ---> package-listing.sh 21:12:55 ++ facter osfamily 21:12:55 ++ tr '[:upper:]' '[:lower:]' 21:12:55 + OS_FAMILY=debian 21:12:55 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 21:12:55 + START_PACKAGES=/tmp/packages_start.txt 21:12:55 + END_PACKAGES=/tmp/packages_end.txt 21:12:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:55 + PACKAGES=/tmp/packages_start.txt 21:12:55 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:12:55 + PACKAGES=/tmp/packages_end.txt 21:12:55 + case "${OS_FAMILY}" in 21:12:55 + dpkg -l 21:12:55 + grep '^ii' 21:12:55 + '[' -f /tmp/packages_start.txt ']' 21:12:55 + '[' -f /tmp/packages_end.txt ']' 21:12:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:55 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:12:55 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 21:12:55 + 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 21:12:55 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 21:12:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:12:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:56 . [Pipeline] withDockerContainer 21:12:56 prd-ubuntu20.04-docker-8c-8g-48077 does not seem to be running inside a container 21:12:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:12:57 $ docker top e85d05ed07d501b3f0624d1a65b72492b8823a1248fb0318d959be61452e7932 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:57 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:57 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:57 + ls /var/log/sa-host 21:12:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:58 provisioning config files... 21:12:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config276873530555009432tmp [Pipeline] { [Pipeline] echo 21:12:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:58 ---> create-netrc.sh [Pipeline] } 21:12:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:58 ---> python-tools-install.sh [Pipeline] echo 21:12:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:58 ---> sudo-logs.sh 21:12:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:59 ---> job-cost.sh 21:12:59 lf-activate-venv: SKIPPING 21:12:59 DEBUG: total: 0.2199999988079071 21:12:59 INFO: Retrieving Stack Cost... 21:12:59 INFO: Retrieving Pricing Info for: v3-standard-8 21:13:00 INFO: Archiving Costs [Pipeline] echo 21:13:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:13:00 ---> logs-deploy.sh 21:13:00 lf-activate-venv: SKIPPING 21:13:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/35 21:13:00 INFO: archiving workspace using pattern(s): 21:13:01 Archives upload complete. 21:13:01 INFO: archiving logs to Nexus