Pull request #156 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 817e0574ad136b386f95f148cd099624f21e8cdf+e25ffe9917097e8b9f7f0197311f59fde251de5a (6ac83c7ae0b1a842ce3a43471468ec4c142e0eda) 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-ssh2917958642973675261.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3404798222200752511.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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/PR-156/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/PR-156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9279494841401791523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh13101554983003287900.key > 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/PR-156/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/PR-156/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8741819178658204.key > 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9953 in /w/workspace/y_app-rfid-llrp-inventory_PR-156 [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/y_app-rfid-llrp-inventory_PR-156 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e25ffe9917097e8b9f7f0197311f59fde251de5a into PR head commit 817e0574ad136b386f95f148cd099624f21e8cdf Merge succeeded, producing 817e0574ad136b386f95f148cd099624f21e8cdf Checking out Revision 817e0574ad136b386f95f148cd099624f21e8cdf (PR-156) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:12:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:12:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:12:30 ========================================================= 19:12:30 EdgeX Global Pipelines Version Info 19:12:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 817e0574ad136b386f95f148cd099624f21e8cdf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e25ffe9917097e8b9f7f0197311f59fde251de5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 817e0574ad136b386f95f148cd099624f21e8cdf # timeout=10 > git rev-list --no-walk f7193e0de09e41fd1312261aa756977aa06a725f # timeout=10 19:12:30 ------------------- 19:12:30 stable info: 19:12:30 ------------------- 19:12:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:12:30 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:12:30 Message: update stable to v1.0.245 19:12:31 ------------------- 19:12:31 experimental info: 19:12:31 ------------------- 19:12:31 Commited By: **** collab-it+edgex@linuxfoundation.org 19:12:31 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:12:31 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-156 [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-156 [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-156 [Pipeline] echo 19:12:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 817e0574ad136b386f95f148cd099624f21e8cdf [Pipeline] echo 19:12:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 817e057 [Pipeline] echo 19:12:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:12:32 provisioning config files... 19:12:32 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp/config4619653871016815620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:32 ---> docker-login.sh 19:12:32 nexus3.edgexfoundry.org:10001 19:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:32 Configure a credential helper to remove this warning. See 19:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:32 19:12:32 Login Succeeded 19:12:32 nexus3.edgexfoundry.org:10002 19:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:33 Configure a credential helper to remove this warning. See 19:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:33 19:12:33 Login Succeeded 19:12:33 nexus3.edgexfoundry.org:10003 19:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:33 Configure a credential helper to remove this warning. See 19:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:33 19:12:33 Login Succeeded 19:12:33 nexus3.edgexfoundry.org:10004 19:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:33 Configure a credential helper to remove this warning. See 19:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:33 19:12:33 Login Succeeded 19:12:33 docker.io 19:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:33 Configure a credential helper to remove this warning. See 19:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:33 19:12:33 Login Succeeded 19:12:33 ---> docker-login.sh ends [Pipeline] } 19:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:12:34 + git rev-list -1 --merges 817e0574ad136b386f95f148cd099624f21e8cdf~1..817e0574ad136b386f95f148cd099624f21e8cdf [Pipeline] echo 19:12:34 -----------> git rev-list -1 --merges 817e0574ad136b386f95f148cd099624f21e8cdf~1..817e0574ad136b386f95f148cd099624f21e8cdf 817e0574ad136b386f95f148cd099624f21e8cdf [false] [Pipeline] sh 19:12:34 + git log --format=format:%s -1 817e0574ad136b386f95f148cd099624f21e8cdf [Pipeline] echo 19:12:34 ========================================================= 19:12:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:12:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:12:34 + git log --format=format:%s -1 817e0574ad136b386f95f148cd099624f21e8cdf [Pipeline] echo 19:12:34 [semverPrep] GIT_COMMIT: 817e0574ad136b386f95f148cd099624f21e8cdf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 19:12:34 [semverPrep] This is not a build commit. [Pipeline] sh 19:12:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:12:35 + grep -v github /etc/ssh/ssh_known_hosts 19:12:35 + [ -e /tmp/ssh_known_hosts ] 19:12:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:12:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:12:35 + sudo tee -a /etc/ssh/ssh_known_hosts 19:12:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:35 19:12:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:35 0.1.4: Pulling from edgex-devops/py-git-semver 19:12:35 b85a868b505f: Pulling fs layer 19:12:35 e2be974225ed: Pulling fs layer 19:12:35 339a4e72a1f5: Pulling fs layer 19:12:35 988bab9f4d93: Pulling fs layer 19:12:35 1469e6f7b9e6: Pulling fs layer 19:12:35 eaf3925da568: Pulling fs layer 19:12:35 bab4dde63d76: Pulling fs layer 19:12:35 bde34c3a00c8: Pulling fs layer 19:12:35 b352a97aabf1: Pulling fs layer 19:12:35 4872d77fe225: Pulling fs layer 19:12:35 5851b861e8e6: Pulling fs layer 19:12:35 988bab9f4d93: Waiting 19:12:35 1469e6f7b9e6: Waiting 19:12:35 eaf3925da568: Waiting 19:12:35 bab4dde63d76: Waiting 19:12:35 bde34c3a00c8: Waiting 19:12:35 b352a97aabf1: Waiting 19:12:35 4872d77fe225: Waiting 19:12:35 5851b861e8e6: Waiting 19:12:35 e2be974225ed: Verifying Checksum 19:12:35 e2be974225ed: Download complete 19:12:35 988bab9f4d93: Verifying Checksum 19:12:35 988bab9f4d93: Download complete 19:12:36 1469e6f7b9e6: Verifying Checksum 19:12:36 1469e6f7b9e6: Download complete 19:12:36 339a4e72a1f5: Verifying Checksum 19:12:36 339a4e72a1f5: Download complete 19:12:36 eaf3925da568: Download complete 19:12:36 bde34c3a00c8: Verifying Checksum 19:12:36 bde34c3a00c8: Download complete 19:12:36 b352a97aabf1: Download complete 19:12:36 4872d77fe225: Verifying Checksum 19:12:36 4872d77fe225: Download complete 19:12:36 5851b861e8e6: Verifying Checksum 19:12:36 5851b861e8e6: Download complete 19:12:36 b85a868b505f: Verifying Checksum 19:12:36 b85a868b505f: Download complete 19:12:36 bab4dde63d76: Verifying Checksum 19:12:36 bab4dde63d76: Download complete 19:12:37 b85a868b505f: Pull complete 19:12:37 e2be974225ed: Pull complete 19:12:38 339a4e72a1f5: Pull complete 19:12:38 988bab9f4d93: Pull complete 19:12:38 1469e6f7b9e6: Pull complete 19:12:38 eaf3925da568: Pull complete 19:12:40 bab4dde63d76: Pull complete 19:12:40 bde34c3a00c8: Pull complete 19:12:40 b352a97aabf1: Pull complete 19:12:40 4872d77fe225: Pull complete 19:12:40 5851b861e8e6: Pull complete 19:12:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:40 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 19:12:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-156 -v /w/workspace/y_app-rfid-llrp-inventory_PR-156:/w/workspace/y_app-rfid-llrp-inventory_PR-156:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-156@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:12:42 $ docker top bd3e190e4c1c41e0e86e2b8eb2286bc0e6809cddf8cd37a9d462fff603f429c9 -eo pid,comm 19:12:42 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). 19:12:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:42 [ssh-agent] Looking for ssh-agent implementation... 19:12:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:43 $ docker exec bd3e190e4c1c41e0e86e2b8eb2286bc0e6809cddf8cd37a9d462fff603f429c9 ssh-agent 19:12:43 SSH_AUTH_SOCK=/tmp/ssh-KtGZaHPf8VA8/agent.33 19:12:43 SSH_AGENT_PID=39 19:12:43 Running ssh-add (command line suppressed) 19:12:43 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp/private_key_5713556860457014895.key (/w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp/private_key_5713556860457014895.key) 19:12:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:43 + git tag --points-at HEAD [Pipeline] } 19:12:43 $ docker exec --env ******** --env ******** bd3e190e4c1c41e0e86e2b8eb2286bc0e6809cddf8cd37a9d462fff603f429c9 ssh-agent -k 19:12:43 unset SSH_AUTH_SOCK; 19:12:43 unset SSH_AGENT_PID; 19:12:43 echo Agent pid 39 killed; 19:12:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:12:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:43 [ssh-agent] Looking for ssh-agent implementation... 19:12:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:43 $ docker exec bd3e190e4c1c41e0e86e2b8eb2286bc0e6809cddf8cd37a9d462fff603f429c9 ssh-agent 19:12:43 SSH_AUTH_SOCK=/tmp/ssh-IoyY9iJ2IGR9/agent.71 19:12:43 SSH_AGENT_PID=78 19:12:43 Running ssh-add (command line suppressed) 19:12:44 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp/private_key_15150011780139836356.key (/w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp/private_key_15150011780139836356.key) 19:12:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:44 + git semver init 19:12:44 2023-03-13 19:12:44,587 [run_init] DEBUG init version:0.0.0 force:False 19:12:44 2023-03-13 19:12:44,588 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver 19:12:44 2023-03-13 19:12:44,589 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver 19:12:44 2023-03-13 19:12:44,589 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-156, universal_newlines=False, shell=None, istream=None) 19:12:46 2023-03-13 19:12:45,692 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-156/.git/info/exclude 19:12:46 2023-03-13 19:12:45,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver/PR-156 with force:False 19:12:46 2023-03-13 19:12:45,694 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver/PR-156 19:12:46 2023-03-13 19:12:45,698 [execute] INFO git cat-file --batch-check 19:12:46 2023-03-13 19:12:45,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver, universal_newlines=False, shell=None, istream=) 19:12:46 2023-03-13 19:12:45,705 [execute] INFO git cat-file --batch 19:12:46 2023-03-13 19:12:45,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver, universal_newlines=False, shell=None, istream=) 19:12:46 2023-03-13 19:12:45,710 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-156/.semver/PR-156 19:12:46 0.0.0 [Pipeline] } 19:12:46 $ docker exec --env ******** --env ******** bd3e190e4c1c41e0e86e2b8eb2286bc0e6809cddf8cd37a9d462fff603f429c9 ssh-agent -k 19:12:46 unset SSH_AUTH_SOCK; 19:12:46 unset SSH_AGENT_PID; 19:12:46 echo Agent pid 78 killed; 19:12:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:46 + git semver [Pipeline] } 19:12:46 $ docker stop --time=1 bd3e190e4c1c41e0e86e2b8eb2286bc0e6809cddf8cd37a9d462fff603f429c9 19:12:48 $ docker rm -f --volumes bd3e190e4c1c41e0e86e2b8eb2286bc0e6809cddf8cd37a9d462fff603f429c9 [Pipeline] // withDockerContainer [Pipeline] sh 19:12:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:12:48 Stashed 1 file(s) [Pipeline] echo 19:12:48 [edgeXSemver]: initialized semver on version 0.0.0 [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 19:12:48 provisioning config files... 19:12:48 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp/config9994454175194476196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:49 ---> docker-login.sh 19:12:49 nexus3.edgexfoundry.org:10001 19:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:49 Configure a credential helper to remove this warning. See 19:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:49 19:12:49 Login Succeeded 19:12:49 nexus3.edgexfoundry.org:10002 19:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:49 Configure a credential helper to remove this warning. See 19:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:49 19:12:49 Login Succeeded 19:12:49 nexus3.edgexfoundry.org:10003 19:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:49 Configure a credential helper to remove this warning. See 19:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:49 19:12:49 Login Succeeded 19:12:49 nexus3.edgexfoundry.org:10004 19:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:49 Configure a credential helper to remove this warning. See 19:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:49 19:12:49 Login Succeeded 19:12:49 docker.io 19:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:49 Configure a credential helper to remove this warning. See 19:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:49 19:12:49 Login Succeeded 19:12:49 ---> docker-login.sh ends [Pipeline] } 19:12:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:12:49 ========================================================= 19:12:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:12:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:12:49 Sending build context to Docker daemon 12.54MB 19:12:49 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:12:49 Step 2/12 : FROM ${BASE} AS builder 19:12:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:12:49 63b65145d645: Pulling fs layer 19:12:49 a2d21d5440eb: Pulling fs layer 19:12:49 935e6c44a52c: Pulling fs layer 19:12:49 94cc34f8dd06: Pulling fs layer 19:12:49 30dea6a524f1: Pulling fs layer 19:12:49 a2aff8979fd8: Pulling fs layer 19:12:49 6808be2612f2: Pulling fs layer 19:12:49 f25807f1079a: Pulling fs layer 19:12:49 94cc34f8dd06: Waiting 19:12:49 30dea6a524f1: Waiting 19:12:49 a2aff8979fd8: Waiting 19:12:49 6808be2612f2: Waiting 19:12:49 f25807f1079a: Waiting 19:12:49 a2d21d5440eb: Verifying Checksum 19:12:49 a2d21d5440eb: Download complete 19:12:50 94cc34f8dd06: Verifying Checksum 19:12:50 94cc34f8dd06: Download complete 19:12:50 30dea6a524f1: Verifying Checksum 19:12:50 30dea6a524f1: Download complete 19:12:50 63b65145d645: Download complete 19:12:50 a2aff8979fd8: Verifying Checksum 19:12:50 a2aff8979fd8: Download complete 19:12:50 63b65145d645: Pull complete 19:12:50 a2d21d5440eb: Pull complete 19:12:50 f25807f1079a: Verifying Checksum 19:12:50 f25807f1079a: Download complete 19:12:50 935e6c44a52c: Verifying Checksum 19:12:50 935e6c44a52c: Download complete 19:12:51 6808be2612f2: Verifying Checksum 19:12:51 6808be2612f2: Download complete 19:12:54 935e6c44a52c: Pull complete 19:12:54 94cc34f8dd06: Pull complete 19:12:54 30dea6a524f1: Pull complete 19:12:54 a2aff8979fd8: Pull complete 19:12:56 6808be2612f2: Pull complete 19:12:57 f25807f1079a: Pull complete 19:12:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:12:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:12:57 ---> 3b553350e43f 19:12:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:13:01 ---> Running in 74c280ffad53 19:13:01 Removing intermediate container 74c280ffad53 19:13:01 ---> 2f1801ced665 19:13:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:13:01 ---> Running in d907dccc9c89 19:13:01 Removing intermediate container d907dccc9c89 19:13:01 ---> 8bf734fca455 19:13:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:13:01 ---> Running in 2f81b7b1e892 19:13:02 Removing intermediate container 2f81b7b1e892 19:13:02 ---> ba7725b13207 19:13:02 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:13:02 ---> Running in be9df475542a 19:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:13:02 OK: 265 MiB in 53 packages 19:13:02 Removing intermediate container be9df475542a 19:13:02 ---> de4516a395cb 19:13:02 Step 7/12 : WORKDIR /app 19:13:02 ---> Running in 42a03d01932d 19:13:03 Removing intermediate container 42a03d01932d 19:13:03 ---> ecb67a87049f 19:13:03 Step 8/12 : COPY go.mod vendor* ./ 19:13:03 ---> 97ba7c2916c3 19:13:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:13:03 ---> Running in cdf1e8cac83d 19:13:03 Still waiting to schedule task 19:13:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9952’ 19:13:29 Removing intermediate container cdf1e8cac83d 19:13:29 ---> 5476b5428210 19:13:29 Step 10/12 : COPY . . 19:13:30 ---> 6126625fd0a9 19:13:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:13:30 ---> Running in 70ae0946a7f0 19:13:30 Removing intermediate container 70ae0946a7f0 19:13:30 ---> b79790fc4654 19:13:30 Step 12/12 : RUN $MAKE 19:13:30 ---> Running in 28c3cfc99884 19:13:30 noop 19:13:30 Removing intermediate container 28c3cfc99884 19:13:30 ---> 4a49f2d9e164 19:13:30 Successfully built 4a49f2d9e164 19:13:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:31 + docker inspect -f . ci-base-image-x86_64 19:13:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:31 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 19:13:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-156 -v /w/workspace/y_app-rfid-llrp-inventory_PR-156:/w/workspace/y_app-rfid-llrp-inventory_PR-156:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-156@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:13:31 $ docker top f7ef89688edba3be409138013ae3421461915fb3a4ae59b3cc2328d88d4b0b08 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:31 + go version 19:13:31 go version go1.20.2 linux/amd64 [Pipeline] } 19:13:31 $ docker stop --time=1 f7ef89688edba3be409138013ae3421461915fb3a4ae59b3cc2328d88d4b0b08 19:13:33 $ docker rm -f --volumes f7ef89688edba3be409138013ae3421461915fb3a4ae59b3cc2328d88d4b0b08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:33 + docker inspect -f . ci-base-image-x86_64 19:13:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:33 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 19:13:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-156 -v /w/workspace/y_app-rfid-llrp-inventory_PR-156:/w/workspace/y_app-rfid-llrp-inventory_PR-156:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-156@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:13:34 $ docker top 531dd4f2dc7299cdd104a748e172d25d1f05fdf315aeb4079f8ab1b6bb87fe38 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:34 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-156 [Pipeline] fileExists [Pipeline] sh 19:13:34 + make test 19:13:34 go test -race ./... -coverprofile=coverage.out ./... 19:13:52 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 19:13:52 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 19:13:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.151s coverage: 86.2% of statements 19:13:55 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.732s coverage: 71.9% of statements 19:14:13 go vet ./... 19:14:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:14:17 ./internal/llrp/behavior.go 19:14:17 ./internal/llrp/llrp_structs.go 19:14:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:14:17 make: *** [Makefile:45: test] Error 1 [Pipeline] } 19:14:17 $ docker stop --time=1 531dd4f2dc7299cdd104a748e172d25d1f05fdf315aeb4079f8ab1b6bb87fe38 19:14:21 $ docker rm -f --volumes 531dd4f2dc7299cdd104a748e172d25d1f05fdf315aeb4079f8ab1b6bb87fe38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:14:22 19:14:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:14:22 latest: Pulling from edgex-lftools-log-publisher 19:14:22 5eb5b503b376: Pulling fs layer 19:14:22 5c69ac0246d0: Pulling fs layer 19:14:22 ec43610c2a17: Pulling fs layer 19:14:22 3a2ae6a8a46f: Pulling fs layer 19:14:22 33b1e0a273af: Pulling fs layer 19:14:22 5d3b04190fa2: Pulling fs layer 19:14:22 2f39f015ded8: Pulling fs layer 19:14:22 33b1e0a273af: Waiting 19:14:22 5d3b04190fa2: Waiting 19:14:22 2f39f015ded8: Waiting 19:14:22 3a2ae6a8a46f: Waiting 19:14:22 5c69ac0246d0: Verifying Checksum 19:14:22 5c69ac0246d0: Download complete 19:14:22 3a2ae6a8a46f: Verifying Checksum 19:14:22 3a2ae6a8a46f: Download complete 19:14:23 33b1e0a273af: Download complete 19:14:23 ec43610c2a17: Verifying Checksum 19:14:23 ec43610c2a17: Download complete 19:14:23 5d3b04190fa2: Verifying Checksum 19:14:23 5d3b04190fa2: Download complete 19:14:23 5eb5b503b376: Verifying Checksum 19:14:23 5eb5b503b376: Download complete 19:14:23 2f39f015ded8: Download complete 19:14:24 5eb5b503b376: Pull complete 19:14:24 5c69ac0246d0: Pull complete 19:14:24 ec43610c2a17: Pull complete 19:14:24 3a2ae6a8a46f: Pull complete 19:14:25 33b1e0a273af: Pull complete 19:14:25 5d3b04190fa2: Pull complete 19:14:29 2f39f015ded8: Pull complete 19:14:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:14:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:29 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 19:14:29 $ 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/y_app-rfid-llrp-inventory_PR-156 -v /w/workspace/y_app-rfid-llrp-inventory_PR-156:/w/workspace/y_app-rfid-llrp-inventory_PR-156:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-156@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:14:32 $ docker top d727a5c15a14bf712be26d59fea0859eb6e9d355bd1531a81dc387da65d5a2ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:14:33 ---> job-cost.sh 19:14:33 lf-activate-venv: SKIPPING 19:14:33 INFO: No Stack... 19:14:33 INFO: Retrieving Pricing Info for: v3-standard-8 19:14:33 INFO: Archiving Costs [Pipeline] sh 19:14:33 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-156/archives/cost.csv 19:14:33 + cut -d, -f6 [Pipeline] lock 19:14:33 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] 19:14:33 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] did not exist. Created. 19:14:33 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:14:34 + echo total: 0.2199999988079071 [Pipeline] stash 19:14:34 Stashed 1 file(s) [Pipeline] } 19:14:34 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:14:34 $ docker stop --time=1 d727a5c15a14bf712be26d59fea0859eb6e9d355bd1531a81dc387da65d5a2ec 19:14:35 $ docker rm -f --volumes d727a5c15a14bf712be26d59fea0859eb6e9d355bd1531a81dc387da65d5a2ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:14:35 Failed in branch amd64 19:16:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9954 in /w/workspace/y_app-rfid-llrp-inventory_PR-156 [Pipeline] { [Pipeline] ws 19:16:16 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 19:16:16 The recommended git tool is: git 19:16:21 using credential edgex-jenkins-ssh 19:16:21 Cloning the remote Git repository 19:16:21 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 19:16:21 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 19:16:21 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 19:16:21 > git --version # timeout=10 19:16:21 > git --version # 'git version 2.25.1' 19:16:21 using GIT_SSH to set credentials SSH Credentials for GitHub 19:16:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:23 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 19:16:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:24 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 19:16:24 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 19:16:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:16:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:16:25 Merging remotes/origin/main commit e25ffe9917097e8b9f7f0197311f59fde251de5a into PR head commit 817e0574ad136b386f95f148cd099624f21e8cdf 19:16:25 Merge succeeded, producing 817e0574ad136b386f95f148cd099624f21e8cdf 19:16:25 Checking out Revision 817e0574ad136b386f95f148cd099624f21e8cdf (PR-156) 19:16:25 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 19:16:25 > git config core.sparsecheckout # timeout=10 19:16:25 > git checkout -f 817e0574ad136b386f95f148cd099624f21e8cdf # timeout=10 19:16:25 > git remote # timeout=10 19:16:25 > git config --get remote.origin.url # timeout=10 19:16:25 using GIT_SSH to set credentials SSH Credentials for GitHub 19:16:25 > git merge e25ffe9917097e8b9f7f0197311f59fde251de5a # timeout=10 19:16:25 > git rev-parse HEAD^{commit} # timeout=10 19:16:25 > git config core.sparsecheckout # timeout=10 19:16:25 > git checkout -f 817e0574ad136b386f95f148cd099624f21e8cdf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:16:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:16:27 % Total % Received % Xferd Average Speed Time Time Time Current 19:16:27 Dload Upload Total Spent Left Speed 19:16:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 19:16:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:16:28 + sudo tee /etc/docker/daemon.new 19:16:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:16:28 { 19:16:28 "registry-mirrors": [ 19:16:28 "https://nexus3.edgexfoundry.org:10001" 19:16:28 ], 19:16:28 "bip": "10.250.0.254/24", 19:16:28 "hosts": [ 19:16:28 "tcp://0.0.0.0:5555", 19:16:28 "unix:///var/run/docker.sock" 19:16:28 ], 19:16:28 "mtu": 1458, 19:16:28 "selinux-enabled": true, 19:16:28 "seccomp-profile": "/etc/docker/seccomp.json" 19:16:28 } [Pipeline] sh 19:16:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:16:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:16:47 provisioning config files... 19:16:47 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config7861045009587762816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:47 ---> docker-login.sh 19:16:47 nexus3.edgexfoundry.org:10001 19:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:48 Configure a credential helper to remove this warning. See 19:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:48 19:16:48 Login Succeeded 19:16:48 nexus3.edgexfoundry.org:10002 19:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:48 Configure a credential helper to remove this warning. See 19:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:48 19:16:48 Login Succeeded 19:16:48 nexus3.edgexfoundry.org:10003 19:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:48 Configure a credential helper to remove this warning. See 19:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:48 19:16:48 Login Succeeded 19:16:48 nexus3.edgexfoundry.org:10004 19:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:49 Configure a credential helper to remove this warning. See 19:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:49 19:16:49 Login Succeeded 19:16:49 docker.io 19:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:49 Configure a credential helper to remove this warning. See 19:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:49 19:16:49 Login Succeeded 19:16:49 ---> docker-login.sh ends [Pipeline] } 19:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:16:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:16:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:16:50 ========================================================= 19:16:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:16:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:16:50 Sending build context to Docker daemon 678.9kB 19:16:50 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:16:50 Step 2/12 : FROM ${BASE} AS builder 19:16:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:16:51 af6eaf76a39c: Pulling fs layer 19:16:51 55522c791124: Pulling fs layer 19:16:51 ce5c4a1c91eb: Pulling fs layer 19:16:51 169dfbe0d373: Pulling fs layer 19:16:51 e1ff8fa3b103: Pulling fs layer 19:16:51 52ebb69f0ebf: Pulling fs layer 19:16:51 5abe8eddf0d5: Pulling fs layer 19:16:51 169dfbe0d373: Waiting 19:16:51 e1ff8fa3b103: Waiting 19:16:51 52ebb69f0ebf: Waiting 19:16:51 5abe8eddf0d5: Waiting 19:16:51 55522c791124: Download complete 19:16:51 169dfbe0d373: Verifying Checksum 19:16:51 169dfbe0d373: Download complete 19:16:51 e1ff8fa3b103: Verifying Checksum 19:16:51 e1ff8fa3b103: Download complete 19:16:51 af6eaf76a39c: Verifying Checksum 19:16:51 af6eaf76a39c: Download complete 19:16:52 5abe8eddf0d5: Verifying Checksum 19:16:52 5abe8eddf0d5: Download complete 19:16:53 ce5c4a1c91eb: Verifying Checksum 19:16:53 ce5c4a1c91eb: Download complete 19:16:53 52ebb69f0ebf: Verifying Checksum 19:16:53 52ebb69f0ebf: Download complete 19:16:54 af6eaf76a39c: Pull complete 19:16:54 55522c791124: Pull complete 19:17:09 ce5c4a1c91eb: Pull complete 19:17:09 169dfbe0d373: Pull complete 19:17:09 e1ff8fa3b103: Pull complete 19:17:16 52ebb69f0ebf: Pull complete 19:17:18 5abe8eddf0d5: Pull complete 19:17:18 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:17:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:17:18 ---> 6cb57ee374ae 19:17:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:17:19 ---> Running in 4cdcf3a4b4e2 19:17:19 Removing intermediate container 4cdcf3a4b4e2 19:17:19 ---> a5c14e13178e 19:17:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:17:19 ---> Running in 6971b5271b61 19:17:19 Removing intermediate container 6971b5271b61 19:17:19 ---> afa4996b3279 19:17:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:17:19 ---> Running in 788fdda009f4 19:17:19 Removing intermediate container 788fdda009f4 19:17:19 ---> 2f757b17f4d0 19:17:19 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:17:20 ---> Running in 57a7b09a0840 19:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:17:22 OK: 263 MiB in 53 packages 19:17:23 Removing intermediate container 57a7b09a0840 19:17:23 ---> bf2002bc8298 19:17:23 Step 7/12 : WORKDIR /app 19:17:23 ---> Running in 792d74a41b21 19:17:24 Removing intermediate container 792d74a41b21 19:17:24 ---> 787cd9a7a84e 19:17:24 Step 8/12 : COPY go.mod vendor* ./ 19:17:24 ---> df4766aee46c 19:17:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:17:24 ---> Running in 1441887ff076 19:18:32 Removing intermediate container 1441887ff076 19:18:32 ---> e1f819106784 19:18:32 Step 10/12 : COPY . . 19:18:32 ---> f88b223500ca 19:18:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:18:32 ---> Running in fd928b5e6b9f 19:18:32 Removing intermediate container fd928b5e6b9f 19:18:32 ---> 8e2d2eff3a4a 19:18:32 Step 12/12 : RUN $MAKE 19:18:32 ---> Running in fb965289f139 19:18:32 noop 19:18:32 Removing intermediate container fb965289f139 19:18:32 ---> 3ee5ad9aef7e 19:18:32 Successfully built 3ee5ad9aef7e 19:18:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:33 + docker inspect -f . ci-base-image-arm64 19:18:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:33 prd-ubuntu20.04-docker-arm64-4c-16g-9954 does not seem to be running inside a container 19:18:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:18:34 $ docker top 0f2ac255c45153204214caaefc5d8ca75ae1304012279f163c87d6760360e629 -eo pid,comm [Pipeline] { [Pipeline] sh 19:18:35 + go version 19:18:35 go version go1.20.2 linux/arm64 [Pipeline] } 19:18:35 $ docker stop --time=1 0f2ac255c45153204214caaefc5d8ca75ae1304012279f163c87d6760360e629 19:18:37 $ docker rm -f --volumes 0f2ac255c45153204214caaefc5d8ca75ae1304012279f163c87d6760360e629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:37 + docker inspect -f . ci-base-image-arm64 19:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:37 prd-ubuntu20.04-docker-arm64-4c-16g-9954 does not seem to be running inside a container 19:18:37 $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:18:40 $ docker top 2ce19309270f3d0e4880c508d3f016f9155a2e90aa1fef9287a052556725a0df -eo pid,comm [Pipeline] { [Pipeline] sh 19:18:41 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] fileExists [Pipeline] sh 19:18:41 + make test 19:18:41 go test -race ./... -coverprofile=coverage.out ./... 19:21:33 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 19:21:38 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 19:21:40 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.321s coverage: 86.2% of statements 19:21:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.431s coverage: 71.9% of statements 19:21:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:21:52 go vet ./... 19:24:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:24:14 ./internal/llrp/llrp_structs.go 19:24:14 ./internal/llrp/behavior.go 19:24:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:24:14 make: *** [Makefile:45: test] Error 1 [Pipeline] } 19:24:14 $ docker stop --time=1 2ce19309270f3d0e4880c508d3f016f9155a2e90aa1fef9287a052556725a0df 19:24:16 $ docker rm -f --volumes 2ce19309270f3d0e4880c508d3f016f9155a2e90aa1fef9287a052556725a0df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:24:18 19:24:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:24:18 arm64: Pulling from edgex-lftools-log-publisher 19:24:18 8998bd30e6a1: Pulling fs layer 19:24:18 04944245beec: Pulling fs layer 19:24:18 699f458cf7ca: Pulling fs layer 19:24:18 765212b225bb: Pulling fs layer 19:24:18 f23df028b6ca: Pulling fs layer 19:24:18 d65c8cfc05b1: Pulling fs layer 19:24:18 2437ff75d9bd: Pulling fs layer 19:24:18 f23df028b6ca: Waiting 19:24:18 d65c8cfc05b1: Waiting 19:24:18 2437ff75d9bd: Waiting 19:24:18 765212b225bb: Waiting 19:24:18 04944245beec: Verifying Checksum 19:24:18 04944245beec: Download complete 19:24:18 765212b225bb: Verifying Checksum 19:24:18 765212b225bb: Download complete 19:24:18 f23df028b6ca: Verifying Checksum 19:24:18 f23df028b6ca: Download complete 19:24:18 d65c8cfc05b1: Verifying Checksum 19:24:18 d65c8cfc05b1: Download complete 19:24:18 699f458cf7ca: Verifying Checksum 19:24:18 699f458cf7ca: Download complete 19:24:19 8998bd30e6a1: Download complete 19:24:21 2437ff75d9bd: Verifying Checksum 19:24:21 2437ff75d9bd: Download complete 19:24:23 8998bd30e6a1: Pull complete 19:24:23 04944245beec: Pull complete 19:24:24 699f458cf7ca: Pull complete 19:24:24 765212b225bb: Pull complete 19:24:25 f23df028b6ca: Pull complete 19:24:25 d65c8cfc05b1: Pull complete 19:24:38 2437ff75d9bd: Pull complete 19:24:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:24:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:24:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:24:38 prd-ubuntu20.04-docker-arm64-4c-16g-9954 does not seem to be running inside a container 19:24:38 $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:24:41 $ docker top dd6194e7a642891da398dcd51e4807a31be1f544dd41680be878ad05bd84e819 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:24:41 ---> job-cost.sh 19:24:41 lf-activate-venv: SKIPPING 19:24:41 INFO: No Stack... 19:24:42 INFO: Retrieving Pricing Info for: v3-standard-4 19:24:43 INFO: Archiving Costs [Pipeline] sh 19:24:43 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 19:24:43 + cut -d, -f6 [Pipeline] lock 19:24:43 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] 19:24:43 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] did not exist. Created. 19:24:43 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:24:44 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-8a4625bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:24:45 + echo total: 0.10999999940395355 [Pipeline] stash 19:24:45 Warning: overwriting stash ‘stack-cost’ 19:24:45 Stashed 1 file(s) [Pipeline] } 19:24:45 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-156-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:24:45 $ docker stop --time=1 dd6194e7a642891da398dcd51e4807a31be1f544dd41680be878ad05bd84e819 19:24:47 $ docker rm -f --volumes dd6194e7a642891da398dcd51e4807a31be1f544dd41680be878ad05bd84e819 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:24:47 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:24:48 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-156/archives ] 19:24:48 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-156/archives 19:24:48 total 16 19:24:48 drwxr-xr-x 3 root root 4096 Mar 13 19:14 . 19:24:48 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 19:14 .. 19:24:48 drwxr-xr-x 2 root root 4096 Mar 13 19:14 cost 19:24:48 -rw-r--r-- 1 root root 95 Mar 13 19:14 cost.csv 19:24:48 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-156/archives 19:24:48 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-156/archives 19:24:48 total 16 19:24:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 19:14 . 19:24:48 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 19:14 .. 19:24:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 19:14 cost 19:24:48 -rw-r--r-- 1 jenkins jenkins 95 Mar 13 19:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:24:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:24:49 ---> package-listing.sh 19:24:49 ++ facter osfamily 19:24:49 ++ tr '[:upper:]' '[:lower:]' 19:24:49 + OS_FAMILY=debian 19:24:49 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-156 19:24:49 + START_PACKAGES=/tmp/packages_start.txt 19:24:49 + END_PACKAGES=/tmp/packages_end.txt 19:24:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:24:49 + PACKAGES=/tmp/packages_start.txt 19:24:49 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-156 ']' 19:24:49 + PACKAGES=/tmp/packages_end.txt 19:24:49 + case "${OS_FAMILY}" in 19:24:49 + dpkg -l 19:24:49 + grep '^ii' 19:24:49 + '[' -f /tmp/packages_start.txt ']' 19:24:49 + '[' -f /tmp/packages_end.txt ']' 19:24:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:24:49 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-156 ']' 19:24:49 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-156/archives/ 19:24:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-156/archives/ [Pipeline] echo 19:24:49 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/y_app-rfid-llrp-inventory_PR-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:24:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:24:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:24:50 prd-ubuntu20.04-docker-8c-8g-9953 does not seem to be running inside a container 19:24:50 $ 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/y_app-rfid-llrp-inventory_PR-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-156 -v /w/workspace/y_app-rfid-llrp-inventory_PR-156:/w/workspace/y_app-rfid-llrp-inventory_PR-156:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-156@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:24:50 $ docker top d1d9fdc0a7c2a6f5b20feba696444b810da6e56eccc2cb8ed86ac3518d7e2479 -eo pid,comm [Pipeline] { [Pipeline] sh 19:24:50 + touch /tmp/pre-build-complete [Pipeline] sh 19:24:51 + mkdir -p /var/log/sysstat [Pipeline] sh 19:24:51 + ls /var/log/sa-host 19:24:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:24:51 provisioning config files... 19:24:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-156@tmp/config2337952327194374610tmp [Pipeline] { [Pipeline] echo 19:24:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:24:51 ---> create-netrc.sh [Pipeline] } 19:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:24:52 ---> python-tools-install.sh [Pipeline] echo 19:24:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:24:52 ---> sudo-logs.sh 19:24:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:24:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:24:52 ---> job-cost.sh 19:24:52 lf-activate-venv: SKIPPING 19:24:52 DEBUG: total: 0.2199999988079071 19:24:52 INFO: Retrieving Stack Cost... 19:24:53 INFO: Retrieving Pricing Info for: v3-standard-8 19:24:53 INFO: Archiving Costs [Pipeline] echo 19:24:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:24:53 ---> logs-deploy.sh 19:24:53 lf-activate-venv: SKIPPING 19:24:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-156/2 19:24:53 INFO: archiving workspace using pattern(s): 19:24:54 Archives upload complete. 19:24:54 INFO: archiving logs to Nexus