Pull request #104 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8df5d03a4914f07961f125d26da8cb5b41d402c9+c550df661121fd0eeb913950a65d671d722b4d85 (45cc680a4b85f4d24073a097a9893ad3ae6c4fe1) 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-ssh9250227768913869645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh18366099532124962424.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-104/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-104/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1324978364626032551.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-104/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4051087406830045516.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh4601289906236788092.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-104/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-104/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4786014296314993140.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22140 in /w/workspace/y_app-rfid-llrp-inventory_PR-104 [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-104 # 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 Merging remotes/origin/main commit c550df661121fd0eeb913950a65d671d722b4d85 into PR head commit 8df5d03a4914f07961f125d26da8cb5b41d402c9 Merge succeeded, producing 8df5d03a4914f07961f125d26da8cb5b41d402c9 Checking out Revision 8df5d03a4914f07961f125d26da8cb5b41d402c9 (PR-104) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8df5d03a4914f07961f125d26da8cb5b41d402c9 # 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 c550df661121fd0eeb913950a65d671d722b4d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8df5d03a4914f07961f125d26da8cb5b41d402c9 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:08:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:08:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:08:37 ========================================================= 13:08:37 EdgeX Global Pipelines Version Info 13:08:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:08:38 ------------------- 13:08:38 stable info: 13:08:38 ------------------- 13:08:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:08:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:08:38 Message: update stable to v1.0.238 13:08:39 ------------------- 13:08:39 experimental info: 13:08:39 ------------------- 13:08:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:08:39 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:08:39 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:08:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-104 [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-104 [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-104 [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8df5d03a4914f07961f125d26da8cb5b41d402c9 [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8df5d03 [Pipeline] echo 13:08:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:08:41 provisioning config files... 13:08:41 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/config6201001945272231714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:08:41 ---> docker-login.sh 13:08:41 nexus3.edgexfoundry.org:10001 13:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:41 Configure a credential helper to remove this warning. See 13:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:41 13:08:41 Login Succeeded 13:08:41 nexus3.edgexfoundry.org:10002 13:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:41 Configure a credential helper to remove this warning. See 13:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:41 13:08:41 Login Succeeded 13:08:41 nexus3.edgexfoundry.org:10003 13:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:41 Configure a credential helper to remove this warning. See 13:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:41 13:08:41 Login Succeeded 13:08:41 nexus3.edgexfoundry.org:10004 13:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:42 Configure a credential helper to remove this warning. See 13:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:42 13:08:42 Login Succeeded 13:08:42 docker.io 13:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:42 Configure a credential helper to remove this warning. See 13:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:42 13:08:42 Login Succeeded 13:08:42 ---> docker-login.sh ends [Pipeline] } 13:08:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:08:43 + git rev-list -1 --merges 8df5d03a4914f07961f125d26da8cb5b41d402c9~1..8df5d03a4914f07961f125d26da8cb5b41d402c9 [Pipeline] echo 13:08:43 -----------> git rev-list -1 --merges 8df5d03a4914f07961f125d26da8cb5b41d402c9~1..8df5d03a4914f07961f125d26da8cb5b41d402c9 8df5d03a4914f07961f125d26da8cb5b41d402c9 [false] [Pipeline] sh 13:08:43 + git log --format=format:%s -1 8df5d03a4914f07961f125d26da8cb5b41d402c9 [Pipeline] echo 13:08:43 ========================================================= 13:08:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:08:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:44 + git log --format=format:%s -1 8df5d03a4914f07961f125d26da8cb5b41d402c9 [Pipeline] echo 13:08:44 [semverPrep] GIT_COMMIT: 8df5d03a4914f07961f125d26da8cb5b41d402c9, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 13:08:44 [semverPrep] This is not a build commit. [Pipeline] sh 13:08:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:08:44 + grep -v github /etc/ssh/ssh_known_hosts 13:08:44 + [ -e /tmp/ssh_known_hosts ] 13:08:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:08:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:08:44 + sudo tee -a /etc/ssh/ssh_known_hosts 13:08:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:08:45 13:08:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:08:45 0.1.4: Pulling from edgex-devops/py-git-semver 13:08:45 b85a868b505f: Pulling fs layer 13:08:45 e2be974225ed: Pulling fs layer 13:08:45 339a4e72a1f5: Pulling fs layer 13:08:45 988bab9f4d93: Pulling fs layer 13:08:45 1469e6f7b9e6: Pulling fs layer 13:08:45 eaf3925da568: Pulling fs layer 13:08:45 bab4dde63d76: Pulling fs layer 13:08:45 bde34c3a00c8: Pulling fs layer 13:08:45 b352a97aabf1: Pulling fs layer 13:08:45 4872d77fe225: Pulling fs layer 13:08:45 5851b861e8e6: Pulling fs layer 13:08:45 bab4dde63d76: Waiting 13:08:45 bde34c3a00c8: Waiting 13:08:45 4872d77fe225: Waiting 13:08:45 eaf3925da568: Waiting 13:08:45 1469e6f7b9e6: Waiting 13:08:45 b352a97aabf1: Waiting 13:08:45 988bab9f4d93: Waiting 13:08:45 5851b861e8e6: Waiting 13:08:45 e2be974225ed: Download complete 13:08:45 988bab9f4d93: Download complete 13:08:45 1469e6f7b9e6: Verifying Checksum 13:08:45 1469e6f7b9e6: Download complete 13:08:45 339a4e72a1f5: Verifying Checksum 13:08:45 339a4e72a1f5: Download complete 13:08:45 eaf3925da568: Verifying Checksum 13:08:45 eaf3925da568: Download complete 13:08:45 bde34c3a00c8: Verifying Checksum 13:08:45 bde34c3a00c8: Download complete 13:08:45 b352a97aabf1: Verifying Checksum 13:08:45 b352a97aabf1: Download complete 13:08:45 4872d77fe225: Verifying Checksum 13:08:45 5851b861e8e6: Download complete 13:08:45 b85a868b505f: Download complete 13:08:46 bab4dde63d76: Verifying Checksum 13:08:46 bab4dde63d76: Download complete 13:08:47 b85a868b505f: Pull complete 13:08:47 e2be974225ed: Pull complete 13:08:47 339a4e72a1f5: Pull complete 13:08:47 988bab9f4d93: Pull complete 13:08:48 1469e6f7b9e6: Pull complete 13:08:48 eaf3925da568: Pull complete 13:08:50 bab4dde63d76: Pull complete 13:08:50 bde34c3a00c8: Pull complete 13:08:50 b352a97aabf1: Pull complete 13:08:50 4872d77fe225: Pull complete 13:08:50 5851b861e8e6: Pull complete 13:08:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:08:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:08:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:50 prd-ubuntu20.04-docker-8c-8g-22140 does not seem to be running inside a container 13:08:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-104 -v /w/workspace/y_app-rfid-llrp-inventory_PR-104:/w/workspace/y_app-rfid-llrp-inventory_PR-104:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-104@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:08:52 $ docker top e52ed35dc3bd4576fb8765494a45541256c94877cff969af533d18040da27238 -eo pid,comm 13:08:52 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:08:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:08:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:08:52 [ssh-agent] Looking for ssh-agent implementation... 13:08:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:08:53 $ docker exec e52ed35dc3bd4576fb8765494a45541256c94877cff969af533d18040da27238 ssh-agent 13:08:53 SSH_AUTH_SOCK=/tmp/ssh-DvxioivEEvnP/agent.34 13:08:53 SSH_AGENT_PID=41 13:08:53 Running ssh-add (command line suppressed) 13:08:53 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/private_key_4677551862942721146.key (/w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/private_key_4677551862942721146.key) 13:08:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:08:53 + git tag --points-at HEAD [Pipeline] } 13:08:53 $ docker exec --env ******** --env ******** e52ed35dc3bd4576fb8765494a45541256c94877cff969af533d18040da27238 ssh-agent -k 13:08:53 unset SSH_AUTH_SOCK; 13:08:53 unset SSH_AGENT_PID; 13:08:53 echo Agent pid 41 killed; 13:08:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:08:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:08:53 [ssh-agent] Looking for ssh-agent implementation... 13:08:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:08:54 $ docker exec e52ed35dc3bd4576fb8765494a45541256c94877cff969af533d18040da27238 ssh-agent 13:08:54 SSH_AUTH_SOCK=/tmp/ssh-5of3rSVa4EkY/agent.74 13:08:54 SSH_AGENT_PID=81 13:08:54 Running ssh-add (command line suppressed) 13:08:54 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/private_key_6417255016523475430.key (/w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/private_key_6417255016523475430.key) 13:08:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:08:54 + git semver init 13:08:54 2022-08-08 13:08:54,780 [run_init] DEBUG init version:0.0.0 force:False 13:08:54 2022-08-08 13:08:54,781 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver 13:08:54 2022-08-08 13:08:54,781 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver 13:08:54 2022-08-08 13:08:54,781 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-104, universal_newlines=False, shell=None, istream=None) 13:08:55 2022-08-08 13:08:55,769 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-104/.git/info/exclude 13:08:55 2022-08-08 13:08:55,770 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver/PR-104 with force:False 13:08:55 2022-08-08 13:08:55,770 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver/PR-104 13:08:55 2022-08-08 13:08:55,774 [execute] INFO git cat-file --batch-check 13:08:55 2022-08-08 13:08:55,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver, universal_newlines=False, shell=None, istream=) 13:08:55 2022-08-08 13:08:55,781 [execute] INFO git cat-file --batch 13:08:55 2022-08-08 13:08:55,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver, universal_newlines=False, shell=None, istream=) 13:08:55 2022-08-08 13:08:55,788 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-104/.semver/PR-104 13:08:55 0.0.0 [Pipeline] } 13:08:55 $ docker exec --env ******** --env ******** e52ed35dc3bd4576fb8765494a45541256c94877cff969af533d18040da27238 ssh-agent -k 13:08:55 unset SSH_AUTH_SOCK; 13:08:55 unset SSH_AGENT_PID; 13:08:55 echo Agent pid 81 killed; 13:08:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:08:56 + git semver [Pipeline] } 13:08:56 $ docker stop --time=1 e52ed35dc3bd4576fb8765494a45541256c94877cff969af533d18040da27238 13:08:57 $ docker rm -f e52ed35dc3bd4576fb8765494a45541256c94877cff969af533d18040da27238 [Pipeline] // withDockerContainer [Pipeline] sh 13:08:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:08:58 Stashed 1 file(s) [Pipeline] echo 13:08:58 [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:08:59 provisioning config files... 13:08:59 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/config7669352652719559185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:08:59 ---> docker-login.sh 13:08:59 nexus3.edgexfoundry.org:10001 13:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:59 Configure a credential helper to remove this warning. See 13:08:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:59 13:08:59 Login Succeeded 13:08:59 nexus3.edgexfoundry.org:10002 13:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:00 Configure a credential helper to remove this warning. See 13:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:00 13:09:00 Login Succeeded 13:09:00 nexus3.edgexfoundry.org:10003 13:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:00 Configure a credential helper to remove this warning. See 13:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:00 13:09:00 Login Succeeded 13:09:00 nexus3.edgexfoundry.org:10004 13:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:00 Configure a credential helper to remove this warning. See 13:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:00 13:09:00 Login Succeeded 13:09:00 docker.io 13:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:00 Configure a credential helper to remove this warning. See 13:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:00 13:09:00 Login Succeeded 13:09:00 ---> docker-login.sh ends [Pipeline] } 13:09:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:09:00 ========================================================= 13:09:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:09:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:09:01 Sending build context to Docker daemon 12.47MB 13:09:01 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:09:01 Step 2/13 : FROM ${BASE} AS builder 13:09:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:09:01 2408cc74d12b: Pulling fs layer 13:09:01 ea60b727a1ce: Pulling fs layer 13:09:01 30c4a7721957: Pulling fs layer 13:09:01 370296b7ddb6: Pulling fs layer 13:09:01 7c6cee850709: Pulling fs layer 13:09:01 39a5fcdaea64: Pulling fs layer 13:09:01 d94ebbe4e438: Pulling fs layer 13:09:01 bcfd1f05c69d: Pulling fs layer 13:09:01 59ccb84bbe0f: Pulling fs layer 13:09:01 370296b7ddb6: Waiting 13:09:01 7c6cee850709: Waiting 13:09:01 39a5fcdaea64: Waiting 13:09:01 bcfd1f05c69d: Waiting 13:09:01 59ccb84bbe0f: Waiting 13:09:01 d94ebbe4e438: Waiting 13:09:01 30c4a7721957: Verifying Checksum 13:09:01 30c4a7721957: Download complete 13:09:01 ea60b727a1ce: Download complete 13:09:01 7c6cee850709: Verifying Checksum 13:09:01 7c6cee850709: Download complete 13:09:01 39a5fcdaea64: Verifying Checksum 13:09:01 39a5fcdaea64: Download complete 13:09:01 2408cc74d12b: Verifying Checksum 13:09:01 2408cc74d12b: Download complete 13:09:01 d94ebbe4e438: Verifying Checksum 13:09:01 d94ebbe4e438: Download complete 13:09:01 2408cc74d12b: Pull complete 13:09:01 ea60b727a1ce: Pull complete 13:09:01 30c4a7721957: Pull complete 13:09:02 59ccb84bbe0f: Download complete 13:09:02 370296b7ddb6: Verifying Checksum 13:09:02 370296b7ddb6: Download complete 13:09:02 bcfd1f05c69d: Verifying Checksum 13:09:02 bcfd1f05c69d: Download complete 13:09:06 370296b7ddb6: Pull complete 13:09:06 7c6cee850709: Pull complete 13:09:06 39a5fcdaea64: Pull complete 13:09:06 d94ebbe4e438: Pull complete 13:09:08 bcfd1f05c69d: Pull complete 13:09:09 59ccb84bbe0f: Pull complete 13:09:09 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 13:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:09:09 ---> a4fb48ad2a94 13:09:09 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:09:12 ---> Running in e5155d715ca4 13:09:12 Removing intermediate container e5155d715ca4 13:09:12 ---> 0e54d210153d 13:09:12 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:09:12 ---> Running in 5d24b4d6e51d 13:09:12 Removing intermediate container 5d24b4d6e51d 13:09:12 ---> 1f6bf1cb3137 13:09:12 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:09:12 ---> Running in 88c3cdd7286c 13:09:12 Removing intermediate container 88c3cdd7286c 13:09:12 ---> cd76404332f8 13:09:12 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:09:12 ---> Running in 8a19e2e0e726 13:09:12 Removing intermediate container 8a19e2e0e726 13:09:12 ---> e3f3ad843a46 13:09:12 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:12 ---> Running in ca7d8476b9fe 13:09:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:09:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:09:14 Still waiting to schedule task 13:09:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:09:14 OK: 211 MiB in 51 packages 13:09:14 Removing intermediate container ca7d8476b9fe 13:09:14 ---> bb06b1b335dc 13:09:14 Step 8/13 : WORKDIR /app 13:09:14 ---> Running in ca3225dcf5b6 13:09:14 Removing intermediate container ca3225dcf5b6 13:09:14 ---> 0ccab4c9f0ae 13:09:14 Step 9/13 : COPY go.mod vendor* ./ 13:09:14 ---> 8a783395d11d 13:09:14 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:09:14 ---> Running in c07f13d0c208 13:09:47 Removing intermediate container c07f13d0c208 13:09:47 ---> 9d0432896039 13:09:47 Step 11/13 : COPY . . 13:09:47 ---> 6cfe7b827cc8 13:09:47 Step 12/13 : ARG MAKE="make build" 13:09:47 ---> Running in d50049873726 13:09:47 Removing intermediate container d50049873726 13:09:47 ---> df5774a8e1f0 13:09:47 Step 13/13 : RUN $MAKE 13:09:47 ---> Running in 45c1ed47b9b8 13:09:47 noop 13:09:47 Removing intermediate container 45c1ed47b9b8 13:09:47 ---> 14a80f9b6652 13:09:47 Successfully built 14a80f9b6652 13:09:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:47 + docker inspect -f . ci-base-image-x86_64 13:09:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:47 prd-ubuntu20.04-docker-8c-8g-22140 does not seem to be running inside a container 13:09:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-104 -v /w/workspace/y_app-rfid-llrp-inventory_PR-104:/w/workspace/y_app-rfid-llrp-inventory_PR-104:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-104@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:09:48 $ docker top 6eca63ce30c4b793f1e2f97ceefdf3d7489f214ef2e8d0eedc453c5acfd4f50e -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:48 + go version 13:09:48 go version go1.18.3 linux/amd64 [Pipeline] } 13:09:48 $ docker stop --time=1 6eca63ce30c4b793f1e2f97ceefdf3d7489f214ef2e8d0eedc453c5acfd4f50e 13:09:50 $ docker rm -f 6eca63ce30c4b793f1e2f97ceefdf3d7489f214ef2e8d0eedc453c5acfd4f50e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:50 + docker inspect -f . ci-base-image-x86_64 13:09:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:50 prd-ubuntu20.04-docker-8c-8g-22140 does not seem to be running inside a container 13:09:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/y_app-rfid-llrp-inventory_PR-104 -v /w/workspace/y_app-rfid-llrp-inventory_PR-104:/w/workspace/y_app-rfid-llrp-inventory_PR-104:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-104@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:09:51 $ docker top d0f5b83b898d859f2955baede9b89e22983c948fc8e2a9bb550d8abe79d12ab8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:51 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-104 [Pipeline] fileExists [Pipeline] sh 13:09:52 + make test 13:09:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:10:02 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:10:02 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.047s coverage: 86.2% of statements 13:10:02 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:10:03 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.546s coverage: 71.9% of statements 13:10:12 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 13:10:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:10:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:10:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:10:14 ./bin/test-attribution.sh 13:10:14 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 13:10:14 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 13:10:14 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 13:10:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:10:14 $ docker stop --time=1 d0f5b83b898d859f2955baede9b89e22983c948fc8e2a9bb550d8abe79d12ab8 13:10:17 $ docker rm -f d0f5b83b898d859f2955baede9b89e22983c948fc8e2a9bb550d8abe79d12ab8 [Pipeline] // withDockerContainer [Pipeline] sh 13:10:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:10:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:10:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:10:18 + ls -al . 13:10:18 total 232 13:10:18 drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 13:09 . 13:10:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 13:08 .. 13:10:18 -rw-rw-r-- 1 jenkins jenkins 262 Aug 8 13:08 .dockerignore 13:10:18 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 13:10 .git 13:10:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 13:08 .github 13:10:18 -rw-rw-r-- 1 jenkins jenkins 788 Aug 8 13:08 .gitignore 13:10:18 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 13:08 .golangci.yml 13:10:18 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 13:08 .semver 13:10:18 -rw-rw-r-- 1 jenkins jenkins 9546 Aug 8 13:08 Attribution.txt 13:10:18 -rw-rw-r-- 1 jenkins jenkins 2487 Aug 8 13:08 CHANGELOG.md 13:10:18 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 8 13:08 Dockerfile 13:10:18 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 13:08 GOVERNANCE.md 13:10:18 -rw-rw-r-- 1 jenkins jenkins 687 Aug 8 13:08 Jenkinsfile 13:10:18 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 8 13:08 LICENSE 13:10:18 -rw-rw-r-- 1 jenkins jenkins 2949 Aug 8 13:08 Makefile 13:10:18 -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 13:08 OWNERS.md 13:10:18 -rw-rw-r-- 1 jenkins jenkins 30359 Aug 8 13:08 README.md 13:10:18 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 13:08 VERSION 13:10:18 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 13:08 bin 13:10:18 -rw-r--r-- 1 jenkins jenkins 41008 Aug 8 13:10 coverage.out 13:10:18 -rw-rw-r-- 1 jenkins jenkins 3677 Aug 8 13:08 go.mod 13:10:18 -rw-rw-r-- 1 jenkins jenkins 37565 Aug 8 13:08 go.sum 13:10:18 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 13:08 images 13:10:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 13:08 internal 13:10:18 -rw-rw-r-- 1 jenkins jenkins 531 Aug 8 13:08 main.go 13:10:18 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 13:08 res 13:10:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 13:08 snap 13:10:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 13:08 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:19 + 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=8df5d03a4914f07961f125d26da8cb5b41d402c9 --label arch=amd64 --label version=0.0.0 . 13:10:19 Sending build context to Docker daemon 12.47MB 13:10:19 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 13:10:19 Step 2/31 : FROM ${BASE} AS builder 13:10:19 ---> 14a80f9b6652 13:10:19 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:10:19 ---> Running in 18e6a7807a44 13:10:19 Removing intermediate container 18e6a7807a44 13:10:19 ---> cb185ea4558b 13:10:19 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:10:19 ---> Running in 8acfb9b08815 13:10:19 Removing intermediate container 8acfb9b08815 13:10:19 ---> a2b5c2165be7 13:10:19 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:10:19 ---> Running in 4ed577d114f6 13:10:19 Removing intermediate container 4ed577d114f6 13:10:19 ---> f30d9f7fc56c 13:10:19 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:19 ---> Running in 906f5b3bc905 13:10:20 Removing intermediate container 906f5b3bc905 13:10:20 ---> 0858b84828e9 13:10:20 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:10:20 ---> Running in 65dd40c8e746 13:10:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:10:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:10:21 OK: 211 MiB in 51 packages 13:10:22 Removing intermediate container 65dd40c8e746 13:10:22 ---> b4ed2ebf1b37 13:10:22 Step 8/31 : WORKDIR /app 13:10:22 ---> Running in 0b6aceb20660 13:10:22 Removing intermediate container 0b6aceb20660 13:10:22 ---> 376ffa5a14b0 13:10:22 Step 9/31 : COPY go.mod vendor* ./ 13:10:22 ---> f8744b983268 13:10:22 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:10:22 ---> Running in c05bc3bfad2a 13:10:23 Removing intermediate container c05bc3bfad2a 13:10:23 ---> 370ca1102bfc 13:10:23 Step 11/31 : COPY . . 13:10:23 ---> 333da95c2ae9 13:10:23 Step 12/31 : ARG MAKE="make build" 13:10:23 ---> Running in d7c51d9d4599 13:10:23 Removing intermediate container d7c51d9d4599 13:10:23 ---> 0b21edc5785d 13:10:23 Step 13/31 : RUN $MAKE 13:10:23 ---> Running in 18f76652f265 13:10:23 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.28 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 13:10:45 Removing intermediate container 18f76652f265 13:10:45 ---> cf76632c8bb3 13:10:45 Step 14/31 : FROM alpine:3.14 13:10:45 3.14: Pulling from library/alpine 13:10:45 decfdc335d9b: Pulling fs layer 13:10:45 decfdc335d9b: Verifying Checksum 13:10:45 decfdc335d9b: Download complete 13:10:45 decfdc335d9b: Pull complete 13:10:45 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 13:10:45 Status: Downloaded newer image for alpine:3.14 13:10:45 ---> 5977be310a9d 13:10:45 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:10:45 ---> Running in 0b7a2e857bd4 13:10:45 Removing intermediate container 0b7a2e857bd4 13:10:45 ---> e614fe0617de 13:10:45 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:10:45 ---> Running in e55dcc37038a 13:10:45 Removing intermediate container e55dcc37038a 13:10:45 ---> e2f6c121c234 13:10:45 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:45 ---> Running in 889fb103836b 13:10:45 Removing intermediate container 889fb103836b 13:10:45 ---> 302bed004574 13:10:45 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:10:45 ---> Running in b4f7801c9b2b 13:10:46 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:10:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22141 in /w/workspace/y_app-rfid-llrp-inventory_PR-104 [Pipeline] { [Pipeline] ws 13:10:46 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { 13:10:47 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] checkout 13:10:47 The recommended git tool is: git 13:10:47 (1/7) Installing ca-certificates (20220614-r0) 13:10:47 (2/7) Installing dumb-init (1.2.5-r1) 13:10:47 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:10:47 (4/7) Installing libsodium (1.0.18-r0) 13:10:47 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:10:47 (6/7) Installing libzmq (4.3.4-r0) 13:10:47 (7/7) Installing zeromq (4.3.4-r0) 13:10:48 Executing busybox-1.33.1-r8.trigger 13:10:48 Executing ca-certificates-20220614-r0.trigger 13:10:48 OK: 9 MiB in 21 packages 13:10:48 Removing intermediate container b4f7801c9b2b 13:10:48 ---> cd071cf6d910 13:10:48 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:48 ---> 4b445842faaf 13:10:48 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:10:49 ---> 66b79d5275fc 13:10:49 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:10:49 ---> d4235b4a98cd 13:10:49 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:10:49 ---> 37b5883e7300 13:10:49 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:10:50 ---> 420df95a8f31 13:10:50 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:10:50 ---> Running in a5b26ddeba88 13:10:50 Removing intermediate container a5b26ddeba88 13:10:50 ---> 309d80209716 13:10:50 Step 25/31 : VOLUME /cache 13:10:50 ---> Running in e12481f3a63b 13:10:50 Removing intermediate container e12481f3a63b 13:10:50 ---> 5c6227a0c07f 13:10:50 Step 26/31 : EXPOSE 59711 13:10:50 ---> Running in d31f9555d43d 13:10:50 Removing intermediate container d31f9555d43d 13:10:50 ---> cd6c92b93ae5 13:10:50 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:10:50 ---> Running in 3410f408c996 13:10:50 Removing intermediate container 3410f408c996 13:10:50 ---> 7311a129662b 13:10:50 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:10:50 ---> Running in 7d37ef784340 13:10:50 Removing intermediate container 7d37ef784340 13:10:50 ---> 5051585c81a5 13:10:50 Step 29/31 : LABEL arch=amd64 13:10:50 ---> Running in 88a94e012810 13:10:51 Removing intermediate container 88a94e012810 13:10:51 ---> ecb19bb913b7 13:10:51 Step 30/31 : LABEL git_sha=8df5d03a4914f07961f125d26da8cb5b41d402c9 13:10:51 ---> Running in f3d3a7020578 13:10:51 Removing intermediate container f3d3a7020578 13:10:51 ---> 2f9c52d98958 13:10:51 Step 31/31 : LABEL version=0.0.0 13:10:51 ---> Running in a5c2a50fd070 13:10:51 Removing intermediate container a5c2a50fd070 13:10:51 ---> 0cdadbe5aa54 13:10:51 [Warning] One or more build-args [ARCH] were not consumed 13:10:51 Successfully built 0cdadbe5aa54 13:10:51 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:10:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:51 13:10:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:52 latest: Pulling from edgex-lftools-log-publisher 13:10:52 5eb5b503b376: Pulling fs layer 13:10:52 5c69ac0246d0: Pulling fs layer 13:10:52 ec43610c2a17: Pulling fs layer 13:10:52 3a2ae6a8a46f: Pulling fs layer 13:10:52 33b1e0a273af: Pulling fs layer 13:10:52 5d3b04190fa2: Pulling fs layer 13:10:52 2f39f015ded8: Pulling fs layer 13:10:52 3a2ae6a8a46f: Waiting 13:10:52 33b1e0a273af: Waiting 13:10:52 5d3b04190fa2: Waiting 13:10:52 2f39f015ded8: Waiting 13:10:52 5c69ac0246d0: Verifying Checksum 13:10:52 5c69ac0246d0: Download complete 13:10:52 3a2ae6a8a46f: Download complete 13:10:52 33b1e0a273af: Verifying Checksum 13:10:52 33b1e0a273af: Download complete 13:10:52 5d3b04190fa2: Verifying Checksum 13:10:52 ec43610c2a17: Verifying Checksum 13:10:52 ec43610c2a17: Download complete 13:10:52 5eb5b503b376: Verifying Checksum 13:10:52 5eb5b503b376: Download complete 13:10:53 2f39f015ded8: Verifying Checksum 13:10:53 2f39f015ded8: Download complete 13:10:53 using credential edgex-jenkins-ssh 13:10:53 Cloning the remote Git repository 13:10:53 5eb5b503b376: Pull complete 13:10:54 5c69ac0246d0: Pull complete 13:10:54 ec43610c2a17: Pull complete 13:10:54 3a2ae6a8a46f: Pull complete 13:10:54 33b1e0a273af: Pull complete 13:10:53 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:10:53 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:10:53 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:10:53 > git --version # timeout=10 13:10:53 > git --version # 'git version 2.25.1' 13:10:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:10:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:54 5d3b04190fa2: Pull complete 13:10:55 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:10:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:55 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:10:55 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:10:55 using GIT_SSH to set credentials SSH Credentials for GitHub 13:10:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:10:56 Merging remotes/origin/main commit c550df661121fd0eeb913950a65d671d722b4d85 into PR head commit 8df5d03a4914f07961f125d26da8cb5b41d402c9 13:10:56 Merge succeeded, producing 8df5d03a4914f07961f125d26da8cb5b41d402c9 13:10:56 Checking out Revision 8df5d03a4914f07961f125d26da8cb5b41d402c9 (PR-104) 13:10:56 > git config core.sparsecheckout # timeout=10 13:10:56 > git checkout -f 8df5d03a4914f07961f125d26da8cb5b41d402c9 # timeout=10 13:10:56 > git remote # timeout=10 13:10:56 > git config --get remote.origin.url # timeout=10 13:10:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:10:56 > git merge c550df661121fd0eeb913950a65d671d722b4d85 # timeout=10 13:10:56 > git rev-parse HEAD^{commit} # timeout=10 13:10:56 > git config core.sparsecheckout # timeout=10 13:10:56 > git checkout -f 8df5d03a4914f07961f125d26da8cb5b41d402c9 # timeout=10 13:11:00 2f39f015ded8: Pull complete 13:11:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:11:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:00 prd-ubuntu20.04-docker-8c-8g-22140 does not seem to be running inside a container 13:11:00 $ 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-104 -v /w/workspace/y_app-rfid-llrp-inventory_PR-104:/w/workspace/y_app-rfid-llrp-inventory_PR-104:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-104@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:11:00 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 13:11:00 > git --version # timeout=10 13:11:00 > git --version # 'git version 2.25.1' 13:11:00 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 13:11:01 13:11:01 GitHub has been notified of this commit’s build result 13:11:01 13:11:03 $ docker top b1d12be1d195a400e54b11ed64c96db193213dcd9379ca4361a194dbcf5a498a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:11:04 ---> job-cost.sh 13:11:04 lf-activate-venv: SKIPPING 13:11:04 INFO: No Stack... 13:11:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:11:04 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:04 Dload Upload Total Spent Left Speed 13:11:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 79561 0 --:--:-- --:--:-- --:--:-- 79561 13:11:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:05 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 13:11:05 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-104/archives/cost.csv 13:11:05 + cut -d, -f6 [Pipeline] lock 13:11:05 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] 13:11:05 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] did not exist. Created. 13:11:05 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:11:05 + echo total: 0.2199999988079071 [Pipeline] stash 13:11:06 Stashed 1 file(s) [Pipeline] } 13:11:06 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] 13:11:06 + sudo tee /etc/docker/daemon.new 13:11:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:11:06 { 13:11:06 "registry-mirrors": [ 13:11:06 "https://nexus3.edgexfoundry.org:10001" 13:11:06 ], 13:11:06 "bip": "10.250.0.254/24", 13:11:06 "hosts": [ 13:11:06 "tcp://0.0.0.0:5555", 13:11:06 "unix:///var/run/docker.sock" 13:11:06 ], 13:11:06 "mtu": 1458, 13:11:06 "selinux-enabled": true, 13:11:06 "seccomp-profile": "/etc/docker/seccomp.json" 13:11:06 } [Pipeline] // lock [Pipeline] } 13:11:06 $ docker stop --time=1 b1d12be1d195a400e54b11ed64c96db193213dcd9379ca4361a194dbcf5a498a 13:11:07 $ docker rm -f b1d12be1d195a400e54b11ed64c96db193213dcd9379ca4361a194dbcf5a498a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:11:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:11:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:26 provisioning config files... 13:11:26 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config8028521249915483242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:26 ---> docker-login.sh 13:11:26 nexus3.edgexfoundry.org:10001 13:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:27 Configure a credential helper to remove this warning. See 13:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:27 13:11:27 Login Succeeded 13:11:27 nexus3.edgexfoundry.org:10002 13:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:28 Configure a credential helper to remove this warning. See 13:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:28 13:11:28 Login Succeeded 13:11:28 nexus3.edgexfoundry.org:10003 13:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:28 Configure a credential helper to remove this warning. See 13:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:28 13:11:28 Login Succeeded 13:11:28 nexus3.edgexfoundry.org:10004 13:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:28 Configure a credential helper to remove this warning. See 13:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:28 13:11:28 Login Succeeded 13:11:28 docker.io 13:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:29 Configure a credential helper to remove this warning. See 13:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:29 13:11:29 Login Succeeded 13:11:29 ---> docker-login.sh ends [Pipeline] } 13:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:11:30 ========================================================= 13:11:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:11:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:11:31 Sending build context to Docker daemon 682.5kB 13:11:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:11:31 Step 2/13 : FROM ${BASE} AS builder 13:11:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:11:31 b3c136eddcbf: Pulling fs layer 13:11:31 c0a3192eca97: Pulling fs layer 13:11:31 a050256f5b6f: Pulling fs layer 13:11:31 656be50a0ddc: Pulling fs layer 13:11:31 2bbca73fdf42: Pulling fs layer 13:11:31 46d945488cbd: Pulling fs layer 13:11:31 8a5474983e97: Pulling fs layer 13:11:31 329c88fbcd65: Pulling fs layer 13:11:31 46d945488cbd: Waiting 13:11:31 8a5474983e97: Waiting 13:11:31 656be50a0ddc: Waiting 13:11:31 329c88fbcd65: Waiting 13:11:31 2bbca73fdf42: Waiting 13:11:31 a050256f5b6f: Verifying Checksum 13:11:31 a050256f5b6f: Download complete 13:11:31 c0a3192eca97: Verifying Checksum 13:11:31 c0a3192eca97: Download complete 13:11:31 2bbca73fdf42: Download complete 13:11:31 46d945488cbd: Download complete 13:11:31 b3c136eddcbf: Verifying Checksum 13:11:31 b3c136eddcbf: Download complete 13:11:32 b3c136eddcbf: Pull complete 13:11:32 329c88fbcd65: Verifying Checksum 13:11:32 329c88fbcd65: Download complete 13:11:32 c0a3192eca97: Pull complete 13:11:33 a050256f5b6f: Pull complete 13:11:33 8a5474983e97: Verifying Checksum 13:11:33 8a5474983e97: Download complete 13:11:33 656be50a0ddc: Verifying Checksum 13:11:46 656be50a0ddc: Pull complete 13:11:46 2bbca73fdf42: Pull complete 13:11:46 46d945488cbd: Pull complete 13:11:53 8a5474983e97: Pull complete 13:11:56 329c88fbcd65: Pull complete 13:11:56 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 13:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:11:56 ---> ff4287adb874 13:11:56 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:11:56 ---> Running in 15e027e1bdb0 13:11:56 Removing intermediate container 15e027e1bdb0 13:11:56 ---> 1a6f93fdc5f7 13:11:56 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:11:56 ---> Running in ff822f9e8adc 13:11:57 Removing intermediate container ff822f9e8adc 13:11:57 ---> 2db6c0bf621a 13:11:57 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:11:57 ---> Running in 209762270c06 13:11:57 Removing intermediate container 209762270c06 13:11:57 ---> 00153a34b1aa 13:11:57 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:11:57 ---> Running in ca62ab27bb75 13:11:59 Removing intermediate container ca62ab27bb75 13:11:59 ---> 012188bc12f6 13:11:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:11:59 ---> Running in 3d292cce25d0 13:12:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:12:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:12:02 OK: 221 MiB in 51 packages 13:12:03 Removing intermediate container 3d292cce25d0 13:12:03 ---> 8e0ecb5ec629 13:12:03 Step 8/13 : WORKDIR /app 13:12:03 ---> Running in 5db447bfc234 13:12:03 Removing intermediate container 5db447bfc234 13:12:03 ---> f8b5b0cd3690 13:12:03 Step 9/13 : COPY go.mod vendor* ./ 13:12:03 ---> eddbc13a0985 13:12:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:04 ---> Running in b70dd27d8aaf 13:12:51 Removing intermediate container b70dd27d8aaf 13:12:51 ---> 52d9c2912610 13:12:51 Step 11/13 : COPY . . 13:12:51 ---> 5a222eb3360b 13:12:51 Step 12/13 : ARG MAKE="make build" 13:12:51 ---> Running in 49f9c2cf8ca8 13:12:51 Removing intermediate container 49f9c2cf8ca8 13:12:51 ---> 5323cdad130f 13:12:51 Step 13/13 : RUN $MAKE 13:12:51 ---> Running in 3ab4780414aa 13:12:52 noop 13:12:53 Removing intermediate container 3ab4780414aa 13:12:53 ---> 56d355f4cc56 13:12:53 Successfully built 56d355f4cc56 13:12:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:54 + docker inspect -f . ci-base-image-arm64 13:12:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:54 prd-ubuntu20.04-docker-arm64-4c-16g-22141 does not seem to be running inside a container 13:12:54 $ 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:12:55 $ docker top 803ea0306d5b381196c937a6fbeb94edeb005f05d8fa0b1c42d43375fe81dffb -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:56 + go version 13:12:56 go version go1.18.3 linux/arm64 [Pipeline] } 13:12:56 $ docker stop --time=1 803ea0306d5b381196c937a6fbeb94edeb005f05d8fa0b1c42d43375fe81dffb 13:12:58 $ docker rm -f 803ea0306d5b381196c937a6fbeb94edeb005f05d8fa0b1c42d43375fe81dffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:59 + docker inspect -f . ci-base-image-arm64 13:12:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:59 prd-ubuntu20.04-docker-arm64-4c-16g-22141 does not seem to be running inside a container 13:12:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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:13:00 $ docker top 98eff69146f7d92897eef5e5e9fd1bc8f8bfb1c2e8649cad54f0949f9b9a34c9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:01 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 13:13:02 + make test 13:13:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:14:24 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:14:24 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.148s coverage: 86.2% of statements 13:14:24 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:14:28 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.708s coverage: 71.9% of statements 13:14:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:14:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:14:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:14:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:14:51 ./bin/test-attribution.sh 13:14:51 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 13:14:51 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 13:14:51 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 13:14:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:14:51 $ docker stop --time=1 98eff69146f7d92897eef5e5e9fd1bc8f8bfb1c2e8649cad54f0949f9b9a34c9 13:14:53 $ docker rm -f 98eff69146f7d92897eef5e5e9fd1bc8f8bfb1c2e8649cad54f0949f9b9a34c9 [Pipeline] // withDockerContainer [Pipeline] sh 13:14:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:14:54 Warning: overwriting stash ‘coverage-report’ 13:14:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:14:55 + ls -al . 13:14:55 total 228 13:14:55 drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 13:13 . 13:14:55 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 13:10 .. 13:14:55 -rw-rw-r-- 1 jenkins jenkins 262 Aug 8 13:10 .dockerignore 13:14:55 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 13:11 .git 13:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 13:10 .github 13:14:55 -rw-rw-r-- 1 jenkins jenkins 788 Aug 8 13:10 .gitignore 13:14:55 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 13:10 .golangci.yml 13:14:55 -rw-rw-r-- 1 jenkins jenkins 9546 Aug 8 13:10 Attribution.txt 13:14:55 -rw-rw-r-- 1 jenkins jenkins 2487 Aug 8 13:10 CHANGELOG.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 8 13:10 Dockerfile 13:14:55 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 13:10 GOVERNANCE.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 687 Aug 8 13:10 Jenkinsfile 13:14:55 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 8 13:10 LICENSE 13:14:55 -rw-rw-r-- 1 jenkins jenkins 2949 Aug 8 13:10 Makefile 13:14:55 -rw-rw-r-- 1 jenkins jenkins 617 Aug 8 13:10 OWNERS.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 30359 Aug 8 13:10 README.md 13:14:55 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 13:08 VERSION 13:14:55 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 13:10 bin 13:14:55 -rw-r--r-- 1 jenkins jenkins 41008 Aug 8 13:14 coverage.out 13:14:55 -rw-rw-r-- 1 jenkins jenkins 3677 Aug 8 13:10 go.mod 13:14:55 -rw-rw-r-- 1 jenkins jenkins 37565 Aug 8 13:10 go.sum 13:14:55 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 13:10 images 13:14:55 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 13:10 internal 13:14:55 -rw-rw-r-- 1 jenkins jenkins 531 Aug 8 13:10 main.go 13:14:55 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 13:10 res 13:14:55 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 13:10 snap 13:14:55 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 13:10 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:56 + 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=8df5d03a4914f07961f125d26da8cb5b41d402c9 --label arch=arm64 --label version=0.0.0 . 13:14:56 Sending build context to Docker daemon 682.5kB 13:14:56 Step 1/31 : ARG BASE=golang:1.18-alpine3.16 13:14:56 Step 2/31 : FROM ${BASE} AS builder 13:14:56 ---> 56d355f4cc56 13:14:56 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:14:56 ---> Running in d9d93ef58e94 13:14:56 Removing intermediate container d9d93ef58e94 13:14:56 ---> 56a2eaed93f2 13:14:56 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:14:56 ---> Running in e16abc9922f9 13:14:57 Removing intermediate container e16abc9922f9 13:14:57 ---> 4b3d6e33a449 13:14:57 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:14:57 ---> Running in a8fcfd77ff78 13:14:57 Removing intermediate container a8fcfd77ff78 13:14:57 ---> babcc3405e1d 13:14:57 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:57 ---> Running in 59e4a7e929b9 13:14:59 Removing intermediate container 59e4a7e929b9 13:14:59 ---> b906e73835a5 13:14:59 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:59 ---> Running in 81aff9c9dfa0 13:15:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:15:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:15:02 OK: 221 MiB in 51 packages 13:15:03 Removing intermediate container 81aff9c9dfa0 13:15:03 ---> f3311cb9e51f 13:15:03 Step 8/31 : WORKDIR /app 13:15:03 ---> Running in b30c80b12778 13:15:03 Removing intermediate container b30c80b12778 13:15:03 ---> 40ff2b3e8edd 13:15:03 Step 9/31 : COPY go.mod vendor* ./ 13:15:03 ---> b396972019a4 13:15:03 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:04 ---> Running in a57743641c6c 13:15:05 Removing intermediate container a57743641c6c 13:15:05 ---> 745ee88741b2 13:15:05 Step 11/31 : COPY . . 13:15:06 ---> d7da2cf48755 13:15:06 Step 12/31 : ARG MAKE="make build" 13:15:06 ---> Running in 9e9556c85583 13:15:06 Removing intermediate container 9e9556c85583 13:15:06 ---> 70ed181ce4bc 13:15:06 Step 13/31 : RUN $MAKE 13:15:06 ---> Running in e1c02f6d3f79 13:15:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.28 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 13:17:14 Removing intermediate container e1c02f6d3f79 13:17:14 ---> 111fd97309c0 13:17:14 Step 14/31 : FROM alpine:3.14 13:17:14 3.14: Pulling from library/alpine 13:17:14 f4bf3852c6cc: Pulling fs layer 13:17:14 f4bf3852c6cc: Verifying Checksum 13:17:14 f4bf3852c6cc: Download complete 13:17:14 f4bf3852c6cc: Pull complete 13:17:14 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 13:17:14 Status: Downloaded newer image for alpine:3.14 13:17:14 ---> f19c924ebacc 13:17:14 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:17:14 ---> Running in ce730aa8db92 13:17:14 Removing intermediate container ce730aa8db92 13:17:14 ---> 5c9bc5cbddb8 13:17:14 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:17:14 ---> Running in 26ca1e0532ea 13:17:14 Removing intermediate container 26ca1e0532ea 13:17:14 ---> db38fb9bc473 13:17:14 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:17:14 ---> Running in 1a24a7d096a4 13:17:14 Removing intermediate container 1a24a7d096a4 13:17:14 ---> 6f020fe27166 13:17:14 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:17:14 ---> Running in 6e784947cf4c 13:17:14 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:17:14 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:17:15 (1/7) Installing ca-certificates (20220614-r0) 13:17:15 (2/7) Installing dumb-init (1.2.5-r1) 13:17:15 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:17:16 (4/7) Installing libsodium (1.0.18-r0) 13:17:16 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:17:16 (6/7) Installing libzmq (4.3.4-r0) 13:17:16 (7/7) Installing zeromq (4.3.4-r0) 13:17:16 Executing busybox-1.33.1-r8.trigger 13:17:16 Executing ca-certificates-20220614-r0.trigger 13:17:16 OK: 9 MiB in 21 packages 13:17:18 Removing intermediate container 6e784947cf4c 13:17:18 ---> 7378f9224e82 13:17:18 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:17:18 ---> d969927a473f 13:17:18 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:17:19 ---> 259a8198fcc8 13:17:19 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:17:19 ---> fd493718faa0 13:17:19 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:17:20 ---> 63776bab7b7c 13:17:20 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:17:21 ---> 52480756524e 13:17:21 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:17:21 ---> Running in 792266caef3b 13:17:23 Removing intermediate container 792266caef3b 13:17:23 ---> 3db352bb0b1b 13:17:23 Step 25/31 : VOLUME /cache 13:17:23 ---> Running in 72a781443620 13:17:23 Removing intermediate container 72a781443620 13:17:23 ---> ed90c7808f9e 13:17:23 Step 26/31 : EXPOSE 59711 13:17:23 ---> Running in 33e93a0ff559 13:17:24 Removing intermediate container 33e93a0ff559 13:17:24 ---> 6e7202c00537 13:17:24 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:17:24 ---> Running in 01282c5007af 13:17:24 Removing intermediate container 01282c5007af 13:17:24 ---> 5bc520a0a747 13:17:24 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:17:24 ---> Running in c58dd3590ab5 13:17:24 Removing intermediate container c58dd3590ab5 13:17:24 ---> 048a3d928de0 13:17:24 Step 29/31 : LABEL arch=arm64 13:17:24 ---> Running in 91db5e3aee07 13:17:24 Removing intermediate container 91db5e3aee07 13:17:24 ---> a9204d5c275c 13:17:24 Step 30/31 : LABEL git_sha=8df5d03a4914f07961f125d26da8cb5b41d402c9 13:17:25 ---> Running in de7b4054fc79 13:17:25 Removing intermediate container de7b4054fc79 13:17:25 ---> d99c5424c8fa 13:17:25 Step 31/31 : LABEL version=0.0.0 13:17:25 ---> Running in 63ec5f571bee 13:17:25 Removing intermediate container 63ec5f571bee 13:17:25 ---> 6d7708624db9 13:17:25 [Warning] One or more build-args [ARCH] were not consumed 13:17:25 Successfully built 6d7708624db9 13:17:25 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:17:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:17:26 13:17:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:17:27 arm64: Pulling from edgex-lftools-log-publisher 13:17:27 8998bd30e6a1: Pulling fs layer 13:17:27 04944245beec: Pulling fs layer 13:17:27 699f458cf7ca: Pulling fs layer 13:17:27 765212b225bb: Pulling fs layer 13:17:27 f23df028b6ca: Pulling fs layer 13:17:27 d65c8cfc05b1: Pulling fs layer 13:17:27 2437ff75d9bd: Pulling fs layer 13:17:27 f23df028b6ca: Waiting 13:17:27 765212b225bb: Waiting 13:17:27 d65c8cfc05b1: Waiting 13:17:27 2437ff75d9bd: Waiting 13:17:27 04944245beec: Verifying Checksum 13:17:27 04944245beec: Download complete 13:17:27 765212b225bb: Verifying Checksum 13:17:27 765212b225bb: Download complete 13:17:27 f23df028b6ca: Verifying Checksum 13:17:27 f23df028b6ca: Download complete 13:17:27 d65c8cfc05b1: Verifying Checksum 13:17:27 d65c8cfc05b1: Download complete 13:17:27 699f458cf7ca: Verifying Checksum 13:17:27 699f458cf7ca: Download complete 13:17:27 8998bd30e6a1: Verifying Checksum 13:17:27 8998bd30e6a1: Download complete 13:17:30 2437ff75d9bd: Verifying Checksum 13:17:30 2437ff75d9bd: Download complete 13:17:31 8998bd30e6a1: Pull complete 13:17:32 04944245beec: Pull complete 13:17:33 699f458cf7ca: Pull complete 13:17:34 765212b225bb: Pull complete 13:17:35 f23df028b6ca: Pull complete 13:17:35 d65c8cfc05b1: Pull complete 13:17:50 2437ff75d9bd: Pull complete 13:17:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:17:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:17:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:50 prd-ubuntu20.04-docker-arm64-4c-16g-22141 does not seem to be running inside a container 13:17:50 $ 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:17:53 $ docker top 0fd7eda2904f0033c6dee864a88f7341bf4f9eec1a3a4f7198c026cc788c76d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:54 ---> job-cost.sh 13:17:54 lf-activate-venv: SKIPPING 13:17:54 INFO: No Stack... 13:17:54 INFO: Retrieving Pricing Info for: v3-standard-4 13:17:55 INFO: Archiving Costs [Pipeline] sh 13:17:56 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:17:56 + cut -d, -f6 [Pipeline] lock 13:17:56 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] 13:17:56 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] did not exist. Created. 13:17:56 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:17:57 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-b2e6c7dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:17:58 + echo total: 0.10999999940395355 [Pipeline] stash 13:17:58 Warning: overwriting stash ‘stack-cost’ 13:17:58 Stashed 1 file(s) [Pipeline] } 13:17:58 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-104-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:17:58 $ docker stop --time=1 0fd7eda2904f0033c6dee864a88f7341bf4f9eec1a3a4f7198c026cc788c76d5 13:17:59 $ docker rm -f 0fd7eda2904f0033c6dee864a88f7341bf4f9eec1a3a4f7198c026cc788c76d5 [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:18:00 provisioning config files... 13:18:00 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/config8832367577249844203tmp [Pipeline] { [Pipeline] sh 13:18:01 + set +x 13:18:01 + curl -s https://codecov.io/bash 13:18:01 + bash -s -- 13:18:01 13:18:01 _____ _ 13:18:01 / ____| | | 13:18:01 | | ___ __| | ___ ___ _____ __ 13:18:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:18:01 | |___| (_) | (_| | __/ (_| (_) \ V / 13:18:01 \_____\___/ \__,_|\___|\___\___/ \_/ 13:18:01 Bash-1.0.6 13:18:01 13:18:01 13:18:01 ==> git version 2.25.1 found 13:18:01 ==> 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:18:01 Release-Date: 2020-01-08 13:18:01 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:18:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:18:01 ==> Jenkins CI detected. 13:18:01 current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-104 13:18:01 project root: . 13:18:01 --> token set from env 13:18:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:18:01 ==> Running gcov in . (disable via -X gcov) 13:18:01 ==> Python coveragepy not found 13:18:01 ==> Searching for coverage reports in: 13:18:01 + . 13:18:01 -> Found 1 reports 13:18:01 ==> Detecting git/mercurial file structure 13:18:01 ==> Reading reports 13:18:01 + ./coverage.out bytes=41008 13:18:01 ==> Appending adjustments 13:18:01 https://docs.codecov.io/docs/fixing-reports 13:18:01 + Found adjustments 13:18:01 ==> Gzipping contents 13:18:01 12K /tmp/codecov.fzXzOC.gz 13:18:01 ==> Uploading reports 13:18:01 url: https://codecov.io 13:18:01 query: branch=PR-104&commit=8df5d03a4914f07961f125d26da8cb5b41d402c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-104%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=104&job=&cmd_args= 13:18:01 -> Pinging Codecov 13:18:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-104&commit=8df5d03a4914f07961f125d26da8cb5b41d402c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-104%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=104&job=&cmd_args= 13:18:02 -> Uploading to 13:18:02 https://storage.googleapis.com/codecov/v4/raw/2022-08-08/581DD39554BDF9B6E22D074273EAD858/8df5d03a4914f07961f125d26da8cb5b41d402c9/26182f99-5dd7-4f61-ba12-a48afe8b8ba9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220808T131801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3bef14717d382c1165ec49c665d54976aba536eb19c404458ebf96a3e6f5931 13:18:02 % Total % Received % Xferd Average Speed Time Time Time Current 13:18:02 Dload Upload Total Spent Left Speed 13:18:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11402 0 0 100 11402 0 39728 --:--:-- --:--:-- --:--:-- 39728 13:18:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/8df5d03a4914f07961f125d26da8cb5b41d402c9 [Pipeline] } 13:18:02 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:18:04 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-104/archives ] 13:18:04 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-104/archives 13:18:04 total 16 13:18:04 drwxr-xr-x 3 root root 4096 Aug 8 13:11 . 13:18:04 drwxrwxr-x 12 jenkins jenkins 4096 Aug 8 13:11 .. 13:18:04 drwxr-xr-x 2 root root 4096 Aug 8 13:11 cost 13:18:04 -rw-r--r-- 1 root root 95 Aug 8 13:11 cost.csv 13:18:04 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-104/archives 13:18:04 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-104/archives 13:18:04 total 16 13:18:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 13:11 . 13:18:04 drwxrwxr-x 12 jenkins jenkins 4096 Aug 8 13:11 .. 13:18:04 drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 13:11 cost 13:18:04 -rw-r--r-- 1 jenkins jenkins 95 Aug 8 13:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:18:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:18:05 ---> package-listing.sh 13:18:05 ++ facter osfamily 13:18:05 ++ tr '[:upper:]' '[:lower:]' 13:18:05 + OS_FAMILY=debian 13:18:05 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-104 13:18:05 + START_PACKAGES=/tmp/packages_start.txt 13:18:05 + END_PACKAGES=/tmp/packages_end.txt 13:18:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:18:05 + PACKAGES=/tmp/packages_start.txt 13:18:05 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-104 ']' 13:18:05 + PACKAGES=/tmp/packages_end.txt 13:18:05 + case "${OS_FAMILY}" in 13:18:05 + dpkg -l 13:18:05 + grep '^ii' 13:18:05 + '[' -f /tmp/packages_start.txt ']' 13:18:05 + '[' -f /tmp/packages_end.txt ']' 13:18:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:18:05 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-104 ']' 13:18:05 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-104/archives/ 13:18:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-104/archives/ [Pipeline] echo 13:18:05 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-104/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:18:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:18:06 prd-ubuntu20.04-docker-8c-8g-22140 does not seem to be running inside a container 13:18:06 $ 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-104/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-104 -v /w/workspace/y_app-rfid-llrp-inventory_PR-104:/w/workspace/y_app-rfid-llrp-inventory_PR-104:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-104@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:18:06 $ docker top 70b2eba83277541e71d0f88097338a4ff75fbff9d353af0d710eb41b26a53862 -eo pid,comm [Pipeline] { [Pipeline] sh 13:18:07 + touch /tmp/pre-build-complete [Pipeline] sh 13:18:07 + mkdir -p /var/log/sysstat [Pipeline] sh 13:18:07 + ls /var/log/sa-host 13:18:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:18:08 provisioning config files... 13:18:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-104@tmp/config5928359698057840914tmp [Pipeline] { [Pipeline] echo 13:18:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:18:08 ---> create-netrc.sh [Pipeline] } 13:18:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:18:08 ---> python-tools-install.sh [Pipeline] echo 13:18:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:18:09 ---> sudo-logs.sh 13:18:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:18:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:18:09 ---> job-cost.sh 13:18:09 lf-activate-venv: SKIPPING 13:18:09 DEBUG: total: 0.2199999988079071 13:18:09 INFO: Retrieving Stack Cost... 13:18:10 INFO: Retrieving Pricing Info for: v3-standard-8 13:18:10 INFO: Archiving Costs [Pipeline] echo 13:18:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:18:10 ---> logs-deploy.sh 13:18:10 lf-activate-venv: SKIPPING 13:18:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-104/1 13:18:10 INFO: archiving workspace using pattern(s): 13:18:11 Archives upload complete. 13:18:12 INFO: archiving logs to Nexus 13:18:12 ---> uname -a: 13:18:12 Linux prd-ubuntu20-04-docker-8c-8g-22140 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 13:18:12 13:18:12 13:18:12 ---> lscpu: 13:18:12 Architecture: x86_64 13:18:12 CPU op-mode(s): 32-bit, 64-bit 13:18:12 Byte Order: Little Endian 13:18:12 Address sizes: 40 bits physical, 48 bits virtual 13:18:12 CPU(s): 8 13:18:12 On-line CPU(s) list: 0-7 13:18:12 Thread(s) per core: 1 13:18:12 Core(s) per socket: 1 13:18:12 Socket(s): 8 13:18:12 NUMA node(s): 1 13:18:12 Vendor ID: AuthenticAMD 13:18:12 CPU family: 23 13:18:12 Model: 49 13:18:12 Model name: AMD EPYC-Rome Processor 13:18:12 Stepping: 0 13:18:12 CPU MHz: 2799.994 13:18:12 BogoMIPS: 5599.98 13:18:12 Virtualization: AMD-V 13:18:12 Hypervisor vendor: KVM 13:18:12 Virtualization type: full 13:18:12 L1d cache: 256 KiB 13:18:12 L1i cache: 256 KiB 13:18:12 L2 cache: 4 MiB 13:18:12 L3 cache: 128 MiB 13:18:12 NUMA node0 CPU(s): 0-7 13:18:12 Vulnerability Itlb multihit: Not affected 13:18:12 Vulnerability L1tf: Not affected 13:18:12 Vulnerability Mds: Not affected 13:18:12 Vulnerability Meltdown: Not affected 13:18:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:18:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:18:12 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:18:12 Vulnerability Srbds: Not affected 13:18:12 Vulnerability Tsx async abort: Not affected 13:18:12 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 13:18:12 13:18:12