Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 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-ssh13139495904741917590.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3896764258453577248.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11280802303752047889.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11665098866056587519.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8259419387727729505.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6913 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 (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 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#112)" > git rev-list --no-walk 50b7175916fade296152ad9743613fc80727b30a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:46:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:46:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:46:40 ========================================================= 17:46:40 EdgeX Global Pipelines Version Info 17:46:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:46:41 ------------------- 17:46:41 stable info: 17:46:41 ------------------- 17:46:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:46:41 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:46:41 Message: update stable to v1.0.239 17:46:42 ------------------- 17:46:42 experimental info: 17:46:42 ------------------- 17:46:42 Commited By: **** collab-it+edgex@linuxfoundation.org 17:46:42 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:46:42 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42cc387 [Pipeline] echo 17:46:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:46:42 provisioning config files... 17:46:42 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config2174596565276269877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:42 ---> docker-login.sh 17:46:42 nexus3.edgexfoundry.org:10001 17:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:43 Configure a credential helper to remove this warning. See 17:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:43 17:46:43 Login Succeeded 17:46:43 nexus3.edgexfoundry.org:10002 17:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:43 Configure a credential helper to remove this warning. See 17:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:43 17:46:43 Login Succeeded 17:46:43 nexus3.edgexfoundry.org:10003 17:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:43 Configure a credential helper to remove this warning. See 17:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:43 17:46:43 Login Succeeded 17:46:43 nexus3.edgexfoundry.org:10004 17:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:43 Configure a credential helper to remove this warning. See 17:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:43 17:46:43 Login Succeeded 17:46:43 docker.io 17:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:44 Configure a credential helper to remove this warning. See 17:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:44 17:46:44 Login Succeeded 17:46:44 ---> docker-login.sh ends [Pipeline] } 17:46:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:46:44 + git rev-list -1 --merges 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86~1..42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] echo 17:46:44 -----------> git rev-list -1 --merges 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86~1..42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [false] [Pipeline] sh 17:46:44 + git log --format=format:%s -1 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] echo 17:46:44 ========================================================= 17:46:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:46:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:46:45 + git log --format=format:%s -1 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] echo 17:46:45 [semverPrep] GIT_COMMIT: 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#112) [Pipeline] echo 17:46:45 [semverPrep] This is not a build commit. [Pipeline] sh 17:46:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:46:45 + grep -v github /etc/ssh/ssh_known_hosts 17:46:45 + [ -e /tmp/ssh_known_hosts ] 17:46:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:46:45 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:46:45 sudo tee -a /etc/ssh/ssh_known_hosts 17:46:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:46:46 17:46:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:46:46 0.1.4: Pulling from edgex-devops/py-git-semver 17:46:46 b85a868b505f: Pulling fs layer 17:46:46 e2be974225ed: Pulling fs layer 17:46:46 339a4e72a1f5: Pulling fs layer 17:46:46 988bab9f4d93: Pulling fs layer 17:46:46 1469e6f7b9e6: Pulling fs layer 17:46:46 eaf3925da568: Pulling fs layer 17:46:46 bab4dde63d76: Pulling fs layer 17:46:46 988bab9f4d93: Waiting 17:46:46 1469e6f7b9e6: Waiting 17:46:46 eaf3925da568: Waiting 17:46:46 bde34c3a00c8: Pulling fs layer 17:46:46 b352a97aabf1: Pulling fs layer 17:46:46 4872d77fe225: Pulling fs layer 17:46:46 5851b861e8e6: Pulling fs layer 17:46:46 b352a97aabf1: Waiting 17:46:46 4872d77fe225: Waiting 17:46:46 bde34c3a00c8: Waiting 17:46:46 5851b861e8e6: Waiting 17:46:46 bab4dde63d76: Waiting 17:46:46 e2be974225ed: Download complete 17:46:46 988bab9f4d93: Verifying Checksum 17:46:46 988bab9f4d93: Download complete 17:46:46 1469e6f7b9e6: Verifying Checksum 17:46:46 1469e6f7b9e6: Download complete 17:46:46 eaf3925da568: Verifying Checksum 17:46:46 eaf3925da568: Download complete 17:46:46 339a4e72a1f5: Verifying Checksum 17:46:46 339a4e72a1f5: Download complete 17:46:46 bde34c3a00c8: Verifying Checksum 17:46:46 bde34c3a00c8: Download complete 17:46:46 b352a97aabf1: Verifying Checksum 17:46:46 b352a97aabf1: Download complete 17:46:46 4872d77fe225: Verifying Checksum 17:46:46 4872d77fe225: Download complete 17:46:46 5851b861e8e6: Verifying Checksum 17:46:46 5851b861e8e6: Download complete 17:46:46 b85a868b505f: Download complete 17:46:46 bab4dde63d76: Verifying Checksum 17:46:46 bab4dde63d76: Download complete 17:46:48 b85a868b505f: Pull complete 17:46:48 e2be974225ed: Pull complete 17:46:49 339a4e72a1f5: Pull complete 17:46:49 988bab9f4d93: Pull complete 17:46:49 1469e6f7b9e6: Pull complete 17:46:49 eaf3925da568: Pull complete 17:46:51 bab4dde63d76: Pull complete 17:46:51 bde34c3a00c8: Pull complete 17:46:51 b352a97aabf1: Pull complete 17:46:51 4872d77fe225: Pull complete 17:46:51 5851b861e8e6: Pull complete 17:46:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:46:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:46:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:52 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:46:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:46:53 $ docker top 535df1fc44e425d7c01305c3db3e14e60554464c6658696bf2dee710bd274a66 -eo pid,comm 17:46:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:46:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:46:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:46:53 [ssh-agent] Looking for ssh-agent implementation... 17:46:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:46:53 $ docker exec 535df1fc44e425d7c01305c3db3e14e60554464c6658696bf2dee710bd274a66 ssh-agent 17:46:53 SSH_AUTH_SOCK=/tmp/ssh-jrKndyuxgOOW/agent.33 17:46:53 SSH_AGENT_PID=39 17:46:53 Running ssh-add (command line suppressed) 17:46:54 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2097316922665320654.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2097316922665320654.key) 17:46:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:46:54 + git tag --points-at HEAD [Pipeline] } 17:46:54 $ docker exec --env ******** --env ******** 535df1fc44e425d7c01305c3db3e14e60554464c6658696bf2dee710bd274a66 ssh-agent -k 17:46:54 unset SSH_AUTH_SOCK; 17:46:54 unset SSH_AGENT_PID; 17:46:54 echo Agent pid 39 killed; 17:46:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:46:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:46:54 [ssh-agent] Looking for ssh-agent implementation... 17:46:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:46:54 $ docker exec 535df1fc44e425d7c01305c3db3e14e60554464c6658696bf2dee710bd274a66 ssh-agent 17:46:54 SSH_AUTH_SOCK=/tmp/ssh-nxrpSMNBoMp7/agent.72 17:46:54 SSH_AGENT_PID=78 17:46:54 Running ssh-add (command line suppressed) 17:46:54 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2822176345765421854.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2822176345765421854.key) 17:46:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:46:55 + git semver init 17:46:55 2022-10-03 17:46:55,351 [run_init] DEBUG init version:0.0.0 force:False 17:46:55 2022-10-03 17:46:55,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:46:55 2022-10-03 17:46:55,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 17:46:55 2022-10-03 17:46:55,352 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:46:56 2022-10-03 17:46:56,553 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 17:46:56 2022-10-03 17:46:56,554 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 17:46:56 2022-10-03 17:46:56,554 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:46:56 2022-10-03 17:46:56,554 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:46:56 2.3.0-dev.17 [Pipeline] } 17:46:56 $ docker exec --env ******** --env ******** 535df1fc44e425d7c01305c3db3e14e60554464c6658696bf2dee710bd274a66 ssh-agent -k 17:46:56 unset SSH_AUTH_SOCK; 17:46:56 unset SSH_AGENT_PID; 17:46:56 echo Agent pid 78 killed; 17:46:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:46:57 + git semver [Pipeline] } 17:46:57 $ docker stop --time=1 535df1fc44e425d7c01305c3db3e14e60554464c6658696bf2dee710bd274a66 17:46:58 $ docker rm -f 535df1fc44e425d7c01305c3db3e14e60554464c6658696bf2dee710bd274a66 [Pipeline] // withDockerContainer [Pipeline] sh 17:46:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:46:59 Stashed 1 file(s) [Pipeline] echo 17:46:59 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:46:59 provisioning config files... 17:46:59 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7833165600757398672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:59 ---> docker-login.sh 17:46:59 nexus3.edgexfoundry.org:10001 17:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:59 Configure a credential helper to remove this warning. See 17:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:59 17:46:59 Login Succeeded 17:46:59 nexus3.edgexfoundry.org:10002 17:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:46:59 Configure a credential helper to remove this warning. See 17:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:46:59 17:46:59 Login Succeeded 17:46:59 nexus3.edgexfoundry.org:10003 17:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:00 Configure a credential helper to remove this warning. See 17:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:00 17:47:00 Login Succeeded 17:47:00 nexus3.edgexfoundry.org:10004 17:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:00 Configure a credential helper to remove this warning. See 17:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:00 17:47:00 Login Succeeded 17:47:00 docker.io 17:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:00 Configure a credential helper to remove this warning. See 17:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:00 17:47:00 Login Succeeded 17:47:00 ---> docker-login.sh ends [Pipeline] } 17:47:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:00 ========================================================= 17:47:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:47:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:47:00 Sending build context to Docker daemon 12.49MB 17:47:00 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:47:00 Step 2/14 : FROM ${BASE} AS builder 17:47:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:47:00 2408cc74d12b: Pulling fs layer 17:47:00 ea60b727a1ce: Pulling fs layer 17:47:00 30c4a7721957: Pulling fs layer 17:47:00 370296b7ddb6: Pulling fs layer 17:47:00 7c6cee850709: Pulling fs layer 17:47:00 aa9baa53a306: Pulling fs layer 17:47:00 8b309c321861: Pulling fs layer 17:47:00 d8d76fd02f46: Pulling fs layer 17:47:00 fa31f396de31: Pulling fs layer 17:47:00 370296b7ddb6: Waiting 17:47:00 7c6cee850709: Waiting 17:47:00 aa9baa53a306: Waiting 17:47:00 8b309c321861: Waiting 17:47:00 d8d76fd02f46: Waiting 17:47:00 fa31f396de31: Waiting 17:47:00 30c4a7721957: Download complete 17:47:00 ea60b727a1ce: Verifying Checksum 17:47:00 ea60b727a1ce: Download complete 17:47:01 7c6cee850709: Verifying Checksum 17:47:01 7c6cee850709: Download complete 17:47:01 aa9baa53a306: Verifying Checksum 17:47:01 aa9baa53a306: Download complete 17:47:01 2408cc74d12b: Verifying Checksum 17:47:01 2408cc74d12b: Download complete 17:47:01 8b309c321861: Download complete 17:47:01 2408cc74d12b: Pull complete 17:47:01 ea60b727a1ce: Pull complete 17:47:01 30c4a7721957: Pull complete 17:47:01 fa31f396de31: Verifying Checksum 17:47:01 fa31f396de31: Download complete 17:47:01 370296b7ddb6: Verifying Checksum 17:47:01 370296b7ddb6: Download complete 17:47:02 d8d76fd02f46: Verifying Checksum 17:47:02 d8d76fd02f46: Download complete 17:47:06 370296b7ddb6: Pull complete 17:47:06 7c6cee850709: Pull complete 17:47:06 aa9baa53a306: Pull complete 17:47:06 8b309c321861: Pull complete 17:47:08 d8d76fd02f46: Pull complete 17:47:08 fa31f396de31: Pull complete 17:47:08 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 17:47:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:47:08 ---> cef68f9685f8 17:47:08 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:47:10 ---> Running in 268c4ad58df1 17:47:10 Removing intermediate container 268c4ad58df1 17:47:10 ---> 576c335f9edc 17:47:10 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 17:47:10 ---> Running in 1965ddb2320f 17:47:11 Removing intermediate container 1965ddb2320f 17:47:11 ---> cbb56c1bcd1f 17:47:11 Step 5/14 : ARG ADD_BUILD_TAGS="" 17:47:11 ---> Running in 92dea0a57225 17:47:11 Removing intermediate container 92dea0a57225 17:47:11 ---> 9c762d975a47 17:47:11 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:47:11 ---> Running in 3b64da686d31 17:47:11 Removing intermediate container 3b64da686d31 17:47:11 ---> 659823ff268b 17:47:11 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:47:11 ---> Running in afef49b69835 17:47:11 Removing intermediate container afef49b69835 17:47:11 ---> cbaba65661b8 17:47:11 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:47:12 ---> Running in 7258489d64a9 17:47:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:47:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:47:13 OK: 211 MiB in 51 packages 17:47:14 Removing intermediate container 7258489d64a9 17:47:14 ---> 049c48bc664b 17:47:14 Step 9/14 : WORKDIR /app 17:47:14 ---> Running in 28ed4d27d7fc 17:47:14 Removing intermediate container 28ed4d27d7fc 17:47:14 ---> 1bcc26e4818d 17:47:14 Step 10/14 : COPY go.mod vendor* ./ 17:47:14 ---> bccc44567001 17:47:14 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:47:14 ---> Running in 740597346a65 17:47:14 Still waiting to schedule task 17:47:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:47:32 Removing intermediate container 740597346a65 17:47:32 ---> 62dd6f4865d8 17:47:32 Step 12/14 : COPY . . 17:47:32 ---> 5aab841f3e63 17:47:32 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:47:32 ---> Running in 29e2f23db420 17:47:32 Removing intermediate container 29e2f23db420 17:47:32 ---> cb5167d1517f 17:47:32 Step 14/14 : RUN $MAKE 17:47:32 ---> Running in 285984700cd2 17:47:32 noop 17:47:32 Removing intermediate container 285984700cd2 17:47:32 ---> 79665cbdf364 17:47:32 Successfully built 79665cbdf364 17:47:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:33 + docker inspect -f . ci-base-image-x86_64 17:47:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:33 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:47:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:47:33 $ docker top 212d9bed915f399081387b0919582e24c403aa436b4da5b822f25e803348b71d -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:33 + go version 17:47:33 go version go1.18.3 linux/amd64 [Pipeline] } 17:47:33 $ docker stop --time=1 212d9bed915f399081387b0919582e24c403aa436b4da5b822f25e803348b71d 17:47:35 $ docker rm -f 212d9bed915f399081387b0919582e24c403aa436b4da5b822f25e803348b71d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:35 + docker inspect -f . ci-base-image-x86_64 17:47:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:35 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:47:36 $ docker top 65969b8bb55f86c92fd32f6a9a8af685d3e0c874e5ba772e90c3a3867d0ffd81 -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:36 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 17:47:36 + make test 17:47:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:47:48 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:47:48 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.054s coverage: 86.2% of statements 17:47:48 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:47:50 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.549s coverage: 71.9% of statements 17:47:58 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:47:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:48:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:48:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:48:02 ./bin/test-attribution.sh [Pipeline] echo 17:48:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:48:02 $ docker stop --time=1 65969b8bb55f86c92fd32f6a9a8af685d3e0c874e5ba772e90c3a3867d0ffd81 17:48:04 $ docker rm -f 65969b8bb55f86c92fd32f6a9a8af685d3e0c874e5ba772e90c3a3867d0ffd81 [Pipeline] // withDockerContainer [Pipeline] sh 17:48:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:48:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:48:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:48:05 + ls -al . 17:48:05 total 232 17:48:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 17:47 . 17:48:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:46 .. 17:48:05 -rw-rw-r-- 1 jenkins jenkins 262 Oct 3 17:46 .dockerignore 17:48:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 17:47 .git 17:48:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:46 .github 17:48:05 -rw-rw-r-- 1 jenkins jenkins 788 Oct 3 17:46 .gitignore 17:48:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 17:46 .golangci.yml 17:48:05 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 17:46 .semver 17:48:05 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 3 17:46 Attribution.txt 17:48:05 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 3 17:46 CHANGELOG.md 17:48:05 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 3 17:46 Dockerfile 17:48:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 17:46 GOVERNANCE.md 17:48:05 -rw-rw-r-- 1 jenkins jenkins 687 Oct 3 17:46 Jenkinsfile 17:48:05 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 3 17:46 LICENSE 17:48:05 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 3 17:46 Makefile 17:48:05 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 17:46 OWNERS.md 17:48:05 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 3 17:46 README.md 17:48:05 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 17:46 VERSION 17:48:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:46 bin 17:48:05 -rw-r--r-- 1 jenkins jenkins 41008 Oct 3 17:47 coverage.out 17:48:05 -rw-rw-r-- 1 jenkins jenkins 3657 Oct 3 17:46 go.mod 17:48:05 -rw-rw-r-- 1 jenkins jenkins 38018 Oct 3 17:46 go.sum 17:48:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:46 images 17:48:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:46 internal 17:48:05 -rw-rw-r-- 1 jenkins jenkins 531 Oct 3 17:46 main.go 17:48:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:46 res 17:48:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:46 snap 17:48:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:46 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:06 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 --label arch=amd64 --label version=2.3.0-dev.17 . 17:48:06 Sending build context to Docker daemon 12.49MB 17:48:06 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 17:48:06 Step 2/32 : FROM ${BASE} AS builder 17:48:06 ---> 79665cbdf364 17:48:06 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:48:06 ---> Running in ceac2ffcc434 17:48:06 Removing intermediate container ceac2ffcc434 17:48:06 ---> 2db352ed2a12 17:48:06 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 17:48:06 ---> Running in 17cbeccce18a 17:48:06 Removing intermediate container 17cbeccce18a 17:48:06 ---> b42979bdc24e 17:48:06 Step 5/32 : ARG ADD_BUILD_TAGS="" 17:48:06 ---> Running in ce045ea1281d 17:48:06 Removing intermediate container ce045ea1281d 17:48:06 ---> 65557ad9f17d 17:48:06 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:48:06 ---> Running in d9d71bad4c01 17:48:06 Removing intermediate container d9d71bad4c01 17:48:06 ---> e2da7637915e 17:48:06 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:48:06 ---> Running in e331b05ae203 17:48:07 Removing intermediate container e331b05ae203 17:48:07 ---> bee6b7a0c1bb 17:48:07 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:48:07 ---> Running in 8b179241556c 17:48:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:48:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:48:09 OK: 211 MiB in 51 packages 17:48:09 Removing intermediate container 8b179241556c 17:48:09 ---> 7edc15d378a3 17:48:09 Step 9/32 : WORKDIR /app 17:48:09 ---> Running in 1bccd11f3af8 17:48:09 Removing intermediate container 1bccd11f3af8 17:48:09 ---> 11bf8aa3b660 17:48:09 Step 10/32 : COPY go.mod vendor* ./ 17:48:09 ---> ced8f252fae3 17:48:09 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:48:09 ---> Running in 3ae015d383b9 17:48:10 Removing intermediate container 3ae015d383b9 17:48:10 ---> 5a3d651413a3 17:48:10 Step 12/32 : COPY . . 17:48:10 ---> 47615988b05d 17:48:10 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:48:10 ---> Running in 3088e55053b3 17:48:10 Removing intermediate container 3088e55053b3 17:48:10 ---> c114e1750b8f 17:48:10 Step 14/32 : RUN $MAKE 17:48:10 ---> Running in 0a8ec110df81 17:48:11 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.44 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.17 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:48:33 Removing intermediate container 0a8ec110df81 17:48:33 ---> 0e0ea4447b5a 17:48:33 Step 15/32 : FROM alpine:3.14 17:48:33 3.14: Pulling from library/alpine 17:48:33 c7ed990a2339: Pulling fs layer 17:48:33 c7ed990a2339: Download complete 17:48:33 c7ed990a2339: Pull complete 17:48:33 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 17:48:33 Status: Downloaded newer image for alpine:3.14 17:48:33 ---> dd53f409bf0b 17:48:33 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:48:33 ---> Running in c3aeeacb8448 17:48:33 Removing intermediate container c3aeeacb8448 17:48:33 ---> d0e01d4ad398 17:48:33 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:48:33 ---> Running in 89564bd73c2f 17:48:33 Removing intermediate container 89564bd73c2f 17:48:33 ---> be5a5b5db9ad 17:48:33 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:48:33 ---> Running in 12d8dc023966 17:48:34 Removing intermediate container 12d8dc023966 17:48:34 ---> 4c6b78c52dd7 17:48:34 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:48:34 ---> Running in f3013e7d892b 17:48:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:48:35 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:48:35 (1/7) Installing ca-certificates (20220614-r0) 17:48:35 (2/7) Installing dumb-init (1.2.5-r1) 17:48:36 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:48:36 (4/7) Installing libsodium (1.0.18-r0) 17:48:36 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:48:36 (6/7) Installing libzmq (4.3.4-r0) 17:48:36 (7/7) Installing zeromq (4.3.4-r0) 17:48:36 Executing busybox-1.33.1-r8.trigger 17:48:36 Executing ca-certificates-20220614-r0.trigger 17:48:36 OK: 9 MiB in 21 packages 17:48:37 Removing intermediate container f3013e7d892b 17:48:37 ---> e27a485a6a49 17:48:37 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:48:37 ---> 5ff03b6ecd59 17:48:37 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 17:48:37 ---> 1d05f2deaa05 17:48:37 Step 22/32 : COPY --from=builder /app/res/ /res/ 17:48:37 ---> 36343684c43a 17:48:37 Step 23/32 : COPY --from=builder /app/static/ /static/ 17:48:37 ---> 9cbb55ce7f0d 17:48:37 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:48:38 ---> f1ba90d2bbb9 17:48:38 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:48:38 ---> Running in c5161d6ccf10 17:48:38 Removing intermediate container c5161d6ccf10 17:48:38 ---> a26f9179163c 17:48:38 Step 26/32 : VOLUME /cache 17:48:38 ---> Running in 0567a75f770d 17:48:39 Removing intermediate container 0567a75f770d 17:48:39 ---> caec1a591f05 17:48:39 Step 27/32 : EXPOSE 59711 17:48:39 ---> Running in 8255b622f1f1 17:48:39 Removing intermediate container 8255b622f1f1 17:48:39 ---> efcc6ee24adb 17:48:39 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:48:39 ---> Running in 93fd62d8323d 17:48:39 Removing intermediate container 93fd62d8323d 17:48:39 ---> f68603a31e37 17:48:39 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:48:39 ---> Running in b66098292821 17:48:39 Removing intermediate container b66098292821 17:48:39 ---> a2f698c17279 17:48:39 Step 30/32 : LABEL arch=amd64 17:48:39 ---> Running in eeb19271a172 17:48:39 Removing intermediate container eeb19271a172 17:48:39 ---> 2974070b1f66 17:48:39 Step 31/32 : LABEL git_sha=42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:48:39 ---> Running in 695c2bb960c8 17:48:39 Removing intermediate container 695c2bb960c8 17:48:39 ---> 180935cd05c4 17:48:39 Step 32/32 : LABEL version=2.3.0-dev.17 17:48:39 ---> Running in 20041ef32d17 17:48:39 Removing intermediate container 20041ef32d17 17:48:39 ---> 23d6206d6bb8 17:48:39 [Warning] One or more build-args [ARCH] were not consumed 17:48:39 Successfully built 23d6206d6bb8 17:48:39 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:39 provisioning config files... 17:48:39 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3969723345802883038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:40 ---> docker-login.sh 17:48:40 nexus3.edgexfoundry.org:10001 17:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:40 Configure a credential helper to remove this warning. See 17:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:40 17:48:40 Login Succeeded 17:48:40 nexus3.edgexfoundry.org:10002 17:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:40 Configure a credential helper to remove this warning. See 17:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:40 17:48:40 Login Succeeded 17:48:40 nexus3.edgexfoundry.org:10003 17:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:40 Configure a credential helper to remove this warning. See 17:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:40 17:48:40 Login Succeeded 17:48:40 nexus3.edgexfoundry.org:10004 17:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:40 Configure a credential helper to remove this warning. See 17:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:40 17:48:40 Login Succeeded 17:48:40 docker.io 17:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:41 Configure a credential helper to remove this warning. See 17:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:41 17:48:41 Login Succeeded 17:48:41 ---> docker-login.sh ends [Pipeline] } 17:48:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:41 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 17:48:41 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:48:41 latest 17:48:41 2.3.0-dev.17 17:48:41 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 17:48:41 main 17:48:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:41 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:41 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:48:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:48:41 3608811bed06: Preparing 17:48:41 da0f40b509f3: Preparing 17:48:41 32b3ec5a7f93: Preparing 17:48:41 ebddf506c095: Preparing 17:48:41 1a5fd23444c5: Preparing 17:48:41 7fb967664e7f: Preparing 17:48:41 a03a7bbb3543: Preparing 17:48:41 e246693128fc: Preparing 17:48:41 63493a9ab2d4: Preparing 17:48:41 7fb967664e7f: Waiting 17:48:41 a03a7bbb3543: Waiting 17:48:41 e246693128fc: Waiting 17:48:41 63493a9ab2d4: Waiting 17:48:41 ebddf506c095: Pushed 17:48:41 32b3ec5a7f93: Pushed 17:48:41 3608811bed06: Pushed 17:48:41 1a5fd23444c5: Pushed 17:48:41 63493a9ab2d4: Layer already exists 17:48:41 7fb967664e7f: Pushed 17:48:41 e246693128fc: Pushed 17:48:42 a03a7bbb3543: Pushed 17:48:44 da0f40b509f3: Pushed 17:48:44 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86: digest: sha256:2965fb090c9a7d7a7f89f6c74732b383bb92e4596d170b167ad47a2fa6c72bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:45 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:45 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:48:45 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:48:45 3608811bed06: Preparing 17:48:45 da0f40b509f3: Preparing 17:48:45 32b3ec5a7f93: Preparing 17:48:45 ebddf506c095: Preparing 17:48:45 1a5fd23444c5: Preparing 17:48:45 7fb967664e7f: Preparing 17:48:45 a03a7bbb3543: Preparing 17:48:45 e246693128fc: Preparing 17:48:45 63493a9ab2d4: Preparing 17:48:45 7fb967664e7f: Waiting 17:48:45 a03a7bbb3543: Waiting 17:48:45 e246693128fc: Waiting 17:48:45 63493a9ab2d4: Waiting 17:48:45 3608811bed06: Layer already exists 17:48:45 32b3ec5a7f93: Layer already exists 17:48:45 da0f40b509f3: Layer already exists 17:48:45 ebddf506c095: Layer already exists 17:48:45 1a5fd23444c5: Layer already exists 17:48:45 7fb967664e7f: Layer already exists 17:48:45 e246693128fc: Layer already exists 17:48:45 63493a9ab2d4: Layer already exists 17:48:45 a03a7bbb3543: Layer already exists 17:48:45 latest: digest: sha256:2965fb090c9a7d7a7f89f6c74732b383bb92e4596d170b167ad47a2fa6c72bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:45 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:46 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.17 17:48:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:48:46 3608811bed06: Preparing 17:48:46 da0f40b509f3: Preparing 17:48:46 32b3ec5a7f93: Preparing 17:48:46 ebddf506c095: Preparing 17:48:46 1a5fd23444c5: Preparing 17:48:46 7fb967664e7f: Preparing 17:48:46 a03a7bbb3543: Preparing 17:48:46 e246693128fc: Preparing 17:48:46 63493a9ab2d4: Preparing 17:48:46 7fb967664e7f: Waiting 17:48:46 a03a7bbb3543: Waiting 17:48:46 63493a9ab2d4: Waiting 17:48:46 e246693128fc: Waiting 17:48:46 da0f40b509f3: Layer already exists 17:48:46 32b3ec5a7f93: Layer already exists 17:48:46 1a5fd23444c5: Layer already exists 17:48:46 3608811bed06: Layer already exists 17:48:46 ebddf506c095: Layer already exists 17:48:46 a03a7bbb3543: Layer already exists 17:48:46 7fb967664e7f: Layer already exists 17:48:46 63493a9ab2d4: Layer already exists 17:48:46 e246693128fc: Layer already exists 17:48:46 2.3.0-dev.17: digest: sha256:2965fb090c9a7d7a7f89f6c74732b383bb92e4596d170b167ad47a2fa6c72bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:46 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:46 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 17:48:46 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:48:46 3608811bed06: Preparing 17:48:46 da0f40b509f3: Preparing 17:48:46 32b3ec5a7f93: Preparing 17:48:46 ebddf506c095: Preparing 17:48:46 1a5fd23444c5: Preparing 17:48:46 7fb967664e7f: Preparing 17:48:46 a03a7bbb3543: Preparing 17:48:46 e246693128fc: Preparing 17:48:46 63493a9ab2d4: Preparing 17:48:46 7fb967664e7f: Waiting 17:48:46 a03a7bbb3543: Waiting 17:48:46 e246693128fc: Waiting 17:48:46 63493a9ab2d4: Waiting 17:48:46 ebddf506c095: Layer already exists 17:48:46 da0f40b509f3: Layer already exists 17:48:46 3608811bed06: Layer already exists 17:48:46 1a5fd23444c5: Layer already exists 17:48:46 32b3ec5a7f93: Layer already exists 17:48:46 63493a9ab2d4: Layer already exists 17:48:46 a03a7bbb3543: Layer already exists 17:48:46 7fb967664e7f: Layer already exists 17:48:46 e246693128fc: Layer already exists 17:48:46 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17: digest: sha256:2965fb090c9a7d7a7f89f6c74732b383bb92e4596d170b167ad47a2fa6c72bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:46 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:47 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 17:48:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 17:48:47 3608811bed06: Preparing 17:48:47 da0f40b509f3: Preparing 17:48:47 32b3ec5a7f93: Preparing 17:48:47 ebddf506c095: Preparing 17:48:47 1a5fd23444c5: Preparing 17:48:47 7fb967664e7f: Preparing 17:48:47 a03a7bbb3543: Preparing 17:48:47 e246693128fc: Preparing 17:48:47 63493a9ab2d4: Preparing 17:48:47 7fb967664e7f: Waiting 17:48:47 a03a7bbb3543: Waiting 17:48:47 e246693128fc: Waiting 17:48:47 ebddf506c095: Layer already exists 17:48:47 32b3ec5a7f93: Layer already exists 17:48:47 3608811bed06: Layer already exists 17:48:47 1a5fd23444c5: Layer already exists 17:48:47 da0f40b509f3: Layer already exists 17:48:47 7fb967664e7f: Layer already exists 17:48:47 a03a7bbb3543: Layer already exists 17:48:47 e246693128fc: Layer already exists 17:48:47 63493a9ab2d4: Layer already exists 17:48:47 main: digest: sha256:2965fb090c9a7d7a7f89f6c74732b383bb92e4596d170b167ad47a2fa6c72bf6 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:48:47 ===================================================== [Pipeline] echo 17:48:47 taggedImages: 17:48:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:48:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 17:48:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.17 17:48:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 17:48:47 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:48:47 17:48:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:48:47 latest: Pulling from edgex-lftools-log-publisher 17:48:47 5eb5b503b376: Pulling fs layer 17:48:47 5c69ac0246d0: Pulling fs layer 17:48:47 ec43610c2a17: Pulling fs layer 17:48:47 3a2ae6a8a46f: Pulling fs layer 17:48:47 33b1e0a273af: Pulling fs layer 17:48:47 5d3b04190fa2: Pulling fs layer 17:48:47 2f39f015ded8: Pulling fs layer 17:48:47 3a2ae6a8a46f: Waiting 17:48:47 33b1e0a273af: Waiting 17:48:47 5d3b04190fa2: Waiting 17:48:47 2f39f015ded8: Waiting 17:48:47 5c69ac0246d0: Verifying Checksum 17:48:47 5c69ac0246d0: Download complete 17:48:47 3a2ae6a8a46f: Verifying Checksum 17:48:47 3a2ae6a8a46f: Download complete 17:48:47 33b1e0a273af: Download complete 17:48:48 5d3b04190fa2: Verifying Checksum 17:48:48 5d3b04190fa2: Download complete 17:48:48 ec43610c2a17: Download complete 17:48:48 5eb5b503b376: Verifying Checksum 17:48:48 5eb5b503b376: Download complete 17:48:48 2f39f015ded8: Download complete 17:48:49 5eb5b503b376: Pull complete 17:48:49 5c69ac0246d0: Pull complete 17:48:49 ec43610c2a17: Pull complete 17:48:50 3a2ae6a8a46f: Pull complete 17:48:50 33b1e0a273af: Pull complete 17:48:50 5d3b04190fa2: Pull complete 17:48:55 2f39f015ded8: Pull complete 17:48:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:48:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:48:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:55 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:48:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:48:57 $ docker top 723b16eabf2555e5fbbae066593a001cfd49b659a307143d090e930076849680 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:57 ---> job-cost.sh 17:48:57 lf-activate-venv: SKIPPING 17:48:57 INFO: No Stack... 17:48:57 INFO: Retrieving Pricing Info for: v3-standard-8 17:48:58 INFO: Archiving Costs [Pipeline] sh 17:48:58 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 17:48:58 + cut -d, -f6 [Pipeline] lock 17:48:58 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] 17:48:58 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] did not exist. Created. 17:48:58 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:48:59 + echo total: 0.2199999988079071 [Pipeline] stash 17:48:59 Stashed 1 file(s) [Pipeline] } 17:48:59 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] [Pipeline] // lock [Pipeline] } 17:48:59 $ docker stop --time=1 723b16eabf2555e5fbbae066593a001cfd49b659a307143d090e930076849680 17:49:00 $ docker rm -f 723b16eabf2555e5fbbae066593a001cfd49b659a307143d090e930076849680 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:49:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6916 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 17:49:42 Running in /w/workspace/app-rfid-llrp-inventory/57 [Pipeline] { [Pipeline] checkout 17:49:42 The recommended git tool is: git 17:49:47 using credential edgex-jenkins-ssh 17:49:47 Cloning the remote Git repository 17:49:47 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:49:47 > git init /w/workspace/app-rfid-llrp-inventory/57 # timeout=10 17:49:48 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:49:48 > git --version # timeout=10 17:49:48 > git --version # 'git version 2.25.1' 17:49:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:49:48 Verifying host key using known hosts file 17:49:48 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:49:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:49:50 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:49:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:49:51 Avoid second fetch 17:49:51 Checking out Revision 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 (main) 17:49:52 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#112)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:49:51 > git config core.sparsecheckout # timeout=10 17:49:51 > git checkout -f 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 # timeout=10 17:49:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:49:53 % Total % Received % Xferd Average Speed Time Time Time Current 17:49:53 Dload Upload Total Spent Left Speed 17:49:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88746 0 --:--:-- --:--:-- --:--:-- 88746 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 87513 [Pipeline] sh 17:49:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:49:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:49:54 + sudo tee /etc/docker/daemon.new 17:49:54 { 17:49:54 "registry-mirrors": [ 17:49:54 "https://nexus3.edgexfoundry.org:10001" 17:49:54 ], 17:49:54 "bip": "10.250.0.254/24", 17:49:54 "hosts": [ 17:49:54 "tcp://0.0.0.0:5555", 17:49:54 "unix:///var/run/docker.sock" 17:49:54 ], 17:49:54 "mtu": 1458, 17:49:54 "selinux-enabled": true, 17:49:54 "seccomp-profile": "/etc/docker/seccomp.json" 17:49:54 } [Pipeline] sh 17:49:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:49:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:12 provisioning config files... 17:50:13 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/57@tmp/config1939795640429466251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:13 ---> docker-login.sh 17:50:13 nexus3.edgexfoundry.org:10001 17:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:13 Configure a credential helper to remove this warning. See 17:50:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:13 17:50:13 Login Succeeded 17:50:13 nexus3.edgexfoundry.org:10002 17:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:14 Configure a credential helper to remove this warning. See 17:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:14 17:50:14 Login Succeeded 17:50:14 nexus3.edgexfoundry.org:10003 17:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:14 Configure a credential helper to remove this warning. See 17:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:14 17:50:14 Login Succeeded 17:50:14 nexus3.edgexfoundry.org:10004 17:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:15 Configure a credential helper to remove this warning. See 17:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:15 17:50:15 Login Succeeded 17:50:15 docker.io 17:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:15 Configure a credential helper to remove this warning. See 17:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:15 17:50:15 Login Succeeded 17:50:15 ---> docker-login.sh ends [Pipeline] } 17:50:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:50:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:50:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:50:15 ========================================================= 17:50:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:50:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:50:16 Sending build context to Docker daemon 683.5kB 17:50:16 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:50:16 Step 2/14 : FROM ${BASE} AS builder 17:50:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:50:16 b3c136eddcbf: Pulling fs layer 17:50:16 c0a3192eca97: Pulling fs layer 17:50:16 a050256f5b6f: Pulling fs layer 17:50:16 656be50a0ddc: Pulling fs layer 17:50:16 2bbca73fdf42: Pulling fs layer 17:50:16 f607e4fc86c3: Pulling fs layer 17:50:16 4d572c569a2c: Pulling fs layer 17:50:16 fcf976331f73: Pulling fs layer 17:50:16 2bbca73fdf42: Waiting 17:50:16 f607e4fc86c3: Waiting 17:50:16 656be50a0ddc: Waiting 17:50:16 4d572c569a2c: Waiting 17:50:16 fcf976331f73: Waiting 17:50:16 a050256f5b6f: Download complete 17:50:16 c0a3192eca97: Verifying Checksum 17:50:16 c0a3192eca97: Download complete 17:50:16 2bbca73fdf42: Verifying Checksum 17:50:16 2bbca73fdf42: Download complete 17:50:16 f607e4fc86c3: Verifying Checksum 17:50:16 f607e4fc86c3: Download complete 17:50:16 b3c136eddcbf: Verifying Checksum 17:50:16 b3c136eddcbf: Download complete 17:50:17 b3c136eddcbf: Pull complete 17:50:17 fcf976331f73: Verifying Checksum 17:50:17 fcf976331f73: Download complete 17:50:18 c0a3192eca97: Pull complete 17:50:18 a050256f5b6f: Pull complete 17:50:18 4d572c569a2c: Download complete 17:50:19 656be50a0ddc: Verifying Checksum 17:50:19 656be50a0ddc: Download complete 17:50:34 656be50a0ddc: Pull complete 17:50:34 2bbca73fdf42: Pull complete 17:50:34 f607e4fc86c3: Pull complete 17:50:39 4d572c569a2c: Pull complete 17:50:41 fcf976331f73: Pull complete 17:50:41 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 17:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:50:41 ---> 3970a7415f9e 17:50:41 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:50:43 ---> Running in 05fbe4075d03 17:50:43 Removing intermediate container 05fbe4075d03 17:50:43 ---> 28e5a809614f 17:50:43 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 17:50:43 ---> Running in ba38cafb4c96 17:50:43 Removing intermediate container ba38cafb4c96 17:50:43 ---> e20aee740fcf 17:50:43 Step 5/14 : ARG ADD_BUILD_TAGS="" 17:50:43 ---> Running in 7305e027bd2f 17:50:43 Removing intermediate container 7305e027bd2f 17:50:43 ---> 368fbea45aac 17:50:43 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:50:44 ---> Running in 9ecb3309b101 17:50:44 Removing intermediate container 9ecb3309b101 17:50:44 ---> 8502119383c7 17:50:44 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:50:44 ---> Running in db99ba85dbc4 17:50:47 Removing intermediate container db99ba85dbc4 17:50:47 ---> e407e1903a36 17:50:47 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:47 ---> Running in 02220679d53d 17:50:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:50:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:50:51 OK: 221 MiB in 51 packages 17:50:51 Removing intermediate container 02220679d53d 17:50:51 ---> d649f81ddad2 17:50:51 Step 9/14 : WORKDIR /app 17:50:52 ---> Running in cc033d3e288f 17:50:52 Removing intermediate container cc033d3e288f 17:50:52 ---> 94bd886bb5d4 17:50:52 Step 10/14 : COPY go.mod vendor* ./ 17:50:52 ---> d48429904406 17:50:52 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:52 ---> Running in 41e4ea0e91de 17:51:49 Removing intermediate container 41e4ea0e91de 17:51:49 ---> 2834a326b22f 17:51:49 Step 12/14 : COPY . . 17:51:49 ---> 00318be2470c 17:51:49 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:49 ---> Running in 0cdf8db89b7e 17:51:49 Removing intermediate container 0cdf8db89b7e 17:51:49 ---> be8ed8d992ae 17:51:49 Step 14/14 : RUN $MAKE 17:51:49 ---> Running in a8d06fe6f74f 17:51:49 noop 17:51:49 Removing intermediate container a8d06fe6f74f 17:51:49 ---> c0a9437ef7a9 17:51:49 Successfully built c0a9437ef7a9 17:51:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:49 + docker inspect -f . ci-base-image-arm64 17:51:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:49 prd-ubuntu20.04-docker-arm64-4c-16g-6916 does not seem to be running inside a container 17:51:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/57 -v /w/workspace/app-rfid-llrp-inventory/57:/w/workspace/app-rfid-llrp-inventory/57:rw,z -v /w/workspace/app-rfid-llrp-inventory/57@tmp:/w/workspace/app-rfid-llrp-inventory/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:51:51 $ docker top 640ec55cc840cf37d254a0167d6905aac37b4c9e882d73536d133b3081b38137 -eo pid,comm [Pipeline] { [Pipeline] sh 17:51:52 + go version 17:51:52 go version go1.18.3 linux/arm64 [Pipeline] } 17:51:52 $ docker stop --time=1 640ec55cc840cf37d254a0167d6905aac37b4c9e882d73536d133b3081b38137 17:51:53 $ docker rm -f 640ec55cc840cf37d254a0167d6905aac37b4c9e882d73536d133b3081b38137 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:54 + docker inspect -f . ci-base-image-arm64 17:51:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:54 prd-ubuntu20.04-docker-arm64-4c-16g-6916 does not seem to be running inside a container 17:51:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/57 -v /w/workspace/app-rfid-llrp-inventory/57:/w/workspace/app-rfid-llrp-inventory/57:rw,z -v /w/workspace/app-rfid-llrp-inventory/57@tmp:/w/workspace/app-rfid-llrp-inventory/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:51:55 $ docker top 47fe9a394f6bf8ff622f723532835ffc98397d6a24a12893e397ddb11524f515 -eo pid,comm [Pipeline] { [Pipeline] sh 17:51:56 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/57 [Pipeline] fileExists [Pipeline] sh 17:51:57 + make test 17:51:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:53:34 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:53:34 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.221s coverage: 86.2% of statements 17:53:34 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:53:37 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.733s coverage: 71.9% of statements 17:53:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:53:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:54:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:04 ./bin/test-attribution.sh [Pipeline] echo 17:54:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:04 $ docker stop --time=1 47fe9a394f6bf8ff622f723532835ffc98397d6a24a12893e397ddb11524f515 17:54:06 $ docker rm -f 47fe9a394f6bf8ff622f723532835ffc98397d6a24a12893e397ddb11524f515 [Pipeline] // withDockerContainer [Pipeline] sh 17:54:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:07 Warning: overwriting stash ‘coverage-report’ 17:54:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:08 + ls -al . 17:54:08 total 228 17:54:08 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 17:51 . 17:54:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:49 .. 17:54:08 -rw-rw-r-- 1 jenkins jenkins 262 Oct 3 17:49 .dockerignore 17:54:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 17:49 .git 17:54:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:49 .github 17:54:08 -rw-rw-r-- 1 jenkins jenkins 788 Oct 3 17:49 .gitignore 17:54:08 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 17:49 .golangci.yml 17:54:08 -rw-rw-r-- 1 jenkins jenkins 9922 Oct 3 17:49 Attribution.txt 17:54:08 -rw-rw-r-- 1 jenkins jenkins 2487 Oct 3 17:49 CHANGELOG.md 17:54:08 -rw-rw-r-- 1 jenkins jenkins 1993 Oct 3 17:49 Dockerfile 17:54:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 17:49 GOVERNANCE.md 17:54:08 -rw-rw-r-- 1 jenkins jenkins 687 Oct 3 17:49 Jenkinsfile 17:54:08 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 3 17:49 LICENSE 17:54:08 -rw-rw-r-- 1 jenkins jenkins 3163 Oct 3 17:49 Makefile 17:54:08 -rw-rw-r-- 1 jenkins jenkins 617 Oct 3 17:49 OWNERS.md 17:54:08 -rw-rw-r-- 1 jenkins jenkins 31023 Oct 3 17:49 README.md 17:54:08 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 17:46 VERSION 17:54:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:49 bin 17:54:08 -rw-r--r-- 1 jenkins jenkins 41008 Oct 3 17:53 coverage.out 17:54:08 -rw-rw-r-- 1 jenkins jenkins 3657 Oct 3 17:49 go.mod 17:54:08 -rw-rw-r-- 1 jenkins jenkins 38018 Oct 3 17:49 go.sum 17:54:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:49 images 17:54:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:49 internal 17:54:08 -rw-rw-r-- 1 jenkins jenkins 531 Oct 3 17:49 main.go 17:54:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:49 res 17:54:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:49 snap 17:54:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:49 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:09 + 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=42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 --label arch=arm64 --label version=2.3.0-dev.17 . 17:54:09 Sending build context to Docker daemon 683.5kB 17:54:09 Step 1/32 : ARG BASE=golang:1.18-alpine3.16 17:54:09 Step 2/32 : FROM ${BASE} AS builder 17:54:09 ---> c0a9437ef7a9 17:54:09 Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:54:09 ---> Running in 65cb75836e71 17:54:09 Removing intermediate container 65cb75836e71 17:54:09 ---> f5d66dad1c5e 17:54:09 Step 4/32 : ARG ALPINE_PKG_EXTRA="" 17:54:09 ---> Running in 9c6bd52420ae 17:54:10 Removing intermediate container 9c6bd52420ae 17:54:10 ---> 5d874e68c11e 17:54:10 Step 5/32 : ARG ADD_BUILD_TAGS="" 17:54:10 ---> Running in c3d03efc7881 17:54:10 Removing intermediate container c3d03efc7881 17:54:10 ---> 1ecefdf770db 17:54:10 Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:54:10 ---> Running in da344a7595da 17:54:11 Removing intermediate container da344a7595da 17:54:11 ---> 1b3b6a92671f 17:54:11 Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:54:11 ---> Running in 39bd71d545ab 17:54:13 Removing intermediate container 39bd71d545ab 17:54:13 ---> c97326fc28aa 17:54:13 Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:13 ---> Running in a1c9d4caa25b 17:54:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:54:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:54:16 OK: 221 MiB in 51 packages 17:54:17 Removing intermediate container a1c9d4caa25b 17:54:17 ---> 4abf1d56b6bd 17:54:17 Step 9/32 : WORKDIR /app 17:54:17 ---> Running in b0c3d53336c7 17:54:17 Removing intermediate container b0c3d53336c7 17:54:17 ---> 793ac8160c84 17:54:17 Step 10/32 : COPY go.mod vendor* ./ 17:54:18 ---> 1ce1fe74af1c 17:54:18 Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:18 ---> Running in a9ea82a338b0 17:54:21 Removing intermediate container a9ea82a338b0 17:54:21 ---> 2a776f67ac25 17:54:21 Step 12/32 : COPY . . 17:54:22 ---> 9ebb19b2d186 17:54:22 Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:22 ---> Running in 559e75750dee 17:54:23 Removing intermediate container 559e75750dee 17:54:23 ---> c6c73abda3a4 17:54:23 Step 14/32 : RUN $MAKE 17:54:23 ---> Running in a24eb62cfef6 17:54:24 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.44 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.17 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:57:16 Removing intermediate container a24eb62cfef6 17:57:16 ---> 1f7e6f783fbf 17:57:16 Step 15/32 : FROM alpine:3.14 17:57:16 3.14: Pulling from library/alpine 17:57:16 90cda3b7c325: Pulling fs layer 17:57:16 90cda3b7c325: Verifying Checksum 17:57:16 90cda3b7c325: Download complete 17:57:16 90cda3b7c325: Pull complete 17:57:16 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 17:57:16 Status: Downloaded newer image for alpine:3.14 17:57:16 ---> 376ba31ae3da 17:57:16 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:57:16 ---> Running in d3ab1e452616 17:57:16 Removing intermediate container d3ab1e452616 17:57:16 ---> f32c7f4582c0 17:57:16 Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:57:16 ---> Running in f74690697a29 17:57:16 Removing intermediate container f74690697a29 17:57:16 ---> 0b1920b1c18c 17:57:16 Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:16 ---> Running in 23486fdd6b2a 17:57:16 Removing intermediate container 23486fdd6b2a 17:57:16 ---> 586690439cf4 17:57:16 Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:57:16 ---> Running in 9da062fcbd11 17:57:16 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:57:16 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:57:16 (1/7) Installing ca-certificates (20220614-r0) 17:57:16 (2/7) Installing dumb-init (1.2.5-r1) 17:57:16 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:57:16 (4/7) Installing libsodium (1.0.18-r0) 17:57:16 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:57:16 (6/7) Installing libzmq (4.3.4-r0) 17:57:16 (7/7) Installing zeromq (4.3.4-r0) 17:57:16 Executing busybox-1.33.1-r8.trigger 17:57:16 Executing ca-certificates-20220614-r0.trigger 17:57:16 OK: 9 MiB in 21 packages 17:57:16 Removing intermediate container 9da062fcbd11 17:57:16 ---> 9efe8c908a00 17:57:16 Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:57:16 ---> ffb8de54b666 17:57:16 Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE 17:57:16 ---> 1519d2774d0b 17:57:16 Step 22/32 : COPY --from=builder /app/res/ /res/ 17:57:16 ---> 9f578c20f027 17:57:16 Step 23/32 : COPY --from=builder /app/static/ /static/ 17:57:16 ---> fe8fa6a098d5 17:57:16 Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:57:18 ---> 182033571f6b 17:57:18 Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:57:18 ---> Running in ee9e2b95da9d 17:57:20 Removing intermediate container ee9e2b95da9d 17:57:20 ---> b29d2be694d1 17:57:20 Step 26/32 : VOLUME /cache 17:57:20 ---> Running in 137ee5e1e407 17:57:20 Removing intermediate container 137ee5e1e407 17:57:20 ---> a698b2871a4a 17:57:20 Step 27/32 : EXPOSE 59711 17:57:20 ---> Running in 06b050868b6d 17:57:20 Removing intermediate container 06b050868b6d 17:57:20 ---> 2a72554e8d19 17:57:20 Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:57:20 ---> Running in bca481f88948 17:57:21 Removing intermediate container bca481f88948 17:57:21 ---> fdaaac426915 17:57:21 Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:57:21 ---> Running in ede34d1bd9da 17:57:21 Removing intermediate container ede34d1bd9da 17:57:21 ---> 5fe5b6b7e085 17:57:21 Step 30/32 : LABEL arch=arm64 17:57:21 ---> Running in 6343d4347a75 17:57:22 Removing intermediate container 6343d4347a75 17:57:22 ---> 28d338dbbb87 17:57:22 Step 31/32 : LABEL git_sha=42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:57:22 ---> Running in 1b8d9f92aa95 17:57:22 Removing intermediate container 1b8d9f92aa95 17:57:22 ---> 1f1e9d2040e1 17:57:22 Step 32/32 : LABEL version=2.3.0-dev.17 17:57:22 ---> Running in d11a04ba948a 17:57:22 Removing intermediate container d11a04ba948a 17:57:22 ---> b5cbb535aeef 17:57:22 [Warning] One or more build-args [ARCH] were not consumed 17:57:22 Successfully built b5cbb535aeef 17:57:22 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:22 provisioning config files... 17:57:22 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/57@tmp/config14711786763744676678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:23 ---> docker-login.sh 17:57:23 nexus3.edgexfoundry.org:10001 17:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:23 Configure a credential helper to remove this warning. See 17:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:23 17:57:23 Login Succeeded 17:57:23 nexus3.edgexfoundry.org:10002 17:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:23 Configure a credential helper to remove this warning. See 17:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:23 17:57:23 Login Succeeded 17:57:23 nexus3.edgexfoundry.org:10003 17:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:24 Configure a credential helper to remove this warning. See 17:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:24 17:57:24 Login Succeeded 17:57:24 nexus3.edgexfoundry.org:10004 17:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:24 Configure a credential helper to remove this warning. See 17:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:24 17:57:24 Login Succeeded 17:57:24 docker.io 17:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:25 Configure a credential helper to remove this warning. See 17:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:25 17:57:25 Login Succeeded 17:57:25 ---> docker-login.sh ends [Pipeline] } 17:57:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:57:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:25 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 17:57:25 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:57:25 latest 17:57:25 2.3.0-dev.17 17:57:25 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 17:57:25 main 17:57:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:25 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:26 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:57:26 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:57:26 21cc0f4628bf: Preparing 17:57:26 a894098f9132: Preparing 17:57:26 da5da4ce1efd: Preparing 17:57:26 3a750e7ea127: Preparing 17:57:26 78197ecbe95b: Preparing 17:57:26 77556255ca62: Preparing 17:57:26 1772500dda23: Preparing 17:57:26 4bd47ddf4e12: Preparing 17:57:26 28c3ef001483: Preparing 17:57:26 77556255ca62: Waiting 17:57:26 1772500dda23: Waiting 17:57:26 4bd47ddf4e12: Waiting 17:57:26 28c3ef001483: Waiting 17:57:26 21cc0f4628bf: Pushed 17:57:26 78197ecbe95b: Pushed 17:57:26 da5da4ce1efd: Pushed 17:57:26 3a750e7ea127: Pushed 17:57:26 28c3ef001483: Layer already exists 17:57:26 77556255ca62: Pushed 17:57:26 4bd47ddf4e12: Pushed 17:57:27 1772500dda23: Pushed 17:57:31 a894098f9132: Pushed 17:57:31 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86: digest: sha256:911369d82b6c8f874642bb5762310c94cfa776f84699f7245549fa82c697734a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:32 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:32 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:57:32 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:57:32 21cc0f4628bf: Preparing 17:57:32 a894098f9132: Preparing 17:57:32 da5da4ce1efd: Preparing 17:57:32 3a750e7ea127: Preparing 17:57:32 78197ecbe95b: Preparing 17:57:32 77556255ca62: Preparing 17:57:32 1772500dda23: Preparing 17:57:32 4bd47ddf4e12: Preparing 17:57:32 28c3ef001483: Preparing 17:57:32 1772500dda23: Waiting 17:57:32 4bd47ddf4e12: Waiting 17:57:32 28c3ef001483: Waiting 17:57:32 77556255ca62: Waiting 17:57:32 78197ecbe95b: Layer already exists 17:57:32 a894098f9132: Layer already exists 17:57:32 da5da4ce1efd: Layer already exists 17:57:32 3a750e7ea127: Layer already exists 17:57:32 21cc0f4628bf: Layer already exists 17:57:32 4bd47ddf4e12: Layer already exists 17:57:32 77556255ca62: Layer already exists 17:57:32 1772500dda23: Layer already exists 17:57:32 28c3ef001483: Layer already exists 17:57:32 latest: digest: sha256:911369d82b6c8f874642bb5762310c94cfa776f84699f7245549fa82c697734a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:33 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:33 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.17 17:57:33 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:57:33 21cc0f4628bf: Preparing 17:57:33 a894098f9132: Preparing 17:57:33 da5da4ce1efd: Preparing 17:57:33 3a750e7ea127: Preparing 17:57:33 78197ecbe95b: Preparing 17:57:33 77556255ca62: Preparing 17:57:33 1772500dda23: Preparing 17:57:33 4bd47ddf4e12: Preparing 17:57:33 28c3ef001483: Preparing 17:57:33 77556255ca62: Waiting 17:57:33 1772500dda23: Waiting 17:57:33 4bd47ddf4e12: Waiting 17:57:33 28c3ef001483: Waiting 17:57:33 a894098f9132: Layer already exists 17:57:33 78197ecbe95b: Layer already exists 17:57:33 21cc0f4628bf: Layer already exists 17:57:33 3a750e7ea127: Layer already exists 17:57:33 da5da4ce1efd: Layer already exists 17:57:33 28c3ef001483: Layer already exists 17:57:33 4bd47ddf4e12: Layer already exists 17:57:33 77556255ca62: Layer already exists 17:57:33 1772500dda23: Layer already exists 17:57:33 2.3.0-dev.17: digest: sha256:911369d82b6c8f874642bb5762310c94cfa776f84699f7245549fa82c697734a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:33 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:34 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 17:57:34 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:57:34 21cc0f4628bf: Preparing 17:57:34 a894098f9132: Preparing 17:57:34 da5da4ce1efd: Preparing 17:57:34 3a750e7ea127: Preparing 17:57:34 78197ecbe95b: Preparing 17:57:34 77556255ca62: Preparing 17:57:34 1772500dda23: Preparing 17:57:34 4bd47ddf4e12: Preparing 17:57:34 28c3ef001483: Preparing 17:57:34 1772500dda23: Waiting 17:57:34 4bd47ddf4e12: Waiting 17:57:34 28c3ef001483: Waiting 17:57:34 77556255ca62: Waiting 17:57:34 78197ecbe95b: Layer already exists 17:57:34 3a750e7ea127: Layer already exists 17:57:34 a894098f9132: Layer already exists 17:57:34 da5da4ce1efd: Layer already exists 17:57:34 21cc0f4628bf: Layer already exists 17:57:34 1772500dda23: Layer already exists 17:57:34 77556255ca62: Layer already exists 17:57:34 28c3ef001483: Layer already exists 17:57:34 4bd47ddf4e12: Layer already exists 17:57:34 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17: digest: sha256:911369d82b6c8f874642bb5762310c94cfa776f84699f7245549fa82c697734a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:34 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:35 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 17:57:35 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 17:57:35 21cc0f4628bf: Preparing 17:57:35 a894098f9132: Preparing 17:57:35 da5da4ce1efd: Preparing 17:57:35 3a750e7ea127: Preparing 17:57:35 78197ecbe95b: Preparing 17:57:35 77556255ca62: Preparing 17:57:35 1772500dda23: Preparing 17:57:35 4bd47ddf4e12: Preparing 17:57:35 28c3ef001483: Preparing 17:57:35 1772500dda23: Waiting 17:57:35 4bd47ddf4e12: Waiting 17:57:35 28c3ef001483: Waiting 17:57:35 77556255ca62: Waiting 17:57:35 a894098f9132: Layer already exists 17:57:35 78197ecbe95b: Layer already exists 17:57:35 21cc0f4628bf: Layer already exists 17:57:35 3a750e7ea127: Layer already exists 17:57:35 da5da4ce1efd: Layer already exists 17:57:35 1772500dda23: Layer already exists 17:57:35 4bd47ddf4e12: Layer already exists 17:57:35 77556255ca62: Layer already exists 17:57:35 28c3ef001483: Layer already exists 17:57:35 main: digest: sha256:911369d82b6c8f874642bb5762310c94cfa776f84699f7245549fa82c697734a size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:57:35 ===================================================== [Pipeline] echo 17:57:35 taggedImages: 17:57:35 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 17:57:35 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 17:57:35 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.17 17:57:35 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86-2.3.0-dev.17 17:57:35 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:35 17:57:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:36 arm64: Pulling from edgex-lftools-log-publisher 17:57:36 8998bd30e6a1: Pulling fs layer 17:57:36 04944245beec: Pulling fs layer 17:57:36 699f458cf7ca: Pulling fs layer 17:57:36 765212b225bb: Pulling fs layer 17:57:36 f23df028b6ca: Pulling fs layer 17:57:36 d65c8cfc05b1: Pulling fs layer 17:57:36 2437ff75d9bd: Pulling fs layer 17:57:36 d65c8cfc05b1: Waiting 17:57:36 765212b225bb: Waiting 17:57:36 2437ff75d9bd: Waiting 17:57:36 f23df028b6ca: Waiting 17:57:36 04944245beec: Verifying Checksum 17:57:36 04944245beec: Download complete 17:57:36 765212b225bb: Verifying Checksum 17:57:36 765212b225bb: Download complete 17:57:36 f23df028b6ca: Download complete 17:57:36 d65c8cfc05b1: Verifying Checksum 17:57:36 d65c8cfc05b1: Download complete 17:57:36 699f458cf7ca: Verifying Checksum 17:57:36 699f458cf7ca: Download complete 17:57:37 8998bd30e6a1: Verifying Checksum 17:57:37 8998bd30e6a1: Download complete 17:57:39 2437ff75d9bd: Verifying Checksum 17:57:39 2437ff75d9bd: Download complete 17:57:40 8998bd30e6a1: Pull complete 17:57:41 04944245beec: Pull complete 17:57:42 699f458cf7ca: Pull complete 17:57:42 765212b225bb: Pull complete 17:57:43 f23df028b6ca: Pull complete 17:57:43 d65c8cfc05b1: Pull complete 17:57:55 2437ff75d9bd: Pull complete 17:57:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:57:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:56 prd-ubuntu20.04-docker-arm64-4c-16g-6916 does not seem to be running inside a container 17:57:56 $ 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/57 -v /w/workspace/app-rfid-llrp-inventory/57:/w/workspace/app-rfid-llrp-inventory/57:rw,z -v /w/workspace/app-rfid-llrp-inventory/57@tmp:/w/workspace/app-rfid-llrp-inventory/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:57:58 $ docker top 7c2cfe1eb316cf91865d03dd16ac86e5c0b86d63eac522c166f1e9401106b118 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:59 ---> job-cost.sh 17:57:59 lf-activate-venv: SKIPPING 17:57:59 INFO: No Stack... 17:58:00 INFO: Retrieving Pricing Info for: v3-standard-4 17:58:00 INFO: Archiving Costs [Pipeline] sh 17:58:01 + cat /w/workspace/app-rfid-llrp-inventory/57/archives/cost.csv 17:58:01 + cut -d, -f6 [Pipeline] lock 17:58:01 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] 17:58:01 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] did not exist. Created. 17:58:01 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:02 /w/workspace/app-rfid-llrp-inventory/57@tmp/durable-ec7411e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:58:02 + echo total: 0.10999999940395355 [Pipeline] stash 17:58:02 Warning: overwriting stash ‘stack-cost’ 17:58:03 Stashed 1 file(s) [Pipeline] } 17:58:03 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-57-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:03 $ docker stop --time=1 7c2cfe1eb316cf91865d03dd16ac86e5c0b86d63eac522c166f1e9401106b118 17:58:04 $ docker rm -f 7c2cfe1eb316cf91865d03dd16ac86e5c0b86d63eac522c166f1e9401106b118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:58:04 provisioning config files... 17:58:04 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config997940595801394427tmp [Pipeline] { [Pipeline] sh 17:58:05 + set +x 17:58:05 + curl -s https://codecov.io/bash 17:58:05 + bash -s -- 17:58:05 17:58:05 _____ _ 17:58:05 / ____| | | 17:58:05 | | ___ __| | ___ ___ _____ __ 17:58:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:58:05 | |___| (_) | (_| | __/ (_| (_) \ V / 17:58:05 \_____\___/ \__,_|\___|\___\___/ \_/ 17:58:05 Bash-1.0.6 17:58:05 17:58:05 17:58:05 ==> git version 2.25.1 found 17:58:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:58:05 Release-Date: 2020-01-08 17:58:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:58:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:58:05 ==> Jenkins CI detected. 17:58:05 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 17:58:05 project root: . 17:58:05 --> token set from env 17:58:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:58:05 ==> Running gcov in . (disable via -X gcov) 17:58:05 ==> Python coveragepy not found 17:58:05 ==> Searching for coverage reports in: 17:58:05 + . 17:58:05 -> Found 1 reports 17:58:05 ==> Detecting git/mercurial file structure 17:58:05 ==> Reading reports 17:58:05 + ./coverage.out bytes=41008 17:58:05 ==> Appending adjustments 17:58:05 https://docs.codecov.io/docs/fixing-reports 17:58:05 + Found adjustments 17:58:05 ==> Gzipping contents 17:58:05 12K /tmp/codecov.otSSsj.gz 17:58:05 ==> Uploading reports 17:58:05 url: https://codecov.io 17:58:05 query: branch=main&commit=42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:58:05 -> Pinging Codecov 17:58:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=main&commit=42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:58:05 -> Uploading to 17:58:05 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/581DD39554BDF9B6E22D074273EAD858/42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86/4fa54220-1e04-432a-965e-0411805dd2c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T175805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57bb9d9637d5c40ea19857d1122b4ca8209f78cea8308bfc527124a8f307ae80 17:58:05 % Total % Received % Xferd Average Speed Time Time Time Current 17:58:05 Dload Upload Total Spent Left Speed 17:58:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11489 0 0 100 11489 0 49521 --:--:-- --:--:-- --:--:-- 49521 17:58:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] } 17:58:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:58:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:58:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:58:06 17:58:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:58:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:58:06 df9b9388f04a: Pulling fs layer 17:58:06 52dc419b0ee2: Pulling fs layer 17:58:06 25bc292e5bac: Pulling fs layer 17:58:06 114826534d7a: Pulling fs layer 17:58:06 4657fd5d0bcf: Pulling fs layer 17:58:06 6ad1cebc031e: Pulling fs layer 17:58:06 8a3aa393b2d8: Pulling fs layer 17:58:06 114826534d7a: Waiting 17:58:06 4657fd5d0bcf: Waiting 17:58:06 6ad1cebc031e: Waiting 17:58:06 8a3aa393b2d8: Waiting 17:58:06 25bc292e5bac: Verifying Checksum 17:58:06 25bc292e5bac: Download complete 17:58:06 52dc419b0ee2: Verifying Checksum 17:58:06 4657fd5d0bcf: Verifying Checksum 17:58:06 4657fd5d0bcf: Download complete 17:58:06 df9b9388f04a: Download complete 17:58:07 df9b9388f04a: Pull complete 17:58:07 6ad1cebc031e: Verifying Checksum 17:58:07 6ad1cebc031e: Download complete 17:58:07 52dc419b0ee2: Pull complete 17:58:07 25bc292e5bac: Pull complete 17:58:07 114826534d7a: Verifying Checksum 17:58:07 114826534d7a: Download complete 17:58:07 8a3aa393b2d8: Verifying Checksum 17:58:07 8a3aa393b2d8: Download complete 17:58:11 114826534d7a: Pull complete 17:58:11 4657fd5d0bcf: Pull complete 17:58:11 6ad1cebc031e: Pull complete 17:58:13 8a3aa393b2d8: Pull complete 17:58:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:58:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:13 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:58:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:58:15 $ docker top 3b5d35525826e615cd2b8961ef4b4b8834a1a6fdf9a50eac4f55b37904305286 -eo pid,comm [Pipeline] { [Pipeline] echo 17:58:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 17:58:16 + set -o pipefail 17:58:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 17:58:21 17:58:21 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 17:58:21 17:58:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/aa08cdc4-10f9-44ec-8be3-cb1d41b409ab 17:58:21 17:58:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:58:21 17:58:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:58:21 17:58:21 [Pipeline] } 17:58:21 $ docker stop --time=1 3b5d35525826e615cd2b8961ef4b4b8834a1a6fdf9a50eac4f55b37904305286 17:58:23 $ docker rm -f 3b5d35525826e615cd2b8961ef4b4b8834a1a6fdf9a50eac4f55b37904305286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:24 + git log --format=format:%s -1 42cc3876e0d0c7fc382ccd7e81ea5a7e45db4c86 [Pipeline] sh 17:58:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:58:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:58:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:25 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:58:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:58:25 $ docker top 8fe00b3a28b85080b5c6bfba5c19c6b47540be70d52ee00f8e77537f7a1c1d5c -eo pid,comm 17:58:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:58:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:58:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:25 [ssh-agent] Looking for ssh-agent implementation... 17:58:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:25 $ docker exec 8fe00b3a28b85080b5c6bfba5c19c6b47540be70d52ee00f8e77537f7a1c1d5c ssh-agent 17:58:25 SSH_AUTH_SOCK=/tmp/ssh-OK9a9oiyp1pB/agent.31 17:58:25 SSH_AGENT_PID=37 17:58:25 Running ssh-add (command line suppressed) 17:58:26 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2327084307924584344.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2327084307924584344.key) 17:58:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:26 + git semver tag 17:58:26 2022-10-03 17:58:26,533 [run_tag] DEBUG tag force:False 17:58:26 2022-10-03 17:58:26,534 [check_head_tag] DEBUG check head tag 17:58:26 2022-10-03 17:58:26,534 [execute] INFO git cat-file --batch-check 17:58:26 2022-10-03 17:58:26,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:58:26 2022-10-03 17:58:26,538 [execute] INFO git cat-file --batch 17:58:26 2022-10-03 17:58:26,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 17:58:26 2022-10-03 17:58:26,548 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:58:26 2022-10-03 17:58:26,549 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 17:58:26 2022-10-03 17:58:26,549 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:58:26 2022-10-03 17:58:26,553 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:58:26 2.3.0-dev.17 [Pipeline] } 17:58:26 $ docker exec --env ******** --env ******** 8fe00b3a28b85080b5c6bfba5c19c6b47540be70d52ee00f8e77537f7a1c1d5c ssh-agent -k 17:58:26 unset SSH_AUTH_SOCK; 17:58:26 unset SSH_AGENT_PID; 17:58:26 echo Agent pid 37 killed; 17:58:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:58:27 + git semver [Pipeline] } 17:58:27 $ docker stop --time=1 8fe00b3a28b85080b5c6bfba5c19c6b47540be70d52ee00f8e77537f7a1c1d5c 17:58:28 $ docker rm -f 8fe00b3a28b85080b5c6bfba5c19c6b47540be70d52ee00f8e77537f7a1c1d5c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:58:28 17:58:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:58:29 0.23.1-centos7: Pulling from edgex-lftools 17:58:29 ab5ef0e58194: Pulling fs layer 17:58:29 9712f1f96733: Pulling fs layer 17:58:29 63f879dbbcfc: Pulling fs layer 17:58:29 0d9ebad4ef96: Pulling fs layer 17:58:29 e9a5061849ea: Pulling fs layer 17:58:29 d747dcd14b5f: Pulling fs layer 17:58:29 2de7ff778b66: Pulling fs layer 17:58:29 d747dcd14b5f: Waiting 17:58:29 0d9ebad4ef96: Waiting 17:58:29 e9a5061849ea: Waiting 17:58:29 2de7ff778b66: Waiting 17:58:29 9712f1f96733: Verifying Checksum 17:58:29 9712f1f96733: Download complete 17:58:29 63f879dbbcfc: Verifying Checksum 17:58:29 63f879dbbcfc: Download complete 17:58:29 e9a5061849ea: Verifying Checksum 17:58:29 0d9ebad4ef96: Verifying Checksum 17:58:29 0d9ebad4ef96: Download complete 17:58:29 d747dcd14b5f: Verifying Checksum 17:58:29 d747dcd14b5f: Download complete 17:58:30 2de7ff778b66: Download complete 17:58:30 ab5ef0e58194: Verifying Checksum 17:58:30 ab5ef0e58194: Download complete 17:58:32 ab5ef0e58194: Pull complete 17:58:32 9712f1f96733: Pull complete 17:58:33 63f879dbbcfc: Pull complete 17:58:36 0d9ebad4ef96: Pull complete 17:58:36 e9a5061849ea: Pull complete 17:58:36 d747dcd14b5f: Pull complete 17:58:37 2de7ff778b66: Pull complete 17:58:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:58:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:37 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:58:39 $ docker top d626137834fd208b188550711e2256c836dac9b3d6be8eedb65b1c73391a2869 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:58:39 provisioning config files... 17:58:39 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11629627310865964166tmp 17:58:39 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config4614089498696976621tmp 17:58:39 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8681700681644903340tmp [Pipeline] { [Pipeline] echo 17:58:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:58:40 ---> sigul-configuration.sh 17:58:40 gpg: directory `/root/.gnupg' created 17:58:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:58:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:58:40 gpg: keyring `/root/.gnupg/secring.gpg' created 17:58:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:58:40 gpg: CAST5 encrypted data 17:58:40 gpg: encrypted with 1 passphrase 17:58:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:58:40 + mkdir /home/jenkins 17:58:40 + mkdir /home/jenkins/sigul [Pipeline] sh 17:58: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 17:58:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:58:40 ---> sigul-install.sh 17:58:40 Sigul already installed; skipping installation. [Pipeline] sh 17:58:41 + git tag --list 17:58:41 v0.0.0 17:58:41 v1.0.0 17:58:41 v2.1.0 17:58:41 v2.1.1 17:58:41 v2.1.1-dev.1 17:58:41 v2.2.0 17:58:41 v2.2.1-dev.1 17:58:41 v2.2.1-dev.2 17:58:41 v2.2.1-dev.3 17:58:41 v2.2.1-dev.4 17:58:41 v2.2.1-dev.5 17:58:41 v2.2.1-dev.6 17:58:41 v2.2.1-dev.7 17:58:41 v2.3.0-dev.10 17:58:41 v2.3.0-dev.11 17:58:41 v2.3.0-dev.12 17:58:41 v2.3.0-dev.13 17:58:41 v2.3.0-dev.14 17:58:41 v2.3.0-dev.15 17:58:41 v2.3.0-dev.16 17:58:41 v2.3.0-dev.17 17:58:41 v2.3.0-dev.9 [Pipeline] sh 17:58:41 + lftools sign git-tag v2.3.0-dev.17 17:58:42 Signing Git tag with Sigul... 17:58:42 Signing v2.3.0-dev.17 [Pipeline] echo 17:58:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:58:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:58:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:58:42 $ docker stop --time=1 d626137834fd208b188550711e2256c836dac9b3d6be8eedb65b1c73391a2869 17:58:43 $ docker rm -f d626137834fd208b188550711e2256c836dac9b3d6be8eedb65b1c73391a2869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:58:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:58:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:58:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:44 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:58: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:58:45 $ docker top 488d59796759f84feaf2455b57bee075c29dbf1199771f7e0fa073e9151cbc34 -eo pid,comm 17:58:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:58:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:58:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:45 [ssh-agent] Looking for ssh-agent implementation... 17:58:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:45 $ docker exec 488d59796759f84feaf2455b57bee075c29dbf1199771f7e0fa073e9151cbc34 ssh-agent 17:58:45 SSH_AUTH_SOCK=/tmp/ssh-QioXKx6j038W/agent.32 17:58:45 SSH_AGENT_PID=38 17:58:45 Running ssh-add (command line suppressed) 17:58:45 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13545146079849955522.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13545146079849955522.key) 17:58:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:45 + git semver bump pre 17:58:46 2022-10-03 17:58:46,016 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:58:46 2022-10-03 17:58:46,017 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 17:58:46 2022-10-03 17:58:46,017 [bump_version] DEBUG bumped version:2.3.0-dev.18 17:58:46 2022-10-03 17:58:46,017 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 17:58:46 2022-10-03 17:58:46,017 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:58:46 2022-10-03 17:58:46,017 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:58:46 2022-10-03 17:58:46,018 [execute] INFO git cat-file --batch-check 17:58:46 2022-10-03 17:58:46,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:58:46 2022-10-03 17:58:46,023 [execute] INFO git cat-file --batch 17:58:46 2022-10-03 17:58:46,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:58:46 2022-10-03 17:58:46,029 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:58:46 2.3.0-dev.18 [Pipeline] } 17:58:46 $ docker exec --env ******** --env ******** 488d59796759f84feaf2455b57bee075c29dbf1199771f7e0fa073e9151cbc34 ssh-agent -k 17:58:46 unset SSH_AUTH_SOCK; 17:58:46 unset SSH_AGENT_PID; 17:58:46 echo Agent pid 38 killed; 17:58:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:58:46 + git semver [Pipeline] } 17:58:46 $ docker stop --time=1 488d59796759f84feaf2455b57bee075c29dbf1199771f7e0fa073e9151cbc34 17:58:48 $ docker rm -f 488d59796759f84feaf2455b57bee075c29dbf1199771f7e0fa073e9151cbc34 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:58:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:48 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:58:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:58:49 $ docker top 4f29911da3cf291c3d5a972736fbb03aa7a3bd5c9513ac736e1c2b27f4e81fc4 -eo pid,comm 17:58:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:58:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:49 [ssh-agent] Looking for ssh-agent implementation... 17:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:49 $ docker exec 4f29911da3cf291c3d5a972736fbb03aa7a3bd5c9513ac736e1c2b27f4e81fc4 ssh-agent 17:58:49 SSH_AUTH_SOCK=/tmp/ssh-ZFKlf9WPy3pd/agent.33 17:58:49 SSH_AGENT_PID=39 17:58:49 Running ssh-add (command line suppressed) 17:58:49 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_12166958209190484292.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_12166958209190484292.key) 17:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:49 + git semver push 17:58:50 2022-10-03 17:58:50,031 [run_push] DEBUG push 17:58:50 2022-10-03 17:58:50,032 [execute] INFO git cat-file --batch-check 17:58:50 2022-10-03 17:58:50,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 17:58:50 2022-10-03 17:58:50,035 [execute] INFO git rev-list afe6731be367213a11ea206a3ad826d11e9e51de -- 17:58:50 2022-10-03 17:58:50,036 [execute] DEBUG Popen(['git', 'rev-list', 'afe6731be367213a11ea206a3ad826d11e9e51de', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:58:50 2022-10-03 17:58:50,041 [execute] INFO git fetch -v origin 17:58:50 2022-10-03 17:58:50,042 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 17:58:50 2022-10-03 17:58:50,583 [run_push] DEBUG no remote changes detected 17:58:50 2022-10-03 17:58:50,583 [execute] INFO git push origin semver 17:58:50 2022-10-03 17:58:50,584 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 17:58:51 2022-10-03 17:58:51,338 [run_push] DEBUG push all version tags 17:58:51 2022-10-03 17:58:51,338 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:58:51 2022-10-03 17:58:51,339 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 17:58:52 2022-10-03 17:58:52,114 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 17:58:52 2.3.0-dev.18 [Pipeline] } 17:58:52 $ docker exec --env ******** --env ******** 4f29911da3cf291c3d5a972736fbb03aa7a3bd5c9513ac736e1c2b27f4e81fc4 ssh-agent -k 17:58:52 unset SSH_AUTH_SOCK; 17:58:52 unset SSH_AGENT_PID; 17:58:52 echo Agent pid 39 killed; 17:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:58:52 + git semver [Pipeline] } 17:58:52 $ docker stop --time=1 4f29911da3cf291c3d5a972736fbb03aa7a3bd5c9513ac736e1c2b27f4e81fc4 17:58:54 $ docker rm -f 4f29911da3cf291c3d5a972736fbb03aa7a3bd5c9513ac736e1c2b27f4e81fc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:58:54 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 17:58:54 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:58:54 total 16 17:58:54 drwxr-xr-x 3 root root 4096 Oct 3 17:48 . 17:58:54 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 17:58 .. 17:58:54 drwxr-xr-x 2 root root 4096 Oct 3 17:48 cost 17:58:54 -rw-r--r-- 1 root root 94 Oct 3 17:48 cost.csv 17:58:54 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:58:54 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 17:58:54 total 16 17:58:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 17:48 . 17:58:54 drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 17:58 .. 17:58:54 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 17:48 cost 17:58:54 -rw-r--r-- 1 jenkins jenkins 94 Oct 3 17:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:58:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:58:55 ---> package-listing.sh 17:58:55 ++ facter osfamily 17:58:55 ++ tr '[:upper:]' '[:lower:]' 17:58:56 + OS_FAMILY=debian 17:58:56 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 17:58:56 + START_PACKAGES=/tmp/packages_start.txt 17:58:56 + END_PACKAGES=/tmp/packages_end.txt 17:58:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:58:56 + PACKAGES=/tmp/packages_start.txt 17:58:56 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:58:56 + PACKAGES=/tmp/packages_end.txt 17:58:56 + case "${OS_FAMILY}" in 17:58:56 + dpkg -l 17:58:56 + grep '^ii' 17:58:56 + '[' -f /tmp/packages_start.txt ']' 17:58:56 + '[' -f /tmp/packages_end.txt ']' 17:58:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:58:56 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 17:58:56 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 17:58:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 17:58:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:58:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:56 prd-ubuntu20.04-docker-8c-8g-6913 does not seem to be running inside a container 17:58:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:58:57 $ docker top bcf7e1579b46aacd295bbe7a79f13b43eea02fdd9d6adfd37496903a35511a39 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:57 + touch /tmp/pre-build-complete [Pipeline] sh 17:58:57 + mkdir -p /var/log/sysstat [Pipeline] sh 17:58:58 + ls /var/log/sa-host 17:58:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:58 provisioning config files... 17:58:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11704099816565389622tmp [Pipeline] { [Pipeline] echo 17:58:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:58:58 ---> create-netrc.sh [Pipeline] } 17:58:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:58:58 ---> python-tools-install.sh [Pipeline] echo 17:58:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:58:59 ---> sudo-logs.sh 17:58:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:58:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:58:59 ---> job-cost.sh 17:58:59 lf-activate-venv: SKIPPING 17:58:59 DEBUG: total: 0.2199999988079071 17:58:59 INFO: Retrieving Stack Cost... 17:59:00 INFO: Retrieving Pricing Info for: v3-standard-8 17:59:00 INFO: Archiving Costs [Pipeline] echo 17:59:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:59:00 ---> logs-deploy.sh 17:59:00 lf-activate-venv: SKIPPING 17:59:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/57 17:59:00 INFO: archiving workspace using pattern(s): 17:59:01 Archives upload complete. 17:59:01 INFO: archiving logs to Nexus