Pull request #287 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b94cb4a72158747f2649ed35182bcc075ce117d4+5b4415030ab3c0da7e927d10f7674bfb96f8b020 (4c833eca382d84dbd1a5a905e93fa7ce223fe6b8) 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-ssh3780695065863773266.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh3383831412422979261.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11026845906521790505.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5688218609499193786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8440095532011239521.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10385908225878774113.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2628 in /w/workspace/y_app-rfid-llrp-inventory_PR-287 [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-287 # 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 Merging remotes/origin/main commit 5b4415030ab3c0da7e927d10f7674bfb96f8b020 into PR head commit b94cb4a72158747f2649ed35182bcc075ce117d4 Merge succeeded, producing b94cb4a72158747f2649ed35182bcc075ce117d4 Checking out Revision b94cb4a72158747f2649ed35182bcc075ce117d4 (PR-287) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b94cb4a72158747f2649ed35182bcc075ce117d4 # 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 5b4415030ab3c0da7e927d10f7674bfb96f8b020 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b94cb4a72158747f2649ed35182bcc075ce117d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:41:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:41:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:41:29 ========================================================= 13:41:29 EdgeX Global Pipelines Version Info 13:41:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:41:30 ------------------- 13:41:30 stable info: 13:41:30 ------------------- 13:41:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:41:30 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:41:30 Message: update stable to v1.0.258 13:41:31 ------------------- 13:41:31 experimental info: 13:41:31 ------------------- 13:41:31 Commited By: **** collab-it+edgex@linuxfoundation.org 13:41:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:41:31 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:41:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:41:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 13:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 13:41:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 13:41:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b94cb4a72158747f2649ed35182bcc075ce117d4 [Pipeline] echo 13:41:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b94cb4a [Pipeline] echo 13:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:41:33 provisioning config files... 13:41:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/config5446921558497048024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:41:33 ---> ****-login.sh 13:41:33 nexus3.edgexfoundry.org:10001 13:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:34 Configure a credential helper to remove this warning. See 13:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:34 13:41:34 Login Succeeded 13:41:34 nexus3.edgexfoundry.org:10002 13:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:34 Configure a credential helper to remove this warning. See 13:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:34 13:41:34 Login Succeeded 13:41:34 nexus3.edgexfoundry.org:10003 13:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:34 Configure a credential helper to remove this warning. See 13:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:34 13:41:34 Login Succeeded 13:41:34 nexus3.edgexfoundry.org:10004 13:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:34 Configure a credential helper to remove this warning. See 13:41:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:34 13:41:34 Login Succeeded 13:41:34 ****.io 13:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:35 Configure a credential helper to remove this warning. See 13:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:35 13:41:35 Login Succeeded 13:41:35 ---> ****-login.sh ends [Pipeline] } 13:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:41:35 + git rev-list -1 --merges b94cb4a72158747f2649ed35182bcc075ce117d4~1..b94cb4a72158747f2649ed35182bcc075ce117d4 [Pipeline] echo 13:41:35 -----------> git rev-list -1 --merges b94cb4a72158747f2649ed35182bcc075ce117d4~1..b94cb4a72158747f2649ed35182bcc075ce117d4 b94cb4a72158747f2649ed35182bcc075ce117d4 [false] [Pipeline] sh 13:41:36 + git log --format=format:%s -1 b94cb4a72158747f2649ed35182bcc075ce117d4 [Pipeline] echo 13:41:36 ========================================================= 13:41:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:41:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:41:36 + git log --format=format:%s -1 b94cb4a72158747f2649ed35182bcc075ce117d4 [Pipeline] echo 13:41:36 [semverPrep] GIT_COMMIT: b94cb4a72158747f2649ed35182bcc075ce117d4, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:41:36 [semverPrep] This is not a build commit. [Pipeline] sh 13:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:41:37 + grep -v github /etc/ssh/ssh_known_hosts 13:41:37 + [ -e /tmp/ssh_known_hosts ] 13:41:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:41:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:41:37 + sudo tee -a /etc/ssh/ssh_known_hosts 13:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:41:37 13:41:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:41:38 0.1.4: Pulling from edgex-devops/py-git-semver 13:41:38 b85a868b505f: Pulling fs layer 13:41:38 e2be974225ed: Pulling fs layer 13:41:38 339a4e72a1f5: Pulling fs layer 13:41:38 988bab9f4d93: Pulling fs layer 13:41:38 1469e6f7b9e6: Pulling fs layer 13:41:38 eaf3925da568: Pulling fs layer 13:41:38 bab4dde63d76: Pulling fs layer 13:41:38 bde34c3a00c8: Pulling fs layer 13:41:38 b352a97aabf1: Pulling fs layer 13:41:38 4872d77fe225: Pulling fs layer 13:41:38 5851b861e8e6: Pulling fs layer 13:41:38 eaf3925da568: Waiting 13:41:38 bab4dde63d76: Waiting 13:41:38 bde34c3a00c8: Waiting 13:41:38 b352a97aabf1: Waiting 13:41:38 4872d77fe225: Waiting 13:41:38 5851b861e8e6: Waiting 13:41:38 988bab9f4d93: Waiting 13:41:38 1469e6f7b9e6: Waiting 13:41:38 e2be974225ed: Verifying Checksum 13:41:38 e2be974225ed: Download complete 13:41:38 988bab9f4d93: Verifying Checksum 13:41:38 988bab9f4d93: Download complete 13:41:38 1469e6f7b9e6: Verifying Checksum 13:41:38 1469e6f7b9e6: Download complete 13:41:38 339a4e72a1f5: Verifying Checksum 13:41:38 339a4e72a1f5: Download complete 13:41:38 eaf3925da568: Verifying Checksum 13:41:38 eaf3925da568: Download complete 13:41:38 bde34c3a00c8: Verifying Checksum 13:41:38 bde34c3a00c8: Download complete 13:41:38 b352a97aabf1: Download complete 13:41:38 4872d77fe225: Verifying Checksum 13:41:38 4872d77fe225: Download complete 13:41:38 5851b861e8e6: Verifying Checksum 13:41:38 5851b861e8e6: Download complete 13:41:38 b85a868b505f: Verifying Checksum 13:41:38 b85a868b505f: Download complete 13:41:38 bab4dde63d76: Verifying Checksum 13:41:38 bab4dde63d76: Download complete 13:41:39 b85a868b505f: Pull complete 13:41:39 e2be974225ed: Pull complete 13:41:40 339a4e72a1f5: Pull complete 13:41:40 988bab9f4d93: Pull complete 13:41:40 1469e6f7b9e6: Pull complete 13:41:40 eaf3925da568: Pull complete 13:41:41 bab4dde63d76: Pull complete 13:41:42 bde34c3a00c8: Pull complete 13:41:42 b352a97aabf1: Pull complete 13:41:42 4872d77fe225: Pull complete 13:41:42 5851b861e8e6: Pull complete 13:41:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:41:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:41:42 prd-ubuntu20.04-docker-8c-8g-2628 does not seem to be running inside a container 13:41:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-287 -v /w/workspace/y_app-rfid-llrp-inventory_PR-287:/w/workspace/y_app-rfid-llrp-inventory_PR-287:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-287@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 13:41:46 $ docker top ab38c2c4ed779b4fbb7e57cf201990c80cb2a8d4bba9869889236c687e314f68 -eo pid,comm 13:41:46 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). 13:41:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:41:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:41:47 [ssh-agent] Looking for ssh-agent implementation... 13:41:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:41:47 $ docker exec ab38c2c4ed779b4fbb7e57cf201990c80cb2a8d4bba9869889236c687e314f68 ssh-agent 13:41:47 SSH_AUTH_SOCK=/tmp/ssh-k3hEEeacYypR/agent.32 13:41:47 SSH_AGENT_PID=38 13:41:47 Running ssh-add (command line suppressed) 13:41:47 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/private_key_5622999290492050319.key (/w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/private_key_5622999290492050319.key) 13:41:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:41:47 + git tag --points-at HEAD [Pipeline] } 13:41:47 $ docker exec --env ******** --env ******** ab38c2c4ed779b4fbb7e57cf201990c80cb2a8d4bba9869889236c687e314f68 ssh-agent -k 13:41:47 unset SSH_AUTH_SOCK; 13:41:47 unset SSH_AGENT_PID; 13:41:47 echo Agent pid 38 killed; 13:41:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:41:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:41:47 [ssh-agent] Looking for ssh-agent implementation... 13:41:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:41:48 $ docker exec ab38c2c4ed779b4fbb7e57cf201990c80cb2a8d4bba9869889236c687e314f68 ssh-agent 13:41:48 SSH_AUTH_SOCK=/tmp/ssh-Y2fE9ZcnhD4M/agent.71 13:41:48 SSH_AGENT_PID=77 13:41:48 Running ssh-add (command line suppressed) 13:41:48 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/private_key_16144868240045370216.key (/w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/private_key_16144868240045370216.key) 13:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:41:48 + git semver init 13:41:48 2024-04-17 13:41:48,824 [run_init] DEBUG init version:0.0.0 force:False 13:41:48 2024-04-17 13:41:48,824 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver 13:41:48 2024-04-17 13:41:48,825 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver 13:41:48 2024-04-17 13:41:48,825 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-287, universal_newlines=False, shell=None, istream=None) 13:41:50 2024-04-17 13:41:50,238 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-287/.git/info/exclude 13:41:50 2024-04-17 13:41:50,238 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver/PR-287 with force:False 13:41:50 2024-04-17 13:41:50,238 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver/PR-287 13:41:50 2024-04-17 13:41:50,242 [execute] INFO git cat-file --batch-check 13:41:50 2024-04-17 13:41:50,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver, universal_newlines=False, shell=None, istream=) 13:41:50 2024-04-17 13:41:50,248 [execute] INFO git cat-file --batch 13:41:50 2024-04-17 13:41:50,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver, universal_newlines=False, shell=None, istream=) 13:41:50 2024-04-17 13:41:50,253 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-287/.semver/PR-287 13:41:50 0.0.0 [Pipeline] } 13:41:50 $ docker exec --env ******** --env ******** ab38c2c4ed779b4fbb7e57cf201990c80cb2a8d4bba9869889236c687e314f68 ssh-agent -k 13:41:50 unset SSH_AUTH_SOCK; 13:41:50 unset SSH_AGENT_PID; 13:41:50 echo Agent pid 77 killed; 13:41:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:41:50 + git semver [Pipeline] } 13:41:51 $ docker stop --time=1 ab38c2c4ed779b4fbb7e57cf201990c80cb2a8d4bba9869889236c687e314f68 13:41:52 $ docker rm -f --volumes ab38c2c4ed779b4fbb7e57cf201990c80cb2a8d4bba9869889236c687e314f68 [Pipeline] // withDockerContainer [Pipeline] sh 13:41:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:41:53 Stashed 1 file(s) [Pipeline] echo 13:41:53 [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 13:41:53 provisioning config files... 13:41:53 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/config7414495193194033394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:41:54 ---> ****-login.sh 13:41:54 nexus3.edgexfoundry.org:10001 13:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:54 Configure a credential helper to remove this warning. See 13:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:54 13:41:54 Login Succeeded 13:41:54 nexus3.edgexfoundry.org:10002 13:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:54 Configure a credential helper to remove this warning. See 13:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:54 13:41:54 Login Succeeded 13:41:54 nexus3.edgexfoundry.org:10003 13:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:54 Configure a credential helper to remove this warning. See 13:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:54 13:41:54 Login Succeeded 13:41:54 nexus3.edgexfoundry.org:10004 13:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:54 Configure a credential helper to remove this warning. See 13:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:54 13:41:54 Login Succeeded 13:41:54 ****.io 13:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:41:54 Configure a credential helper to remove this warning. See 13:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:41:54 13:41:54 Login Succeeded 13:41:54 ---> ****-login.sh ends [Pipeline] } 13:41:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:41:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:41:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:41:55 ========================================================= 13:41:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:41:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:41:55 Sending build context to Docker daemon 16.97MB 13:41:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:41:55 Step 2/12 : FROM ${BASE} AS builder 13:41:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:41:55 7264a8db6415: Pulling fs layer 13:41:55 c4d48a809fc2: Pulling fs layer 13:41:55 4f1c88b9dad5: Pulling fs layer 13:41:55 ad3a456e5733: Pulling fs layer 13:41:55 69c7f0334f64: Pulling fs layer 13:41:55 1f1c1a5573a3: Pulling fs layer 13:41:55 ce7588e14bc9: Pulling fs layer 13:41:55 b5e4710f87ac: Pulling fs layer 13:41:55 ad3a456e5733: Waiting 13:41:55 69c7f0334f64: Waiting 13:41:55 b5e4710f87ac: Waiting 13:41:55 1f1c1a5573a3: Waiting 13:41:55 ce7588e14bc9: Waiting 13:41:55 c4d48a809fc2: Verifying Checksum 13:41:55 c4d48a809fc2: Download complete 13:41:55 ad3a456e5733: Verifying Checksum 13:41:55 ad3a456e5733: Download complete 13:41:55 69c7f0334f64: Download complete 13:41:55 7264a8db6415: Verifying Checksum 13:41:55 7264a8db6415: Download complete 13:41:55 1f1c1a5573a3: Verifying Checksum 13:41:55 1f1c1a5573a3: Download complete 13:41:55 7264a8db6415: Pull complete 13:41:56 c4d48a809fc2: Pull complete 13:41:56 b5e4710f87ac: Verifying Checksum 13:41:56 b5e4710f87ac: Download complete 13:41:56 4f1c88b9dad5: Verifying Checksum 13:41:56 4f1c88b9dad5: Download complete 13:41:56 ce7588e14bc9: Verifying Checksum 13:41:56 ce7588e14bc9: Download complete 13:42:00 4f1c88b9dad5: Pull complete 13:42:00 ad3a456e5733: Pull complete 13:42:00 69c7f0334f64: Pull complete 13:42:00 1f1c1a5573a3: Pull complete 13:42:01 ce7588e14bc9: Pull complete 13:42:02 b5e4710f87ac: Pull complete 13:42:02 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:42:02 ---> 88b5674ff536 13:42:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:42:07 ---> Running in 48e0a7bbd8f3 13:42:07 Removing intermediate container 48e0a7bbd8f3 13:42:07 ---> a5e4b36ff15d 13:42:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:42:07 ---> Running in 663866c8f842 13:42:07 Removing intermediate container 663866c8f842 13:42:07 ---> 0698260c1f77 13:42:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:42:07 ---> Running in 606503a09653 13:42:07 Removing intermediate container 606503a09653 13:42:07 ---> e6478cf7454a 13:42:07 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:42:07 ---> Running in 8354d23820fa 13:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:42:08 OK: 264 MiB in 52 packages 13:42:08 Still waiting to schedule task 13:42:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:42:09 Removing intermediate container 8354d23820fa 13:42:09 ---> 0d36413ff52a 13:42:09 Step 7/12 : WORKDIR /app 13:42:09 ---> Running in e68d8d32f593 13:42:09 Removing intermediate container e68d8d32f593 13:42:09 ---> b3ca25c84e71 13:42:09 Step 8/12 : COPY go.mod vendor* ./ 13:42:09 ---> 538092343ba3 13:42:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:42:09 ---> Running in 689759a6b91f 13:43:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2629 in /w/workspace/y_app-rfid-llrp-inventory_PR-287 [Pipeline] { [Pipeline] ws 13:43:43 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:43:43 The recommended git tool is: git 13:43:45 Removing intermediate container 689759a6b91f 13:43:45 ---> 9d0298d1c9d4 13:43:45 Step 10/12 : COPY . . 13:43:45 ---> 46b6668c6c80 13:43:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:43:45 ---> Running in 901e358384ae 13:43:45 Removing intermediate container 901e358384ae 13:43:45 ---> 47cb887e90e5 13:43:45 Step 12/12 : RUN $MAKE 13:43:45 ---> Running in a44ecee1278d 13:43:45 noop 13:43:45 Removing intermediate container a44ecee1278d 13:43:45 ---> 0dd307346c34 13:43:45 Successfully built 0dd307346c34 13:43:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:43:46 + docker inspect -f . ci-base-image-x86_64 13:43:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:43:46 prd-ubuntu20.04-docker-8c-8g-2628 does not seem to be running inside a container 13:43:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-287 -v /w/workspace/y_app-rfid-llrp-inventory_PR-287:/w/workspace/y_app-rfid-llrp-inventory_PR-287:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-287@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 ******** ci-base-image-x86_64 cat 13:43:46 $ docker top 2304962bf98d243a072de94611fd272c6b5984be6ec335388de4d1b85aca4f01 -eo pid,comm [Pipeline] { [Pipeline] sh 13:43:47 + go version 13:43:47 go version go1.21.0 linux/amd64 [Pipeline] } 13:43:47 $ docker stop --time=1 2304962bf98d243a072de94611fd272c6b5984be6ec335388de4d1b85aca4f01 13:43:48 using credential edgex-jenkins-ssh 13:43:48 Cloning the remote Git repository 13:43:48 $ docker rm -f --volumes 2304962bf98d243a072de94611fd272c6b5984be6ec335388de4d1b85aca4f01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:43:49 + docker inspect -f . ci-base-image-x86_64 13:43:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:43:49 prd-ubuntu20.04-docker-8c-8g-2628 does not seem to be running inside a container 13:43:49 $ 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-287 -v /w/workspace/y_app-rfid-llrp-inventory_PR-287:/w/workspace/y_app-rfid-llrp-inventory_PR-287:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-287@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 ******** ci-base-image-x86_64 cat 13:43:48 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:43:48 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:43:48 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:43:48 > git --version # timeout=10 13:43:48 > git --version # 'git version 2.25.1' 13:43:48 using GIT_SSH to set credentials SSH Credentials for GitHub 13:43:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:43:49 $ docker top 6ca799c71540c0ec212b86adb0d5a7fa7f6ac5050b429fcf0c2d37033c66fa13 -eo pid,comm [Pipeline] { [Pipeline] sh 13:43:50 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-287 [Pipeline] fileExists [Pipeline] sh 13:43:50 + make test 13:43:50 go test -race ./... -coverprofile=coverage.out ./... 13:43:51 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:43:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:43:53 Merging remotes/origin/main commit 5b4415030ab3c0da7e927d10f7674bfb96f8b020 into PR head commit b94cb4a72158747f2649ed35182bcc075ce117d4 13:43:53 Merge succeeded, producing b94cb4a72158747f2649ed35182bcc075ce117d4 13:43:53 Checking out Revision b94cb4a72158747f2649ed35182bcc075ce117d4 (PR-287) 13:43:52 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:43:52 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:43:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:43:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:43:53 > git config core.sparsecheckout # timeout=10 13:43:53 > git checkout -f b94cb4a72158747f2649ed35182bcc075ce117d4 # timeout=10 13:43:53 > git remote # timeout=10 13:43:53 > git config --get remote.origin.url # timeout=10 13:43:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:43:53 > git merge 5b4415030ab3c0da7e927d10f7674bfb96f8b020 # timeout=10 13:43:53 > git rev-parse HEAD^{commit} # timeout=10 13:43:53 > git config core.sparsecheckout # timeout=10 13:43:53 > git checkout -f b94cb4a72158747f2649ed35182bcc075ce117d4 # timeout=10 13:43:53 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:43:53 > git --version # timeout=10 13:43:53 > git --version # 'git version 2.25.1' 13:43:53 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:43:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:43:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:43:58 Dload Upload Total Spent Left Speed 13:43:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh 13:43:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:43:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:43:59 + sudo tee /etc/docker/daemon.new 13:43:59 { 13:43:59 "registry-mirrors": [ 13:43:59 "https://nexus3.edgexfoundry.org:10001" 13:43:59 ], 13:43:59 "bip": "10.250.0.254/24", 13:43:59 "hosts": [ 13:43:59 "tcp://0.0.0.0:5555", 13:43:59 "unix:///var/run/docker.sock" 13:43:59 ], 13:43:59 "mtu": 1458, 13:43:59 "selinux-enabled": true, 13:43:59 "seccomp-profile": "/etc/docker/seccomp.json" 13:43:59 } [Pipeline] sh 13:43:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:44:00 + sudo service docker restart 13:44:17 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:44:17 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:44:18 provisioning config files... 13:44:18 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config17443688756318008941tmp [Pipeline] { [Pipeline] libraryResource 13:44:18 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.131s coverage: 86.2% of statements [Pipeline] sh 13:44:19 ---> ****-login.sh 13:44:19 nexus3.edgexfoundry.org:10001 13:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:44:19 Configure a credential helper to remove this warning. See 13:44:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:44:19 13:44:19 Login Succeeded 13:44:19 nexus3.edgexfoundry.org:10002 13:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:44:20 Configure a credential helper to remove this warning. See 13:44:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:44:20 13:44:20 Login Succeeded 13:44:20 nexus3.edgexfoundry.org:10003 13:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:44:20 Configure a credential helper to remove this warning. See 13:44:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:44:20 13:44:20 Login Succeeded 13:44:20 nexus3.edgexfoundry.org:10004 13:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:44:20 Configure a credential helper to remove this warning. See 13:44:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:44:20 13:44:20 Login Succeeded 13:44:20 ****.io 13:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.668s coverage: 71.9% of statements 13:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:44:21 Configure a credential helper to remove this warning. See 13:44:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:44:21 13:44:21 Login Succeeded 13:44:21 ---> ****-login.sh ends [Pipeline] } 13:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:44:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:44:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:44:21 ========================================================= 13:44:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:44:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:44:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:44:22 Sending build context to Docker daemon 673.8kB 13:44:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:44:22 Step 2/12 : FROM ${BASE} AS builder 13:44:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:44:22 9fda8d8052c6: Pulling fs layer 13:44:22 5d54e960e981: Pulling fs layer 13:44:22 c4a7e357bf2a: Pulling fs layer 13:44:22 f0e02332f6b5: Pulling fs layer 13:44:22 872ee5b61b7b: Pulling fs layer 13:44:22 0c6a40ed1a82: Pulling fs layer 13:44:22 94ae7d8d031c: Pulling fs layer 13:44:22 f0e02332f6b5: Waiting 13:44:22 872ee5b61b7b: Waiting 13:44:22 0c6a40ed1a82: Waiting 13:44:22 94ae7d8d031c: Waiting 13:44:22 5d54e960e981: Verifying Checksum 13:44:22 5d54e960e981: Download complete 13:44:22 f0e02332f6b5: Verifying Checksum 13:44:22 f0e02332f6b5: Download complete 13:44:22 872ee5b61b7b: Verifying Checksum 13:44:22 872ee5b61b7b: Download complete 13:44:22 9fda8d8052c6: Download complete 13:44:23 94ae7d8d031c: Verifying Checksum 13:44:23 94ae7d8d031c: Download complete 13:44:23 9fda8d8052c6: Pull complete 13:44:24 5d54e960e981: Pull complete 13:44:24 c4a7e357bf2a: Verifying Checksum 13:44:24 c4a7e357bf2a: Download complete 13:44:25 0c6a40ed1a82: Download complete 13:44:37 c4a7e357bf2a: Pull complete 13:44:37 f0e02332f6b5: Pull complete 13:44:37 872ee5b61b7b: Pull complete 13:44:46 0c6a40ed1a82: Pull complete 13:44:47 94ae7d8d031c: Pull complete 13:44:47 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:44:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:44:47 ---> 86de565de09d 13:44:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:44:49 ---> Running in a8fb32332e14 13:44:49 Removing intermediate container a8fb32332e14 13:44:49 ---> 2ee485f18abc 13:44:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:44:49 ---> Running in 1ca5e0973635 13:44:49 Removing intermediate container 1ca5e0973635 13:44:49 ---> 27fcd0957982 13:44:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:44:50 ---> Running in 69f30242692d 13:44:50 Removing intermediate container 69f30242692d 13:44:50 ---> bafc5a2d3e58 13:44:50 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:44:50 ---> Running in 6f99fc90af79 13:44:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:44:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:44:52 OK: 266 MiB in 52 packages 13:44:53 Removing intermediate container 6f99fc90af79 13:44:53 ---> d836310f0efd 13:44:53 Step 7/12 : WORKDIR /app 13:44:53 ---> Running in f245fe61fd47 13:44:54 Removing intermediate container f245fe61fd47 13:44:54 ---> 37e2e13b3312 13:44:54 Step 8/12 : COPY go.mod vendor* ./ 13:44:54 ---> 970c6ba4516f 13:44:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:44:54 ---> Running in 82e7a6271a24 13:44:59 go vet ./... 13:45:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:45:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:45:01 ./bin/test-attribution.sh 13:45:01 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:45:01 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:45:01 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:45:01 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:45:01 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:45:01 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:45:01 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:45:01 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:45:01 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:45:01 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:45:01 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:45:01 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:45:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:45:01 $ docker stop --time=1 6ca799c71540c0ec212b86adb0d5a7fa7f6ac5050b429fcf0c2d37033c66fa13 13:45:09 $ docker rm -f --volumes 6ca799c71540c0ec212b86adb0d5a7fa7f6ac5050b429fcf0c2d37033c66fa13 [Pipeline] // withDockerContainer [Pipeline] sh 13:45:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:45:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:45:11 + ls -al . 13:45:11 total 276 13:45:11 drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 13:43 . 13:45:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 13:41 .. 13:45:11 -rw-rw-r-- 1 jenkins jenkins 262 Apr 17 13:41 .dockerignore 13:45:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 13:44 .git 13:45:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 13:41 .github 13:45:11 -rw-rw-r-- 1 jenkins jenkins 773 Apr 17 13:41 .gitignore 13:45:11 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 13:41 .golangci.yml 13:45:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 13:41 .semver 13:45:11 -rw-rw-r-- 1 jenkins jenkins 10232 Apr 17 13:41 Attribution.txt 13:45:11 -rw-rw-r-- 1 jenkins jenkins 11245 Apr 17 13:41 CHANGELOG.md 13:45:11 -rw-rw-r-- 1 jenkins jenkins 1768 Apr 17 13:41 Dockerfile 13:45:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 13:41 GOVERNANCE.md 13:45:11 -rw-rw-r-- 1 jenkins jenkins 665 Apr 17 13:41 Jenkinsfile 13:45:11 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 17 13:41 LICENSE 13:45:11 -rw-rw-r-- 1 jenkins jenkins 2503 Apr 17 13:41 Makefile 13:45:11 -rw-rw-r-- 1 jenkins jenkins 617 Apr 17 13:41 OWNERS.md 13:45:11 -rw-rw-r-- 1 jenkins jenkins 3851 Apr 17 13:41 README.md 13:45:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 13:41 VERSION 13:45:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 13:41 bin 13:45:11 -rw-r--r-- 1 jenkins jenkins 41317 Apr 17 13:44 coverage.out 13:45:11 -rw-rw-r-- 1 jenkins jenkins 7355 Apr 17 13:41 go.mod 13:45:11 -rw-rw-r-- 1 jenkins jenkins 101573 Apr 17 13:41 go.sum 13:45:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 13:41 images 13:45:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 13:41 internal 13:45:11 -rw-rw-r-- 1 jenkins jenkins 531 Apr 17 13:41 main.go 13:45:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 13:41 openapi 13:45:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 13:41 res 13:45:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 13:41 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:11 + 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=b94cb4a72158747f2649ed35182bcc075ce117d4 --label arch=amd64 --label version=0.0.0 . 13:45:11 Sending build context to Docker daemon 16.97MB 13:45:11 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:45:11 Step 2/30 : FROM ${BASE} AS builder 13:45:11 ---> 0dd307346c34 13:45:11 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:45:12 ---> Running in 543246a45748 13:45:12 Removing intermediate container 543246a45748 13:45:12 ---> 8c105e946b36 13:45:12 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:45:12 ---> Running in 0d6f1001fe6c 13:45:12 Removing intermediate container 0d6f1001fe6c 13:45:12 ---> fa539929bc60 13:45:12 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:45:12 ---> Running in 08118ff70968 13:45:12 Removing intermediate container 08118ff70968 13:45:12 ---> 59296fcab93f 13:45:12 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:45:12 ---> Running in 23587af363e4 13:45:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:45:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:45:13 OK: 264 MiB in 52 packages 13:45:14 Removing intermediate container 23587af363e4 13:45:14 ---> 873d7082f7cb 13:45:14 Step 7/30 : WORKDIR /app 13:45:14 ---> Running in 0ecd2069c83e 13:45:14 Removing intermediate container 0ecd2069c83e 13:45:14 ---> e9eccfbd2479 13:45:14 Step 8/30 : COPY go.mod vendor* ./ 13:45:14 ---> 86d69d3637be 13:45:14 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:45:14 ---> Running in 9eef6a435375 13:45:14 Removing intermediate container 9eef6a435375 13:45:14 ---> bcfe6d9d8ffc 13:45:14 Step 10/30 : COPY . . 13:45:15 ---> 347da0be8973 13:45:15 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:45:15 ---> Running in a17743e440b5 13:45:15 Removing intermediate container a17743e440b5 13:45:15 ---> 1f24e77ab6ed 13:45:15 Step 12/30 : RUN $MAKE 13:45:15 ---> Running in 74377dfa6889 13:45:15 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.34 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory 13:45:47 Removing intermediate container 74377dfa6889 13:45:47 ---> 88d67a66b560 13:45:47 Step 13/30 : FROM alpine:3.18 13:45:47 3.18: Pulling from library/alpine 13:45:47 619be1103602: Pulling fs layer 13:45:47 619be1103602: Verifying Checksum 13:45:47 619be1103602: Download complete 13:45:47 619be1103602: Pull complete 13:45:47 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:45:47 Status: Downloaded newer image for alpine:3.18 13:45:47 ---> d3782b16ccc9 13:45:47 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:45:47 ---> Running in cdc3650cc3f9 13:45:48 Removing intermediate container cdc3650cc3f9 13:45:48 ---> 3ba843ea0dfc 13:45:48 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:45:48 ---> Running in bad8322913e4 13:45:48 Removing intermediate container bad8322913e4 13:45:48 ---> 600122f06541 13:45:48 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:45:48 ---> Running in 17a5acc8a259 13:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:45:48 (1/2) Installing ca-certificates (20240226-r0) 13:45:48 (2/2) Installing dumb-init (1.2.5-r2) 13:45:48 Executing busybox-1.36.1-r5.trigger 13:45:48 Executing ca-certificates-20240226-r0.trigger 13:45:48 OK: 8 MiB in 17 packages 13:45:52 Removing intermediate container 17a5acc8a259 13:45:52 ---> 1ad699e2ba42 13:45:52 Step 17/30 : RUN apk --no-cache upgrade 13:45:52 ---> Running in aecf89f606b9 13:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:45:52 Upgrading critical system libraries and apk-tools: 13:45:52 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:45:52 Executing busybox-1.36.1-r5.trigger 13:45:52 Continuing the upgrade transaction with new apk-tools: 13:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:45:52 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:45:52 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:45:52 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:45:52 Executing ca-certificates-20240226-r0.trigger 13:45:52 OK: 8 MiB in 17 packages 13:45:53 Removing intermediate container aecf89f606b9 13:45:53 ---> e949232ca5cc 13:45:53 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:45:53 ---> 28fc8b3033e6 13:45:53 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:45:53 ---> f65d11539b34 13:45:53 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:45:53 ---> 945460229199 13:45:53 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:45:53 ---> 5f721f146575 13:45:53 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:45:55 ---> 98c2dcb8b43c 13:45:55 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:45:55 ---> Running in ad1e657014aa 13:45:56 Removing intermediate container ad1e657014aa 13:45:56 ---> 53e9fec780a7 13:45:56 Step 24/30 : VOLUME /cache 13:45:56 ---> Running in fd12302bd20a 13:45:56 Removing intermediate container fd12302bd20a 13:45:56 ---> 03f4517c19c7 13:45:56 Step 25/30 : EXPOSE 59711 13:45:56 ---> Running in e35963c21bce 13:45:56 Removing intermediate container e35963c21bce 13:45:56 ---> 23c0bd6645c2 13:45:56 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:45:56 ---> Running in 67df73debad4 13:45:56 Removing intermediate container 67df73debad4 13:45:56 ---> 6b3a39117ff0 13:45:56 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:45:56 ---> Running in aa800f95cbf5 13:45:56 Removing intermediate container aa800f95cbf5 13:45:56 ---> de22c0beb302 13:45:56 Step 28/30 : LABEL arch=amd64 13:45:56 ---> Running in 5ddbb81443f9 13:45:57 Removing intermediate container 5ddbb81443f9 13:45:57 ---> 401d4822aee7 13:45:57 Step 29/30 : LABEL git_sha=b94cb4a72158747f2649ed35182bcc075ce117d4 13:45:57 ---> Running in 0b5a59e39bd8 13:45:57 Removing intermediate container 0b5a59e39bd8 13:45:57 ---> 67ece448981f 13:45:57 Step 30/30 : LABEL version=0.0.0 13:45:57 ---> Running in c93ac351649a 13:45:57 Removing intermediate container c93ac351649a 13:45:57 ---> 1ab19fbe0288 13:45:57 [Warning] One or more build-args [ARCH] were not consumed 13:45:57 Successfully built 1ab19fbe0288 13:45:57 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 13:45:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:58 13:45:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:45:58 latest: Pulling from edgex-lftools-log-publisher 13:45:58 5eb5b503b376: Pulling fs layer 13:45:58 5c69ac0246d0: Pulling fs layer 13:45:58 ec43610c2a17: Pulling fs layer 13:45:58 3a2ae6a8a46f: Pulling fs layer 13:45:58 33b1e0a273af: Pulling fs layer 13:45:58 5d3b04190fa2: Pulling fs layer 13:45:58 2f39f015ded8: Pulling fs layer 13:45:58 3a2ae6a8a46f: Waiting 13:45:58 33b1e0a273af: Waiting 13:45:58 5d3b04190fa2: Waiting 13:45:58 2f39f015ded8: Waiting 13:45:58 5c69ac0246d0: Verifying Checksum 13:45:58 5c69ac0246d0: Download complete 13:45:58 3a2ae6a8a46f: Verifying Checksum 13:45:58 3a2ae6a8a46f: Download complete 13:45:58 33b1e0a273af: Verifying Checksum 13:45:58 33b1e0a273af: Download complete 13:45:58 ec43610c2a17: Verifying Checksum 13:45:58 ec43610c2a17: Download complete 13:45:58 5d3b04190fa2: Download complete 13:45:58 5eb5b503b376: Verifying Checksum 13:45:58 5eb5b503b376: Download complete 13:45:59 2f39f015ded8: Download complete 13:45:59 5eb5b503b376: Pull complete 13:46:00 5c69ac0246d0: Pull complete 13:46:00 ec43610c2a17: Pull complete 13:46:00 3a2ae6a8a46f: Pull complete 13:46:01 33b1e0a273af: Pull complete 13:46:01 5d3b04190fa2: Pull complete 13:46:05 2f39f015ded8: Pull complete 13:46:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:46:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:05 prd-ubuntu20.04-docker-8c-8g-2628 does not seem to be running inside a container 13:46:05 $ 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-287 -v /w/workspace/y_app-rfid-llrp-inventory_PR-287:/w/workspace/y_app-rfid-llrp-inventory_PR-287:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-287@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:46:12 $ docker top d3226d9e622deb621583fe74230f426b1aefd75121fe4245665c9b490d9d24ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:12 ---> job-cost.sh 13:46:12 lf-activate-venv: SKIPPING 13:46:12 INFO: No Stack... 13:46:12 INFO: Retrieving Pricing Info for: v3-standard-8 13:46:13 INFO: Archiving Costs [Pipeline] sh 13:46:13 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-287/archives/cost.csv 13:46:13 + cut -d, -f6 [Pipeline] lock 13:46:13 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] 13:46:13 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] did not exist. Created. 13:46:13 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:46:13 + echo total: 0.2199999988079071 [Pipeline] stash 13:46:13 Stashed 1 file(s) [Pipeline] } 13:46:13 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:46:14 $ docker stop --time=1 d3226d9e622deb621583fe74230f426b1aefd75121fe4245665c9b490d9d24ac 13:46:15 $ docker rm -f --volumes d3226d9e622deb621583fe74230f426b1aefd75121fe4245665c9b490d9d24ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:46:46 Removing intermediate container 82e7a6271a24 13:46:46 ---> f959b1c68b42 13:46:46 Step 10/12 : COPY . . 13:46:46 ---> 7b2321f19190 13:46:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:46:46 ---> Running in 648e4735954e 13:46:46 Removing intermediate container 648e4735954e 13:46:46 ---> b419804e3204 13:46:46 Step 12/12 : RUN $MAKE 13:46:46 ---> Running in fed7e4218b20 13:46:47 noop 13:46:48 Removing intermediate container fed7e4218b20 13:46:48 ---> 07db1421d867 13:46:48 Successfully built 07db1421d867 13:46:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:48 + docker inspect -f . ci-base-image-arm64 13:46:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:48 prd-ubuntu20.04-docker-arm64-4c-16g-2629 does not seem to be running inside a container 13:46:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@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 ******** ci-base-image-arm64 cat 13:46:50 $ docker top f92681a37b2104e783d36ae2a44605b8a6462a334a0204070db91573502e847e -eo pid,comm [Pipeline] { [Pipeline] sh 13:46:51 + go version 13:46:51 go version go1.21.0 linux/arm64 [Pipeline] } 13:46:51 $ docker stop --time=1 f92681a37b2104e783d36ae2a44605b8a6462a334a0204070db91573502e847e 13:46:52 $ docker rm -f --volumes f92681a37b2104e783d36ae2a44605b8a6462a334a0204070db91573502e847e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:53 + docker inspect -f . ci-base-image-arm64 13:46:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:53 prd-ubuntu20.04-docker-arm64-4c-16g-2629 does not seem to be running inside a container 13:46:53 $ 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/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@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 ******** ci-base-image-arm64 cat 13:46:54 $ docker top b8cdae646508d6c745d36a8fc47effe673b2de6afa181b915c398ead55ef8439 -eo pid,comm [Pipeline] { [Pipeline] sh 13:46:55 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:46:56 + make test 13:46:56 go test -race ./... -coverprofile=coverage.out ./... 13:50:18 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:50:18 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:50:18 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.984s coverage: 86.2% of statements 13:50:18 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 4.297s coverage: 71.9% of statements 13:50:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:50:19 go vet ./... 13:53:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:53:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:53:10 ./bin/test-attribution.sh 13:53:10 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:53:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:53:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:53:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:53:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:53:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:53:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:53:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:53:10 An attribution for golang.org/x/time is missing from Attribution.txt, please add 13:53:10 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:53:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:53:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:53:11 $ docker stop --time=1 b8cdae646508d6c745d36a8fc47effe673b2de6afa181b915c398ead55ef8439 13:53:12 $ docker rm -f --volumes b8cdae646508d6c745d36a8fc47effe673b2de6afa181b915c398ead55ef8439 [Pipeline] // withDockerContainer [Pipeline] sh 13:53:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:53:15 Warning: overwriting stash ‘coverage-report’ 13:53:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:53:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:53:16 + ls -al . 13:53:16 total 272 13:53:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 13:47 . 13:53:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 13:43 .. 13:53:16 -rw-rw-r-- 1 jenkins jenkins 262 Apr 17 13:43 .dockerignore 13:53:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 13:43 .git 13:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 13:43 .github 13:53:16 -rw-rw-r-- 1 jenkins jenkins 773 Apr 17 13:43 .gitignore 13:53:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 13:43 .golangci.yml 13:53:16 -rw-rw-r-- 1 jenkins jenkins 10232 Apr 17 13:43 Attribution.txt 13:53:16 -rw-rw-r-- 1 jenkins jenkins 11245 Apr 17 13:43 CHANGELOG.md 13:53:16 -rw-rw-r-- 1 jenkins jenkins 1768 Apr 17 13:43 Dockerfile 13:53:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 13:43 GOVERNANCE.md 13:53:16 -rw-rw-r-- 1 jenkins jenkins 665 Apr 17 13:43 Jenkinsfile 13:53:16 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 17 13:43 LICENSE 13:53:16 -rw-rw-r-- 1 jenkins jenkins 2503 Apr 17 13:43 Makefile 13:53:16 -rw-rw-r-- 1 jenkins jenkins 617 Apr 17 13:43 OWNERS.md 13:53:16 -rw-rw-r-- 1 jenkins jenkins 3851 Apr 17 13:43 README.md 13:53:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 13:41 VERSION 13:53:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 13:43 bin 13:53:16 -rw-r--r-- 1 jenkins jenkins 41317 Apr 17 13:50 coverage.out 13:53:16 -rw-rw-r-- 1 jenkins jenkins 7355 Apr 17 13:43 go.mod 13:53:16 -rw-rw-r-- 1 jenkins jenkins 101573 Apr 17 13:43 go.sum 13:53:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 13:43 images 13:53:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 13:43 internal 13:53:16 -rw-rw-r-- 1 jenkins jenkins 531 Apr 17 13:43 main.go 13:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 13:43 openapi 13:53:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 13:43 res 13:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 13:43 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:53:17 + 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=b94cb4a72158747f2649ed35182bcc075ce117d4 --label arch=arm64 --label version=0.0.0 . 13:53:17 Sending build context to Docker daemon 673.8kB 13:53:17 Step 1/30 : ARG BASE=golang:1.21-alpine3.18 13:53:17 Step 2/30 : FROM ${BASE} AS builder 13:53:17 ---> 07db1421d867 13:53:17 Step 3/30 : ARG ALPINE_PKG_BASE="make git" 13:53:17 ---> Running in 409317663abb 13:53:17 Removing intermediate container 409317663abb 13:53:17 ---> adcaff73184d 13:53:17 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 13:53:17 ---> Running in da6b4a7967bb 13:53:18 Removing intermediate container da6b4a7967bb 13:53:18 ---> 4038afc48cad 13:53:18 Step 5/30 : ARG ADD_BUILD_TAGS="" 13:53:18 ---> Running in 5c32c03a80be 13:53:18 Removing intermediate container 5c32c03a80be 13:53:18 ---> 5a539c66c421 13:53:18 Step 6/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:53:18 ---> Running in 769d386e9d7f 13:53:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:53:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:53:21 OK: 266 MiB in 52 packages 13:53:21 Removing intermediate container 769d386e9d7f 13:53:21 ---> 735b8a9356a2 13:53:21 Step 7/30 : WORKDIR /app 13:53:21 ---> Running in cb1d21e4447b 13:53:22 Removing intermediate container cb1d21e4447b 13:53:22 ---> c22d4891cba1 13:53:22 Step 8/30 : COPY go.mod vendor* ./ 13:53:22 ---> bf37383e6703 13:53:22 Step 9/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:53:22 ---> Running in 1f5cead2720a 13:53:25 Removing intermediate container 1f5cead2720a 13:53:25 ---> 7ac4bd71f9eb 13:53:25 Step 10/30 : COPY . . 13:53:25 ---> 15f48fd23701 13:53:25 Step 11/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:53:25 ---> Running in 168d0b0e6f99 13:53:25 Removing intermediate container 168d0b0e6f99 13:53:25 ---> 049e8382272d 13:53:25 Step 12/30 : RUN $MAKE 13:53:26 ---> Running in 99bc5f3399a3 13:53:27 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.34 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory 13:56:03 Removing intermediate container 99bc5f3399a3 13:56:03 ---> ad341b327225 13:56:03 Step 13/30 : FROM alpine:3.18 13:56:03 3.18: Pulling from library/alpine 13:56:03 c6b39de5b339: Pulling fs layer 13:56:03 c6b39de5b339: Pull complete 13:56:03 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:56:03 Status: Downloaded newer image for alpine:3.18 13:56:03 ---> 33abbf032149 13:56:03 Step 14/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:56:03 ---> Running in 501c4f7d9971 13:56:03 Removing intermediate container 501c4f7d9971 13:56:03 ---> 6818cf960cbe 13:56:03 Step 15/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:56:03 ---> Running in 204e4e77be5e 13:56:03 Removing intermediate container 204e4e77be5e 13:56:03 ---> fd1c8d2a0c34 13:56:03 Step 16/30 : RUN apk --no-cache add ca-certificates dumb-init 13:56:03 ---> Running in aaec4f641276 13:56:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:56:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:56:03 (1/2) Installing ca-certificates (20240226-r0) 13:56:03 (2/2) Installing dumb-init (1.2.5-r2) 13:56:03 Executing busybox-1.36.1-r5.trigger 13:56:03 Executing ca-certificates-20240226-r0.trigger 13:56:03 OK: 9 MiB in 17 packages 13:56:03 Removing intermediate container aaec4f641276 13:56:03 ---> 9ca585e52d8d 13:56:03 Step 17/30 : RUN apk --no-cache upgrade 13:56:03 ---> Running in cfe1c3f70313 13:56:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:56:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:56:04 Upgrading critical system libraries and apk-tools: 13:56:04 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:56:04 Executing busybox-1.36.1-r5.trigger 13:56:04 Continuing the upgrade transaction with new apk-tools: 13:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:56:05 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:56:05 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:56:05 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:56:05 Executing ca-certificates-20240226-r0.trigger 13:56:06 OK: 9 MiB in 17 packages 13:56:07 Removing intermediate container cfe1c3f70313 13:56:07 ---> e6b68a9135ac 13:56:07 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:56:07 ---> 0dbc26ebfdb5 13:56:07 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 13:56:07 ---> 152341fb8a34 13:56:07 Step 20/30 : COPY --from=builder /app/res/ /res/ 13:56:08 ---> 068c74b4fc32 13:56:08 Step 21/30 : COPY --from=builder /app/static/ /static/ 13:56:09 ---> a6e6672633bf 13:56:09 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:56:10 ---> 2833e69130ca 13:56:10 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:56:10 ---> Running in 7c61a2feeb43 13:56:12 Removing intermediate container 7c61a2feeb43 13:56:12 ---> 6e189a18b337 13:56:12 Step 24/30 : VOLUME /cache 13:56:12 ---> Running in bebe05d3d66a 13:56:12 Removing intermediate container bebe05d3d66a 13:56:12 ---> eb1b56f60f8f 13:56:12 Step 25/30 : EXPOSE 59711 13:56:12 ---> Running in e14c1aae913f 13:56:12 Removing intermediate container e14c1aae913f 13:56:12 ---> 26af43bf4ec7 13:56:12 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:56:13 ---> Running in 4de8146c13b6 13:56:13 Removing intermediate container 4de8146c13b6 13:56:13 ---> 3820a8b45e94 13:56:13 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] 13:56:13 ---> Running in f52c52af6499 13:56:13 Removing intermediate container f52c52af6499 13:56:13 ---> 05a34178f0f3 13:56:13 Step 28/30 : LABEL arch=arm64 13:56:13 ---> Running in 51104c64de07 13:56:14 Removing intermediate container 51104c64de07 13:56:14 ---> d94921378575 13:56:14 Step 29/30 : LABEL git_sha=b94cb4a72158747f2649ed35182bcc075ce117d4 13:56:14 ---> Running in e5b03d8c6918 13:56:14 Removing intermediate container e5b03d8c6918 13:56:14 ---> 7b32941c0b97 13:56:14 Step 30/30 : LABEL version=0.0.0 13:56:14 ---> Running in a0b211a2894e 13:56:14 Removing intermediate container a0b211a2894e 13:56:14 ---> df4c80e96536 13:56:14 [Warning] One or more build-args [ARCH] were not consumed 13:56:14 Successfully built df4c80e96536 13:56:14 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:56:15 13:56:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:56:16 arm64: Pulling from edgex-lftools-log-publisher 13:56:16 8998bd30e6a1: Pulling fs layer 13:56:16 04944245beec: Pulling fs layer 13:56:16 699f458cf7ca: Pulling fs layer 13:56:16 765212b225bb: Pulling fs layer 13:56:16 f23df028b6ca: Pulling fs layer 13:56:16 d65c8cfc05b1: Pulling fs layer 13:56:16 2437ff75d9bd: Pulling fs layer 13:56:16 765212b225bb: Waiting 13:56:16 f23df028b6ca: Waiting 13:56:16 d65c8cfc05b1: Waiting 13:56:16 2437ff75d9bd: Waiting 13:56:16 04944245beec: Verifying Checksum 13:56:16 04944245beec: Download complete 13:56:16 765212b225bb: Verifying Checksum 13:56:16 765212b225bb: Download complete 13:56:16 f23df028b6ca: Verifying Checksum 13:56:16 f23df028b6ca: Download complete 13:56:16 d65c8cfc05b1: Verifying Checksum 13:56:16 d65c8cfc05b1: Download complete 13:56:16 699f458cf7ca: Verifying Checksum 13:56:16 699f458cf7ca: Download complete 13:56:16 8998bd30e6a1: Download complete 13:56:19 2437ff75d9bd: Verifying Checksum 13:56:19 2437ff75d9bd: Download complete 13:56:21 8998bd30e6a1: Pull complete 13:56:22 04944245beec: Pull complete 13:56:23 699f458cf7ca: Pull complete 13:56:23 765212b225bb: Pull complete 13:56:24 f23df028b6ca: Pull complete 13:56:24 d65c8cfc05b1: Pull complete 13:56:42 2437ff75d9bd: Pull complete 13:56:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:56:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:56:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:43 prd-ubuntu20.04-docker-arm64-4c-16g-2629 does not seem to be running inside a container 13:56:43 $ 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/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:56:45 $ docker top 3777fef49eafa5d721263b9ade6c200031957d7d58d3502911814e036bc3b537 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:46 ---> job-cost.sh 13:56:46 lf-activate-venv: SKIPPING 13:56:46 INFO: No Stack... 13:56:46 INFO: Retrieving Pricing Info for: v3-standard-4 13:56:47 INFO: Archiving Costs [Pipeline] sh 13:56:48 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:56:48 + cut -d, -f6 [Pipeline] lock 13:56:48 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] 13:56:48 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] did not exist. Created. 13:56:48 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:56:49 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-b36676f0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:56:49 + echo total: 0.10999999940395355 [Pipeline] stash 13:56:49 Warning: overwriting stash ‘stack-cost’ 13:56:49 Stashed 1 file(s) [Pipeline] } 13:56:49 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-287-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:56:49 $ docker stop --time=1 3777fef49eafa5d721263b9ade6c200031957d7d58d3502911814e036bc3b537 13:56:51 $ docker rm -f --volumes 3777fef49eafa5d721263b9ade6c200031957d7d58d3502911814e036bc3b537 [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 13:56:52 provisioning config files... 13:56:52 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/config14394857645256527219tmp [Pipeline] { [Pipeline] sh 13:56:52 + set +x 13:56:52 + bash -s -- 13:56:52 + curl -s https://codecov.io/bash 13:56:52 13:56:52 _____ _ 13:56:52 / ____| | | 13:56:52 | | ___ __| | ___ ___ _____ __ 13:56:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:56:52 | |___| (_) | (_| | __/ (_| (_) \ V / 13:56:52 \_____\___/ \__,_|\___|\___\___/ \_/ 13:56:52 Bash-1.0.6 13:56:52 13:56:52 13:56:52 ==> git version 2.25.1 found 13:56:52 ==> 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 13:56:52 Release-Date: 2020-01-08 13:56:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:56:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:56:52 ==> Jenkins CI detected. 13:56:52 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-287 13:56:52 project root: . 13:56:52 --> token set from env 13:56:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:56:52 ==> Running gcov in . (disable via -X gcov) 13:56:52 ==> Python coveragepy not found 13:56:52 ==> Searching for coverage reports in: 13:56:52 + . 13:56:52 -> Found 1 reports 13:56:52 ==> Detecting git/mercurial file structure 13:56:52 ==> Reading reports 13:56:52 + ./coverage.out bytes=41317 13:56:52 ==> Appending adjustments 13:56:52 https://docs.codecov.io/docs/fixing-reports 13:56:52 + Found adjustments 13:56:52 ==> Gzipping contents 13:56:52 12K /tmp/codecov.7B0CyE.gz 13:56:52 ==> Uploading reports 13:56:52 url: https://codecov.io 13:56:52 query: branch=PR-287&commit=b94cb4a72158747f2649ed35182bcc075ce117d4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-287%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=287&job=&cmd_args= 13:56:52 -> Pinging Codecov 13:56:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-287&commit=b94cb4a72158747f2649ed35182bcc075ce117d4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-287%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=287&job=&cmd_args= 13:56:53 -> Uploading to 13:56:53 https://storage.googleapis.com/codecov/v4/raw/2024-04-17/581DD39554BDF9B6E22D074273EAD858/b94cb4a72158747f2649ed35182bcc075ce117d4/e6fe7856-843f-4972-ab6a-90a645506b03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240417T135653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0db2b88a153aa841cdae16a1178bcbe73c351113461eb683763d0b340ae194b6 13:56:53 % Total % Received % Xferd Average Speed Time Time Time Current 13:56:53 Dload Upload Total Spent Left Speed 13:56:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11611 0 0 100 11611 0 41616 --:--:-- --:--:-- --:--:-- 41616 13:56:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/b94cb4a72158747f2649ed35182bcc075ce117d4 [Pipeline] } 13:56:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 13:56:55 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-287/archives ] 13:56:55 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-287/archives 13:56:55 total 16 13:56:55 drwxr-xr-x 3 root root 4096 Apr 17 13:46 . 13:56:55 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 13:46 .. 13:56:55 drwxr-xr-x 2 root root 4096 Apr 17 13:46 cost 13:56:55 -rw-r--r-- 1 root root 95 Apr 17 13:46 cost.csv 13:56:55 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-287/archives 13:56:55 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-287/archives 13:56:55 total 16 13:56:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 13:46 . 13:56:55 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 13:46 .. 13:56:55 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 13:46 cost 13:56:55 -rw-r--r-- 1 jenkins jenkins 95 Apr 17 13:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:56:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:56:56 ---> package-listing.sh 13:56:56 ++ facter osfamily 13:56:56 ++ tr '[:upper:]' '[:lower:]' 13:56:56 + OS_FAMILY=debian 13:56:56 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-287 13:56:56 + START_PACKAGES=/tmp/packages_start.txt 13:56:56 + END_PACKAGES=/tmp/packages_end.txt 13:56:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:56:56 + PACKAGES=/tmp/packages_start.txt 13:56:56 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-287 ']' 13:56:56 + PACKAGES=/tmp/packages_end.txt 13:56:56 + case "${OS_FAMILY}" in 13:56:56 + dpkg -l 13:56:56 + grep '^ii' 13:56:56 + '[' -f /tmp/packages_start.txt ']' 13:56:56 + '[' -f /tmp/packages_end.txt ']' 13:56:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:56:56 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-287 ']' 13:56:56 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-287/archives/ 13:56:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-287/archives/ [Pipeline] echo 13:56:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:56:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:58 prd-ubuntu20.04-docker-8c-8g-2628 does not seem to be running inside a container 13:56:58 $ 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-287/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-287 -v /w/workspace/y_app-rfid-llrp-inventory_PR-287:/w/workspace/y_app-rfid-llrp-inventory_PR-287:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-287@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-lftools-log-publisher:latest cat 13:56:58 $ docker top 4b3c6c58fa2fe9fe4289b7a296d01a1f7947fbe0f9b607cc34c5438a5868c3ee -eo pid,comm [Pipeline] { [Pipeline] sh 13:56:58 + touch /tmp/pre-build-complete [Pipeline] sh 13:56:59 + mkdir -p /var/log/sysstat [Pipeline] sh 13:56:59 + ls /var/log/sa-host 13:56:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:56:59 provisioning config files... 13:56:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-287@tmp/config3810603328988187811tmp [Pipeline] { [Pipeline] echo 13:56:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:56:59 ---> create-netrc.sh [Pipeline] } 13:57:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:57:00 ---> python-tools-install.sh [Pipeline] echo 13:57:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:57:00 ---> sudo-logs.sh 13:57:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:57:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:57:01 ---> job-cost.sh 13:57:01 lf-activate-venv: SKIPPING 13:57:01 DEBUG: total: 0.2199999988079071 13:57:01 INFO: Retrieving Stack Cost... 13:57:01 INFO: Retrieving Pricing Info for: v3-standard-8 13:57:01 INFO: Archiving Costs [Pipeline] echo 13:57:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:57:02 ---> logs-deploy.sh 13:57:02 lf-activate-venv: SKIPPING 13:57:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-287/1 13:57:02 INFO: archiving workspace using pattern(s): 13:57:03 Archives upload complete. 13:57:03 INFO: archiving logs to Nexus