Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e7488376ad1dd00b75d4cfa794ced1dedb225ae 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-ssh13124859726879624720.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh2832818700064366181.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh7950799386892919895.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh6376552488725778922.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-ssh9968360931390614573.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 ‘prd-ubuntu20.04-docker-8c-8g-117750’ Running on prd-ubuntu20.04-docker-8c-8g-117759 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 0e7488376ad1dd00b75d4cfa794ced1dedb225ae (main) Commit message: "docs: Levski Change Log (#120)" > 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 0e7488376ad1dd00b75d4cfa794ced1dedb225ae # timeout=10 > git rev-list --no-walk c5c5033a0bec85948549d813e6099cab37f5f597 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:26:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:26:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:26:19 ========================================================= 21:26:19 EdgeX Global Pipelines Version Info 21:26:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:26:20 ------------------- 21:26:20 stable info: 21:26:20 ------------------- 21:26:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:26:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 21:26:20 Message: update stable to v1.0.243 21:26:21 ------------------- 21:26:21 experimental info: 21:26:21 ------------------- 21:26:21 Commited By: **** collab-it+edgex@linuxfoundation.org 21:26:21 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 21:26:21 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e74883 [Pipeline] echo 21:26:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:21 provisioning config files... 21:26:21 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config843419096092830685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:21 ---> docker-login.sh 21:26:21 nexus3.edgexfoundry.org:10001 21:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:22 Configure a credential helper to remove this warning. See 21:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:22 21:26:22 Login Succeeded 21:26:22 nexus3.edgexfoundry.org:10002 21:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:22 Configure a credential helper to remove this warning. See 21:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:22 21:26:22 Login Succeeded 21:26:22 nexus3.edgexfoundry.org:10003 21:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:22 Configure a credential helper to remove this warning. See 21:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:22 21:26:22 Login Succeeded 21:26:22 nexus3.edgexfoundry.org:10004 21:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:22 Configure a credential helper to remove this warning. See 21:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:22 21:26:22 Login Succeeded 21:26:22 docker.io 21:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:22 Configure a credential helper to remove this warning. See 21:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:22 21:26:22 Login Succeeded 21:26:22 ---> docker-login.sh ends [Pipeline] } 21:26:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:26:23 + git rev-list -1 --merges 0e7488376ad1dd00b75d4cfa794ced1dedb225ae~1..0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] echo 21:26:23 -----------> git rev-list -1 --merges 0e7488376ad1dd00b75d4cfa794ced1dedb225ae~1..0e7488376ad1dd00b75d4cfa794ced1dedb225ae 0e7488376ad1dd00b75d4cfa794ced1dedb225ae [false] [Pipeline] sh 21:26:23 + git log --format=format:%s -1 0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] echo 21:26:23 ========================================================= 21:26:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:26:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:24 + git log --format=format:%s -1 0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] echo 21:26:24 [semverPrep] GIT_COMMIT: 0e7488376ad1dd00b75d4cfa794ced1dedb225ae, Commit Message: docs: Levski Change Log (#120) [Pipeline] echo 21:26:24 [semverPrep] This is not a build commit. [Pipeline] sh 21:26:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:24 + grep -v github /etc/ssh/ssh_known_hosts 21:26:24 + [ -e /tmp/ssh_known_hosts ] 21:26:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:26:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:26:24 + sudo tee -a /etc/ssh/ssh_known_hosts 21:26:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:26:24 21:26:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:26:25 0.1.4: Pulling from edgex-devops/py-git-semver 21:26:25 b85a868b505f: Pulling fs layer 21:26:25 e2be974225ed: Pulling fs layer 21:26:25 339a4e72a1f5: Pulling fs layer 21:26:25 988bab9f4d93: Pulling fs layer 21:26:25 1469e6f7b9e6: Pulling fs layer 21:26:25 eaf3925da568: Pulling fs layer 21:26:25 bab4dde63d76: Pulling fs layer 21:26:25 bde34c3a00c8: Pulling fs layer 21:26:25 b352a97aabf1: Pulling fs layer 21:26:25 4872d77fe225: Pulling fs layer 21:26:25 5851b861e8e6: Pulling fs layer 21:26:25 bde34c3a00c8: Waiting 21:26:25 1469e6f7b9e6: Waiting 21:26:25 b352a97aabf1: Waiting 21:26:25 4872d77fe225: Waiting 21:26:25 5851b861e8e6: Waiting 21:26:25 eaf3925da568: Waiting 21:26:25 bab4dde63d76: Waiting 21:26:25 e2be974225ed: Download complete 21:26:25 988bab9f4d93: Verifying Checksum 21:26:25 988bab9f4d93: Download complete 21:26:25 1469e6f7b9e6: Verifying Checksum 21:26:25 1469e6f7b9e6: Download complete 21:26:25 339a4e72a1f5: Verifying Checksum 21:26:25 339a4e72a1f5: Download complete 21:26:25 eaf3925da568: Verifying Checksum 21:26:25 eaf3925da568: Download complete 21:26:25 bde34c3a00c8: Verifying Checksum 21:26:25 bde34c3a00c8: Download complete 21:26:25 b352a97aabf1: Download complete 21:26:25 4872d77fe225: Verifying Checksum 21:26:25 4872d77fe225: Download complete 21:26:25 5851b861e8e6: Verifying Checksum 21:26:25 5851b861e8e6: Download complete 21:26:25 b85a868b505f: Verifying Checksum 21:26:25 b85a868b505f: Download complete 21:26:25 bab4dde63d76: Verifying Checksum 21:26:25 bab4dde63d76: Download complete 21:26:26 b85a868b505f: Pull complete 21:26:26 e2be974225ed: Pull complete 21:26:27 339a4e72a1f5: Pull complete 21:26:27 988bab9f4d93: Pull complete 21:26:27 1469e6f7b9e6: Pull complete 21:26:27 eaf3925da568: Pull complete 21:26:28 bab4dde63d76: Pull complete 21:26:29 bde34c3a00c8: Pull complete 21:26:29 b352a97aabf1: Pull complete 21:26:29 4872d77fe225: Pull complete 21:26:29 5851b861e8e6: Pull complete 21:26:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:26:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:26:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:29 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:26:29 $ 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 21:26:30 $ docker top aa31472761d8fc19840546e02161050dc5a09371e5df689d6f1f2cc30e1ae5c0 -eo pid,comm 21:26:30 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). 21:26:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:31 [ssh-agent] Looking for ssh-agent implementation... 21:26:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:31 $ docker exec aa31472761d8fc19840546e02161050dc5a09371e5df689d6f1f2cc30e1ae5c0 ssh-agent 21:26:31 SSH_AUTH_SOCK=/tmp/ssh-nTktyZtHimge/agent.32 21:26:31 SSH_AGENT_PID=38 21:26:31 Running ssh-add (command line suppressed) 21:26:31 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17736301215206476980.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_17736301215206476980.key) 21:26:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:31 + git tag --points-at HEAD [Pipeline] } 21:26:31 $ docker exec --env ******** --env ******** aa31472761d8fc19840546e02161050dc5a09371e5df689d6f1f2cc30e1ae5c0 ssh-agent -k 21:26:31 unset SSH_AUTH_SOCK; 21:26:31 unset SSH_AGENT_PID; 21:26:31 echo Agent pid 38 killed; 21:26:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:26:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:31 [ssh-agent] Looking for ssh-agent implementation... 21:26:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:31 $ docker exec aa31472761d8fc19840546e02161050dc5a09371e5df689d6f1f2cc30e1ae5c0 ssh-agent 21:26:32 SSH_AUTH_SOCK=/tmp/ssh-Y9Br42bDMFUm/agent.71 21:26:32 SSH_AGENT_PID=77 21:26:32 Running ssh-add (command line suppressed) 21:26:32 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3873146234329591020.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_3873146234329591020.key) 21:26:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:32 + git semver init 21:26:32 2022-11-01 21:26:32,587 [run_init] DEBUG init version:0.0.0 force:False 21:26:32 2022-11-01 21:26:32,588 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:26:32 2022-11-01 21:26:32,588 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/dry_app-rfid-llrp-inventory_main/.semver 21:26:32 2022-11-01 21:26:32,589 [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) 21:26:34 2022-11-01 21:26:33,769 [append_file] DEBUG append to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.git/info/exclude 21:26:34 2022-11-01 21:26:33,770 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:False 21:26:34 2022-11-01 21:26:33,770 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:34 2022-11-01 21:26:33,770 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:26:34 2.3.0-dev.24 [Pipeline] } 21:26:34 $ docker exec --env ******** --env ******** aa31472761d8fc19840546e02161050dc5a09371e5df689d6f1f2cc30e1ae5c0 ssh-agent -k 21:26:34 unset SSH_AUTH_SOCK; 21:26:34 unset SSH_AGENT_PID; 21:26:34 echo Agent pid 77 killed; 21:26:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:34 + git semver [Pipeline] } 21:26:34 $ docker stop --time=1 aa31472761d8fc19840546e02161050dc5a09371e5df689d6f1f2cc30e1ae5c0 21:26:36 $ docker rm -f aa31472761d8fc19840546e02161050dc5a09371e5df689d6f1f2cc30e1ae5c0 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:26:36 Stashed 1 file(s) [Pipeline] echo 21:26:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [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 21:26:36 provisioning config files... 21:26:36 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config9718298232292959998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:36 ---> docker-login.sh 21:26:36 nexus3.edgexfoundry.org:10001 21:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:36 Configure a credential helper to remove this warning. See 21:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:36 21:26:36 Login Succeeded 21:26:36 nexus3.edgexfoundry.org:10002 21:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:36 Configure a credential helper to remove this warning. See 21:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:36 21:26:36 Login Succeeded 21:26:36 nexus3.edgexfoundry.org:10003 21:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:37 Configure a credential helper to remove this warning. See 21:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:37 21:26:37 Login Succeeded 21:26:37 nexus3.edgexfoundry.org:10004 21:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:37 Configure a credential helper to remove this warning. See 21:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:37 21:26:37 Login Succeeded 21:26:37 docker.io 21:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:37 Configure a credential helper to remove this warning. See 21:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:37 21:26:37 Login Succeeded 21:26:37 ---> docker-login.sh ends [Pipeline] } 21:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:37 ========================================================= 21:26:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:26:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:38 + 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 . 21:26:38 Sending build context to Docker daemon 12.51MB 21:26:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:26:38 Step 2/13 : FROM ${BASE} AS builder 21:26:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:26:38 213ec9aee27d: Pulling fs layer 21:26:38 4583459ba037: Pulling fs layer 21:26:38 93c1e223e6f2: Pulling fs layer 21:26:38 53926ce57604: Pulling fs layer 21:26:38 21b2b0c7a3f4: Pulling fs layer 21:26:38 30f14e443154: Pulling fs layer 21:26:38 801331c1e519: Pulling fs layer 21:26:38 99cc6dd402b0: Pulling fs layer 21:26:38 7d9ed39f4882: Pulling fs layer 21:26:38 30f14e443154: Waiting 21:26:38 801331c1e519: Waiting 21:26:38 53926ce57604: Waiting 21:26:38 99cc6dd402b0: Waiting 21:26:38 7d9ed39f4882: Waiting 21:26:38 93c1e223e6f2: Verifying Checksum 21:26:38 93c1e223e6f2: Download complete 21:26:38 4583459ba037: Download complete 21:26:38 21b2b0c7a3f4: Download complete 21:26:38 30f14e443154: Verifying Checksum 21:26:38 30f14e443154: Download complete 21:26:38 213ec9aee27d: Verifying Checksum 21:26:38 213ec9aee27d: Download complete 21:26:38 801331c1e519: Verifying Checksum 21:26:38 801331c1e519: Download complete 21:26:38 213ec9aee27d: Pull complete 21:26:38 4583459ba037: Pull complete 21:26:38 93c1e223e6f2: Pull complete 21:26:38 7d9ed39f4882: Verifying Checksum 21:26:38 7d9ed39f4882: Download complete 21:26:38 99cc6dd402b0: Verifying Checksum 21:26:38 99cc6dd402b0: Download complete 21:26:38 53926ce57604: Verifying Checksum 21:26:38 53926ce57604: Download complete 21:26:43 53926ce57604: Pull complete 21:26:43 21b2b0c7a3f4: Pull complete 21:26:43 30f14e443154: Pull complete 21:26:43 801331c1e519: Pull complete 21:26:44 99cc6dd402b0: Pull complete 21:26:45 7d9ed39f4882: Pull complete 21:26:45 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 21:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:26:45 ---> 1dedd983c030 21:26:45 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:26:47 ---> Running in d2ed403163d8 21:26:47 Removing intermediate container d2ed403163d8 21:26:47 ---> d9fc683a1421 21:26:47 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:26:47 ---> Running in fa347d3cee53 21:26:47 Removing intermediate container fa347d3cee53 21:26:47 ---> b94bbf1ec90a 21:26:47 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:26:47 ---> Running in f684d6ad3ec8 21:26:47 Removing intermediate container f684d6ad3ec8 21:26:47 ---> 46b0ccbc1cc5 21:26:47 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:26:47 ---> Running in 71ff5586450f 21:26:47 Removing intermediate container 71ff5586450f 21:26:47 ---> b136b24a22c9 21:26:47 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:47 ---> Running in 393977d793a5 21:26:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:26:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:26:48 OK: 211 MiB in 51 packages 21:26:48 Removing intermediate container 393977d793a5 21:26:48 ---> f4dafc4d7730 21:26:48 Step 8/13 : WORKDIR /app 21:26:48 ---> Running in d37826168009 21:26:48 Removing intermediate container d37826168009 21:26:48 ---> e0e2dcba918d 21:26:48 Step 9/13 : COPY go.mod vendor* ./ 21:26:48 ---> a44195017df2 21:26:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:48 ---> Running in 8395f15cf7d6 21:26:51 Still waiting to schedule task 21:26:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117758’ 21:27:06 Removing intermediate container 8395f15cf7d6 21:27:06 ---> cbc610c433fe 21:27:06 Step 11/13 : COPY . . 21:27:06 ---> 8f0528170eed 21:27:06 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:27:06 ---> Running in 39e1821cf459 21:27:06 Removing intermediate container 39e1821cf459 21:27:06 ---> 25b97faa378a 21:27:06 Step 13/13 : RUN $MAKE 21:27:06 ---> Running in 3bef5b5e6148 21:27:06 noop 21:27:06 Removing intermediate container 3bef5b5e6148 21:27:06 ---> 825843e116d9 21:27:06 Successfully built 825843e116d9 21:27:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:07 + docker inspect -f . ci-base-image-x86_64 21:27:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:07 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:27:07 $ 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 21:27:07 $ docker top 4b07a5b04f59a688e48adfb832b66a1f8b44f600aa0ed73ec19445d443406bd6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:07 + go version 21:27:07 go version go1.18.7 linux/amd64 [Pipeline] } 21:27:07 $ docker stop --time=1 4b07a5b04f59a688e48adfb832b66a1f8b44f600aa0ed73ec19445d443406bd6 21:27:09 $ docker rm -f 4b07a5b04f59a688e48adfb832b66a1f8b44f600aa0ed73ec19445d443406bd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:09 + docker inspect -f . ci-base-image-x86_64 21:27:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:09 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:27:09 $ 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 21:27:09 $ docker top 0599334e79574412cc39cd1934700629e4c8e234e06fda63746f0a0f255d20db -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:10 + git config --global --add safe.directory /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] fileExists [Pipeline] sh 21:27:10 + make test 21:27:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:27:20 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:27:20 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.031s coverage: 86.2% of statements 21:27:20 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:27:22 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.548s coverage: 71.9% of statements 21:27:29 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." 21:27:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:27:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:27:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:27:32 ./bin/test-attribution.sh [Pipeline] echo 21:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:27:32 $ docker stop --time=1 0599334e79574412cc39cd1934700629e4c8e234e06fda63746f0a0f255d20db 21:27:34 $ docker rm -f 0599334e79574412cc39cd1934700629e4c8e234e06fda63746f0a0f255d20db [Pipeline] // withDockerContainer [Pipeline] sh 21:27:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:27:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:27:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:27:35 + ls -al . 21:27:35 total 240 21:27:35 drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 21:27 . 21:27:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:26 .. 21:27:35 -rw-rw-r-- 1 jenkins jenkins 262 Nov 1 21:26 .dockerignore 21:27:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:27 .git 21:27:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:26 .github 21:27:35 -rw-rw-r-- 1 jenkins jenkins 788 Nov 1 21:26 .gitignore 21:27:35 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:26 .golangci.yml 21:27:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:26 .semver 21:27:35 -rw-rw-r-- 1 jenkins jenkins 9922 Nov 1 21:26 Attribution.txt 21:27:35 -rw-rw-r-- 1 jenkins jenkins 4331 Nov 1 21:26 CHANGELOG.md 21:27:35 -rw-rw-r-- 1 jenkins jenkins 1815 Nov 1 21:26 Dockerfile 21:27:35 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:26 GOVERNANCE.md 21:27:35 -rw-rw-r-- 1 jenkins jenkins 687 Nov 1 21:26 Jenkinsfile 21:27:35 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 1 21:26 LICENSE 21:27:35 -rw-rw-r-- 1 jenkins jenkins 3163 Nov 1 21:26 Makefile 21:27:35 -rw-rw-r-- 1 jenkins jenkins 617 Nov 1 21:26 OWNERS.md 21:27:35 -rw-rw-r-- 1 jenkins jenkins 31023 Nov 1 21:26 README.md 21:27:35 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 21:26 VERSION 21:27:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:26 bin 21:27:35 -rw-r--r-- 1 jenkins jenkins 41008 Nov 1 21:27 coverage.out 21:27:35 -rw-rw-r-- 1 jenkins jenkins 3646 Nov 1 21:26 go.mod 21:27:35 -rw-rw-r-- 1 jenkins jenkins 44955 Nov 1 21:26 go.sum 21:27:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:26 images 21:27:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:26 internal 21:27:35 -rw-rw-r-- 1 jenkins jenkins 531 Nov 1 21:26 main.go 21:27:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:26 res 21:27:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:26 snap 21:27:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:26 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:35 + 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=0e7488376ad1dd00b75d4cfa794ced1dedb225ae --label arch=amd64 --label version=2.3.0-dev.24 . 21:27:35 Sending build context to Docker daemon 12.51MB 21:27:35 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 21:27:35 Step 2/30 : FROM ${BASE} AS builder 21:27:35 ---> 825843e116d9 21:27:35 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:27:35 ---> Running in 093c56a8b765 21:27:36 Removing intermediate container 093c56a8b765 21:27:36 ---> 6c602b272ef6 21:27:36 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 21:27:36 ---> Running in 5df9d7bfd986 21:27:36 Removing intermediate container 5df9d7bfd986 21:27:36 ---> b9909e2e2980 21:27:36 Step 5/30 : ARG ADD_BUILD_TAGS="" 21:27:36 ---> Running in bc102ba47486 21:27:36 Removing intermediate container bc102ba47486 21:27:36 ---> 5b80a38603ce 21:27:36 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:27:36 ---> Running in 14aca21c91f6 21:27:36 Removing intermediate container 14aca21c91f6 21:27:36 ---> c849553daef6 21:27:36 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:27:36 ---> Running in 09870eb1d6b4 21:27:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:27:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:27:36 OK: 211 MiB in 51 packages 21:27:37 Removing intermediate container 09870eb1d6b4 21:27:37 ---> 4e41aa5a0452 21:27:37 Step 8/30 : WORKDIR /app 21:27:37 ---> Running in 6e221b555d31 21:27:37 Removing intermediate container 6e221b555d31 21:27:37 ---> ad0f322b7ebc 21:27:37 Step 9/30 : COPY go.mod vendor* ./ 21:27:37 ---> 332debb27fad 21:27:37 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:37 ---> Running in e677d28638a5 21:27:38 Removing intermediate container e677d28638a5 21:27:38 ---> d2e9c90bf01e 21:27:38 Step 11/30 : COPY . . 21:27:38 ---> 37294fb1a4c7 21:27:38 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:27:38 ---> Running in 06bb79b5535e 21:27:38 Removing intermediate container 06bb79b5535e 21:27:38 ---> bf4277793240 21:27:38 Step 13/30 : RUN $MAKE 21:27:38 ---> Running in 0e3b9d08043d 21:27:39 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.58 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.24 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:28:01 Removing intermediate container 0e3b9d08043d 21:28:01 ---> 7c5bc816e6cf 21:28:01 Step 14/30 : FROM alpine:3.14 21:28:01 3.14: Pulling from library/alpine 21:28:01 c7ed990a2339: Pulling fs layer 21:28:01 c7ed990a2339: Verifying Checksum 21:28:01 c7ed990a2339: Download complete 21:28:01 c7ed990a2339: Pull complete 21:28:01 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:28:01 Status: Downloaded newer image for alpine:3.14 21:28:01 ---> dd53f409bf0b 21:28:01 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:28:01 ---> Running in b85351ed9b51 21:28:01 Removing intermediate container b85351ed9b51 21:28:01 ---> f322cbb08a96 21:28:01 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:28:01 ---> Running in 1791aa6b47cd 21:28:01 Removing intermediate container 1791aa6b47cd 21:28:01 ---> 175334cbe0e7 21:28:01 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 21:28:01 ---> Running in 83f2e9f6b55a 21:28:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:28:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:28:01 (1/7) Installing ca-certificates (20220614-r0) 21:28:01 (2/7) Installing dumb-init (1.2.5-r1) 21:28:01 (3/7) Installing libgcc (10.3.1_git20210424-r2) 21:28:01 (4/7) Installing libsodium (1.0.18-r0) 21:28:01 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 21:28:01 (6/7) Installing libzmq (4.3.4-r0) 21:28:01 (7/7) Installing zeromq (4.3.4-r0) 21:28:01 Executing busybox-1.33.1-r8.trigger 21:28:01 Executing ca-certificates-20220614-r0.trigger 21:28:01 OK: 9 MiB in 21 packages 21:28:01 Removing intermediate container 83f2e9f6b55a 21:28:01 ---> 279c48277955 21:28:01 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:28:01 ---> 3a31bf744b73 21:28:01 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 21:28:01 ---> 6702acfcb6cf 21:28:01 Step 20/30 : COPY --from=builder /app/res/ /res/ 21:28:01 ---> b81fd327e0f5 21:28:01 Step 21/30 : COPY --from=builder /app/static/ /static/ 21:28:01 ---> 4e359896ebac 21:28:01 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:28:01 ---> b6b2c385a803 21:28:01 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:28:01 ---> Running in fe47d9404b03 21:28:01 Removing intermediate container fe47d9404b03 21:28:01 ---> 740e83694e94 21:28:01 Step 24/30 : VOLUME /cache 21:28:01 ---> Running in 12992e2d0b4f 21:28:01 Removing intermediate container 12992e2d0b4f 21:28:01 ---> e6a9a078eb5a 21:28:01 Step 25/30 : EXPOSE 59711 21:28:01 ---> Running in b9707daa911a 21:28:01 Removing intermediate container b9707daa911a 21:28:01 ---> eec9516c861c 21:28:01 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:28:01 ---> Running in 3f04b4bb3be7 21:28:01 Removing intermediate container 3f04b4bb3be7 21:28:01 ---> 11576243f10d 21:28:01 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:28:02 ---> Running in 539ba7669d4f 21:28:02 Removing intermediate container 539ba7669d4f 21:28:02 ---> 82c02524d41d 21:28:02 Step 28/30 : LABEL arch=amd64 21:28:02 ---> Running in 064663e5948d 21:28:02 Removing intermediate container 064663e5948d 21:28:02 ---> ef38704503f8 21:28:02 Step 29/30 : LABEL git_sha=0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:28:02 ---> Running in f71759373b15 21:28:02 Removing intermediate container f71759373b15 21:28:02 ---> f4794331b172 21:28:02 Step 30/30 : LABEL version=2.3.0-dev.24 21:28:02 ---> Running in 7cbec14d7d21 21:28:02 Removing intermediate container 7cbec14d7d21 21:28:02 ---> 329a2256709a 21:28:02 [Warning] One or more build-args [ARCH] were not consumed 21:28:02 Successfully built 329a2256709a 21:28:02 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 21:28:02 provisioning config files... 21:28:02 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config11636092045852666945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:02 ---> docker-login.sh 21:28:02 nexus3.edgexfoundry.org:10001 21:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:02 Configure a credential helper to remove this warning. See 21:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:02 21:28:02 Login Succeeded 21:28:02 nexus3.edgexfoundry.org:10002 21:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:02 Configure a credential helper to remove this warning. See 21:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:02 21:28:02 Login Succeeded 21:28:02 nexus3.edgexfoundry.org:10003 21:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:03 Configure a credential helper to remove this warning. See 21:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:03 21:28:03 Login Succeeded 21:28:03 nexus3.edgexfoundry.org:10004 21:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:03 Configure a credential helper to remove this warning. See 21:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:03 21:28:03 Login Succeeded 21:28:03 docker.io 21:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:03 Configure a credential helper to remove this warning. See 21:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:03 21:28:03 Login Succeeded 21:28:03 ---> docker-login.sh ends [Pipeline] } 21:28:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:28:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:03 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 21:28:03 0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:28:03 latest 21:28:03 2.3.0-dev.24 21:28:03 0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 21:28:03 main 21:28:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:04 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:04 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:28:04 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:28:04 07f65ef70008: Preparing 21:28:04 f93b086520a4: Preparing 21:28:04 cd522449720e: Preparing 21:28:04 87823a52d1ad: Preparing 21:28:04 c5facf64c7c8: Preparing 21:28:04 86fd059decb5: Preparing 21:28:04 d22ec9dde887: Preparing 21:28:04 63493a9ab2d4: Preparing 21:28:04 86fd059decb5: Waiting 21:28:04 d22ec9dde887: Waiting 21:28:04 63493a9ab2d4: Waiting 21:28:04 87823a52d1ad: Pushed 21:28:04 07f65ef70008: Pushed 21:28:04 c5facf64c7c8: Pushed 21:28:04 cd522449720e: Pushed 21:28:04 63493a9ab2d4: Layer already exists 21:28:04 86fd059decb5: Pushed 21:28:04 d22ec9dde887: Pushed 21:28:06 f93b086520a4: Pushed 21:28:06 0e7488376ad1dd00b75d4cfa794ced1dedb225ae: digest: sha256:acc9af3a3edb327dd106dfc14f429f741139a29d539ae3395c7d10f8cf9a2828 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:07 + 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 21:28:07 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:28:07 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:28:07 07f65ef70008: Preparing 21:28:07 f93b086520a4: Preparing 21:28:07 cd522449720e: Preparing 21:28:07 87823a52d1ad: Preparing 21:28:07 c5facf64c7c8: Preparing 21:28:07 86fd059decb5: Preparing 21:28:07 d22ec9dde887: Preparing 21:28:07 63493a9ab2d4: Preparing 21:28:07 63493a9ab2d4: Waiting 21:28:07 d22ec9dde887: Waiting 21:28:07 c5facf64c7c8: Layer already exists 21:28:07 f93b086520a4: Layer already exists 21:28:07 cd522449720e: Layer already exists 21:28:07 07f65ef70008: Layer already exists 21:28:07 87823a52d1ad: Layer already exists 21:28:07 d22ec9dde887: Layer already exists 21:28:07 86fd059decb5: Layer already exists 21:28:07 63493a9ab2d4: Layer already exists 21:28:07 latest: digest: sha256:acc9af3a3edb327dd106dfc14f429f741139a29d539ae3395c7d10f8cf9a2828 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:07 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:08 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.24 21:28:08 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:28:08 07f65ef70008: Preparing 21:28:08 f93b086520a4: Preparing 21:28:08 cd522449720e: Preparing 21:28:08 87823a52d1ad: Preparing 21:28:08 c5facf64c7c8: Preparing 21:28:08 86fd059decb5: Preparing 21:28:08 d22ec9dde887: Preparing 21:28:08 63493a9ab2d4: Preparing 21:28:08 86fd059decb5: Waiting 21:28:08 d22ec9dde887: Waiting 21:28:08 63493a9ab2d4: Waiting 21:28:08 f93b086520a4: Layer already exists 21:28:08 07f65ef70008: Layer already exists 21:28:08 cd522449720e: Layer already exists 21:28:08 c5facf64c7c8: Layer already exists 21:28:08 87823a52d1ad: Layer already exists 21:28:08 86fd059decb5: Layer already exists 21:28:08 d22ec9dde887: Layer already exists 21:28:08 63493a9ab2d4: Layer already exists 21:28:08 2.3.0-dev.24: digest: sha256:acc9af3a3edb327dd106dfc14f429f741139a29d539ae3395c7d10f8cf9a2828 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:08 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:08 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 21:28:08 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:28:08 07f65ef70008: Preparing 21:28:08 f93b086520a4: Preparing 21:28:08 cd522449720e: Preparing 21:28:08 87823a52d1ad: Preparing 21:28:08 c5facf64c7c8: Preparing 21:28:08 86fd059decb5: Preparing 21:28:08 d22ec9dde887: Preparing 21:28:08 63493a9ab2d4: Preparing 21:28:08 d22ec9dde887: Waiting 21:28:08 63493a9ab2d4: Waiting 21:28:08 86fd059decb5: Waiting 21:28:08 07f65ef70008: Layer already exists 21:28:08 c5facf64c7c8: Layer already exists 21:28:08 cd522449720e: Layer already exists 21:28:08 f93b086520a4: Layer already exists 21:28:08 87823a52d1ad: Layer already exists 21:28:08 86fd059decb5: Layer already exists 21:28:08 63493a9ab2d4: Layer already exists 21:28:08 d22ec9dde887: Layer already exists 21:28:08 0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24: digest: sha256:acc9af3a3edb327dd106dfc14f429f741139a29d539ae3395c7d10f8cf9a2828 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:08 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:09 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 21:28:09 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 21:28:09 07f65ef70008: Preparing 21:28:09 f93b086520a4: Preparing 21:28:09 cd522449720e: Preparing 21:28:09 87823a52d1ad: Preparing 21:28:09 c5facf64c7c8: Preparing 21:28:09 86fd059decb5: Preparing 21:28:09 d22ec9dde887: Preparing 21:28:09 63493a9ab2d4: Preparing 21:28:09 86fd059decb5: Waiting 21:28:09 d22ec9dde887: Waiting 21:28:09 63493a9ab2d4: Waiting 21:28:09 87823a52d1ad: Layer already exists 21:28:09 07f65ef70008: Layer already exists 21:28:09 cd522449720e: Layer already exists 21:28:09 f93b086520a4: Layer already exists 21:28:09 c5facf64c7c8: Layer already exists 21:28:09 86fd059decb5: Layer already exists 21:28:09 d22ec9dde887: Layer already exists 21:28:09 63493a9ab2d4: Layer already exists 21:28:09 main: digest: sha256:acc9af3a3edb327dd106dfc14f429f741139a29d539ae3395c7d10f8cf9a2828 size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:28:09 ===================================================== [Pipeline] echo 21:28:09 taggedImages: 21:28:09 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:28:09 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 21:28:09 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:2.3.0-dev.24 21:28:09 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 21:28:09 - 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 21:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:09 21:28:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:09 latest: Pulling from edgex-lftools-log-publisher 21:28:09 5eb5b503b376: Pulling fs layer 21:28:09 5c69ac0246d0: Pulling fs layer 21:28:09 ec43610c2a17: Pulling fs layer 21:28:09 3a2ae6a8a46f: Pulling fs layer 21:28:09 33b1e0a273af: Pulling fs layer 21:28:09 5d3b04190fa2: Pulling fs layer 21:28:09 2f39f015ded8: Pulling fs layer 21:28:09 3a2ae6a8a46f: Waiting 21:28:09 33b1e0a273af: Waiting 21:28:09 5d3b04190fa2: Waiting 21:28:09 2f39f015ded8: Waiting 21:28:09 5c69ac0246d0: Download complete 21:28:09 3a2ae6a8a46f: Verifying Checksum 21:28:09 3a2ae6a8a46f: Download complete 21:28:09 33b1e0a273af: Verifying Checksum 21:28:09 33b1e0a273af: Download complete 21:28:10 5d3b04190fa2: Verifying Checksum 21:28:10 5d3b04190fa2: Download complete 21:28:10 ec43610c2a17: Verifying Checksum 21:28:10 ec43610c2a17: Download complete 21:28:10 5eb5b503b376: Verifying Checksum 21:28:10 5eb5b503b376: Download complete 21:28:10 2f39f015ded8: Download complete 21:28:11 5eb5b503b376: Pull complete 21:28:11 5c69ac0246d0: Pull complete 21:28:11 ec43610c2a17: Pull complete 21:28:11 3a2ae6a8a46f: Pull complete 21:28:11 33b1e0a273af: Pull complete 21:28:11 5d3b04190fa2: Pull complete 21:28:16 2f39f015ded8: Pull complete 21:28:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:16 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:28:16 $ 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 21:28:17 $ docker top d2de4c3651b82ffedf5e2d3fea758bbfbb8a2149986869e26b3b0193d383d511 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:18 ---> job-cost.sh 21:28:18 lf-activate-venv: SKIPPING 21:28:18 INFO: No Stack... 21:28:18 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:18 INFO: Archiving Costs [Pipeline] sh 21:28:19 + cat /w/workspace/dry_app-rfid-llrp-inventory_main/archives/cost.csv 21:28:19 + cut -d, -f6 [Pipeline] lock 21:28:19 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] 21:28:19 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] did not exist. Created. 21:28:19 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:19 + echo total: 0.2199999988079071 [Pipeline] stash 21:28:19 Stashed 1 file(s) [Pipeline] } 21:28:19 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:19 $ docker stop --time=1 d2de4c3651b82ffedf5e2d3fea758bbfbb8a2149986869e26b3b0193d383d511 21:28:20 $ docker rm -f d2de4c3651b82ffedf5e2d3fea758bbfbb8a2149986869e26b3b0193d383d511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:29:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117761 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 21:29:27 Running in /w/workspace/app-rfid-llrp-inventory/64 [Pipeline] { [Pipeline] checkout 21:29:27 The recommended git tool is: git 21:29:34 using credential edgex-jenkins-ssh 21:29:34 Cloning the remote Git repository 21:29:34 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:29:34 > git init /w/workspace/app-rfid-llrp-inventory/64 # timeout=10 21:29:35 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:29:35 > git --version # timeout=10 21:29:35 > git --version # 'git version 2.25.1' 21:29:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:35 Verifying host key using known hosts file 21:29:35 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. 21:29:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:37 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:29:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:39 Avoid second fetch 21:29:39 Checking out Revision 0e7488376ad1dd00b75d4cfa794ced1dedb225ae (main) 21:29:39 > git config core.sparsecheckout # timeout=10 21:29:39 > git checkout -f 0e7488376ad1dd00b75d4cfa794ced1dedb225ae # timeout=10 21:29:39 Commit message: "docs: Levski Change Log (#120)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:29:40 % Total % Received % Xferd Average Speed Time Time Time Current 21:29:40 Dload Upload Total Spent Left Speed 21:29:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 64958 0 --:--:-- --:--:-- --:--:-- 65295 [Pipeline] sh 21:29:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:29:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 21:29:41 sudo tee /etc/docker/daemon.new 21:29:41 { 21:29:41 "registry-mirrors": [ 21:29:41 "https://nexus3.edgexfoundry.org:10001" 21:29:41 ], 21:29:41 "bip": "10.250.0.254/24", 21:29:41 "hosts": [ 21:29:41 "tcp://0.0.0.0:5555", 21:29:41 "unix:///var/run/docker.sock" 21:29:41 ], 21:29:41 "mtu": 1458, 21:29:41 "selinux-enabled": true, 21:29:41 "seccomp-profile": "/etc/docker/seccomp.json" 21:29:41 } [Pipeline] sh 21:29:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:29:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:00 provisioning config files... 21:30:00 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/64@tmp/config1863916566901943942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:01 ---> docker-login.sh 21:30:01 nexus3.edgexfoundry.org:10001 21:30:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:02 Configure a credential helper to remove this warning. See 21:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:02 21:30:02 Login Succeeded 21:30:02 nexus3.edgexfoundry.org:10002 21:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:02 Configure a credential helper to remove this warning. See 21:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:02 21:30:02 Login Succeeded 21:30:02 nexus3.edgexfoundry.org:10003 21:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:02 Configure a credential helper to remove this warning. See 21:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:02 21:30:02 Login Succeeded 21:30:02 nexus3.edgexfoundry.org:10004 21:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:03 Configure a credential helper to remove this warning. See 21:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:03 21:30:03 Login Succeeded 21:30:03 docker.io 21:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:04 Configure a credential helper to remove this warning. See 21:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:04 21:30:04 Login Succeeded 21:30:04 ---> docker-login.sh ends [Pipeline] } 21:30:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:04 ========================================================= 21:30:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:30:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:04 + 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 . 21:30:05 Sending build context to Docker daemon 686.6kB 21:30:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:30:05 Step 2/13 : FROM ${BASE} AS builder 21:30:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:30:05 9b18e9b68314: Pulling fs layer 21:30:05 d32db5db7311: Pulling fs layer 21:30:05 d0c4b47475fc: Pulling fs layer 21:30:05 5831b945b038: Pulling fs layer 21:30:05 86bbec2aaacd: Pulling fs layer 21:30:05 e10730c5d714: Pulling fs layer 21:30:05 5dd5c2283517: Pulling fs layer 21:30:05 d5ac0230b979: Pulling fs layer 21:30:05 5831b945b038: Waiting 21:30:05 86bbec2aaacd: Waiting 21:30:05 e10730c5d714: Waiting 21:30:05 5dd5c2283517: Waiting 21:30:05 d5ac0230b979: Waiting 21:30:05 d0c4b47475fc: Download complete 21:30:05 d32db5db7311: Download complete 21:30:05 86bbec2aaacd: Verifying Checksum 21:30:05 86bbec2aaacd: Download complete 21:30:05 e10730c5d714: Verifying Checksum 21:30:05 e10730c5d714: Download complete 21:30:05 9b18e9b68314: Verifying Checksum 21:30:05 9b18e9b68314: Download complete 21:30:06 9b18e9b68314: Pull complete 21:30:07 d5ac0230b979: Verifying Checksum 21:30:07 d5ac0230b979: Download complete 21:30:07 d32db5db7311: Pull complete 21:30:07 d0c4b47475fc: Pull complete 21:30:08 5dd5c2283517: Verifying Checksum 21:30:08 5dd5c2283517: Download complete 21:30:08 5831b945b038: Verifying Checksum 21:30:08 5831b945b038: Download complete 21:30:21 5831b945b038: Pull complete 21:30:21 86bbec2aaacd: Pull complete 21:30:21 e10730c5d714: Pull complete 21:30:28 5dd5c2283517: Pull complete 21:30:30 d5ac0230b979: Pull complete 21:30:30 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 21:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:30:30 ---> 59b3b1a385d4 21:30:30 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:30:31 ---> Running in 6e41d71265ce 21:30:31 Removing intermediate container 6e41d71265ce 21:30:31 ---> c3c0b97ca39d 21:30:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:30:32 ---> Running in 162a9046b260 21:30:32 Removing intermediate container 162a9046b260 21:30:32 ---> f11805f38061 21:30:32 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:30:32 ---> Running in 025fd0df6be3 21:30:32 Removing intermediate container 025fd0df6be3 21:30:32 ---> 6532aa9820aa 21:30:32 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:30:32 ---> Running in d928869cb7c2 21:30:33 Removing intermediate container d928869cb7c2 21:30:33 ---> 76a4aa9c2b19 21:30:33 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:33 ---> Running in 153f65cff6e2 21:30:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:30:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:30:36 OK: 221 MiB in 51 packages 21:30:37 Removing intermediate container 153f65cff6e2 21:30:37 ---> 3b53a1e6283f 21:30:37 Step 8/13 : WORKDIR /app 21:30:37 ---> Running in 489c4dadb246 21:30:37 Removing intermediate container 489c4dadb246 21:30:37 ---> e4aab0bf584c 21:30:37 Step 9/13 : COPY go.mod vendor* ./ 21:30:38 ---> 0bccbda85cc2 21:30:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:38 ---> Running in fd45d0353fad 21:31:34 Removing intermediate container fd45d0353fad 21:31:34 ---> 8950feb50ee4 21:31:34 Step 11/13 : COPY . . 21:31:34 ---> 153ffedbbed8 21:31:34 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:34 ---> Running in 242258090fff 21:31:34 Removing intermediate container 242258090fff 21:31:34 ---> b4d72d9a9e02 21:31:34 Step 13/13 : RUN $MAKE 21:31:34 ---> Running in 497c03fedd9e 21:31:34 noop 21:31:35 Removing intermediate container 497c03fedd9e 21:31:35 ---> b56da3a350b8 21:31:35 Successfully built b56da3a350b8 21:31:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:36 + docker inspect -f . ci-base-image-arm64 21:31:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:36 prd-ubuntu20.04-docker-arm64-4c-16g-117761 does not seem to be running inside a container 21:31:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/64 -v /w/workspace/app-rfid-llrp-inventory/64:/w/workspace/app-rfid-llrp-inventory/64:rw,z -v /w/workspace/app-rfid-llrp-inventory/64@tmp:/w/workspace/app-rfid-llrp-inventory/64@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 21:31:37 $ docker top f333e506e30204014bd6e55f110289ffec07c291b2df84c9011290584924b248 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:38 + go version 21:31:38 go version go1.18.7 linux/arm64 [Pipeline] } 21:31:38 $ docker stop --time=1 f333e506e30204014bd6e55f110289ffec07c291b2df84c9011290584924b248 21:31:40 $ docker rm -f f333e506e30204014bd6e55f110289ffec07c291b2df84c9011290584924b248 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:40 + docker inspect -f . ci-base-image-arm64 21:31:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:40 prd-ubuntu20.04-docker-arm64-4c-16g-117761 does not seem to be running inside a container 21:31:40 $ 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/64 -v /w/workspace/app-rfid-llrp-inventory/64:/w/workspace/app-rfid-llrp-inventory/64:rw,z -v /w/workspace/app-rfid-llrp-inventory/64@tmp:/w/workspace/app-rfid-llrp-inventory/64@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 21:31:42 $ docker top 184f47126382dd66eef7c5f969d08529b6bbe68793d0d4a1da527d7a1ae4882f -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:43 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/64 [Pipeline] fileExists [Pipeline] sh 21:31:43 + make test 21:31:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:33:35 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:33:35 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.221s coverage: 86.2% of statements 21:33:35 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:33:35 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.791s coverage: 71.9% of statements 21:33:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:33:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:34:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:34:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:34:02 ./bin/test-attribution.sh [Pipeline] echo 21:34:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:34:02 $ docker stop --time=1 184f47126382dd66eef7c5f969d08529b6bbe68793d0d4a1da527d7a1ae4882f 21:34:04 $ docker rm -f 184f47126382dd66eef7c5f969d08529b6bbe68793d0d4a1da527d7a1ae4882f [Pipeline] // withDockerContainer [Pipeline] sh 21:34:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:34:05 Warning: overwriting stash ‘coverage-report’ 21:34:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:34:07 + ls -al . 21:34:07 total 236 21:34:07 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 21:31 . 21:34:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:29 .. 21:34:07 -rw-rw-r-- 1 jenkins jenkins 262 Nov 1 21:29 .dockerignore 21:34:07 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:29 .git 21:34:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:29 .github 21:34:07 -rw-rw-r-- 1 jenkins jenkins 788 Nov 1 21:29 .gitignore 21:34:07 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 21:29 .golangci.yml 21:34:07 -rw-rw-r-- 1 jenkins jenkins 9922 Nov 1 21:29 Attribution.txt 21:34:07 -rw-rw-r-- 1 jenkins jenkins 4331 Nov 1 21:29 CHANGELOG.md 21:34:07 -rw-rw-r-- 1 jenkins jenkins 1815 Nov 1 21:29 Dockerfile 21:34:07 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:29 GOVERNANCE.md 21:34:07 -rw-rw-r-- 1 jenkins jenkins 687 Nov 1 21:29 Jenkinsfile 21:34:07 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 1 21:29 LICENSE 21:34:07 -rw-rw-r-- 1 jenkins jenkins 3163 Nov 1 21:29 Makefile 21:34:07 -rw-rw-r-- 1 jenkins jenkins 617 Nov 1 21:29 OWNERS.md 21:34:07 -rw-rw-r-- 1 jenkins jenkins 31023 Nov 1 21:29 README.md 21:34:07 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 21:26 VERSION 21:34:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:29 bin 21:34:07 -rw-r--r-- 1 jenkins jenkins 41008 Nov 1 21:33 coverage.out 21:34:07 -rw-rw-r-- 1 jenkins jenkins 3646 Nov 1 21:29 go.mod 21:34:07 -rw-rw-r-- 1 jenkins jenkins 44955 Nov 1 21:29 go.sum 21:34:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:29 images 21:34:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:29 internal 21:34:07 -rw-rw-r-- 1 jenkins jenkins 531 Nov 1 21:29 main.go 21:34:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:29 res 21:34:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:29 snap 21:34:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:29 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:07 + 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=0e7488376ad1dd00b75d4cfa794ced1dedb225ae --label arch=arm64 --label version=2.3.0-dev.24 . 21:34:07 Sending build context to Docker daemon 686.6kB 21:34:07 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 21:34:07 Step 2/30 : FROM ${BASE} AS builder 21:34:07 ---> b56da3a350b8 21:34:07 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:34:08 ---> Running in 9ea2cd220dc6 21:34:08 Removing intermediate container 9ea2cd220dc6 21:34:08 ---> acb1a0a50540 21:34:08 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 21:34:08 ---> Running in 0ee4db39fe27 21:34:08 Removing intermediate container 0ee4db39fe27 21:34:08 ---> 3405fc8c0059 21:34:08 Step 5/30 : ARG ADD_BUILD_TAGS="" 21:34:08 ---> Running in 5a95eeead2c8 21:34:09 Removing intermediate container 5a95eeead2c8 21:34:09 ---> c4ed4dbbef3a 21:34:09 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:34:09 ---> Running in 909d0ab4783f 21:34:09 Removing intermediate container 909d0ab4783f 21:34:09 ---> d7fbfa129124 21:34:09 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:34:09 ---> Running in 5813ef0a70af 21:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:34:12 OK: 221 MiB in 51 packages 21:34:13 Removing intermediate container 5813ef0a70af 21:34:13 ---> 6f9b05323386 21:34:13 Step 8/30 : WORKDIR /app 21:34:13 ---> Running in 80759bb2cf82 21:34:14 Removing intermediate container 80759bb2cf82 21:34:14 ---> a88cc8f9f682 21:34:14 Step 9/30 : COPY go.mod vendor* ./ 21:34:14 ---> d17b895cdde3 21:34:14 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:14 ---> Running in 38782210998d 21:34:17 Removing intermediate container 38782210998d 21:34:17 ---> 9cd283c05c2d 21:34:17 Step 11/30 : COPY . . 21:34:17 ---> 8f2b1967b886 21:34:17 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:17 ---> Running in 0304010f0bbd 21:34:19 Removing intermediate container 0304010f0bbd 21:34:19 ---> 1cf485f1e79b 21:34:19 Step 13/30 : RUN $MAKE 21:34:19 ---> Running in 84256e575603 21:34:21 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.58 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.3.0-dev.24 -X edgexfoundry/app-rfid-llrp-inventory.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 21:36:57 Removing intermediate container 84256e575603 21:36:57 ---> 581f8a2f2ed3 21:36:57 Step 14/30 : FROM alpine:3.14 21:36:58 3.14: Pulling from library/alpine 21:36:58 90cda3b7c325: Pulling fs layer 21:36:58 90cda3b7c325: Verifying Checksum 21:36:58 90cda3b7c325: Download complete 21:36:59 90cda3b7c325: Pull complete 21:36:59 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:36:59 Status: Downloaded newer image for alpine:3.14 21:36:59 ---> 376ba31ae3da 21:36:59 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:36:59 ---> Running in dc5169b14582 21:36:59 Removing intermediate container dc5169b14582 21:36:59 ---> 55156d561a4d 21:36:59 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 21:36:59 ---> Running in 8fb4a31f1337 21:36:59 Removing intermediate container 8fb4a31f1337 21:36:59 ---> 38297d9a37fb 21:36:59 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 21:37:00 ---> Running in 7f35c3e020c1 21:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:37:02 (1/7) Installing ca-certificates (20220614-r0) 21:37:02 (2/7) Installing dumb-init (1.2.5-r1) 21:37:02 (3/7) Installing libgcc (10.3.1_git20210424-r2) 21:37:02 (4/7) Installing libsodium (1.0.18-r0) 21:37:02 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 21:37:02 (6/7) Installing libzmq (4.3.4-r0) 21:37:02 (7/7) Installing zeromq (4.3.4-r0) 21:37:02 Executing busybox-1.33.1-r8.trigger 21:37:02 Executing ca-certificates-20220614-r0.trigger 21:37:02 OK: 9 MiB in 21 packages 21:37:04 Removing intermediate container 7f35c3e020c1 21:37:04 ---> 872a69512c21 21:37:04 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:37:04 ---> 3246a918eeec 21:37:04 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 21:37:05 ---> 6d1da0e64ed3 21:37:05 Step 20/30 : COPY --from=builder /app/res/ /res/ 21:37:05 ---> aee81452a68f 21:37:05 Step 21/30 : COPY --from=builder /app/static/ /static/ 21:37:06 ---> d0e715492f8d 21:37:06 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 21:37:07 ---> 7797deddd6d6 21:37:07 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 21:37:07 ---> Running in 5d4be0dd8b96 21:37:08 Removing intermediate container 5d4be0dd8b96 21:37:08 ---> 1d0a24eae7a4 21:37:08 Step 24/30 : VOLUME /cache 21:37:09 ---> Running in bc96662616b4 21:37:09 Removing intermediate container bc96662616b4 21:37:09 ---> 6c13bae3c570 21:37:09 Step 25/30 : EXPOSE 59711 21:37:09 ---> Running in ae1259e6ab33 21:37:09 Removing intermediate container ae1259e6ab33 21:37:09 ---> 26bfd0db7f0b 21:37:09 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 21:37:09 ---> Running in 625b53a081c9 21:37:09 Removing intermediate container 625b53a081c9 21:37:09 ---> 77cb7477a3ff 21:37:09 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 21:37:10 ---> Running in 9ba33c931e0f 21:37:10 Removing intermediate container 9ba33c931e0f 21:37:10 ---> 3126eb26bcb1 21:37:10 Step 28/30 : LABEL arch=arm64 21:37:10 ---> Running in 3e6648de9bfa 21:37:10 Removing intermediate container 3e6648de9bfa 21:37:10 ---> 813c48fa6fca 21:37:10 Step 29/30 : LABEL git_sha=0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:37:11 ---> Running in 3ad46e66292f 21:37:11 Removing intermediate container 3ad46e66292f 21:37:11 ---> a2d61911b755 21:37:11 Step 30/30 : LABEL version=2.3.0-dev.24 21:37:11 ---> Running in 2a8fa8b31b9a 21:37:11 Removing intermediate container 2a8fa8b31b9a 21:37:11 ---> 4e5ee2371ec5 21:37:11 [Warning] One or more build-args [ARCH] were not consumed 21:37:11 Successfully built 4e5ee2371ec5 21:37:11 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 21:37:11 provisioning config files... 21:37:11 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/64@tmp/config11608260095791274316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:12 ---> docker-login.sh 21:37:12 nexus3.edgexfoundry.org:10001 21:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:12 Configure a credential helper to remove this warning. See 21:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:12 21:37:12 Login Succeeded 21:37:12 nexus3.edgexfoundry.org:10002 21:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:12 Configure a credential helper to remove this warning. See 21:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:12 21:37:12 Login Succeeded 21:37:12 nexus3.edgexfoundry.org:10003 21:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:13 Configure a credential helper to remove this warning. See 21:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:13 21:37:13 Login Succeeded 21:37:13 nexus3.edgexfoundry.org:10004 21:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:13 Configure a credential helper to remove this warning. See 21:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:13 21:37:13 Login Succeeded 21:37:13 docker.io 21:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:14 Configure a credential helper to remove this warning. See 21:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:14 21:37:14 Login Succeeded 21:37:14 ---> docker-login.sh ends [Pipeline] } 21:37:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:14 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory-arm64 with the following tags: 21:37:14 0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:37:14 latest 21:37:14 2.3.0-dev.24 21:37:14 0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 21:37:14 main 21:37:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:14 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:14 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:37:14 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:37:14 6226ccc82228: Preparing 21:37:14 627350e293c4: Preparing 21:37:14 e94021275262: Preparing 21:37:14 7d142efdae8d: Preparing 21:37:14 9e039d48fcd6: Preparing 21:37:14 efdf11e63f4f: Preparing 21:37:14 462cb85ceb4d: Preparing 21:37:14 28c3ef001483: Preparing 21:37:14 efdf11e63f4f: Waiting 21:37:14 462cb85ceb4d: Waiting 21:37:14 28c3ef001483: Waiting 21:37:15 9e039d48fcd6: Pushed 21:37:15 6226ccc82228: Pushed 21:37:15 7d142efdae8d: Pushed 21:37:15 e94021275262: Pushed 21:37:15 28c3ef001483: Layer already exists 21:37:16 efdf11e63f4f: Pushed 21:37:16 462cb85ceb4d: Pushed 21:37:20 627350e293c4: Pushed 21:37:20 0e7488376ad1dd00b75d4cfa794ced1dedb225ae: digest: sha256:cac7526a8cfdd4c2df4b1ded763ef9f51c22fed1a5c8239eaaf47100759a135d size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:21 + 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 21:37:21 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:37:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:37:21 6226ccc82228: Preparing 21:37:21 627350e293c4: Preparing 21:37:21 e94021275262: Preparing 21:37:21 7d142efdae8d: Preparing 21:37:21 9e039d48fcd6: Preparing 21:37:21 efdf11e63f4f: Preparing 21:37:21 462cb85ceb4d: Preparing 21:37:21 28c3ef001483: Preparing 21:37:21 efdf11e63f4f: Waiting 21:37:21 462cb85ceb4d: Waiting 21:37:21 28c3ef001483: Waiting 21:37:21 9e039d48fcd6: Layer already exists 21:37:21 627350e293c4: Layer already exists 21:37:21 e94021275262: Layer already exists 21:37:21 6226ccc82228: Layer already exists 21:37:21 7d142efdae8d: Layer already exists 21:37:21 28c3ef001483: Layer already exists 21:37:21 462cb85ceb4d: Layer already exists 21:37:21 efdf11e63f4f: Layer already exists 21:37:21 latest: digest: sha256:cac7526a8cfdd4c2df4b1ded763ef9f51c22fed1a5c8239eaaf47100759a135d size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:22 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:22 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.24 21:37:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:37:22 6226ccc82228: Preparing 21:37:22 627350e293c4: Preparing 21:37:22 e94021275262: Preparing 21:37:22 7d142efdae8d: Preparing 21:37:22 9e039d48fcd6: Preparing 21:37:22 efdf11e63f4f: Preparing 21:37:22 462cb85ceb4d: Preparing 21:37:22 28c3ef001483: Preparing 21:37:22 efdf11e63f4f: Waiting 21:37:22 462cb85ceb4d: Waiting 21:37:22 28c3ef001483: Waiting 21:37:22 627350e293c4: Layer already exists 21:37:22 9e039d48fcd6: Layer already exists 21:37:22 6226ccc82228: Layer already exists 21:37:22 7d142efdae8d: Layer already exists 21:37:22 e94021275262: Layer already exists 21:37:22 efdf11e63f4f: Layer already exists 21:37:22 462cb85ceb4d: Layer already exists 21:37:22 28c3ef001483: Layer already exists 21:37:22 2.3.0-dev.24: digest: sha256:cac7526a8cfdd4c2df4b1ded763ef9f51c22fed1a5c8239eaaf47100759a135d size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:23 + docker tag app-rfid-llrp-inventory-arm64 nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:23 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 21:37:23 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:37:23 6226ccc82228: Preparing 21:37:23 627350e293c4: Preparing 21:37:23 e94021275262: Preparing 21:37:23 7d142efdae8d: Preparing 21:37:23 9e039d48fcd6: Preparing 21:37:23 efdf11e63f4f: Preparing 21:37:23 462cb85ceb4d: Preparing 21:37:23 28c3ef001483: Preparing 21:37:23 462cb85ceb4d: Waiting 21:37:23 28c3ef001483: Waiting 21:37:23 efdf11e63f4f: Waiting 21:37:23 9e039d48fcd6: Layer already exists 21:37:23 627350e293c4: Layer already exists 21:37:23 e94021275262: Layer already exists 21:37:23 7d142efdae8d: Layer already exists 21:37:23 6226ccc82228: Layer already exists 21:37:23 28c3ef001483: Layer already exists 21:37:23 efdf11e63f4f: Layer already exists 21:37:23 462cb85ceb4d: Layer already exists 21:37:23 0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24: digest: sha256:cac7526a8cfdd4c2df4b1ded763ef9f51c22fed1a5c8239eaaf47100759a135d size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:24 + 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 21:37:24 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:main 21:37:24 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64] 21:37:24 6226ccc82228: Preparing 21:37:24 627350e293c4: Preparing 21:37:24 e94021275262: Preparing 21:37:24 7d142efdae8d: Preparing 21:37:24 9e039d48fcd6: Preparing 21:37:24 efdf11e63f4f: Preparing 21:37:24 462cb85ceb4d: Preparing 21:37:24 28c3ef001483: Preparing 21:37:24 efdf11e63f4f: Waiting 21:37:24 462cb85ceb4d: Waiting 21:37:24 28c3ef001483: Waiting 21:37:24 9e039d48fcd6: Layer already exists 21:37:24 627350e293c4: Layer already exists 21:37:24 6226ccc82228: Layer already exists 21:37:24 7d142efdae8d: Layer already exists 21:37:24 e94021275262: Layer already exists 21:37:24 efdf11e63f4f: Layer already exists 21:37:24 462cb85ceb4d: Layer already exists 21:37:24 28c3ef001483: Layer already exists 21:37:24 main: digest: sha256:cac7526a8cfdd4c2df4b1ded763ef9f51c22fed1a5c8239eaaf47100759a135d size: 1990 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:24 ===================================================== [Pipeline] echo 21:37:24 taggedImages: 21:37:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:0e7488376ad1dd00b75d4cfa794ced1dedb225ae 21:37:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:latest 21:37:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:2.3.0-dev.24 21:37:24 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory-arm64:0e7488376ad1dd00b75d4cfa794ced1dedb225ae-2.3.0-dev.24 21:37:24 - 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 21:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:25 21:37:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:25 arm64: Pulling from edgex-lftools-log-publisher 21:37:25 8998bd30e6a1: Pulling fs layer 21:37:25 04944245beec: Pulling fs layer 21:37:25 699f458cf7ca: Pulling fs layer 21:37:25 765212b225bb: Pulling fs layer 21:37:25 f23df028b6ca: Pulling fs layer 21:37:25 d65c8cfc05b1: Pulling fs layer 21:37:25 2437ff75d9bd: Pulling fs layer 21:37:25 f23df028b6ca: Waiting 21:37:25 d65c8cfc05b1: Waiting 21:37:25 2437ff75d9bd: Waiting 21:37:25 765212b225bb: Waiting 21:37:25 04944245beec: Verifying Checksum 21:37:25 04944245beec: Download complete 21:37:25 765212b225bb: Download complete 21:37:26 f23df028b6ca: Download complete 21:37:26 d65c8cfc05b1: Verifying Checksum 21:37:26 d65c8cfc05b1: Download complete 21:37:26 699f458cf7ca: Verifying Checksum 21:37:26 699f458cf7ca: Download complete 21:37:26 8998bd30e6a1: Download complete 21:37:29 2437ff75d9bd: Verifying Checksum 21:37:31 8998bd30e6a1: Pull complete 21:37:31 04944245beec: Pull complete 21:37:32 699f458cf7ca: Pull complete 21:37:32 765212b225bb: Pull complete 21:37:33 f23df028b6ca: Pull complete 21:37:34 d65c8cfc05b1: Pull complete 21:37:49 2437ff75d9bd: Pull complete 21:37:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:37:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:49 prd-ubuntu20.04-docker-arm64-4c-16g-117761 does not seem to be running inside a container 21:37:49 $ 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/64 -v /w/workspace/app-rfid-llrp-inventory/64:/w/workspace/app-rfid-llrp-inventory/64:rw,z -v /w/workspace/app-rfid-llrp-inventory/64@tmp:/w/workspace/app-rfid-llrp-inventory/64@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 21:37:52 $ docker top d16c2a9ec13fef64e3a91c576d2e1814ea00e91cb55d33117d26c7fe0a998527 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:52 ---> job-cost.sh 21:37:52 lf-activate-venv: SKIPPING 21:37:52 INFO: No Stack... 21:37:53 INFO: Retrieving Pricing Info for: v3-standard-4 21:37:54 INFO: Archiving Costs [Pipeline] sh 21:37:54 + cat /w/workspace/app-rfid-llrp-inventory/64/archives/cost.csv 21:37:54 + cut -d, -f6 [Pipeline] lock 21:37:54 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] 21:37:54 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] did not exist. Created. 21:37:54 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:37:55 /w/workspace/app-rfid-llrp-inventory/64@tmp/durable-8bd9b952/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:37:56 + echo total: 0.10999999940395355 [Pipeline] stash 21:37:56 Warning: overwriting stash ‘stack-cost’ 21:37:56 Stashed 1 file(s) [Pipeline] } 21:37:56 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 21:37:56 $ docker stop --time=1 d16c2a9ec13fef64e3a91c576d2e1814ea00e91cb55d33117d26c7fe0a998527 21:37:57 $ docker rm -f d16c2a9ec13fef64e3a91c576d2e1814ea00e91cb55d33117d26c7fe0a998527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:37:58 provisioning config files... 21:37:58 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config13345357233786421457tmp [Pipeline] { [Pipeline] sh 21:37:58 + set +x 21:37:58 + curl -s https://codecov.io/bash 21:37:58 + bash -s -- 21:37:58 21:37:58 _____ _ 21:37:58 / ____| | | 21:37:58 | | ___ __| | ___ ___ _____ __ 21:37:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:37:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:37:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:37:58 Bash-1.0.6 21:37:58 21:37:58 21:37:58 ==> git version 2.25.1 found 21:37:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:37:58 Release-Date: 2020-01-08 21:37:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:37:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:37:58 ==> Jenkins CI detected. 21:37:58 current dir:  /w/workspace/dry_app-rfid-llrp-inventory_main 21:37:58 project root: . 21:37:58 --> token set from env 21:37:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:37:58 ==> Running gcov in . (disable via -X gcov) 21:37:58 ==> Python coveragepy not found 21:37:58 ==> Searching for coverage reports in: 21:37:58 + . 21:37:58 -> Found 1 reports 21:37:58 ==> Detecting git/mercurial file structure 21:37:58 ==> Reading reports 21:37:58 + ./coverage.out bytes=41008 21:37:58 ==> Appending adjustments 21:37:58 https://docs.codecov.io/docs/fixing-reports 21:37:58 + Found adjustments 21:37:58 ==> Gzipping contents 21:37:58 12K /tmp/codecov.bGUoYH.gz 21:37:58 ==> Uploading reports 21:37:58 url: https://codecov.io 21:37:58 query: branch=main&commit=0e7488376ad1dd00b75d4cfa794ced1dedb225ae&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:37:58 -> Pinging Codecov 21:37:58 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=0e7488376ad1dd00b75d4cfa794ced1dedb225ae&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 21:37:59 -> Uploading to 21:37:59 https://storage.googleapis.com/codecov/v4/raw/2022-11-01/581DD39554BDF9B6E22D074273EAD858/0e7488376ad1dd00b75d4cfa794ced1dedb225ae/aae15230-0117-4d94-885a-667df35ea793.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221101T213758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d60706092dd076205f9445ae7c87e913d3ec59a6e4c7fda26f53a14539da2d9 21:37:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:37:59 Dload Upload Total Spent Left Speed 21:37:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11464 0 0 100 11464 0 46601 --:--:-- --:--:-- --:--:-- 46601 21:37:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] } 21:37:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:37:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:37:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:37:59 21:37:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:38:00 df9b9388f04a: Pulling fs layer 21:38:00 52dc419b0ee2: Pulling fs layer 21:38:00 25bc292e5bac: Pulling fs layer 21:38:00 114826534d7a: Pulling fs layer 21:38:00 4657fd5d0bcf: Pulling fs layer 21:38:00 6ad1cebc031e: Pulling fs layer 21:38:00 8a3aa393b2d8: Pulling fs layer 21:38:00 4657fd5d0bcf: Waiting 21:38:00 6ad1cebc031e: Waiting 21:38:00 8a3aa393b2d8: Waiting 21:38:00 114826534d7a: Waiting 21:38:00 25bc292e5bac: Verifying Checksum 21:38:00 52dc419b0ee2: Verifying Checksum 21:38:00 52dc419b0ee2: Download complete 21:38:00 4657fd5d0bcf: Verifying Checksum 21:38:00 4657fd5d0bcf: Download complete 21:38:00 df9b9388f04a: Download complete 21:38:00 6ad1cebc031e: Verifying Checksum 21:38:00 6ad1cebc031e: Download complete 21:38:00 df9b9388f04a: Pull complete 21:38:00 52dc419b0ee2: Pull complete 21:38:00 25bc292e5bac: Pull complete 21:38:01 114826534d7a: Download complete 21:38:01 8a3aa393b2d8: Verifying Checksum 21:38:01 8a3aa393b2d8: Download complete 21:38:04 114826534d7a: Pull complete 21:38:04 4657fd5d0bcf: Pull complete 21:38:04 6ad1cebc031e: Pull complete 21:38:06 8a3aa393b2d8: Pull complete 21:38:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:38:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:07 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:38:07 $ 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 21:38:10 $ docker top 30ccd03efbea3ce5b7db4fc6e4be59c829ed13439bd12668c69a990ab5e1ae87 -eo pid,comm [Pipeline] { [Pipeline] echo 21:38:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-rfid-llrp-inventory:main' [Pipeline] sh 21:38:10 + set -o pipefail 21:38:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-rfid-llrp-inventory:main' 21:38:18 21:38:18 Monitoring /w/workspace/dry_app-rfid-llrp-inventory_main (edgexfoundry/app-rfid-llrp-inventory)... 21:38:18 21:38:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1ab6cd8a-eef5-4d42-a15e-1c0297f074f4/history/0d81121f-b1ce-4047-a3bb-e58b0bfb56ab 21:38:18 21:38:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:38:18 21:38:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:38:18 21:38:19 21:38:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:38:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:38:19 More details here: https://snyk.co/ue1NS [Pipeline] } 21:38:19 $ docker stop --time=1 30ccd03efbea3ce5b7db4fc6e4be59c829ed13439bd12668c69a990ab5e1ae87 21:38:22 $ docker rm -f 30ccd03efbea3ce5b7db4fc6e4be59c829ed13439bd12668c69a990ab5e1ae87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:23 + git log --format=format:%s -1 0e7488376ad1dd00b75d4cfa794ced1dedb225ae [Pipeline] sh 21:38:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:23 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:38:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:38:24 $ docker top e93907c518e33ce2c67345c6d23446f2a93ac78ac2f2600fe8c15ea93ef8579e -eo pid,comm 21:38:24 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). 21:38:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:24 [ssh-agent] Looking for ssh-agent implementation... 21:38:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:24 $ docker exec e93907c518e33ce2c67345c6d23446f2a93ac78ac2f2600fe8c15ea93ef8579e ssh-agent 21:38:24 SSH_AUTH_SOCK=/tmp/ssh-Wr9c4kJTRaqF/agent.31 21:38:24 SSH_AGENT_PID=37 21:38:24 Running ssh-add (command line suppressed) 21:38:24 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15587595113799365910.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_15587595113799365910.key) 21:38:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:24 + git semver tag 21:38:25 2022-11-01 21:38:25,172 [run_tag] DEBUG tag force:False 21:38:25 2022-11-01 21:38:25,172 [check_head_tag] DEBUG check head tag 21:38:25 2022-11-01 21:38:25,173 [execute] INFO git cat-file --batch-check 21:38:25 2022-11-01 21:38:25,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:38:25 2022-11-01 21:38:25,178 [execute] INFO git cat-file --batch 21:38:25 2022-11-01 21:38:25,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=) 21:38:25 2022-11-01 21:38:25,192 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:38:25 2022-11-01 21:38:25,192 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 21:38:25 2022-11-01 21:38:25,192 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:38:25 2022-11-01 21:38:25,199 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:38:25 2.3.0-dev.24 [Pipeline] } 21:38:25 $ docker exec --env ******** --env ******** e93907c518e33ce2c67345c6d23446f2a93ac78ac2f2600fe8c15ea93ef8579e ssh-agent -k 21:38:25 unset SSH_AUTH_SOCK; 21:38:25 unset SSH_AGENT_PID; 21:38:25 echo Agent pid 37 killed; 21:38:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:25 + git semver [Pipeline] } 21:38:25 $ docker stop --time=1 e93907c518e33ce2c67345c6d23446f2a93ac78ac2f2600fe8c15ea93ef8579e 21:38:27 $ docker rm -f e93907c518e33ce2c67345c6d23446f2a93ac78ac2f2600fe8c15ea93ef8579e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:27 21:38:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:27 0.23.1-centos7: Pulling from edgex-lftools 21:38:27 ab5ef0e58194: Pulling fs layer 21:38:27 9712f1f96733: Pulling fs layer 21:38:27 63f879dbbcfc: Pulling fs layer 21:38:27 0d9ebad4ef96: Pulling fs layer 21:38:27 e9a5061849ea: Pulling fs layer 21:38:27 d747dcd14b5f: Pulling fs layer 21:38:27 2de7ff778b66: Pulling fs layer 21:38:27 0d9ebad4ef96: Waiting 21:38:27 e9a5061849ea: Waiting 21:38:27 d747dcd14b5f: Waiting 21:38:27 2de7ff778b66: Waiting 21:38:27 9712f1f96733: Verifying Checksum 21:38:27 9712f1f96733: Download complete 21:38:28 63f879dbbcfc: Verifying Checksum 21:38:28 63f879dbbcfc: Download complete 21:38:28 e9a5061849ea: Verifying Checksum 21:38:28 e9a5061849ea: Download complete 21:38:28 d747dcd14b5f: Download complete 21:38:28 ab5ef0e58194: Download complete 21:38:28 0d9ebad4ef96: Download complete 21:38:28 2de7ff778b66: Verifying Checksum 21:38:28 2de7ff778b66: Download complete 21:38:31 ab5ef0e58194: Pull complete 21:38:31 9712f1f96733: Pull complete 21:38:31 63f879dbbcfc: Pull complete 21:38:35 0d9ebad4ef96: Pull complete 21:38:35 e9a5061849ea: Pull complete 21:38:35 d747dcd14b5f: Pull complete 21:38:36 2de7ff778b66: Pull complete 21:38:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:38:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:36 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:38:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:38:39 $ docker top db159beaccf7915a3c1f8de725a29a1955c55ce9d00f158c7bdd193c7e68988d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:38:39 provisioning config files... 21:38:39 copy managed file [sigul-config] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config7233392092018319673tmp 21:38:39 copy managed file [sigul-password] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config6980338599199286769tmp 21:38:39 copy managed file [sigul-pki] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config15212444137996236048tmp [Pipeline] { [Pipeline] echo 21:38:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:38:40 ---> sigul-configuration.sh 21:38:40 gpg: directory `/root/.gnupg' created 21:38:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:38:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:38:40 gpg: keyring `/root/.gnupg/secring.gpg' created 21:38:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:38:40 gpg: CAST5 encrypted data 21:38:40 gpg: encrypted with 1 passphrase 21:38:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:38:40 + mkdir /home/jenkins 21:38:40 + mkdir /home/jenkins/sigul [Pipeline] sh 21:38:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:38:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:38:40 ---> sigul-install.sh 21:38:40 Sigul already installed; skipping installation. [Pipeline] sh 21:38:41 + git tag --list 21:38:41 v0.0.0 21:38:41 v1.0.0 21:38:41 v2.1.0 21:38:41 v2.1.1 21:38:41 v2.1.1-dev.1 21:38:41 v2.2.0 21:38:41 v2.2.1-dev.1 21:38:41 v2.2.1-dev.2 21:38:41 v2.2.1-dev.3 21:38:41 v2.2.1-dev.4 21:38:41 v2.2.1-dev.5 21:38:41 v2.2.1-dev.6 21:38:41 v2.2.1-dev.7 21:38:41 v2.3.0-dev.10 21:38:41 v2.3.0-dev.11 21:38:41 v2.3.0-dev.12 21:38:41 v2.3.0-dev.13 21:38:41 v2.3.0-dev.14 21:38:41 v2.3.0-dev.15 21:38:41 v2.3.0-dev.16 21:38:41 v2.3.0-dev.17 21:38:41 v2.3.0-dev.18 21:38:41 v2.3.0-dev.19 21:38:41 v2.3.0-dev.20 21:38:41 v2.3.0-dev.21 21:38:41 v2.3.0-dev.22 21:38:41 v2.3.0-dev.23 21:38:41 v2.3.0-dev.24 21:38:41 v2.3.0-dev.9 [Pipeline] sh 21:38:41 + lftools sign git-tag v2.3.0-dev.24 21:38:42 Signing Git tag with Sigul... 21:38:42 Signing v2.3.0-dev.24 [Pipeline] echo 21:38:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:38:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:38:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:38:42 $ docker stop --time=1 db159beaccf7915a3c1f8de725a29a1955c55ce9d00f158c7bdd193c7e68988d 21:38:44 $ docker rm -f db159beaccf7915a3c1f8de725a29a1955c55ce9d00f158c7bdd193c7e68988d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:38:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:45 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:38:45 $ 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 21:38:45 $ docker top 374d890e706152f84ebe5ead67567cab2253c8f5cb759142082533a8d3f3e40c -eo pid,comm 21:38:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:38:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:45 [ssh-agent] Looking for ssh-agent implementation... 21:38:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:45 $ docker exec 374d890e706152f84ebe5ead67567cab2253c8f5cb759142082533a8d3f3e40c ssh-agent 21:38:46 SSH_AUTH_SOCK=/tmp/ssh-Z2B2rsCnEGMn/agent.33 21:38:46 SSH_AGENT_PID=39 21:38:46 Running ssh-add (command line suppressed) 21:38:46 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7480557479341434644.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_7480557479341434644.key) 21:38:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:46 + git semver bump pre 21:38:46 2022-11-01 21:38:46,651 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:38:46 2022-11-01 21:38:46,652 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev 21:38:46 2022-11-01 21:38:46,652 [bump_version] DEBUG bumped version:2.3.0-dev.25 21:38:46 2022-11-01 21:38:46,652 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main with force:True 21:38:46 2022-11-01 21:38:46,652 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:38:46 2022-11-01 21:38:46,652 [write_file] DEBUG write to file:/w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:38:46 2022-11-01 21:38:46,654 [execute] INFO git cat-file --batch-check 21:38:46 2022-11-01 21:38:46,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:38:46 2022-11-01 21:38:46,662 [execute] INFO git cat-file --batch 21:38:46 2022-11-01 21:38:46,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:38:46 2022-11-01 21:38:46,669 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:38:46 2.3.0-dev.25 [Pipeline] } 21:38:46 $ docker exec --env ******** --env ******** 374d890e706152f84ebe5ead67567cab2253c8f5cb759142082533a8d3f3e40c ssh-agent -k 21:38:47 unset SSH_AUTH_SOCK; 21:38:47 unset SSH_AGENT_PID; 21:38:47 echo Agent pid 39 killed; 21:38:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:47 + git semver [Pipeline] } 21:38:47 $ docker stop --time=1 374d890e706152f84ebe5ead67567cab2253c8f5cb759142082533a8d3f3e40c 21:38:49 $ docker rm -f 374d890e706152f84ebe5ead67567cab2253c8f5cb759142082533a8d3f3e40c [Pipeline] // withDockerContainer [Pipeline] sh 21:38:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:50 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:38:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:38:50 $ docker top 152956aa9875c7ef858ec6d686b44506f1216544250fdb6b3d3311e9f7a9fd7b -eo pid,comm 21:38:50 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). 21:38:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:50 [ssh-agent] Looking for ssh-agent implementation... 21:38:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:50 $ docker exec 152956aa9875c7ef858ec6d686b44506f1216544250fdb6b3d3311e9f7a9fd7b ssh-agent 21:38:51 SSH_AUTH_SOCK=/tmp/ssh-50rS8TjgJd0s/agent.33 21:38:51 SSH_AGENT_PID=39 21:38:51 Running ssh-add (command line suppressed) 21:38:51 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4642217946745805152.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4642217946745805152.key) 21:38:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:51 + git semver push 21:38:51 2022-11-01 21:38:51,765 [run_push] DEBUG push 21:38:51 2022-11-01 21:38:51,766 [execute] INFO git cat-file --batch-check 21:38:51 2022-11-01 21:38:51,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=) 21:38:51 2022-11-01 21:38:51,771 [execute] INFO git rev-list f91ee8495c39bfed60364dbb0db4947cd59def91 -- 21:38:51 2022-11-01 21:38:51,771 [execute] DEBUG Popen(['git', 'rev-list', 'f91ee8495c39bfed60364dbb0db4947cd59def91', '--'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:38:51 2022-11-01 21:38:51,779 [execute] INFO git fetch -v origin 21:38:51 2022-11-01 21:38:51,780 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=True, shell=None, istream=None) 21:38:52 2022-11-01 21:38:52,324 [run_push] DEBUG no remote changes detected 21:38:52 2022-11-01 21:38:52,324 [execute] INFO git push origin semver 21:38:52 2022-11-01 21:38:52,324 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main/.semver, universal_newlines=False, shell=None, istream=None) 21:38:53 2022-11-01 21:38:53,246 [run_push] DEBUG push all version tags 21:38:53 2022-11-01 21:38:53,247 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:38:53 2022-11-01 21:38:53,247 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dry_app-rfid-llrp-inventory_main, universal_newlines=False, shell=None, istream=None) 21:38:54 2022-11-01 21:38:54,094 [read_version] DEBUG read version from /w/workspace/dry_app-rfid-llrp-inventory_main/.semver/main 21:38:54 2.3.0-dev.25 [Pipeline] } 21:38:54 $ docker exec --env ******** --env ******** 152956aa9875c7ef858ec6d686b44506f1216544250fdb6b3d3311e9f7a9fd7b ssh-agent -k 21:38:54 unset SSH_AUTH_SOCK; 21:38:54 unset SSH_AGENT_PID; 21:38:54 echo Agent pid 39 killed; 21:38:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:54 + git semver [Pipeline] } 21:38:55 $ docker stop --time=1 152956aa9875c7ef858ec6d686b44506f1216544250fdb6b3d3311e9f7a9fd7b 21:38:56 $ docker rm -f 152956aa9875c7ef858ec6d686b44506f1216544250fdb6b3d3311e9f7a9fd7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:38:57 + [ -d /w/workspace/dry_app-rfid-llrp-inventory_main/archives ] 21:38:57 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:38:57 total 16 21:38:57 drwxr-xr-x 3 root root 4096 Nov 1 21:28 . 21:38:57 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 21:38 .. 21:38:57 drwxr-xr-x 2 root root 4096 Nov 1 21:28 cost 21:38:57 -rw-r--r-- 1 root root 94 Nov 1 21:28 cost.csv 21:38:57 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:38:57 + ls -al /w/workspace/dry_app-rfid-llrp-inventory_main/archives 21:38:57 total 16 21:38:57 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 21:28 . 21:38:57 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 21:38 .. 21:38:57 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 21:28 cost 21:38:57 -rw-r--r-- 1 jenkins jenkins 94 Nov 1 21:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:38:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:38:58 ---> package-listing.sh 21:38:58 ++ facter osfamily 21:38:58 ++ tr '[:upper:]' '[:lower:]' 21:38:58 + OS_FAMILY=debian 21:38:58 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 21:38:58 + START_PACKAGES=/tmp/packages_start.txt 21:38:58 + END_PACKAGES=/tmp/packages_end.txt 21:38:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:38:58 + PACKAGES=/tmp/packages_start.txt 21:38:58 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:38:58 + PACKAGES=/tmp/packages_end.txt 21:38:58 + case "${OS_FAMILY}" in 21:38:58 + dpkg -l 21:38:58 + grep '^ii' 21:38:58 + '[' -f /tmp/packages_start.txt ']' 21:38:58 + '[' -f /tmp/packages_end.txt ']' 21:38:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:38:58 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 21:38:58 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 21:38:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 21:38:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:38:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:59 prd-ubuntu20.04-docker-8c-8g-117759 does not seem to be running inside a container 21:38: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 21:39:00 $ docker top 1c6e4007aa1b600727ad0aeca20813d596d10c91dda7acbed17fb953925c7523 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:00 + touch /tmp/pre-build-complete [Pipeline] sh 21:39:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:39:00 + ls /var/log/sa-host 21:39:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:01 provisioning config files... 21:39:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config18070130141184200273tmp [Pipeline] { [Pipeline] echo 21:39:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:39:01 ---> create-netrc.sh [Pipeline] } 21:39:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:39:01 ---> python-tools-install.sh [Pipeline] echo 21:39:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:39:02 ---> sudo-logs.sh 21:39:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:39:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:39:02 ---> job-cost.sh 21:39:02 lf-activate-venv: SKIPPING 21:39:02 DEBUG: total: 0.2199999988079071 21:39:02 INFO: Retrieving Stack Cost... 21:39:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:03 INFO: Archiving Costs [Pipeline] echo 21:39:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:39:03 ---> logs-deploy.sh 21:39:03 lf-activate-venv: SKIPPING 21:39:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/64 21:39:03 INFO: archiving workspace using pattern(s): 21:39:04 Archives upload complete. 21:39:04 INFO: archiving logs to Nexus