Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 86354b634c9d0fc1eadff25359b9682d3f793e35 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-ssh6585615479212206601.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-ssh7984166578112708916.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-ssh17677134090041003627.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-ssh9576071557388821288.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-ssh18386286976605912074.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-484 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 86354b634c9d0fc1eadff25359b9682d3f793e35 (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 86354b634c9d0fc1eadff25359b9682d3f793e35 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#108)" > git rev-list --no-walk 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:28:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:28:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:28:23 ========================================================= 22:28:23 EdgeX Global Pipelines Version Info 22:28:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:28:24 ------------------- 22:28:24 stable info: 22:28:24 ------------------- 22:28:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:28:24 Message: update stable to v1.0.239 22:28:25 ------------------- 22:28:25 experimental info: 22:28:25 ------------------- 22:28:25 Commited By: **** collab-it+edgex@linuxfoundation.org 22:28:25 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:28:25 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 86354b6 [Pipeline] echo 22:28:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:25 provisioning config files... 22:28:25 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9625475841417329063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:25 ---> docker-login.sh 22:28:25 nexus3.edgexfoundry.org:10001 22:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:26 Configure a credential helper to remove this warning. See 22:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:26 22:28:26 Login Succeeded 22:28:26 nexus3.edgexfoundry.org:10002 22:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:26 Configure a credential helper to remove this warning. See 22:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:26 22:28:26 Login Succeeded 22:28:26 nexus3.edgexfoundry.org:10003 22:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:26 Configure a credential helper to remove this warning. See 22:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:26 22:28:26 Login Succeeded 22:28:26 nexus3.edgexfoundry.org:10004 22:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:26 Configure a credential helper to remove this warning. See 22:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:26 22:28:26 Login Succeeded 22:28:26 docker.io 22:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:27 Configure a credential helper to remove this warning. See 22:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:27 22:28:27 Login Succeeded 22:28:27 ---> docker-login.sh ends [Pipeline] } 22:28:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:28:27 + git rev-list -1 --merges 86354b634c9d0fc1eadff25359b9682d3f793e35~1..86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] echo 22:28:27 -----------> git rev-list -1 --merges 86354b634c9d0fc1eadff25359b9682d3f793e35~1..86354b634c9d0fc1eadff25359b9682d3f793e35 86354b634c9d0fc1eadff25359b9682d3f793e35 [false] [Pipeline] sh 22:28:27 + git log --format=format:%s -1 86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] echo 22:28:27 ========================================================= 22:28:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:28:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:28 + git log --format=format:%s -1 86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] echo 22:28:28 [semverPrep] GIT_COMMIT: 86354b634c9d0fc1eadff25359b9682d3f793e35, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#108) [Pipeline] echo 22:28:28 [semverPrep] This is not a build commit. [Pipeline] sh 22:28:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:28:28 + grep -v github /etc/ssh/ssh_known_hosts 22:28:28 + [ -e /tmp/ssh_known_hosts ] 22:28:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:28:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:28:28 + sudo tee -a /etc/ssh/ssh_known_hosts 22:28:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:28 22:28:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:29 0.1.4: Pulling from edgex-devops/py-git-semver 22:28:29 b85a868b505f: Pulling fs layer 22:28:29 e2be974225ed: Pulling fs layer 22:28:29 339a4e72a1f5: Pulling fs layer 22:28:29 988bab9f4d93: Pulling fs layer 22:28:29 1469e6f7b9e6: Pulling fs layer 22:28:29 eaf3925da568: Pulling fs layer 22:28:29 bab4dde63d76: Pulling fs layer 22:28:29 bde34c3a00c8: Pulling fs layer 22:28:29 b352a97aabf1: Pulling fs layer 22:28:29 4872d77fe225: Pulling fs layer 22:28:29 5851b861e8e6: Pulling fs layer 22:28:29 bab4dde63d76: Waiting 22:28:29 bde34c3a00c8: Waiting 22:28:29 b352a97aabf1: Waiting 22:28:29 4872d77fe225: Waiting 22:28:29 5851b861e8e6: Waiting 22:28:29 1469e6f7b9e6: Waiting 22:28:29 eaf3925da568: Waiting 22:28:29 988bab9f4d93: Waiting 22:28:29 e2be974225ed: Download complete 22:28:29 988bab9f4d93: Verifying Checksum 22:28:29 988bab9f4d93: Download complete 22:28:29 339a4e72a1f5: Verifying Checksum 22:28:29 339a4e72a1f5: Download complete 22:28:29 1469e6f7b9e6: Download complete 22:28:29 eaf3925da568: Verifying Checksum 22:28:29 eaf3925da568: Download complete 22:28:29 bde34c3a00c8: Verifying Checksum 22:28:29 bde34c3a00c8: Download complete 22:28:29 b352a97aabf1: Download complete 22:28:29 4872d77fe225: Verifying Checksum 22:28:29 4872d77fe225: Download complete 22:28:29 5851b861e8e6: Download complete 22:28:29 b85a868b505f: Verifying Checksum 22:28:29 b85a868b505f: Download complete 22:28:29 bab4dde63d76: Verifying Checksum 22:28:29 bab4dde63d76: Download complete 22:28:30 b85a868b505f: Pull complete 22:28:30 e2be974225ed: Pull complete 22:28:31 339a4e72a1f5: Pull complete 22:28:31 988bab9f4d93: Pull complete 22:28:31 1469e6f7b9e6: Pull complete 22:28:31 eaf3925da568: Pull complete 22:28:33 bab4dde63d76: Pull complete 22:28:33 bde34c3a00c8: Pull complete 22:28:33 b352a97aabf1: Pull complete 22:28:33 4872d77fe225: Pull complete 22:28:33 5851b861e8e6: Pull complete 22:28:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:34 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:28:34 $ 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 22:28:35 $ docker top a43f0a76faa547642badb2a0c2452b3d0cf88863a4b95312fb0799f92f159b2a -eo pid,comm 22:28:35 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). 22:28:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:28:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:35 [ssh-agent] Looking for ssh-agent implementation... 22:28:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:35 $ docker exec a43f0a76faa547642badb2a0c2452b3d0cf88863a4b95312fb0799f92f159b2a ssh-agent 22:28:36 SSH_AUTH_SOCK=/tmp/ssh-J8pUBGFrKwGG/agent.33 22:28:36 SSH_AGENT_PID=39 22:28:36 Running ssh-add (command line suppressed) 22:28:36 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15300890431455250883.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15300890431455250883.key) 22:28:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:36 + git tag --points-at HEAD [Pipeline] } 22:28:36 $ docker exec --env ******** --env ******** a43f0a76faa547642badb2a0c2452b3d0cf88863a4b95312fb0799f92f159b2a ssh-agent -k 22:28:36 unset SSH_AUTH_SOCK; 22:28:36 unset SSH_AGENT_PID; 22:28:36 echo Agent pid 39 killed; 22:28:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:28:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:36 [ssh-agent] Looking for ssh-agent implementation... 22:28:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:36 $ docker exec a43f0a76faa547642badb2a0c2452b3d0cf88863a4b95312fb0799f92f159b2a ssh-agent 22:28:36 SSH_AUTH_SOCK=/tmp/ssh-pzK0llrnuegP/agent.71 22:28:36 SSH_AGENT_PID=77 22:28:36 Running ssh-add (command line suppressed) 22:28:36 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10063650242553576028.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_10063650242553576028.key) 22:28:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:37 + git semver init 22:28:37 2022-09-21 22:28:37,437 [run_init] DEBUG init version:0.0.0 force:False 22:28:37 2022-09-21 22:28:37,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 22:28:37 2022-09-21 22:28:37,438 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 22:28:37 2022-09-21 22:28:37,439 [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) 22:28:38 2022-09-21 22:28:38,568 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 22:28:38 2022-09-21 22:28:38,569 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 22:28:38 2022-09-21 22:28:38,569 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:28:38 2022-09-21 22:28:38,569 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:28:38 2.3.0-dev.14 [Pipeline] } 22:28:38 $ docker exec --env ******** --env ******** a43f0a76faa547642badb2a0c2452b3d0cf88863a4b95312fb0799f92f159b2a ssh-agent -k 22:28:39 unset SSH_AUTH_SOCK; 22:28:39 unset SSH_AGENT_PID; 22:28:39 echo Agent pid 77 killed; 22:28:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:39 + git semver [Pipeline] } 22:28:39 $ docker stop --time=1 a43f0a76faa547642badb2a0c2452b3d0cf88863a4b95312fb0799f92f159b2a 22:28:40 $ docker rm -f a43f0a76faa547642badb2a0c2452b3d0cf88863a4b95312fb0799f92f159b2a [Pipeline] // withDockerContainer [Pipeline] sh 22:28:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:41 Stashed 1 file(s) [Pipeline] echo 22:28:41 [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:41 provisioning config files... 22:28:41 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config12787972714127501689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:41 ---> docker-login.sh 22:28:41 nexus3.edgexfoundry.org:10001 22:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:41 Configure a credential helper to remove this warning. See 22:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:41 22:28:41 Login Succeeded 22:28:41 nexus3.edgexfoundry.org:10002 22:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:41 Configure a credential helper to remove this warning. See 22:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:41 22:28:41 Login Succeeded 22:28:41 nexus3.edgexfoundry.org:10003 22:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:42 Configure a credential helper to remove this warning. See 22:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:42 22:28:42 Login Succeeded 22:28:42 nexus3.edgexfoundry.org:10004 22:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:42 Configure a credential helper to remove this warning. See 22:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:42 22:28:42 Login Succeeded 22:28:42 docker.io 22:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:42 Configure a credential helper to remove this warning. See 22:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:42 22:28:42 Login Succeeded 22:28:42 ---> docker-login.sh ends [Pipeline] } 22:28:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:42 ========================================================= 22:28:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:28:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:43 + 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 . 22:28:43 Sending build context to Docker daemon 12.47MB 22:28:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:28:43 Step 2/13 : FROM ${BASE} AS builder 22:28:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:28:43 2408cc74d12b: Pulling fs layer 22:28:43 ea60b727a1ce: Pulling fs layer 22:28:43 30c4a7721957: Pulling fs layer 22:28:43 370296b7ddb6: Pulling fs layer 22:28:43 7c6cee850709: Pulling fs layer 22:28:43 39a5fcdaea64: Pulling fs layer 22:28:43 d94ebbe4e438: Pulling fs layer 22:28:43 bcfd1f05c69d: Pulling fs layer 22:28:43 59ccb84bbe0f: Pulling fs layer 22:28:43 370296b7ddb6: Waiting 22:28:43 7c6cee850709: Waiting 22:28:43 39a5fcdaea64: Waiting 22:28:43 d94ebbe4e438: Waiting 22:28:43 bcfd1f05c69d: Waiting 22:28:43 59ccb84bbe0f: Waiting 22:28:43 30c4a7721957: Verifying Checksum 22:28:43 30c4a7721957: Download complete 22:28:43 ea60b727a1ce: Verifying Checksum 22:28:43 ea60b727a1ce: Download complete 22:28:43 7c6cee850709: Verifying Checksum 22:28:43 7c6cee850709: Download complete 22:28:43 39a5fcdaea64: Verifying Checksum 22:28:43 39a5fcdaea64: Download complete 22:28:43 2408cc74d12b: Download complete 22:28:43 d94ebbe4e438: Download complete 22:28:43 2408cc74d12b: Pull complete 22:28:43 ea60b727a1ce: Pull complete 22:28:43 30c4a7721957: Pull complete 22:28:43 59ccb84bbe0f: Download complete 22:28:43 bcfd1f05c69d: Verifying Checksum 22:28:43 bcfd1f05c69d: Download complete 22:28:44 370296b7ddb6: Verifying Checksum 22:28:44 370296b7ddb6: Download complete 22:28:48 370296b7ddb6: Pull complete 22:28:48 7c6cee850709: Pull complete 22:28:48 39a5fcdaea64: Pull complete 22:28:48 d94ebbe4e438: Pull complete 22:28:51 bcfd1f05c69d: Pull complete 22:28:51 59ccb84bbe0f: Pull complete 22:28:51 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:28:51 ---> a4fb48ad2a94 22:28:51 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:28:53 ---> Running in 6f6ea742288c 22:28:53 Removing intermediate container 6f6ea742288c 22:28:53 ---> cb34731341fe 22:28:53 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:28:53 ---> Running in 78b027a97a90 22:28:53 Removing intermediate container 78b027a97a90 22:28:53 ---> 624b91e2e9c4 22:28:53 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:28:53 ---> Running in 3a61431b79dc 22:28:53 Removing intermediate container 3a61431b79dc 22:28:53 ---> 75a7832a7dff 22:28:53 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:28:54 ---> Running in 360275ee08e8 22:28:54 Removing intermediate container 360275ee08e8 22:28:54 ---> 79e85f4a87d1 22:28:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:28:54 ---> Running in 3c43dc65fed5 22:28:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:28:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:28:56 OK: 211 MiB in 51 packages 22:28:56 Still waiting to schedule task 22:28:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:28:56 Removing intermediate container 3c43dc65fed5 22:28:56 ---> 10a481dd0a6f 22:28:56 Step 8/13 : WORKDIR /app 22:28:56 ---> Running in 15590d158b28 22:28:56 Removing intermediate container 15590d158b28 22:28:56 ---> 437f0d7b6461 22:28:56 Step 9/13 : COPY go.mod vendor* ./ 22:28:56 ---> d8d99106aa93 22:28:56 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:56 ---> Running in ebb27d0247b7 22:29:15 Removing intermediate container ebb27d0247b7 22:29:15 ---> 2f0d6ea28d9a 22:29:15 Step 11/13 : COPY . . 22:29:15 ---> 6f7d7c43aeff 22:29:15 Step 12/13 : ARG MAKE="make build" 22:29:15 ---> Running in 4dbcf018ab21 22:29:15 Removing intermediate container 4dbcf018ab21 22:29:15 ---> 52bebc6ee292 22:29:15 Step 13/13 : RUN $MAKE 22:29:15 ---> Running in 57eaebf14d6e 22:29:15 noop 22:29:15 Removing intermediate container 57eaebf14d6e 22:29:15 ---> e1c1f2f17868 22:29:15 Successfully built e1c1f2f17868 22:29:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:15 + docker inspect -f . ci-base-image-x86_64 22:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:15 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:29:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:29:15 $ docker top cd227e98c667f5037f4bd17151c21645152ea21613dc20ad97838d8f76767ce0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:16 + go version 22:29:16 go version go1.18.3 linux/amd64 [Pipeline] } 22:29:16 $ docker stop --time=1 cd227e98c667f5037f4bd17151c21645152ea21613dc20ad97838d8f76767ce0 22:29:17 $ docker rm -f cd227e98c667f5037f4bd17151c21645152ea21613dc20ad97838d8f76767ce0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:17 + docker inspect -f . ci-base-image-x86_64 22:29:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:17 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:29:17 $ 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 22:29:18 $ docker top e09c6f561ce1bb4247fb26ba79a224574d7551b52d5e6d25e6c9e4993686d384 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:18 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 22:29:18 + make test 22:29:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:29:28 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:29:28 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.042s coverage: 86.2% of statements 22:29:28 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:29:31 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.548s coverage: 71.9% of statements 22:29:37 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." 22:29:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:29:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:29:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:29:41 ./bin/test-attribution.sh 22:29:41 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:29:41 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:29:41 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:29:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:29:41 $ docker stop --time=1 e09c6f561ce1bb4247fb26ba79a224574d7551b52d5e6d25e6c9e4993686d384 22:29:43 $ docker rm -f e09c6f561ce1bb4247fb26ba79a224574d7551b52d5e6d25e6c9e4993686d384 [Pipeline] // withDockerContainer [Pipeline] sh 22:29:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:29:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:29:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:29:44 + ls -al . 22:29:44 total 232 22:29:44 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 22:29 . 22:29:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 .. 22:29:44 -rw-rw-r-- 1 jenkins jenkins 262 Sep 21 22:28 .dockerignore 22:29:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 22:29 .git 22:29:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:28 .github 22:29:44 -rw-rw-r-- 1 jenkins jenkins 788 Sep 21 22:28 .gitignore 22:29:44 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 22:28 .golangci.yml 22:29:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 22:28 .semver 22:29:44 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 21 22:28 Attribution.txt 22:29:44 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 21 22:28 CHANGELOG.md 22:29:44 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 21 22:28 Dockerfile 22:29:44 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 22:28 GOVERNANCE.md 22:29:44 -rw-rw-r-- 1 jenkins jenkins 687 Sep 21 22:28 Jenkinsfile 22:29:44 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 21 22:28 LICENSE 22:29:44 -rw-rw-r-- 1 jenkins jenkins 2949 Sep 21 22:28 Makefile 22:29:44 -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 22:28 OWNERS.md 22:29:44 -rw-rw-r-- 1 jenkins jenkins 30359 Sep 21 22:28 README.md 22:29:44 -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 22:28 VERSION 22:29:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 bin 22:29:44 -rw-r--r-- 1 jenkins jenkins 41008 Sep 21 22:29 coverage.out 22:29:44 -rw-rw-r-- 1 jenkins jenkins 3678 Sep 21 22:28 go.mod 22:29:44 -rw-rw-r-- 1 jenkins jenkins 38059 Sep 21 22:28 go.sum 22:29:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 images 22:29:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 internal 22:29:44 -rw-rw-r-- 1 jenkins jenkins 531 Sep 21 22:28 main.go 22:29:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 res 22:29:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 snap 22:29:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:28 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:44 + 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=86354b634c9d0fc1eadff25359b9682d3f793e35 --label arch=amd64 --label version=2.3.0-dev.14 . 22:29:44 Sending build context to Docker daemon 12.47MB 22:29:44 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 22:29:44 Step 2/31 : FROM ${BASE} AS builder 22:29:44 ---> e1c1f2f17868 22:29:44 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:29:44 ---> Running in 02c0b1d8db48 22:29:44 Removing intermediate container 02c0b1d8db48 22:29:44 ---> c5f00d0361a8 22:29:44 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:29:44 ---> Running in ea1ccf1ba17f 22:29:44 Removing intermediate container ea1ccf1ba17f 22:29:44 ---> 43f2d5a6b9ee 22:29:44 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:29:45 ---> Running in b6d16c5f4c4c 22:29:45 Removing intermediate container b6d16c5f4c4c 22:29:45 ---> a175c2c71a7e 22:29:45 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:29:45 ---> Running in ffd1cbcf146a 22:29:46 Removing intermediate container ffd1cbcf146a 22:29:46 ---> 1530491c8295 22:29:46 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:29:46 ---> Running in b3645c0e3992 22:29:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:29:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:29:47 OK: 211 MiB in 51 packages 22:29:47 Removing intermediate container b3645c0e3992 22:29:47 ---> 78f8071802dd 22:29:47 Step 8/31 : WORKDIR /app 22:29:47 ---> Running in 41dca350d334 22:29:47 Removing intermediate container 41dca350d334 22:29:47 ---> 64cb1e39826f 22:29:47 Step 9/31 : COPY go.mod vendor* ./ 22:29:48 ---> 43f650aba038 22:29:48 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:48 ---> Running in 2ebdc1d54303 22:29:48 Removing intermediate container 2ebdc1d54303 22:29:48 ---> fc4219adc0c8 22:29:48 Step 11/31 : COPY . . 22:29:48 ---> 3ff8956d13bc 22:29:48 Step 12/31 : ARG MAKE="make build" 22:29:49 ---> Running in d839f7e64907 22:29:49 Removing intermediate container d839f7e64907 22:29:49 ---> 8c3ce00f913d 22:29:49 Step 13/31 : RUN $MAKE 22:29:49 ---> Running in 99e7251e399a 22:29:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.14 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:30:11 Removing intermediate container 99e7251e399a 22:30:11 ---> 567c81a09bfa 22:30:11 Step 14/31 : FROM alpine:3.14 22:30:11 3.14: Pulling from library/alpine 22:30:11 c7ed990a2339: Pulling fs layer 22:30:11 c7ed990a2339: Verifying Checksum 22:30:11 c7ed990a2339: Download complete 22:30:11 c7ed990a2339: Pull complete 22:30:11 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:30:11 Status: Downloaded newer image for alpine:3.14 22:30:11 ---> dd53f409bf0b 22:30:11 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:30:11 ---> Running in 14bd853cf5cb 22:30:11 Removing intermediate container 14bd853cf5cb 22:30:11 ---> 49cadd4b72fc 22:30:11 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:30:11 ---> Running in 29afbdf31073 22:30:11 Removing intermediate container 29afbdf31073 22:30:11 ---> 05b201e189b3 22:30:11 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:30:11 ---> Running in 1fc45a0fed19 22:30:11 Removing intermediate container 1fc45a0fed19 22:30:11 ---> 852f49eeed59 22:30:11 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:30:11 ---> Running in 94cecc2d4642 22:30:11 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:30:11 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:30:12 (1/7) Installing ca-certificates (20220614-r0) 22:30:12 (2/7) Installing dumb-init (1.2.5-r1) 22:30:12 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:30:12 (4/7) Installing libsodium (1.0.18-r0) 22:30:12 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:30:12 (6/7) Installing libzmq (4.3.4-r0) 22:30:12 (7/7) Installing zeromq (4.3.4-r0) 22:30:12 Executing busybox-1.33.1-r8.trigger 22:30:12 Executing ca-certificates-20220614-r0.trigger 22:30:12 OK: 9 MiB in 21 packages 22:30:13 Removing intermediate container 94cecc2d4642 22:30:13 ---> 74c388f49782 22:30:13 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:30:13 ---> 14b8f2217e04 22:30:13 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:30:13 ---> 22f6a4eee3ea 22:30:13 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:30:13 ---> b3b3c538bd46 22:30:13 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:30:13 ---> 52f4e37957cd 22:30:13 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:30:14 ---> 3cf3c37a3786 22:30:14 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:30:14 ---> Running in a54a7f10fad3 22:30:15 Removing intermediate container a54a7f10fad3 22:30:15 ---> 52bfed5e6cca 22:30:15 Step 25/31 : VOLUME /cache 22:30:15 ---> Running in 37defcc7e7dd 22:30:15 Removing intermediate container 37defcc7e7dd 22:30:15 ---> 21245bcecafa 22:30:15 Step 26/31 : EXPOSE 59711 22:30:15 ---> Running in 095660c8a4f7 22:30:15 Removing intermediate container 095660c8a4f7 22:30:15 ---> ed82f98ea459 22:30:15 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:30:15 ---> Running in 89779fff4fa5 22:30:15 Removing intermediate container 89779fff4fa5 22:30:15 ---> fbecc435073f 22:30:15 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:30:15 ---> Running in 1ad1c76337f8 22:30:15 Removing intermediate container 1ad1c76337f8 22:30:15 ---> 0972e1bf6f10 22:30:15 Step 29/31 : LABEL arch=amd64 22:30:15 ---> Running in c2c6826a9e43 22:30:15 Removing intermediate container c2c6826a9e43 22:30:15 ---> 4e86be4ca23b 22:30:15 Step 30/31 : LABEL git_sha=86354b634c9d0fc1eadff25359b9682d3f793e35 22:30:15 ---> Running in 677d437de929 22:30:16 Removing intermediate container 677d437de929 22:30:16 ---> 57af665df649 22:30:16 Step 31/31 : LABEL version=2.3.0-dev.14 22:30:16 ---> Running in 7266eb73e570 22:30:16 Removing intermediate container 7266eb73e570 22:30:16 ---> e13a822c1b96 22:30:16 [Warning] One or more build-args [ARCH] were not consumed 22:30:16 Successfully built e13a822c1b96 22:30:16 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:16 provisioning config files... 22:30:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config16293959039537445030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:16 ---> docker-login.sh 22:30:16 nexus3.edgexfoundry.org:10001 22:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:16 Configure a credential helper to remove this warning. See 22:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:16 22:30:16 Login Succeeded 22:30:16 nexus3.edgexfoundry.org:10002 22:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:16 Configure a credential helper to remove this warning. See 22:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:16 22:30:16 Login Succeeded 22:30:16 nexus3.edgexfoundry.org:10003 22:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:16 Configure a credential helper to remove this warning. See 22:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:16 22:30:16 Login Succeeded 22:30:16 nexus3.edgexfoundry.org:10004 22:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:16 Configure a credential helper to remove this warning. See 22:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:16 22:30:16 Login Succeeded 22:30:16 docker.io 22:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:17 Configure a credential helper to remove this warning. See 22:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:17 22:30:17 Login Succeeded 22:30:17 ---> docker-login.sh ends [Pipeline] } 22:30:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:17 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 22:30:17 86354b634c9d0fc1eadff25359b9682d3f793e35 22:30:17 latest 22:30:17 2.3.0-dev.14 22:30:17 86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 22:30:17 main 22:30:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:17 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:18 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:86354b634c9d0fc1eadff25359b9682d3f793e35 22:30:18 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:30:18 3334e040e519: Preparing 22:30:18 af60fc7f5eed: Preparing 22:30:18 6a8d4abdc348: Preparing 22:30:18 a29f27297492: Preparing 22:30:18 c93994f9a104: Preparing 22:30:18 dedc5c451f63: Preparing 22:30:18 26a77d986db8: Preparing 22:30:18 8f15384fbb17: Preparing 22:30:18 dedc5c451f63: Waiting 22:30:18 26a77d986db8: Waiting 22:30:18 63493a9ab2d4: Preparing 22:30:18 8f15384fbb17: Waiting 22:30:18 63493a9ab2d4: Waiting 22:30:18 a29f27297492: Pushed 22:30:18 6a8d4abdc348: Pushed 22:30:18 c93994f9a104: Pushed 22:30:18 3334e040e519: Pushed 22:30:18 63493a9ab2d4: Layer already exists 22:30:18 dedc5c451f63: Pushed 22:30:18 8f15384fbb17: Pushed 22:30:18 26a77d986db8: Pushed 22:30:20 af60fc7f5eed: Pushed 22:30:20 86354b634c9d0fc1eadff25359b9682d3f793e35: digest: sha256:139396b9c895deaa975e5bdf5c8eb0933040cad50b4146d4206acf43cc8957ca size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:20 + 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 22:30:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 22:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:30:21 3334e040e519: Preparing 22:30:21 af60fc7f5eed: Preparing 22:30:21 6a8d4abdc348: Preparing 22:30:21 a29f27297492: Preparing 22:30:21 c93994f9a104: Preparing 22:30:21 dedc5c451f63: Preparing 22:30:21 26a77d986db8: Preparing 22:30:21 8f15384fbb17: Preparing 22:30:21 63493a9ab2d4: Preparing 22:30:21 dedc5c451f63: Waiting 22:30:21 8f15384fbb17: Waiting 22:30:21 26a77d986db8: Waiting 22:30:21 63493a9ab2d4: Waiting 22:30:21 6a8d4abdc348: Layer already exists 22:30:21 c93994f9a104: Layer already exists 22:30:21 3334e040e519: Layer already exists 22:30:21 a29f27297492: Layer already exists 22:30:21 af60fc7f5eed: Layer already exists 22:30:21 dedc5c451f63: Layer already exists 22:30:21 8f15384fbb17: Layer already exists 22:30:21 26a77d986db8: Layer already exists 22:30:21 63493a9ab2d4: Layer already exists 22:30:21 latest: digest: sha256:139396b9c895deaa975e5bdf5c8eb0933040cad50b4146d4206acf43cc8957ca size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:21 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.14 22:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:30:21 3334e040e519: Preparing 22:30:21 af60fc7f5eed: Preparing 22:30:21 6a8d4abdc348: Preparing 22:30:21 a29f27297492: Preparing 22:30:21 c93994f9a104: Preparing 22:30:21 dedc5c451f63: Preparing 22:30:21 26a77d986db8: Preparing 22:30:21 8f15384fbb17: Preparing 22:30:21 63493a9ab2d4: Preparing 22:30:21 dedc5c451f63: Waiting 22:30:21 26a77d986db8: Waiting 22:30:21 63493a9ab2d4: Waiting 22:30:21 8f15384fbb17: Waiting 22:30:21 6a8d4abdc348: Layer already exists 22:30:21 3334e040e519: Layer already exists 22:30:21 af60fc7f5eed: Layer already exists 22:30:21 c93994f9a104: Layer already exists 22:30:21 a29f27297492: Layer already exists 22:30:21 8f15384fbb17: Layer already exists 22:30:21 dedc5c451f63: Layer already exists 22:30:21 26a77d986db8: Layer already exists 22:30:21 63493a9ab2d4: Layer already exists 22:30:21 2.3.0-dev.14: digest: sha256:139396b9c895deaa975e5bdf5c8eb0933040cad50b4146d4206acf43cc8957ca size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:22 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:22 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 22:30:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:30:22 3334e040e519: Preparing 22:30:22 af60fc7f5eed: Preparing 22:30:22 6a8d4abdc348: Preparing 22:30:22 a29f27297492: Preparing 22:30:22 c93994f9a104: Preparing 22:30:22 dedc5c451f63: Preparing 22:30:22 26a77d986db8: Preparing 22:30:22 8f15384fbb17: Preparing 22:30:22 63493a9ab2d4: Preparing 22:30:22 26a77d986db8: Waiting 22:30:22 63493a9ab2d4: Waiting 22:30:22 8f15384fbb17: Waiting 22:30:22 dedc5c451f63: Waiting 22:30:22 af60fc7f5eed: Layer already exists 22:30:22 3334e040e519: Layer already exists 22:30:22 6a8d4abdc348: Layer already exists 22:30:22 c93994f9a104: Layer already exists 22:30:22 a29f27297492: Layer already exists 22:30:22 26a77d986db8: Layer already exists 22:30:22 dedc5c451f63: Layer already exists 22:30:22 8f15384fbb17: Layer already exists 22:30:22 63493a9ab2d4: Layer already exists 22:30:22 86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14: digest: sha256:139396b9c895deaa975e5bdf5c8eb0933040cad50b4146d4206acf43cc8957ca size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:22 + 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 22:30:23 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 22:30:23 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:30:23 3334e040e519: Preparing 22:30:23 af60fc7f5eed: Preparing 22:30:23 6a8d4abdc348: Preparing 22:30:23 a29f27297492: Preparing 22:30:23 c93994f9a104: Preparing 22:30:23 dedc5c451f63: Preparing 22:30:23 26a77d986db8: Preparing 22:30:23 8f15384fbb17: Preparing 22:30:23 63493a9ab2d4: Preparing 22:30:23 26a77d986db8: Waiting 22:30:23 8f15384fbb17: Waiting 22:30:23 63493a9ab2d4: Waiting 22:30:23 dedc5c451f63: Waiting 22:30:23 af60fc7f5eed: Layer already exists 22:30:23 c93994f9a104: Layer already exists 22:30:23 6a8d4abdc348: Layer already exists 22:30:23 a29f27297492: Layer already exists 22:30:23 3334e040e519: Layer already exists 22:30:23 dedc5c451f63: Layer already exists 22:30:23 26a77d986db8: Layer already exists 22:30:23 8f15384fbb17: Layer already exists 22:30:23 63493a9ab2d4: Layer already exists 22:30:23 main: digest: sha256:139396b9c895deaa975e5bdf5c8eb0933040cad50b4146d4206acf43cc8957ca size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:23 ===================================================== [Pipeline] echo 22:30:23 taggedImages: 22:30:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:86354b634c9d0fc1eadff25359b9682d3f793e35 22:30:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 22:30:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.14 22:30:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 22:30:23 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:23 22:30:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:23 latest: Pulling from edgex-lftools-log-publisher 22:30:23 5eb5b503b376: Pulling fs layer 22:30:23 5c69ac0246d0: Pulling fs layer 22:30:23 ec43610c2a17: Pulling fs layer 22:30:23 3a2ae6a8a46f: Pulling fs layer 22:30:23 33b1e0a273af: Pulling fs layer 22:30:23 5d3b04190fa2: Pulling fs layer 22:30:23 2f39f015ded8: Pulling fs layer 22:30:23 33b1e0a273af: Waiting 22:30:23 3a2ae6a8a46f: Waiting 22:30:23 5d3b04190fa2: Waiting 22:30:23 2f39f015ded8: Waiting 22:30:23 5c69ac0246d0: Download complete 22:30:23 3a2ae6a8a46f: Verifying Checksum 22:30:23 3a2ae6a8a46f: Download complete 22:30:23 33b1e0a273af: Verifying Checksum 22:30:23 33b1e0a273af: Download complete 22:30:23 5d3b04190fa2: Verifying Checksum 22:30:23 5d3b04190fa2: Download complete 22:30:24 ec43610c2a17: Verifying Checksum 22:30:24 ec43610c2a17: Download complete 22:30:24 5eb5b503b376: Verifying Checksum 22:30:24 5eb5b503b376: Download complete 22:30:24 2f39f015ded8: Verifying Checksum 22:30:24 2f39f015ded8: Download complete 22:30:25 5eb5b503b376: Pull complete 22:30:25 5c69ac0246d0: Pull complete 22:30:25 ec43610c2a17: Pull complete 22:30:25 3a2ae6a8a46f: Pull complete 22:30:26 33b1e0a273af: Pull complete 22:30:26 5d3b04190fa2: Pull complete 22:30:30 2f39f015ded8: Pull complete 22:30:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:30 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:30:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:30:32 $ docker top a16db3346a3f2c8895865b7d41b71ebaf1448164849c80e871bc7ec5dedf90e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:32 ---> job-cost.sh 22:30:32 lf-activate-venv: SKIPPING 22:30:32 INFO: No Stack... 22:30:32 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:33 INFO: Archiving Costs [Pipeline] sh 22:30:33 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 22:30:33 + cut -d, -f6 [Pipeline] lock 22:30:33 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] 22:30:33 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] did not exist. Created. 22:30:33 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:34 + echo total: 0.2199999988079071 [Pipeline] stash 22:30:34 Stashed 1 file(s) [Pipeline] } 22:30:34 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:34 $ docker stop --time=1 a16db3346a3f2c8895865b7d41b71ebaf1448164849c80e871bc7ec5dedf90e5 22:30:35 $ docker rm -f a16db3346a3f2c8895865b7d41b71ebaf1448164849c80e871bc7ec5dedf90e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:31:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-486 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 22:31:09 Running in /w/workspace/app-rfid-llrp-inventory/54 [Pipeline] { [Pipeline] checkout 22:31:09 The recommended git tool is: git 22:31:15 using credential edgex-jenkins-ssh 22:31:15 Cloning the remote Git repository 22:31:15 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:31:15 > git init /w/workspace/app-rfid-llrp-inventory/54 # timeout=10 22:31:15 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:31:15 > git --version # timeout=10 22:31:15 > git --version # 'git version 2.25.1' 22:31:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:31:15 Verifying host key using known hosts file 22:31:15 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. 22:31:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:18 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:31:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:31:19 Avoid second fetch 22:31:19 Checking out Revision 86354b634c9d0fc1eadff25359b9682d3f793e35 (main) 22:31:19 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 (#108)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 22:31:19 > git config core.sparsecheckout # timeout=10 22:31:19 > git checkout -f 86354b634c9d0fc1eadff25359b9682d3f793e35 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:31:20 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:20 Dload Upload Total Spent Left Speed 22:31:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 22:31:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:31:21 + + sudo tee /etc/docker/daemon.newsudo 22:31:21 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:31:21 { 22:31:21 "registry-mirrors": [ 22:31:21 "https://nexus3.edgexfoundry.org:10001" 22:31:21 ], 22:31:21 "bip": "10.250.0.254/24", 22:31:21 "hosts": [ 22:31:21 "tcp://0.0.0.0:5555", 22:31:21 "unix:///var/run/docker.sock" 22:31:21 ], 22:31:21 "mtu": 1458, 22:31:21 "selinux-enabled": true, 22:31:21 "seccomp-profile": "/etc/docker/seccomp.json" 22:31:21 } [Pipeline] sh 22:31:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:31:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:41 provisioning config files... 22:31:41 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/54@tmp/config15581566357277927216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:41 ---> docker-login.sh 22:31:41 nexus3.edgexfoundry.org:10001 22:31:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:42 Configure a credential helper to remove this warning. See 22:31:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:42 22:31:42 Login Succeeded 22:31:42 nexus3.edgexfoundry.org:10002 22:31:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:42 Configure a credential helper to remove this warning. See 22:31:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:42 22:31:42 Login Succeeded 22:31:42 nexus3.edgexfoundry.org:10003 22:31:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:42 Configure a credential helper to remove this warning. See 22:31:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:42 22:31:42 Login Succeeded 22:31:42 nexus3.edgexfoundry.org:10004 22:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:43 Configure a credential helper to remove this warning. See 22:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:43 22:31:43 Login Succeeded 22:31:43 docker.io 22:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:43 Configure a credential helper to remove this warning. See 22:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:43 22:31:43 Login Succeeded 22:31:43 ---> docker-login.sh ends [Pipeline] } 22:31:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:31:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:44 ========================================================= 22:31:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:31:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:44 + 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 . 22:31:44 Sending build context to Docker daemon 682.5kB 22:31:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:31:44 Step 2/13 : FROM ${BASE} AS builder 22:31:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:31:45 b3c136eddcbf: Pulling fs layer 22:31:45 c0a3192eca97: Pulling fs layer 22:31:45 a050256f5b6f: Pulling fs layer 22:31:45 656be50a0ddc: Pulling fs layer 22:31:45 2bbca73fdf42: Pulling fs layer 22:31:45 46d945488cbd: Pulling fs layer 22:31:45 8a5474983e97: Pulling fs layer 22:31:45 329c88fbcd65: Pulling fs layer 22:31:45 46d945488cbd: Waiting 22:31:45 656be50a0ddc: Waiting 22:31:45 8a5474983e97: Waiting 22:31:45 2bbca73fdf42: Waiting 22:31:45 329c88fbcd65: Waiting 22:31:45 a050256f5b6f: Verifying Checksum 22:31:45 a050256f5b6f: Download complete 22:31:45 c0a3192eca97: Verifying Checksum 22:31:45 c0a3192eca97: Download complete 22:31:45 2bbca73fdf42: Download complete 22:31:45 46d945488cbd: Verifying Checksum 22:31:45 46d945488cbd: Download complete 22:31:45 b3c136eddcbf: Verifying Checksum 22:31:45 b3c136eddcbf: Download complete 22:31:46 b3c136eddcbf: Pull complete 22:31:46 329c88fbcd65: Verifying Checksum 22:31:46 329c88fbcd65: Download complete 22:31:46 c0a3192eca97: Pull complete 22:31:46 a050256f5b6f: Pull complete 22:31:47 8a5474983e97: Verifying Checksum 22:31:47 8a5474983e97: Download complete 22:31:48 656be50a0ddc: Verifying Checksum 22:31:48 656be50a0ddc: Download complete 22:32:00 656be50a0ddc: Pull complete 22:32:00 2bbca73fdf42: Pull complete 22:32:00 46d945488cbd: Pull complete 22:32:07 8a5474983e97: Pull complete 22:32:10 329c88fbcd65: Pull complete 22:32:10 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:32:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:32:10 ---> ff4287adb874 22:32:10 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:32:10 ---> Running in e9bb9d09cbb5 22:32:10 Removing intermediate container e9bb9d09cbb5 22:32:10 ---> 680c1329a70d 22:32:10 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:32:10 ---> Running in cc3ad58ce7c6 22:32:11 Removing intermediate container cc3ad58ce7c6 22:32:11 ---> c9b28bac8317 22:32:11 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:32:11 ---> Running in 68e54a1e3f38 22:32:11 Removing intermediate container 68e54a1e3f38 22:32:11 ---> 2dc1607ab890 22:32:11 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:32:11 ---> Running in de463c8df5d7 22:32:13 Removing intermediate container de463c8df5d7 22:32:13 ---> 4ee2dbc4f2ea 22:32:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:13 ---> Running in 0b129d22125e 22:32:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:32:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:32:16 OK: 221 MiB in 51 packages 22:32:17 Removing intermediate container 0b129d22125e 22:32:17 ---> f63a4be00c3b 22:32:17 Step 8/13 : WORKDIR /app 22:32:17 ---> Running in b0ac879aa1b2 22:32:18 Removing intermediate container b0ac879aa1b2 22:32:18 ---> abe580579d68 22:32:18 Step 9/13 : COPY go.mod vendor* ./ 22:32:18 ---> baa945eebefe 22:32:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:18 ---> Running in e73d7ffb3494 22:33:15 Removing intermediate container e73d7ffb3494 22:33:15 ---> cf396278d739 22:33:15 Step 11/13 : COPY . . 22:33:15 ---> 54d3e2defe33 22:33:15 Step 12/13 : ARG MAKE="make build" 22:33:15 ---> Running in aac835342df4 22:33:15 Removing intermediate container aac835342df4 22:33:15 ---> a685592e72de 22:33:15 Step 13/13 : RUN $MAKE 22:33:15 ---> Running in 5336ef37a158 22:33:15 noop 22:33:15 Removing intermediate container 5336ef37a158 22:33:15 ---> cf9400bedcf2 22:33:15 Successfully built cf9400bedcf2 22:33:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:15 + docker inspect -f . ci-base-image-arm64 22:33:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:15 prd-ubuntu20.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 22:33:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/54 -v /w/workspace/app-rfid-llrp-inventory/54:/w/workspace/app-rfid-llrp-inventory/54:rw,z -v /w/workspace/app-rfid-llrp-inventory/54@tmp:/w/workspace/app-rfid-llrp-inventory/54@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 22:33:17 $ docker top cc4067ed156684314eea987ab2cd53da2a9341bb5922b0c921ce8c5e754586c9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:17 + go version 22:33:17 go version go1.18.3 linux/arm64 [Pipeline] } 22:33:17 $ docker stop --time=1 cc4067ed156684314eea987ab2cd53da2a9341bb5922b0c921ce8c5e754586c9 22:33:19 $ docker rm -f cc4067ed156684314eea987ab2cd53da2a9341bb5922b0c921ce8c5e754586c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:20 + docker inspect -f . ci-base-image-arm64 22:33:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:20 prd-ubuntu20.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 22:33:20 $ 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/54 -v /w/workspace/app-rfid-llrp-inventory/54:/w/workspace/app-rfid-llrp-inventory/54:rw,z -v /w/workspace/app-rfid-llrp-inventory/54@tmp:/w/workspace/app-rfid-llrp-inventory/54@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 22:33:21 $ docker top d43e70e769f82d0ad6ca9801b12bccf72af83b3d1a0b29962ff9813a03e6541f -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:22 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/54 [Pipeline] fileExists [Pipeline] sh 22:33:22 + make test 22:33:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:34:59 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:34:59 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.154s coverage: 86.2% of statements 22:34:59 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:34:59 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.716s coverage: 71.9% of statements 22:34:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:34:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:35:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:35:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:35:26 ./bin/test-attribution.sh 22:35:26 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:35:26 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:35:26 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:35:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:35:26 $ docker stop --time=1 d43e70e769f82d0ad6ca9801b12bccf72af83b3d1a0b29962ff9813a03e6541f 22:35:28 $ docker rm -f d43e70e769f82d0ad6ca9801b12bccf72af83b3d1a0b29962ff9813a03e6541f [Pipeline] // withDockerContainer [Pipeline] sh 22:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:35:29 Warning: overwriting stash ‘coverage-report’ 22:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:35:30 + ls -al . 22:35:30 total 228 22:35:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 22:33 . 22:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:31 .. 22:35:30 -rw-rw-r-- 1 jenkins jenkins 262 Sep 21 22:31 .dockerignore 22:35:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 22:31 .git 22:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:31 .github 22:35:30 -rw-rw-r-- 1 jenkins jenkins 788 Sep 21 22:31 .gitignore 22:35:30 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 22:31 .golangci.yml 22:35:30 -rw-rw-r-- 1 jenkins jenkins 9546 Sep 21 22:31 Attribution.txt 22:35:30 -rw-rw-r-- 1 jenkins jenkins 2487 Sep 21 22:31 CHANGELOG.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 21 22:31 Dockerfile 22:35:30 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 22:31 GOVERNANCE.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 687 Sep 21 22:31 Jenkinsfile 22:35:30 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 21 22:31 LICENSE 22:35:30 -rw-rw-r-- 1 jenkins jenkins 2949 Sep 21 22:31 Makefile 22:35:30 -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 22:31 OWNERS.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 30359 Sep 21 22:31 README.md 22:35:30 -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 22:28 VERSION 22:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:31 bin 22:35:30 -rw-r--r-- 1 jenkins jenkins 41008 Sep 21 22:34 coverage.out 22:35:30 -rw-rw-r-- 1 jenkins jenkins 3678 Sep 21 22:31 go.mod 22:35:30 -rw-rw-r-- 1 jenkins jenkins 38059 Sep 21 22:31 go.sum 22:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:31 images 22:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:31 internal 22:35:30 -rw-rw-r-- 1 jenkins jenkins 531 Sep 21 22:31 main.go 22:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:31 res 22:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:31 snap 22:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:31 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:30 + 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=86354b634c9d0fc1eadff25359b9682d3f793e35 --label arch=arm64 --label version=2.3.0-dev.14 . 22:35:31 Sending build context to Docker daemon 682.5kB 22:35:31 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 22:35:31 Step 2/31 : FROM ${BASE} AS builder 22:35:31 ---> cf9400bedcf2 22:35:31 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:35:31 ---> Running in 04284fc90eeb 22:35:31 Removing intermediate container 04284fc90eeb 22:35:31 ---> b791ac76694a 22:35:31 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 22:35:31 ---> Running in b5204826c933 22:35:31 Removing intermediate container b5204826c933 22:35:31 ---> 71c2f31b369e 22:35:31 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:35:31 ---> Running in db602bf1a998 22:35:32 Removing intermediate container db602bf1a998 22:35:32 ---> e35290e9229a 22:35:32 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:35:32 ---> Running in c46e5b998577 22:35:34 Removing intermediate container c46e5b998577 22:35:34 ---> b71e44fbcd53 22:35:34 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:35:34 ---> Running in 94fea2adb11f 22:35:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:35:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:35:36 OK: 221 MiB in 51 packages 22:35:37 Removing intermediate container 94fea2adb11f 22:35:37 ---> 2525f0ae2fd3 22:35:37 Step 8/31 : WORKDIR /app 22:35:38 ---> Running in d09724d36b37 22:35:38 Removing intermediate container d09724d36b37 22:35:38 ---> 5f45a55fec8b 22:35:38 Step 9/31 : COPY go.mod vendor* ./ 22:35:38 ---> 6cc0fa87f0ff 22:35:38 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:35:39 ---> Running in 70f62d9dc728 22:35:41 Removing intermediate container 70f62d9dc728 22:35:41 ---> c28109f24b50 22:35:41 Step 11/31 : COPY . . 22:35:42 ---> c62b18e8557c 22:35:42 Step 12/31 : ARG MAKE="make build" 22:35:42 ---> Running in a3c36cd64dce 22:35:43 Removing intermediate container a3c36cd64dce 22:35:43 ---> 1aa5d9bc9593 22:35:43 Step 13/31 : RUN $MAKE 22:35:43 ---> Running in b001cef681dc 22:35:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.14 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 22:38:06 Removing intermediate container b001cef681dc 22:38:06 ---> abe027a07b62 22:38:06 Step 14/31 : FROM alpine:3.14 22:38:06 3.14: Pulling from library/alpine 22:38:06 90cda3b7c325: Pulling fs layer 22:38:06 90cda3b7c325: Verifying Checksum 22:38:06 90cda3b7c325: Download complete 22:38:06 90cda3b7c325: Pull complete 22:38:06 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:38:06 Status: Downloaded newer image for alpine:3.14 22:38:06 ---> 376ba31ae3da 22:38:06 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:38:06 ---> Running in 5bd3cdb49c50 22:38:06 Removing intermediate container 5bd3cdb49c50 22:38:06 ---> 0b6058050329 22:38:06 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:38:06 ---> Running in 0ff97937006d 22:38:06 Removing intermediate container 0ff97937006d 22:38:06 ---> a84512676534 22:38:06 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:38:06 ---> Running in 94510d23143d 22:38:06 Removing intermediate container 94510d23143d 22:38:06 ---> 9b535529cc68 22:38:06 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 22:38:06 ---> Running in 3d0bdf9479e3 22:38:06 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:38:07 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:38:08 (1/7) Installing ca-certificates (20220614-r0) 22:38:08 (2/7) Installing dumb-init (1.2.5-r1) 22:38:08 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:38:09 (4/7) Installing libsodium (1.0.18-r0) 22:38:09 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:38:09 (6/7) Installing libzmq (4.3.4-r0) 22:38:09 (7/7) Installing zeromq (4.3.4-r0) 22:38:09 Executing busybox-1.33.1-r8.trigger 22:38:09 Executing ca-certificates-20220614-r0.trigger 22:38:09 OK: 9 MiB in 21 packages 22:38:11 Removing intermediate container 3d0bdf9479e3 22:38:11 ---> 721a8d86fd81 22:38:11 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:38:11 ---> 9d5426c41312 22:38:11 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 22:38:11 ---> bbf52ce1d646 22:38:11 Step 21/31 : COPY --from=builder /app/res/ /res/ 22:38:12 ---> 5d1899b163d3 22:38:12 Step 22/31 : COPY --from=builder /app/static/ /static/ 22:38:12 ---> 96536b87fd6a 22:38:12 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:38:14 ---> 021088308e5f 22:38:14 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 22:38:14 ---> Running in 1f0a2aff5ca3 22:38:15 Removing intermediate container 1f0a2aff5ca3 22:38:15 ---> 258c7115673d 22:38:15 Step 25/31 : VOLUME /cache 22:38:15 ---> Running in 07829147cb94 22:38:16 Removing intermediate container 07829147cb94 22:38:16 ---> 6080a1cd641c 22:38:16 Step 26/31 : EXPOSE 59711 22:38:16 ---> Running in 04b1cace7b96 22:38:16 Removing intermediate container 04b1cace7b96 22:38:16 ---> 93f980f83668 22:38:16 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:38:16 ---> Running in 698e3aa6042b 22:38:16 Removing intermediate container 698e3aa6042b 22:38:16 ---> b18a67f1978b 22:38:16 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:38:16 ---> Running in 165233cc31c3 22:38:16 Removing intermediate container 165233cc31c3 22:38:16 ---> e80e2a82f256 22:38:16 Step 29/31 : LABEL arch=arm64 22:38:17 ---> Running in ef06daff2f3e 22:38:17 Removing intermediate container ef06daff2f3e 22:38:17 ---> 36806ef23f2d 22:38:17 Step 30/31 : LABEL git_sha=86354b634c9d0fc1eadff25359b9682d3f793e35 22:38:17 ---> Running in a1d5600cca84 22:38:17 Removing intermediate container a1d5600cca84 22:38:17 ---> 77012d954c42 22:38:17 Step 31/31 : LABEL version=2.3.0-dev.14 22:38:17 ---> Running in 4c8c47424dba 22:38:18 Removing intermediate container 4c8c47424dba 22:38:18 ---> 627c72e8f96d 22:38:18 [Warning] One or more build-args [ARCH] were not consumed 22:38:18 Successfully built 627c72e8f96d 22:38:18 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 22:38:18 provisioning config files... 22:38:18 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/54@tmp/config4351682362660924677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:18 ---> docker-login.sh 22:38:18 nexus3.edgexfoundry.org:10001 22:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:18 Configure a credential helper to remove this warning. See 22:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:18 22:38:18 Login Succeeded 22:38:18 nexus3.edgexfoundry.org:10002 22:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:19 Configure a credential helper to remove this warning. See 22:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:19 22:38:19 Login Succeeded 22:38:19 nexus3.edgexfoundry.org:10003 22:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:19 Configure a credential helper to remove this warning. See 22:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:19 22:38:19 Login Succeeded 22:38:19 nexus3.edgexfoundry.org:10004 22:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:19 Configure a credential helper to remove this warning. See 22:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:19 22:38:19 Login Succeeded 22:38:19 docker.io 22:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:21 Configure a credential helper to remove this warning. See 22:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:21 22:38:21 Login Succeeded 22:38:21 ---> docker-login.sh ends [Pipeline] } 22:38:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:38:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:38:21 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 22:38:21 86354b634c9d0fc1eadff25359b9682d3f793e35 22:38:21 latest 22:38:21 2.3.0-dev.14 22:38:21 86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 22:38:21 main 22:38:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:22 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:22 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:86354b634c9d0fc1eadff25359b9682d3f793e35 22:38:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:38:22 e72d25090725: Preparing 22:38:22 bb7d794cd2e5: Preparing 22:38:22 7a26c7979edb: Preparing 22:38:22 a9f3b20d74b3: Preparing 22:38:22 8cc2f692f4d2: Preparing 22:38:22 6d8bb44cc112: Preparing 22:38:22 301089372c9e: Preparing 22:38:22 a0394fa5d208: Preparing 22:38:22 28c3ef001483: Preparing 22:38:22 6d8bb44cc112: Waiting 22:38:22 301089372c9e: Waiting 22:38:22 28c3ef001483: Waiting 22:38:22 a0394fa5d208: Waiting 22:38:22 8cc2f692f4d2: Pushed 22:38:22 e72d25090725: Pushed 22:38:22 a9f3b20d74b3: Pushed 22:38:22 7a26c7979edb: Pushed 22:38:22 28c3ef001483: Layer already exists 22:38:22 6d8bb44cc112: Pushed 22:38:23 a0394fa5d208: Pushed 22:38:23 301089372c9e: Pushed 22:38:27 bb7d794cd2e5: Pushed 22:38:28 86354b634c9d0fc1eadff25359b9682d3f793e35: digest: sha256:ee9596ec58e1f371aaaa3ef4b8b936e47e67c910c0a62133a70b46e1f1b56e85 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:28 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:28 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 22:38:28 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:38:28 e72d25090725: Preparing 22:38:28 bb7d794cd2e5: Preparing 22:38:28 7a26c7979edb: Preparing 22:38:28 a9f3b20d74b3: Preparing 22:38:28 8cc2f692f4d2: Preparing 22:38:28 6d8bb44cc112: Preparing 22:38:28 301089372c9e: Preparing 22:38:28 a0394fa5d208: Preparing 22:38:28 28c3ef001483: Preparing 22:38:28 301089372c9e: Waiting 22:38:28 28c3ef001483: Waiting 22:38:28 a0394fa5d208: Waiting 22:38:28 6d8bb44cc112: Waiting 22:38:28 8cc2f692f4d2: Layer already exists 22:38:28 a9f3b20d74b3: Layer already exists 22:38:28 e72d25090725: Layer already exists 22:38:28 7a26c7979edb: Layer already exists 22:38:28 bb7d794cd2e5: Layer already exists 22:38:28 a0394fa5d208: Layer already exists 22:38:28 6d8bb44cc112: Layer already exists 22:38:28 301089372c9e: Layer already exists 22:38:28 28c3ef001483: Layer already exists 22:38:29 latest: digest: sha256:ee9596ec58e1f371aaaa3ef4b8b936e47e67c910c0a62133a70b46e1f1b56e85 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:29 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:29 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.14 22:38:29 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:38:29 e72d25090725: Preparing 22:38:29 bb7d794cd2e5: Preparing 22:38:29 7a26c7979edb: Preparing 22:38:29 a9f3b20d74b3: Preparing 22:38:29 8cc2f692f4d2: Preparing 22:38:29 6d8bb44cc112: Preparing 22:38:29 301089372c9e: Preparing 22:38:29 a0394fa5d208: Preparing 22:38:29 28c3ef001483: Preparing 22:38:29 6d8bb44cc112: Waiting 22:38:29 a0394fa5d208: Waiting 22:38:29 28c3ef001483: Waiting 22:38:29 301089372c9e: Waiting 22:38:29 bb7d794cd2e5: Layer already exists 22:38:29 e72d25090725: Layer already exists 22:38:29 7a26c7979edb: Layer already exists 22:38:29 8cc2f692f4d2: Layer already exists 22:38:29 a9f3b20d74b3: Layer already exists 22:38:29 6d8bb44cc112: Layer already exists 22:38:29 28c3ef001483: Layer already exists 22:38:29 301089372c9e: Layer already exists 22:38:29 a0394fa5d208: Layer already exists 22:38:29 2.3.0-dev.14: digest: sha256:ee9596ec58e1f371aaaa3ef4b8b936e47e67c910c0a62133a70b46e1f1b56e85 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:30 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:30 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 22:38:30 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:38:30 e72d25090725: Preparing 22:38:30 bb7d794cd2e5: Preparing 22:38:30 7a26c7979edb: Preparing 22:38:30 a9f3b20d74b3: Preparing 22:38:30 8cc2f692f4d2: Preparing 22:38:30 6d8bb44cc112: Preparing 22:38:30 301089372c9e: Preparing 22:38:30 a0394fa5d208: Preparing 22:38:30 28c3ef001483: Preparing 22:38:30 6d8bb44cc112: Waiting 22:38:30 301089372c9e: Waiting 22:38:30 a0394fa5d208: Waiting 22:38:30 28c3ef001483: Waiting 22:38:30 8cc2f692f4d2: Layer already exists 22:38:30 e72d25090725: Layer already exists 22:38:30 a9f3b20d74b3: Layer already exists 22:38:30 7a26c7979edb: Layer already exists 22:38:30 bb7d794cd2e5: Layer already exists 22:38:30 a0394fa5d208: Layer already exists 22:38:30 6d8bb44cc112: Layer already exists 22:38:30 301089372c9e: Layer already exists 22:38:30 28c3ef001483: Layer already exists 22:38:30 86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14: digest: sha256:ee9596ec58e1f371aaaa3ef4b8b936e47e67c910c0a62133a70b46e1f1b56e85 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:30 + 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 22:38:31 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 22:38:31 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 22:38:31 e72d25090725: Preparing 22:38:31 bb7d794cd2e5: Preparing 22:38:31 7a26c7979edb: Preparing 22:38:31 a9f3b20d74b3: Preparing 22:38:31 8cc2f692f4d2: Preparing 22:38:31 6d8bb44cc112: Preparing 22:38:31 301089372c9e: Preparing 22:38:31 a0394fa5d208: Preparing 22:38:31 28c3ef001483: Preparing 22:38:31 6d8bb44cc112: Waiting 22:38:31 301089372c9e: Waiting 22:38:31 a0394fa5d208: Waiting 22:38:31 28c3ef001483: Waiting 22:38:31 bb7d794cd2e5: Layer already exists 22:38:31 a9f3b20d74b3: Layer already exists 22:38:31 7a26c7979edb: Layer already exists 22:38:31 8cc2f692f4d2: Layer already exists 22:38:31 e72d25090725: Layer already exists 22:38:31 301089372c9e: Layer already exists 22:38:31 6d8bb44cc112: Layer already exists 22:38:31 28c3ef001483: Layer already exists 22:38:31 a0394fa5d208: Layer already exists 22:38:31 main: digest: sha256:ee9596ec58e1f371aaaa3ef4b8b936e47e67c910c0a62133a70b46e1f1b56e85 size: 2197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:38:31 ===================================================== [Pipeline] echo 22:38:31 taggedImages: 22:38:31 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:86354b634c9d0fc1eadff25359b9682d3f793e35 22:38:31 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 22:38:31 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.14 22:38:31 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:86354b634c9d0fc1eadff25359b9682d3f793e35-2.3.0-dev.14 22:38:31 - 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 22:38:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:31 22:38:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:32 arm64: Pulling from edgex-lftools-log-publisher 22:38:32 8998bd30e6a1: Pulling fs layer 22:38:32 04944245beec: Pulling fs layer 22:38:32 699f458cf7ca: Pulling fs layer 22:38:32 765212b225bb: Pulling fs layer 22:38:32 f23df028b6ca: Pulling fs layer 22:38:32 d65c8cfc05b1: Pulling fs layer 22:38:32 2437ff75d9bd: Pulling fs layer 22:38:32 765212b225bb: Waiting 22:38:32 d65c8cfc05b1: Waiting 22:38:32 f23df028b6ca: Waiting 22:38:32 2437ff75d9bd: Waiting 22:38:32 04944245beec: Verifying Checksum 22:38:32 04944245beec: Download complete 22:38:32 765212b225bb: Verifying Checksum 22:38:32 765212b225bb: Download complete 22:38:32 f23df028b6ca: Verifying Checksum 22:38:32 f23df028b6ca: Download complete 22:38:32 d65c8cfc05b1: Verifying Checksum 22:38:32 d65c8cfc05b1: Download complete 22:38:32 699f458cf7ca: Verifying Checksum 22:38:32 699f458cf7ca: Download complete 22:38:33 8998bd30e6a1: Verifying Checksum 22:38:33 8998bd30e6a1: Download complete 22:38:35 2437ff75d9bd: Verifying Checksum 22:38:35 2437ff75d9bd: Download complete 22:38:37 8998bd30e6a1: Pull complete 22:38:37 04944245beec: Pull complete 22:38:38 699f458cf7ca: Pull complete 22:38:38 765212b225bb: Pull complete 22:38:39 f23df028b6ca: Pull complete 22:38:39 d65c8cfc05b1: Pull complete 22:38:55 2437ff75d9bd: Pull complete 22:38:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:38:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:55 prd-ubuntu20.04-docker-arm64-4c-16g-486 does not seem to be running inside a container 22:38: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/app-rfid-llrp-inventory/54 -v /w/workspace/app-rfid-llrp-inventory/54:/w/workspace/app-rfid-llrp-inventory/54:rw,z -v /w/workspace/app-rfid-llrp-inventory/54@tmp:/w/workspace/app-rfid-llrp-inventory/54@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 22:38:58 $ docker top 37072fea4e6cb1f957ca88f9da21c8391e5fa49eab98ad4b9bad7b80e1156c9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:58 ---> job-cost.sh 22:38:58 lf-activate-venv: SKIPPING 22:38:58 INFO: No Stack... 22:38:59 INFO: Retrieving Pricing Info for: v3-standard-4 22:39:00 INFO: Archiving Costs [Pipeline] sh 22:39:01 + cat /w/workspace/app-rfid-llrp-inventory/54/archives/cost.csv 22:39:01 + cut -d, -f6 [Pipeline] lock 22:39:01 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] 22:39:01 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] did not exist. Created. 22:39:01 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:39:01 /w/workspace/app-rfid-llrp-inventory/54@tmp/durable-b1559c2e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:39:02 + echo total: 0.10999999940395355 [Pipeline] stash 22:39:02 Warning: overwriting stash ‘stack-cost’ 22:39:02 Stashed 1 file(s) [Pipeline] } 22:39:02 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 22:39:02 $ docker stop --time=1 37072fea4e6cb1f957ca88f9da21c8391e5fa49eab98ad4b9bad7b80e1156c9d 22:39:03 $ docker rm -f 37072fea4e6cb1f957ca88f9da21c8391e5fa49eab98ad4b9bad7b80e1156c9d [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 22:39:04 provisioning config files... 22:39:04 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7719507810737636670tmp [Pipeline] { [Pipeline] sh 22:39:04 + set +x 22:39:04 + curl -s https://codecov.io/bash 22:39:04 + bash -s -- 22:39:04 22:39:04 _____ _ 22:39:04 / ____| | | 22:39:04 | | ___ __| | ___ ___ _____ __ 22:39:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:39:04 | |___| (_) | (_| | __/ (_| (_) \ V / 22:39:04 \_____\___/ \__,_|\___|\___\___/ \_/ 22:39:04 Bash-1.0.6 22:39:04 22:39:04 22:39:04 ==> git version 2.25.1 found 22:39:04 ==> 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 22:39:04 Release-Date: 2020-01-08 22:39:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:39:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:39:04 ==> Jenkins CI detected. 22:39:04 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 22:39:04 project root: . 22:39:04 --> token set from env 22:39:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:39:04 ==> Running gcov in . (disable via -X gcov) 22:39:04 ==> Python coveragepy not found 22:39:04 ==> Searching for coverage reports in: 22:39:04 + . 22:39:04 -> Found 1 reports 22:39:04 ==> Detecting git/mercurial file structure 22:39:04 ==> Reading reports 22:39:04 + ./coverage.out bytes=41008 22:39:04 ==> Appending adjustments 22:39:04 https://docs.codecov.io/docs/fixing-reports 22:39:04 + Found adjustments 22:39:04 ==> Gzipping contents 22:39:04 12K /tmp/codecov.ZqNGux.gz 22:39:04 ==> Uploading reports 22:39:04 url: https://codecov.io 22:39:04 query: branch=main&commit=86354b634c9d0fc1eadff25359b9682d3f793e35&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 22:39:04 -> Pinging Codecov 22:39:04 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=86354b634c9d0fc1eadff25359b9682d3f793e35&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 22:39:04 -> Uploading to 22:39:04 https://storage.googleapis.com/codecov/v4/raw/2022-09-21/581DD39554BDF9B6E22D074273EAD858/86354b634c9d0fc1eadff25359b9682d3f793e35/5af1afd2-eb30-4681-b74e-47197e3e496d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T223904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b1abde72869bfdd2bcb0250d86f19727a0a27fc1f4f9f64d6bbe56674acfd2d3 22:39:04 % Total % Received % Xferd Average Speed Time Time Time Current 22:39:04 Dload Upload Total Spent Left Speed 22:39:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11455 0 0 100 11455 0 43226 --:--:-- --:--:-- --:--:-- 43226 22:39:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] } 22:39:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:39:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:39:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:39:05 22:39:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:39:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:39:06 df9b9388f04a: Pulling fs layer 22:39:06 52dc419b0ee2: Pulling fs layer 22:39:06 25bc292e5bac: Pulling fs layer 22:39:06 114826534d7a: Pulling fs layer 22:39:06 4657fd5d0bcf: Pulling fs layer 22:39:06 6ad1cebc031e: Pulling fs layer 22:39:06 8a3aa393b2d8: Pulling fs layer 22:39:06 114826534d7a: Waiting 22:39:06 4657fd5d0bcf: Waiting 22:39:06 6ad1cebc031e: Waiting 22:39:06 8a3aa393b2d8: Waiting 22:39:06 25bc292e5bac: Verifying Checksum 22:39:06 25bc292e5bac: Download complete 22:39:06 52dc419b0ee2: Verifying Checksum 22:39:06 52dc419b0ee2: Download complete 22:39:06 4657fd5d0bcf: Download complete 22:39:06 df9b9388f04a: Download complete 22:39:06 df9b9388f04a: Pull complete 22:39:06 6ad1cebc031e: Verifying Checksum 22:39:06 6ad1cebc031e: Download complete 22:39:06 52dc419b0ee2: Pull complete 22:39:06 25bc292e5bac: Pull complete 22:39:06 114826534d7a: Verifying Checksum 22:39:06 114826534d7a: Download complete 22:39:06 8a3aa393b2d8: Verifying Checksum 22:39:06 8a3aa393b2d8: Download complete 22:39:10 114826534d7a: Pull complete 22:39:10 4657fd5d0bcf: Pull complete 22:39:10 6ad1cebc031e: Pull complete 22:39:13 8a3aa393b2d8: Pull complete 22:39:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:39:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:13 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:39: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 22:39:15 $ docker top 283001dc945d733f935e4ac19f6c0adb37cf69d776471fad8ab0f31c75445a53 -eo pid,comm [Pipeline] { [Pipeline] echo 22:39:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 22:39:15 + set -o pipefail 22:39:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 22:39:23 22:39:23 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 22:39:23 22:39:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/1f696f30-efc8-4091-bba7-8a01953cdcd1 22:39:23 22:39:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:39:23 22:39:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:39:23 22:39:23 [Pipeline] } 22:39:24 $ docker stop --time=1 283001dc945d733f935e4ac19f6c0adb37cf69d776471fad8ab0f31c75445a53 22:39:26 $ docker rm -f 283001dc945d733f935e4ac19f6c0adb37cf69d776471fad8ab0f31c75445a53 [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 22:39:26 + git log --format=format:%s -1 86354b634c9d0fc1eadff25359b9682d3f793e35 [Pipeline] sh 22:39:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:27 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:39:27 $ 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 22:39:28 $ docker top cc76841a19a5e5cfb4b78983e5ae341d165e52553e9462d06759a07a450f2786 -eo pid,comm 22:39:28 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). 22:39:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:28 [ssh-agent] Looking for ssh-agent implementation... 22:39:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:28 $ docker exec cc76841a19a5e5cfb4b78983e5ae341d165e52553e9462d06759a07a450f2786 ssh-agent 22:39:28 SSH_AUTH_SOCK=/tmp/ssh-G2wF2TYEKx7h/agent.32 22:39:28 SSH_AGENT_PID=38 22:39:28 Running ssh-add (command line suppressed) 22:39:28 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17102704027811083374.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17102704027811083374.key) 22:39:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:28 + git semver tag 22:39:29 2022-09-21 22:39:28,955 [run_tag] DEBUG tag force:False 22:39:29 2022-09-21 22:39:28,955 [check_head_tag] DEBUG check head tag 22:39:29 2022-09-21 22:39:28,956 [execute] INFO git cat-file --batch-check 22:39:29 2022-09-21 22:39:28,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 22:39:29 2022-09-21 22:39:28,959 [execute] INFO git cat-file --batch 22:39:29 2022-09-21 22:39:28,959 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 22:39:29 2022-09-21 22:39:28,969 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:39:29 2022-09-21 22:39:28,969 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 22:39:29 2022-09-21 22:39:28,970 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 22:39:29 2022-09-21 22:39:28,973 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:39:29 2.3.0-dev.14 [Pipeline] } 22:39:29 $ docker exec --env ******** --env ******** cc76841a19a5e5cfb4b78983e5ae341d165e52553e9462d06759a07a450f2786 ssh-agent -k 22:39:29 unset SSH_AUTH_SOCK; 22:39:29 unset SSH_AGENT_PID; 22:39:29 echo Agent pid 38 killed; 22:39:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:29 + git semver [Pipeline] } 22:39:29 $ docker stop --time=1 cc76841a19a5e5cfb4b78983e5ae341d165e52553e9462d06759a07a450f2786 22:39:31 $ docker rm -f cc76841a19a5e5cfb4b78983e5ae341d165e52553e9462d06759a07a450f2786 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:31 22:39:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:31 0.23.1-centos7: Pulling from edgex-lftools 22:39:31 ab5ef0e58194: Pulling fs layer 22:39:31 9712f1f96733: Pulling fs layer 22:39:31 63f879dbbcfc: Pulling fs layer 22:39:31 0d9ebad4ef96: Pulling fs layer 22:39:31 e9a5061849ea: Pulling fs layer 22:39:31 d747dcd14b5f: Pulling fs layer 22:39:31 2de7ff778b66: Pulling fs layer 22:39:31 e9a5061849ea: Waiting 22:39:31 d747dcd14b5f: Waiting 22:39:31 2de7ff778b66: Waiting 22:39:31 0d9ebad4ef96: Waiting 22:39:31 9712f1f96733: Download complete 22:39:31 63f879dbbcfc: Verifying Checksum 22:39:31 63f879dbbcfc: Download complete 22:39:32 e9a5061849ea: Verifying Checksum 22:39:32 e9a5061849ea: Download complete 22:39:32 d747dcd14b5f: Download complete 22:39:32 0d9ebad4ef96: Verifying Checksum 22:39:32 0d9ebad4ef96: Download complete 22:39:32 ab5ef0e58194: Verifying Checksum 22:39:32 ab5ef0e58194: Download complete 22:39:32 2de7ff778b66: Verifying Checksum 22:39:32 2de7ff778b66: Download complete 22:39:34 ab5ef0e58194: Pull complete 22:39:34 9712f1f96733: Pull complete 22:39:35 63f879dbbcfc: Pull complete 22:39:38 0d9ebad4ef96: Pull complete 22:39:38 e9a5061849ea: Pull complete 22:39:38 d747dcd14b5f: Pull complete 22:39:39 2de7ff778b66: Pull complete 22:39:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:39:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:39 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:39:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:39:42 $ docker top 4ead73209a40d53d8fc6fcbd6cbebd873828365a8f3024778abf1ef4340326cd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:39:42 provisioning config files... 22:39:42 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9832911982692628448tmp 22:39:42 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15040197709933070835tmp 22:39:42 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config8707885650428458876tmp [Pipeline] { [Pipeline] echo 22:39:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:39:42 ---> sigul-configuration.sh 22:39:42 gpg: directory `/root/.gnupg' created 22:39:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:39:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:39:42 gpg: keyring `/root/.gnupg/secring.gpg' created 22:39:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:39:42 gpg: CAST5 encrypted data 22:39:42 gpg: encrypted with 1 passphrase 22:39:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:39:43 + mkdir /home/jenkins 22:39:43 + mkdir /home/jenkins/sigul [Pipeline] sh 22:39:43 + 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 22:39:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:39:43 ---> sigul-install.sh 22:39:43 Sigul already installed; skipping installation. [Pipeline] sh 22:39:43 + git tag --list 22:39:43 v0.0.0 22:39:43 v1.0.0 22:39:43 v2.1.0 22:39:43 v2.1.1 22:39:43 v2.1.1-dev.1 22:39:43 v2.2.0 22:39:43 v2.2.1-dev.1 22:39:43 v2.2.1-dev.2 22:39:43 v2.2.1-dev.3 22:39:43 v2.2.1-dev.4 22:39:43 v2.2.1-dev.5 22:39:43 v2.2.1-dev.6 22:39:43 v2.2.1-dev.7 22:39:43 v2.3.0-dev.10 22:39:43 v2.3.0-dev.11 22:39:43 v2.3.0-dev.12 22:39:43 v2.3.0-dev.13 22:39:43 v2.3.0-dev.14 22:39:43 v2.3.0-dev.9 [Pipeline] sh 22:39:44 + lftools sign git-tag v2.3.0-dev.14 22:39:44 Signing Git tag with Sigul... 22:39:44 Signing v2.3.0-dev.14 [Pipeline] echo 22:39:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:39:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:39:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:39:45 $ docker stop --time=1 4ead73209a40d53d8fc6fcbd6cbebd873828365a8f3024778abf1ef4340326cd 22:39:46 $ docker rm -f 4ead73209a40d53d8fc6fcbd6cbebd873828365a8f3024778abf1ef4340326cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:39:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:47 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:39:47 $ 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 22:39:47 $ docker top 124c11ceb6e49bc02faaa57a03a23bb0cd77b0cf649193a42bc11b0b8ca341e7 -eo pid,comm 22:39:47 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). 22:39:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:47 [ssh-agent] Looking for ssh-agent implementation... 22:39:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:48 $ docker exec 124c11ceb6e49bc02faaa57a03a23bb0cd77b0cf649193a42bc11b0b8ca341e7 ssh-agent 22:39:48 SSH_AUTH_SOCK=/tmp/ssh-m9HC3DScplSv/agent.32 22:39:48 SSH_AGENT_PID=38 22:39:48 Running ssh-add (command line suppressed) 22:39:48 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13741548022858125424.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_13741548022858125424.key) 22:39:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:48 + git semver bump pre 22:39:48 2022-09-21 22:39:48,765 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:39:48 2022-09-21 22:39:48,765 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev 22:39:48 2022-09-21 22:39:48,765 [bump_version] DEBUG bumped version:2.3.0-dev.15 22:39:48 2022-09-21 22:39:48,765 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 22:39:48 2022-09-21 22:39:48,765 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:39:48 2022-09-21 22:39:48,765 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:39:48 2022-09-21 22:39:48,767 [execute] INFO git cat-file --batch-check 22:39:48 2022-09-21 22:39:48,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:48 2022-09-21 22:39:48,771 [execute] INFO git cat-file --batch 22:39:48 2022-09-21 22:39:48,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:48 2022-09-21 22:39:48,778 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:39:48 2.3.0-dev.15 [Pipeline] } 22:39:48 $ docker exec --env ******** --env ******** 124c11ceb6e49bc02faaa57a03a23bb0cd77b0cf649193a42bc11b0b8ca341e7 ssh-agent -k 22:39:48 unset SSH_AUTH_SOCK; 22:39:48 unset SSH_AGENT_PID; 22:39:48 echo Agent pid 38 killed; 22:39:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:49 + git semver [Pipeline] } 22:39:49 $ docker stop --time=1 124c11ceb6e49bc02faaa57a03a23bb0cd77b0cf649193a42bc11b0b8ca341e7 22:39:50 $ docker rm -f 124c11ceb6e49bc02faaa57a03a23bb0cd77b0cf649193a42bc11b0b8ca341e7 [Pipeline] // withDockerContainer [Pipeline] sh 22:39:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:51 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:39:51 $ 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 22:39:51 $ docker top 06b498e93bdabb946b4a3b106c07e9d998e45f6350e485ce63e19a081ff7c176 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:51 [ssh-agent] Looking for ssh-agent implementation... 22:39:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:52 $ docker exec 06b498e93bdabb946b4a3b106c07e9d998e45f6350e485ce63e19a081ff7c176 ssh-agent 22:39:52 SSH_AUTH_SOCK=/tmp/ssh-eXYcTO8d9a6Y/agent.33 22:39:52 SSH_AGENT_PID=39 22:39:52 Running ssh-add (command line suppressed) 22:39:52 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2236860729174873775.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_2236860729174873775.key) 22:39:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:52 + git semver push 22:39:52 2022-09-21 22:39:52,777 [run_push] DEBUG push 22:39:52 2022-09-21 22:39:52,777 [execute] INFO git cat-file --batch-check 22:39:52 2022-09-21 22:39:52,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:52 2022-09-21 22:39:52,781 [execute] INFO git rev-list 2076e60cb345ad9fd2603c6df68d6f54181d0ca5 -- 22:39:52 2022-09-21 22:39:52,782 [execute] DEBUG Popen(['git', 'rev-list', '2076e60cb345ad9fd2603c6df68d6f54181d0ca5', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:52 2022-09-21 22:39:52,788 [execute] INFO git fetch -v origin 22:39:52 2022-09-21 22:39:52,788 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 22:39:53 2022-09-21 22:39:53,326 [run_push] DEBUG no remote changes detected 22:39:53 2022-09-21 22:39:53,326 [execute] INFO git push origin semver 22:39:53 2022-09-21 22:39:53,326 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:54 2022-09-21 22:39:54,064 [run_push] DEBUG push all version tags 22:39:54 2022-09-21 22:39:54,064 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:39:54 2022-09-21 22:39:54,065 [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) 22:39:54 2022-09-21 22:39:54,827 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 22:39:54 2.3.0-dev.15 [Pipeline] } 22:39:54 $ docker exec --env ******** --env ******** 06b498e93bdabb946b4a3b106c07e9d998e45f6350e485ce63e19a081ff7c176 ssh-agent -k 22:39:55 unset SSH_AUTH_SOCK; 22:39:55 unset SSH_AGENT_PID; 22:39:55 echo Agent pid 39 killed; 22:39:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:55 + git semver [Pipeline] } 22:39:55 $ docker stop --time=1 06b498e93bdabb946b4a3b106c07e9d998e45f6350e485ce63e19a081ff7c176 22:39:56 $ docker rm -f 06b498e93bdabb946b4a3b106c07e9d998e45f6350e485ce63e19a081ff7c176 [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 22:39:57 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 22:39:57 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 22:39:57 total 16 22:39:57 drwxr-xr-x 3 root root 4096 Sep 21 22:30 . 22:39:57 drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 22:39 .. 22:39:57 drwxr-xr-x 2 root root 4096 Sep 21 22:30 cost 22:39:57 -rw-r--r-- 1 root root 94 Sep 21 22:30 cost.csv 22:39:57 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 22:39:57 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 22:39:57 total 16 22:39:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 22:30 . 22:39:57 drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 22:39 .. 22:39:57 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 22:30 cost 22:39:57 -rw-r--r-- 1 jenkins jenkins 94 Sep 21 22:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:39:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:39:58 ---> package-listing.sh 22:39:58 ++ facter osfamily 22:39:58 ++ tr '[:upper:]' '[:lower:]' 22:39:59 + OS_FAMILY=debian 22:39:59 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 22:39:59 + START_PACKAGES=/tmp/packages_start.txt 22:39:59 + END_PACKAGES=/tmp/packages_end.txt 22:39:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:39:59 + PACKAGES=/tmp/packages_start.txt 22:39:59 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 22:39:59 + PACKAGES=/tmp/packages_end.txt 22:39:59 + case "${OS_FAMILY}" in 22:39:59 + dpkg -l 22:39:59 + grep '^ii' 22:39:59 + '[' -f /tmp/packages_start.txt ']' 22:39:59 + '[' -f /tmp/packages_end.txt ']' 22:39:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:39:59 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 22:39:59 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 22:39:59 + 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 22:39:59 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 22:39:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:39:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:59 prd-ubuntu20.04-docker-8c-8g-484 does not seem to be running inside a container 22:39:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:40:00 $ docker top c0b6e5c17fb0ad04f55e8f64a463f912f38406b83b2465697b77e91586de8000 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:00 + touch /tmp/pre-build-complete [Pipeline] sh 22:40:00 + mkdir -p /var/log/sysstat [Pipeline] sh 22:40:01 + ls /var/log/sa-host 22:40:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:01 provisioning config files... 22:40:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15127289010607367333tmp [Pipeline] { [Pipeline] echo 22:40:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:40:01 ---> create-netrc.sh [Pipeline] } 22:40:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:40:02 ---> python-tools-install.sh [Pipeline] echo 22:40:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:40:02 ---> sudo-logs.sh 22:40:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:40:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:40:02 ---> job-cost.sh 22:40:02 lf-activate-venv: SKIPPING 22:40:02 DEBUG: total: 0.2199999988079071 22:40:02 INFO: Retrieving Stack Cost... 22:40:02 INFO: Retrieving Pricing Info for: v3-standard-8 22:40:03 INFO: Archiving Costs [Pipeline] echo 22:40:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:40:03 ---> logs-deploy.sh 22:40:03 lf-activate-venv: SKIPPING 22:40:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/54 22:40:03 INFO: archiving workspace using pattern(s): 22:40:04 Archives upload complete. 22:40:04 INFO: archiving logs to Nexus