Pull request #85 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b+ea61fea914ab8199b883f73cbe196a6b29cde9f7 (04774999de7fd8dc0226ac7de926ec63ad1ea77e) 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-ssh8313504705715868510.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh16411446721027056397.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-85/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-85/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12793813924822912908.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-85/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2066652765763218916.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh13578363862974157559.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-85/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-85/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16592231903053011498.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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.17 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-1150 in /w/workspace/ry_app-rfid-llrp-inventory_PR-85 [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/ry_app-rfid-llrp-inventory_PR-85 # 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 ea61fea914ab8199b883f73cbe196a6b29cde9f7 into PR head commit 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b Merge succeeded, producing 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b Checking out Revision 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b (PR-85) > 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/85/head:refs/remotes/origin/PR-85 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b # 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 ea61fea914ab8199b883f73cbe196a6b29cde9f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:10:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:10:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:10:24 ========================================================= 13:10:24 EdgeX Global Pipelines Version Info 13:10:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:10:25 ------------------- 13:10:25 stable info: 13:10:25 ------------------- 13:10:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:10:25 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 13:10:25 Message: update stable to v1.0.232 13:10:26 ------------------- 13:10:26 experimental info: 13:10:26 ------------------- 13:10:26 Commited By: **** collab-it+edgex@linuxfoundation.org 13:10:26 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 13:10:26 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f694fc [Pipeline] echo 13:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:28 provisioning config files... 13:10:28 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/config6364999401706060075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:28 ---> docker-login.sh 13:10:28 nexus3.edgexfoundry.org:10001 13:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:28 Configure a credential helper to remove this warning. See 13:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:28 13:10:28 Login Succeeded 13:10:28 nexus3.edgexfoundry.org:10002 13:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:28 Configure a credential helper to remove this warning. See 13:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:28 13:10:28 Login Succeeded 13:10:28 nexus3.edgexfoundry.org:10003 13:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:28 Configure a credential helper to remove this warning. See 13:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:28 13:10:28 Login Succeeded 13:10:28 nexus3.edgexfoundry.org:10004 13:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:29 Configure a credential helper to remove this warning. See 13:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:29 13:10:29 Login Succeeded 13:10:29 docker.io 13:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:29 Configure a credential helper to remove this warning. See 13:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:29 13:10:29 Login Succeeded 13:10:29 ---> docker-login.sh ends [Pipeline] } 13:10:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:10:30 + git rev-list -1 --merges 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b~1..4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b [Pipeline] echo 13:10:30 -----------> git rev-list -1 --merges 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b~1..4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b [false] [Pipeline] sh 13:10:30 + git log --format=format:%s -1 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b [Pipeline] echo 13:10:30 ========================================================= 13:10:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:10:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:10:31 + git log --format=format:%s -1 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b [Pipeline] echo 13:10:31 [semverPrep] GIT_COMMIT: 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 [Pipeline] echo 13:10:31 [semverPrep] This is not a build commit. [Pipeline] sh 13:10:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:10:31 + grep -v github /etc/ssh/ssh_known_hosts 13:10:31 + [ -e /tmp/ssh_known_hosts ] 13:10:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:10:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:10:31 + sudo tee -a /etc/ssh/ssh_known_hosts 13:10:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:10:32 13:10:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:10:32 0.1.4: Pulling from edgex-devops/py-git-semver 13:10:32 42c077c10790: Pulling fs layer 13:10:32 f63e77b7563a: Pulling fs layer 13:10:32 bd5fdadae976: Pulling fs layer 13:10:32 205491f53016: Pulling fs layer 13:10:32 df18705c85c3: Pulling fs layer 13:10:32 bdb3f477010e: Pulling fs layer 13:10:32 c8a8fc8e1c8f: Pulling fs layer 13:10:32 2c6e9b1d212d: Pulling fs layer 13:10:32 bdb8f0575790: Pulling fs layer 13:10:32 386e3cb2ff24: Pulling fs layer 13:10:32 2343380bae48: Pulling fs layer 13:10:32 205491f53016: Waiting 13:10:32 bdb8f0575790: Waiting 13:10:32 df18705c85c3: Waiting 13:10:32 386e3cb2ff24: Waiting 13:10:32 2343380bae48: Waiting 13:10:32 bdb3f477010e: Waiting 13:10:32 c8a8fc8e1c8f: Waiting 13:10:32 2c6e9b1d212d: Waiting 13:10:32 f63e77b7563a: Verifying Checksum 13:10:32 f63e77b7563a: Download complete 13:10:32 205491f53016: Verifying Checksum 13:10:32 205491f53016: Download complete 13:10:32 df18705c85c3: Verifying Checksum 13:10:32 df18705c85c3: Download complete 13:10:32 bdb3f477010e: Download complete 13:10:32 bd5fdadae976: Verifying Checksum 13:10:32 bd5fdadae976: Download complete 13:10:32 2c6e9b1d212d: Verifying Checksum 13:10:32 2c6e9b1d212d: Download complete 13:10:32 bdb8f0575790: Verifying Checksum 13:10:32 bdb8f0575790: Download complete 13:10:32 386e3cb2ff24: Verifying Checksum 13:10:32 386e3cb2ff24: Download complete 13:10:32 2343380bae48: Verifying Checksum 13:10:32 2343380bae48: Download complete 13:10:32 42c077c10790: Verifying Checksum 13:10:32 42c077c10790: Download complete 13:10:33 c8a8fc8e1c8f: Verifying Checksum 13:10:33 c8a8fc8e1c8f: Download complete 13:10:34 42c077c10790: Pull complete 13:10:34 f63e77b7563a: Pull complete 13:10:35 bd5fdadae976: Pull complete 13:10:35 205491f53016: Pull complete 13:10:35 df18705c85c3: Pull complete 13:10:35 bdb3f477010e: Pull complete 13:10:37 c8a8fc8e1c8f: Pull complete 13:10:37 2c6e9b1d212d: Pull complete 13:10:37 bdb8f0575790: Pull complete 13:10:38 386e3cb2ff24: Pull complete 13:10:38 2343380bae48: Pull complete 13:10:38 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 13:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:10:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:38 prd-ubuntu20.04-docker-8c-8g-1150 does not seem to be running inside a container 13:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-85 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85:/w/workspace/ry_app-rfid-llrp-inventory_PR-85:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@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:10:39 $ docker top 9b7572d4fa36c02252a81cf2c2204a10b9f4ec4b9021dd099f443ed29c8fd800 -eo pid,comm 13:10:39 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:10:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:10:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:10:40 [ssh-agent] Looking for ssh-agent implementation... 13:10:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:10:40 $ docker exec 9b7572d4fa36c02252a81cf2c2204a10b9f4ec4b9021dd099f443ed29c8fd800 ssh-agent 13:10:40 SSH_AUTH_SOCK=/tmp/ssh-xcgM6GVQMI6v/agent.33 13:10:40 SSH_AGENT_PID=40 13:10:40 Running ssh-add (command line suppressed) 13:10:40 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/private_key_3542671246968642371.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/private_key_3542671246968642371.key) 13:10:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:10:40 + git tag --points-at HEAD [Pipeline] } 13:10:40 $ docker exec --env ******** --env ******** 9b7572d4fa36c02252a81cf2c2204a10b9f4ec4b9021dd099f443ed29c8fd800 ssh-agent -k 13:10:40 unset SSH_AUTH_SOCK; 13:10:40 unset SSH_AGENT_PID; 13:10:40 echo Agent pid 40 killed; 13:10:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:10:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:10:40 [ssh-agent] Looking for ssh-agent implementation... 13:10:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:10:41 $ docker exec 9b7572d4fa36c02252a81cf2c2204a10b9f4ec4b9021dd099f443ed29c8fd800 ssh-agent 13:10:41 SSH_AUTH_SOCK=/tmp/ssh-VLqZcV3KK2PI/agent.73 13:10:41 SSH_AGENT_PID=79 13:10:41 Running ssh-add (command line suppressed) 13:10:41 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/private_key_6898214790774634122.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/private_key_6898214790774634122.key) 13:10:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:10:41 + git semver init 13:10:41 2022-06-06 13:10:41,908 [run_init] DEBUG init version:0.0.0 force:False 13:10:41 2022-06-06 13:10:41,909 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver 13:10:41 2022-06-06 13:10:41,910 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver 13:10:41 2022-06-06 13:10:41,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-85, universal_newlines=False, shell=None, istream=None) 13:10:42 2022-06-06 13:10:42,890 [append_file] DEBUG append to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-85/.git/info/exclude 13:10:42 2022-06-06 13:10:42,891 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver/PR-85 with force:False 13:10:42 2022-06-06 13:10:42,891 [write_file] DEBUG write to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver/PR-85 13:10:42 2022-06-06 13:10:42,895 [execute] INFO git cat-file --batch-check 13:10:42 2022-06-06 13:10:42,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver, universal_newlines=False, shell=None, istream=) 13:10:42 2022-06-06 13:10:42,903 [execute] INFO git cat-file --batch 13:10:42 2022-06-06 13:10:42,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver, universal_newlines=False, shell=None, istream=) 13:10:42 2022-06-06 13:10:42,909 [read_version] DEBUG read version from /w/workspace/ry_app-rfid-llrp-inventory_PR-85/.semver/PR-85 13:10:42 0.0.0 [Pipeline] } 13:10:43 $ docker exec --env ******** --env ******** 9b7572d4fa36c02252a81cf2c2204a10b9f4ec4b9021dd099f443ed29c8fd800 ssh-agent -k 13:10:43 unset SSH_AUTH_SOCK; 13:10:43 unset SSH_AGENT_PID; 13:10:43 echo Agent pid 79 killed; 13:10:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:10:43 + git semver [Pipeline] } 13:10:44 $ docker stop --time=1 9b7572d4fa36c02252a81cf2c2204a10b9f4ec4b9021dd099f443ed29c8fd800 13:10:45 $ docker rm -f 9b7572d4fa36c02252a81cf2c2204a10b9f4ec4b9021dd099f443ed29c8fd800 [Pipeline] // withDockerContainer [Pipeline] sh 13:10:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:10:46 Stashed 1 file(s) [Pipeline] echo 13:10:46 [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:10:46 provisioning config files... 13:10:46 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/config5852821786809327694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:47 ---> docker-login.sh 13:10:47 nexus3.edgexfoundry.org:10001 13:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 nexus3.edgexfoundry.org:10002 13:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 nexus3.edgexfoundry.org:10003 13:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 nexus3.edgexfoundry.org:10004 13:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 docker.io 13:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 ---> docker-login.sh ends [Pipeline] } 13:10:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:10:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:10:48 ========================================================= 13:10:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:10:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:10:48 Sending build context to Docker daemon 12.43MB 13:10:48 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:10:48 Step 2/13 : FROM ${BASE} AS builder 13:10:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:10:48 59bf1c3509f3: Pulling fs layer 13:10:48 666ba61612fd: Pulling fs layer 13:10:48 8ed8ca486205: Pulling fs layer 13:10:48 cc1cd167ecdc: Pulling fs layer 13:10:48 c516ae0d96e1: Pulling fs layer 13:10:48 684cea983483: Pulling fs layer 13:10:48 dd3240ac7de5: Pulling fs layer 13:10:48 c516ae0d96e1: Waiting 13:10:48 684cea983483: Waiting 13:10:48 b1e948a4e11c: Pulling fs layer 13:10:48 a8fd76ee1af6: Pulling fs layer 13:10:48 dd3240ac7de5: Waiting 13:10:48 646ad004c059: Pulling fs layer 13:10:48 646ad004c059: Waiting 13:10:48 a8fd76ee1af6: Waiting 13:10:48 8ed8ca486205: Verifying Checksum 13:10:48 8ed8ca486205: Download complete 13:10:48 666ba61612fd: Verifying Checksum 13:10:48 666ba61612fd: Download complete 13:10:48 c516ae0d96e1: Verifying Checksum 13:10:48 c516ae0d96e1: Download complete 13:10:48 684cea983483: Download complete 13:10:48 59bf1c3509f3: Download complete 13:10:48 dd3240ac7de5: Verifying Checksum 13:10:48 dd3240ac7de5: Download complete 13:10:48 b1e948a4e11c: Download complete 13:10:48 59bf1c3509f3: Pull complete 13:10:49 666ba61612fd: Pull complete 13:10:49 8ed8ca486205: Pull complete 13:10:49 646ad004c059: Verifying Checksum 13:10:49 646ad004c059: Download complete 13:10:49 cc1cd167ecdc: Verifying Checksum 13:10:49 cc1cd167ecdc: Download complete 13:10:49 a8fd76ee1af6: Verifying Checksum 13:10:49 a8fd76ee1af6: Download complete 13:10:53 cc1cd167ecdc: Pull complete 13:10:53 c516ae0d96e1: Pull complete 13:10:53 684cea983483: Pull complete 13:10:53 dd3240ac7de5: Pull complete 13:10:54 b1e948a4e11c: Pull complete 13:10:56 a8fd76ee1af6: Pull complete 13:10:56 646ad004c059: Pull complete 13:10:56 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 13:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:10:56 ---> 8f69c11f6b0c 13:10:56 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:10:58 ---> Running in 2b1c83bf59e1 13:10:58 Removing intermediate container 2b1c83bf59e1 13:10:58 ---> 91fda1b5f6fc 13:10:58 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:10:58 ---> Running in b2a4ee12fca8 13:10:58 Removing intermediate container b2a4ee12fca8 13:10:58 ---> 892214e97973 13:10:58 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:10:58 ---> Running in 9b033af00e40 13:10:59 Removing intermediate container 9b033af00e40 13:10:59 ---> c33a2e46dea3 13:10:59 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:59 ---> Running in f09c0398d2ff 13:10:59 Removing intermediate container f09c0398d2ff 13:10:59 ---> b542c04cf625 13:10:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:10:59 ---> Running in 1b2d5ef552a9 13:11:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:11:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:11:01 OK: 221 MiB in 52 packages 13:11:01 Still waiting to schedule task 13:11:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:11:01 Removing intermediate container 1b2d5ef552a9 13:11:01 ---> f523ed1b0efe 13:11:01 Step 8/13 : WORKDIR /app 13:11:01 ---> Running in 79a2a5022ceb 13:11:01 Removing intermediate container 79a2a5022ceb 13:11:01 ---> ae09211e7292 13:11:01 Step 9/13 : COPY go.mod vendor* ./ 13:11:02 ---> 89ad5db8609e 13:11:02 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:11:02 ---> Running in 6590b33e0676 13:11:20 Removing intermediate container 6590b33e0676 13:11:20 ---> c0011c8daae3 13:11:20 Step 11/13 : COPY . . 13:11:20 ---> c38aefb95756 13:11:20 Step 12/13 : ARG MAKE="make build" 13:11:20 ---> Running in 78a257db9a4a 13:11:20 Removing intermediate container 78a257db9a4a 13:11:20 ---> 95805a046c60 13:11:20 Step 13/13 : RUN $MAKE 13:11:20 ---> Running in 798221ac2222 13:11:20 noop 13:11:20 Removing intermediate container 798221ac2222 13:11:20 ---> ca85eb485e7a 13:11:20 Successfully built ca85eb485e7a 13:11:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:27 + docker inspect -f . ci-base-image-x86_64 13:11:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:27 prd-ubuntu20.04-docker-8c-8g-1150 does not seem to be running inside a container 13:11:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-85 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85:/w/workspace/ry_app-rfid-llrp-inventory_PR-85:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@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:11:27 $ docker top 19849083b030bbdb6dc8744cbc3d67acd8739df646598500579b12a52e103bc2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:28 + go version 13:11:28 go version go1.17.7 linux/amd64 [Pipeline] } 13:11:28 $ docker stop --time=1 19849083b030bbdb6dc8744cbc3d67acd8739df646598500579b12a52e103bc2 13:11:29 $ docker rm -f 19849083b030bbdb6dc8744cbc3d67acd8739df646598500579b12a52e103bc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:30 + docker inspect -f . ci-base-image-x86_64 13:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:30 prd-ubuntu20.04-docker-8c-8g-1150 does not seem to be running inside a container 13:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-85 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85:/w/workspace/ry_app-rfid-llrp-inventory_PR-85:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@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:11:30 $ docker top a88004ee1b43b1c321a58c8364cc2f9123d5fd7bfe018100288ed8f6d6e178a3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:11:31 + make test 13:11:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:11:41 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:11:41 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.031s coverage: 86.2% of statements 13:11:41 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:11:43 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.551s coverage: 71.9% of statements 13:11:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:11:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:11:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:11:55 ./bin/test-attribution.sh [Pipeline] echo 13:11:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:11:55 $ docker stop --time=1 a88004ee1b43b1c321a58c8364cc2f9123d5fd7bfe018100288ed8f6d6e178a3 13:11:57 $ docker rm -f a88004ee1b43b1c321a58c8364cc2f9123d5fd7bfe018100288ed8f6d6e178a3 [Pipeline] // withDockerContainer [Pipeline] sh 13:11:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:11:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:11:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:11:59 + ls -al . 13:11:59 total 228 13:11:59 drwxrwxr-x 11 jenkins jenkins 4096 Jun 6 13:11 . 13:11:59 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 13:10 .. 13:11:59 -rw-rw-r-- 1 jenkins jenkins 262 Jun 6 13:10 .dockerignore 13:11:59 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 13:10 .git 13:11:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 13:10 .github 13:11:59 -rw-rw-r-- 1 jenkins jenkins 788 Jun 6 13:10 .gitignore 13:11:59 -rw-rw-r-- 1 jenkins jenkins 41 Jun 6 13:10 .golangci.yml 13:11:59 drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 13:10 .semver 13:11:59 -rw-rw-r-- 1 jenkins jenkins 9410 Jun 6 13:10 Attribution.txt 13:11:59 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 6 13:10 CHANGELOG.md 13:11:59 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 6 13:10 Dockerfile 13:11:59 -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 13:10 GOVERNANCE.md 13:11:59 -rw-rw-r-- 1 jenkins jenkins 687 Jun 6 13:10 Jenkinsfile 13:11:59 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 6 13:10 LICENSE 13:11:59 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 6 13:10 Makefile 13:11:59 -rw-rw-r-- 1 jenkins jenkins 617 Jun 6 13:10 OWNERS.md 13:11:59 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 6 13:10 README.md 13:11:59 -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 13:10 VERSION 13:11:59 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 13:10 bin 13:11:59 -rw-r--r-- 1 jenkins jenkins 41008 Jun 6 13:11 coverage.out 13:11:59 -rw-rw-r-- 1 jenkins jenkins 3424 Jun 6 13:10 go.mod 13:11:59 -rw-rw-r-- 1 jenkins jenkins 35581 Jun 6 13:10 go.sum 13:11:59 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 13:10 images 13:11:59 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 13:10 internal 13:11:59 -rw-rw-r-- 1 jenkins jenkins 531 Jun 6 13:10 main.go 13:11:59 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 13:10 res 13:11:59 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 13:10 snap 13:11:59 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 13:10 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:59 + 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=4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b --label arch=amd64 --label version=0.0.0 . 13:11:59 Sending build context to Docker daemon 12.43MB 13:11:59 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 13:11:59 Step 2/31 : FROM ${BASE} AS builder 13:11:59 ---> ca85eb485e7a 13:11:59 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:12:00 ---> Running in 8dee68a466d2 13:12:00 Removing intermediate container 8dee68a466d2 13:12:00 ---> 279a559b7959 13:12:00 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:12:00 ---> Running in bc0886068926 13:12:00 Removing intermediate container bc0886068926 13:12:00 ---> d271fc752ac0 13:12:00 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:12:00 ---> Running in cc56e761f113 13:12:00 Removing intermediate container cc56e761f113 13:12:00 ---> 2706666cfe98 13:12:00 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:12:00 ---> Running in 955c6d870cd8 13:12:00 Removing intermediate container 955c6d870cd8 13:12:00 ---> 421180bbd6da 13:12:00 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:12:00 ---> Running in 9c9dffb63d1d 13:12:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:12:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:12:02 OK: 221 MiB in 52 packages 13:12:02 Removing intermediate container 9c9dffb63d1d 13:12:02 ---> cd4db9e244ea 13:12:02 Step 8/31 : WORKDIR /app 13:12:02 ---> Running in 87c5d73b8619 13:12:02 Removing intermediate container 87c5d73b8619 13:12:02 ---> 8bcdb971ea54 13:12:02 Step 9/31 : COPY go.mod vendor* ./ 13:12:02 ---> ebca1df8e694 13:12:02 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:03 ---> Running in 8d9179f102c9 13:12:03 Removing intermediate container 8d9179f102c9 13:12:03 ---> d9183ffe847a 13:12:03 Step 11/31 : COPY . . 13:12:04 ---> b0db2f68aaf3 13:12:04 Step 12/31 : ARG MAKE="make build" 13:12:04 ---> Running in 91a2e7281a1d 13:12:04 Removing intermediate container 91a2e7281a1d 13:12:04 ---> 2a75eaa193ae 13:12:04 Step 13/31 : RUN $MAKE 13:12:04 ---> Running in 84b9bacfd977 13:12:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -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:12:26 Removing intermediate container 84b9bacfd977 13:12:26 ---> a0f9149a1e60 13:12:26 Step 14/31 : FROM alpine:3.14 13:12:26 3.14: Pulling from library/alpine 13:12:26 8663204ce13b: Pulling fs layer 13:12:26 8663204ce13b: Verifying Checksum 13:12:26 8663204ce13b: Download complete 13:12:26 8663204ce13b: Pull complete 13:12:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:12:26 Status: Downloaded newer image for alpine:3.14 13:12:26 ---> e04c818066af 13:12:26 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:12:26 ---> Running in 1f00bfd7c4f0 13:12:26 Removing intermediate container 1f00bfd7c4f0 13:12:26 ---> 8acc284e06e1 13:12:26 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:12:26 ---> Running in f9b5e0f709c3 13:12:26 Removing intermediate container f9b5e0f709c3 13:12:26 ---> bfbb7ee21712 13:12:26 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:12:26 ---> Running in 6abea417479d 13:12:26 Removing intermediate container 6abea417479d 13:12:26 ---> bde2837ec47d 13:12:26 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:12:26 ---> Running in a4ffc0448fb7 13:12:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:12:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:12:28 (1/7) Installing ca-certificates (20211220-r0) 13:12:28 (2/7) Installing dumb-init (1.2.5-r1) 13:12:28 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:12:28 (4/7) Installing libsodium (1.0.18-r0) 13:12:28 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:12:28 (6/7) Installing libzmq (4.3.4-r0) 13:12:28 (7/7) Installing zeromq (4.3.4-r0) 13:12:28 Executing busybox-1.33.1-r7.trigger 13:12:28 Executing ca-certificates-20211220-r0.trigger 13:12:28 OK: 9 MiB in 21 packages 13:12:29 Removing intermediate container a4ffc0448fb7 13:12:29 ---> 8c3db1e449fe 13:12:29 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:12:29 ---> 296927895328 13:12:29 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:12:29 ---> 171c7798dcd2 13:12:29 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:12:29 ---> 0deb7f8ce83f 13:12:29 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:12:30 ---> 00bf412fdff7 13:12:30 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:12:30 ---> ea37db3214dc 13:12:30 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:12:30 ---> Running in 74902572cb25 13:12:31 Removing intermediate container 74902572cb25 13:12:31 ---> 33456edfc4c1 13:12:31 Step 25/31 : VOLUME /cache 13:12:31 ---> Running in c03b53834b4a 13:12:31 Removing intermediate container c03b53834b4a 13:12:31 ---> 08a9f916bdc4 13:12:31 Step 26/31 : EXPOSE 59711 13:12:31 ---> Running in 52e9bb9ee42f 13:12:31 Removing intermediate container 52e9bb9ee42f 13:12:31 ---> 47b60cefffda 13:12:31 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:12:31 ---> Running in ec22fb2641ad 13:12:31 Removing intermediate container ec22fb2641ad 13:12:31 ---> e46a04051082 13:12:31 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:12:31 ---> Running in c74267d9ee18 13:12:31 Removing intermediate container c74267d9ee18 13:12:31 ---> 4c0783d70f4e 13:12:31 Step 29/31 : LABEL arch=amd64 13:12:32 ---> Running in ac4e2d2c42f9 13:12:32 Removing intermediate container ac4e2d2c42f9 13:12:32 ---> 26f36c95aac2 13:12:32 Step 30/31 : LABEL git_sha=4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b 13:12:32 ---> Running in e734bb5601d7 13:12:32 Removing intermediate container e734bb5601d7 13:12:32 ---> f7fb105a28c6 13:12:32 Step 31/31 : LABEL version=0.0.0 13:12:32 ---> Running in 7ef307a4086d 13:12:32 Removing intermediate container 7ef307a4086d 13:12:32 ---> ce57703d3117 13:12:32 [Warning] One or more build-args [ARCH] were not consumed 13:12:32 Successfully built ce57703d3117 13:12:32 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:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:33 13:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:33 latest: Pulling from edgex-lftools-log-publisher 13:12:33 5eb5b503b376: Pulling fs layer 13:12:33 5c69ac0246d0: Pulling fs layer 13:12:33 ec43610c2a17: Pulling fs layer 13:12:33 3a2ae6a8a46f: Pulling fs layer 13:12:33 33b1e0a273af: Pulling fs layer 13:12:33 5d3b04190fa2: Pulling fs layer 13:12:33 2f39f015ded8: Pulling fs layer 13:12:33 2f39f015ded8: Waiting 13:12:33 33b1e0a273af: Waiting 13:12:33 5d3b04190fa2: Waiting 13:12:33 3a2ae6a8a46f: Waiting 13:12:33 5c69ac0246d0: Download complete 13:12:33 3a2ae6a8a46f: Verifying Checksum 13:12:33 3a2ae6a8a46f: Download complete 13:12:33 33b1e0a273af: Verifying Checksum 13:12:33 33b1e0a273af: Download complete 13:12:33 5d3b04190fa2: Verifying Checksum 13:12:33 5d3b04190fa2: Download complete 13:12:33 ec43610c2a17: Verifying Checksum 13:12:33 5eb5b503b376: Verifying Checksum 13:12:33 5eb5b503b376: Download complete 13:12:34 2f39f015ded8: Download complete 13:12:35 5eb5b503b376: Pull complete 13:12:35 5c69ac0246d0: Pull complete 13:12:35 ec43610c2a17: Pull complete 13:12:35 3a2ae6a8a46f: Pull complete 13:12:36 33b1e0a273af: Pull complete 13:12:36 5d3b04190fa2: Pull complete 13:12:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1152 in /w/workspace/ry_app-rfid-llrp-inventory_PR-85 [Pipeline] { [Pipeline] ws 13:12:38 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 13:12:38 The recommended git tool is: git 13:12:40 2f39f015ded8: Pull complete 13:12:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:40 prd-ubuntu20.04-docker-8c-8g-1150 does not seem to be running inside a container 13:12:40 $ 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/ry_app-rfid-llrp-inventory_PR-85 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85:/w/workspace/ry_app-rfid-llrp-inventory_PR-85:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@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:12:42 $ docker top 044fb5a53397e4d7a7a18cd57fd7e42cf17bf23101918dc3618ad14692569d99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:42 ---> job-cost.sh 13:12:42 lf-activate-venv: SKIPPING 13:12:42 INFO: No Stack... 13:12:43 INFO: Retrieving Pricing Info for: v3-standard-8 13:12:43 INFO: Archiving Costs [Pipeline] sh 13:12:43 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-85/archives/cost.csv 13:12:43 + cut -d, -f6 [Pipeline] lock 13:12:43 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] 13:12:43 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] did not exist. Created. 13:12:43 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:12:44 using credential edgex-jenkins-ssh 13:12:44 + echo total: 0.2199999988079071 13:12:44 Cloning the remote Git repository [Pipeline] stash 13:12:44 Stashed 1 file(s) [Pipeline] } 13:12:44 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:12:44 $ docker stop --time=1 044fb5a53397e4d7a7a18cd57fd7e42cf17bf23101918dc3618ad14692569d99 13:12:44 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:12:44 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 13:12:44 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:12:44 > git --version # timeout=10 13:12:44 > git --version # 'git version 2.25.1' 13:12:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:12:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:12:45 $ docker rm -f 044fb5a53397e4d7a7a18cd57fd7e42cf17bf23101918dc3618ad14692569d99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:12:47 Merging remotes/origin/main commit ea61fea914ab8199b883f73cbe196a6b29cde9f7 into PR head commit 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b 13:12:46 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:12:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:12:46 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 13:12:46 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 13:12:46 using GIT_SSH to set credentials SSH Credentials for GitHub 13:12:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:12:47 > git config core.sparsecheckout # timeout=10 13:12:47 > git checkout -f 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b # timeout=10 13:12:47 > git remote # timeout=10 13:12:47 > git config --get remote.origin.url # timeout=10 13:12:47 using GIT_SSH to set credentials SSH Credentials for GitHub 13:12:47 > git merge ea61fea914ab8199b883f73cbe196a6b29cde9f7 # timeout=10 13:12:47 > git rev-parse HEAD^{commit} # timeout=10 13:12:47 Merge succeeded, producing 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b 13:12:47 Checking out Revision 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b (PR-85) 13:12:47 > git config core.sparsecheckout # timeout=10 13:12:47 > git checkout -f 4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b # timeout=10 13:12:51 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" 13:12:51 > git --version # timeout=10 13:12:51 > git --version # 'git version 2.25.1' 13:12:51 fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:12:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:12:52 % Total % Received % Xferd Average Speed Time Time Time Current 13:12:52 Dload Upload Total Spent Left Speed 13:12:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh 13:12:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:12:54 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 13:12:54 /etc/docker/daemon.json 13:12:54 { 13:12:54 "registry-mirrors": [ 13:12:54 "https://nexus3.edgexfoundry.org:10001" 13:12:54 ], 13:12:54 "bip": "10.250.0.254/24", 13:12:54 "hosts": [ 13:12:54 "tcp://0.0.0.0:5555", 13:12:54 "unix:///var/run/docker.sock" 13:12:54 ], 13:12:54 "mtu": 1458, 13:12:54 "selinux-enabled": true, 13:12:54 "seccomp-profile": "/etc/docker/seccomp.json" 13:12:54 } [Pipeline] sh 13:12:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:12:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:13 provisioning config files... 13:13:13 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config6864876008509799952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:13 ---> docker-login.sh 13:13:13 nexus3.edgexfoundry.org:10001 13:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:14 Configure a credential helper to remove this warning. See 13:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:14 13:13:14 Login Succeeded 13:13:14 nexus3.edgexfoundry.org:10002 13:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:14 Configure a credential helper to remove this warning. See 13:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:14 13:13:14 Login Succeeded 13:13:14 nexus3.edgexfoundry.org:10003 13:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:15 Configure a credential helper to remove this warning. See 13:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:15 13:13:15 Login Succeeded 13:13:15 nexus3.edgexfoundry.org:10004 13:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:15 Configure a credential helper to remove this warning. See 13:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:15 13:13:15 Login Succeeded 13:13:15 docker.io 13:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:16 Configure a credential helper to remove this warning. See 13:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:16 13:13:16 Login Succeeded 13:13:16 ---> docker-login.sh ends [Pipeline] } 13:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:16 ========================================================= 13:13:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:13:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:13:17 Sending build context to Docker daemon 687.6kB 13:13:17 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:13:17 Step 2/13 : FROM ${BASE} AS builder 13:13:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:13:17 9b3977197b4f: Pulling fs layer 13:13:17 1a89e8eeedd5: Pulling fs layer 13:13:17 94645a83ff95: Pulling fs layer 13:13:17 e6fb740bc735: Pulling fs layer 13:13:17 3a77bd46dcc9: Pulling fs layer 13:13:17 355e64cbe906: Pulling fs layer 13:13:17 63ab81a10011: Pulling fs layer 13:13:17 555d1d1c4555: Pulling fs layer 13:13:17 7d9057610161: Pulling fs layer 13:13:17 e6fb740bc735: Waiting 13:13:17 3a77bd46dcc9: Waiting 13:13:17 355e64cbe906: Waiting 13:13:17 63ab81a10011: Waiting 13:13:17 555d1d1c4555: Waiting 13:13:17 7d9057610161: Waiting 13:13:17 94645a83ff95: Download complete 13:13:17 1a89e8eeedd5: Verifying Checksum 13:13:17 1a89e8eeedd5: Download complete 13:13:17 3a77bd46dcc9: Verifying Checksum 13:13:17 3a77bd46dcc9: Download complete 13:13:17 355e64cbe906: Verifying Checksum 13:13:17 355e64cbe906: Download complete 13:13:17 9b3977197b4f: Verifying Checksum 13:13:17 9b3977197b4f: Download complete 13:13:17 63ab81a10011: Verifying Checksum 13:13:17 63ab81a10011: Download complete 13:13:18 9b3977197b4f: Pull complete 13:13:18 7d9057610161: Verifying Checksum 13:13:18 7d9057610161: Download complete 13:13:19 1a89e8eeedd5: Pull complete 13:13:19 94645a83ff95: Pull complete 13:13:20 555d1d1c4555: Verifying Checksum 13:13:20 555d1d1c4555: Download complete 13:13:20 e6fb740bc735: Verifying Checksum 13:13:20 e6fb740bc735: Download complete 13:13:33 e6fb740bc735: Pull complete 13:13:33 3a77bd46dcc9: Pull complete 13:13:33 355e64cbe906: Pull complete 13:13:33 63ab81a10011: Pull complete 13:13:40 555d1d1c4555: Pull complete 13:13:42 7d9057610161: Pull complete 13:13:42 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 13:13:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:13:42 ---> 819e984ddca1 13:13:42 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:13:42 ---> Running in ed74ec96f1c0 13:13:43 Removing intermediate container ed74ec96f1c0 13:13:43 ---> d5830ab953db 13:13:43 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:13:43 ---> Running in 63f6bfe9c864 13:13:43 Removing intermediate container 63f6bfe9c864 13:13:43 ---> 853db4941b4c 13:13:43 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:13:43 ---> Running in 7ec79db7f98c 13:13:45 Removing intermediate container 7ec79db7f98c 13:13:45 ---> 5f1be892d29b 13:13:45 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:13:45 ---> Running in 0cb7243ab7ae 13:13:46 Removing intermediate container 0cb7243ab7ae 13:13:46 ---> 992c16371bdf 13:13:46 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:13:46 ---> Running in 0d46790c0607 13:13:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:13:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:13:49 OK: 220 MiB in 52 packages 13:13:50 Removing intermediate container 0d46790c0607 13:13:50 ---> 0c7554f293a4 13:13:50 Step 8/13 : WORKDIR /app 13:13:50 ---> Running in b2fb707394d4 13:13:50 Removing intermediate container b2fb707394d4 13:13:50 ---> 0bc8db704348 13:13:50 Step 9/13 : COPY go.mod vendor* ./ 13:13:51 ---> 4dca6c135625 13:13:51 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:13:51 ---> Running in 3b9450d9de0f 13:14:38 Removing intermediate container 3b9450d9de0f 13:14:38 ---> d3d026212975 13:14:38 Step 11/13 : COPY . . 13:14:38 ---> 45ca04469479 13:14:38 Step 12/13 : ARG MAKE="make build" 13:14:38 ---> Running in f7236ba8ba42 13:14:38 Removing intermediate container f7236ba8ba42 13:14:38 ---> d0f4f0a30e4f 13:14:38 Step 13/13 : RUN $MAKE 13:14:38 ---> Running in 51b61ce3e58c 13:14:38 noop 13:14:38 Removing intermediate container 51b61ce3e58c 13:14:38 ---> bf4d18c94f5a 13:14:38 Successfully built bf4d18c94f5a 13:14:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:38 + docker inspect -f . ci-base-image-arm64 13:14:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:38 prd-ubuntu20.04-docker-arm64-4c-16g-1152 does not seem to be running inside a container 13:14:38 $ 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:14:40 $ docker top efc029e885ac44ea0bc49a3adf7c89f3ec8fbef687298e539857e809458fa830 -eo pid,comm [Pipeline] { [Pipeline] sh 13:14:41 + go version 13:14:41 go version go1.17.7 linux/arm64 [Pipeline] } 13:14:41 $ docker stop --time=1 efc029e885ac44ea0bc49a3adf7c89f3ec8fbef687298e539857e809458fa830 13:14:42 $ docker rm -f efc029e885ac44ea0bc49a3adf7c89f3ec8fbef687298e539857e809458fa830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:14:43 + docker inspect -f . ci-base-image-arm64 13:14:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:14:44 prd-ubuntu20.04-docker-arm64-4c-16g-1152 does not seem to be running inside a container 13:14:44 $ 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:14:45 $ docker top 2094b07df34564eb8712022f01f00abd27e31490c0eaf410a113c2dc5e030816 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:14:46 + make test 13:14:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:16:23 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 13:16:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.186s coverage: 86.2% of statements 13:16:23 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 13:16:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.696s coverage: 71.9% of statements 13:16:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:16:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:16:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:16:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:16:38 ./bin/test-attribution.sh [Pipeline] echo 13:16:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:16:41 $ docker stop --time=1 2094b07df34564eb8712022f01f00abd27e31490c0eaf410a113c2dc5e030816 13:16:42 $ docker rm -f 2094b07df34564eb8712022f01f00abd27e31490c0eaf410a113c2dc5e030816 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:16:43 Warning: overwriting stash ‘coverage-report’ 13:16:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:16:45 + ls -al . 13:16:45 total 224 13:16:45 drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 13:16 . 13:16:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 13:12 .. 13:16:45 -rw-rw-r-- 1 jenkins jenkins 262 Jun 6 13:12 .dockerignore 13:16:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 13:12 .git 13:16:45 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 13:12 .github 13:16:45 -rw-rw-r-- 1 jenkins jenkins 788 Jun 6 13:12 .gitignore 13:16:45 -rw-rw-r-- 1 jenkins jenkins 41 Jun 6 13:12 .golangci.yml 13:16:45 -rw-rw-r-- 1 jenkins jenkins 9410 Jun 6 13:12 Attribution.txt 13:16:45 -rw-rw-r-- 1 jenkins jenkins 2487 Jun 6 13:12 CHANGELOG.md 13:16:45 -rw-rw-r-- 1 jenkins jenkins 1933 Jun 6 13:12 Dockerfile 13:16:45 -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 13:12 GOVERNANCE.md 13:16:45 -rw-rw-r-- 1 jenkins jenkins 687 Jun 6 13:12 Jenkinsfile 13:16:45 -rw-rw-r-- 1 jenkins jenkins 11347 Jun 6 13:12 LICENSE 13:16:45 -rw-rw-r-- 1 jenkins jenkins 2949 Jun 6 13:12 Makefile 13:16:45 -rw-rw-r-- 1 jenkins jenkins 617 Jun 6 13:12 OWNERS.md 13:16:45 -rw-rw-r-- 1 jenkins jenkins 30359 Jun 6 13:12 README.md 13:16:45 -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 13:10 VERSION 13:16:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 13:12 bin 13:16:45 -rw-r--r-- 1 jenkins jenkins 41008 Jun 6 13:16 coverage.out 13:16:45 -rw-rw-r-- 1 jenkins jenkins 3424 Jun 6 13:12 go.mod 13:16:45 -rw-rw-r-- 1 jenkins jenkins 35581 Jun 6 13:12 go.sum 13:16:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 13:12 images 13:16:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 13:12 internal 13:16:45 -rw-rw-r-- 1 jenkins jenkins 531 Jun 6 13:12 main.go 13:16:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 13:12 res 13:16:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 13:12 snap 13:16:45 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 13:12 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:45 + 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=4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b --label arch=arm64 --label version=0.0.0 . 13:16:46 Sending build context to Docker daemon 687.6kB 13:16:46 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 13:16:46 Step 2/31 : FROM ${BASE} AS builder 13:16:46 ---> bf4d18c94f5a 13:16:46 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:16:46 ---> Running in 6b796f658517 13:16:46 Removing intermediate container 6b796f658517 13:16:46 ---> 68a5dd0e1f93 13:16:46 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 13:16:46 ---> Running in 2e98175ec54a 13:16:46 Removing intermediate container 2e98175ec54a 13:16:46 ---> 6808403def55 13:16:46 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:16:46 ---> Running in 7b058608fab3 13:16:47 Removing intermediate container 7b058608fab3 13:16:47 ---> 563ea7713bd8 13:16:47 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:16:47 ---> Running in c0f280395f64 13:16:49 Removing intermediate container c0f280395f64 13:16:49 ---> 4adc0df5e721 13:16:49 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:16:49 ---> Running in 3fb3ccdbb225 13:16:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:16:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:16:51 OK: 220 MiB in 52 packages 13:16:52 Removing intermediate container 3fb3ccdbb225 13:16:52 ---> b7bd937a85e6 13:16:52 Step 8/31 : WORKDIR /app 13:16:52 ---> Running in 0da0f36ca3c8 13:16:52 Removing intermediate container 0da0f36ca3c8 13:16:52 ---> c225a6b6495b 13:16:52 Step 9/31 : COPY go.mod vendor* ./ 13:16:53 ---> 2b1991bf51dc 13:16:53 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:16:53 ---> Running in f22dd4bc74f3 13:16:55 Removing intermediate container f22dd4bc74f3 13:16:55 ---> 4c68d59628e5 13:16:55 Step 11/31 : COPY . . 13:16:55 ---> 57cf6b47bd90 13:16:55 Step 12/31 : ARG MAKE="make build" 13:16:55 ---> Running in 145d94b0435e 13:16:56 Removing intermediate container 145d94b0435e 13:16:56 ---> 4e5a9a0e619f 13:16:56 Step 13/31 : RUN $MAKE 13:16:56 ---> Running in 1ab5436a74c0 13:16:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -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:19:04 Removing intermediate container 1ab5436a74c0 13:19:04 ---> 9c53b4b90a8d 13:19:04 Step 14/31 : FROM alpine:3.14 13:19:04 3.14: Pulling from library/alpine 13:19:04 455c02918c45: Pulling fs layer 13:19:04 455c02918c45: Verifying Checksum 13:19:04 455c02918c45: Download complete 13:19:04 455c02918c45: Pull complete 13:19:04 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:19:04 Status: Downloaded newer image for alpine:3.14 13:19:04 ---> ac73e934f311 13:19:04 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:19:04 ---> Running in ea76815628a6 13:19:04 Removing intermediate container ea76815628a6 13:19:04 ---> 8b4d836fe1ba 13:19:04 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 13:19:04 ---> Running in 7ab0f1349799 13:19:04 Removing intermediate container 7ab0f1349799 13:19:04 ---> 5530edce2721 13:19:04 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:19:04 ---> Running in ae1a6d962abb 13:19:04 Removing intermediate container ae1a6d962abb 13:19:04 ---> 1e348244c7aa 13:19:04 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq dumb-init 13:19:04 ---> Running in f90465788e2a 13:19:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:19:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:19:04 (1/7) Installing ca-certificates (20211220-r0) 13:19:04 (2/7) Installing dumb-init (1.2.5-r1) 13:19:04 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:19:04 (4/7) Installing libsodium (1.0.18-r0) 13:19:04 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:19:04 (6/7) Installing libzmq (4.3.4-r0) 13:19:04 (7/7) Installing zeromq (4.3.4-r0) 13:19:04 Executing busybox-1.33.1-r7.trigger 13:19:04 Executing ca-certificates-20211220-r0.trigger 13:19:04 OK: 9 MiB in 21 packages 13:19:04 Removing intermediate container f90465788e2a 13:19:04 ---> 876b5a9ef112 13:19:04 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:19:04 ---> 23cd54ac9515 13:19:04 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 13:19:04 ---> e9d96e8a3bcd 13:19:04 Step 21/31 : COPY --from=builder /app/res/ /res/ 13:19:04 ---> 8211c347873b 13:19:04 Step 22/31 : COPY --from=builder /app/static/ /static/ 13:19:04 ---> d6cd9e79facf 13:19:04 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 13:19:06 ---> 6cc4598c9f3d 13:19:06 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 13:19:06 ---> Running in 1def688dd31f 13:19:07 Removing intermediate container 1def688dd31f 13:19:07 ---> 1ee53ba5f485 13:19:07 Step 25/31 : VOLUME /cache 13:19:07 ---> Running in 055fe48ea8cd 13:19:08 Removing intermediate container 055fe48ea8cd 13:19:08 ---> d5f8bf9e3c56 13:19:08 Step 26/31 : EXPOSE 59711 13:19:08 ---> Running in f310f6ef30d9 13:19:08 Removing intermediate container f310f6ef30d9 13:19:08 ---> 3eff43785a77 13:19:08 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 13:19:08 ---> Running in 7f267c071ffb 13:19:08 Removing intermediate container 7f267c071ffb 13:19:08 ---> 8c42e40d0eac 13:19:08 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 13:19:08 ---> Running in 26e094d71e49 13:19:09 Removing intermediate container 26e094d71e49 13:19:09 ---> 1f8a4f6553a9 13:19:09 Step 29/31 : LABEL arch=arm64 13:19:09 ---> Running in 90e1cc2f4e76 13:19:09 Removing intermediate container 90e1cc2f4e76 13:19:09 ---> 44864574d1a0 13:19:09 Step 30/31 : LABEL git_sha=4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b 13:19:09 ---> Running in 0194a6b77829 13:19:10 Removing intermediate container 0194a6b77829 13:19:10 ---> 7d2a6a239812 13:19:10 Step 31/31 : LABEL version=0.0.0 13:19:10 ---> Running in 93ef8af0d566 13:19:10 Removing intermediate container 93ef8af0d566 13:19:10 ---> 414b66872c52 13:19:10 [Warning] One or more build-args [ARCH] were not consumed 13:19:10 Successfully built 414b66872c52 13:19:10 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:19:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:19:11 13:19:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:19:11 arm64: Pulling from edgex-lftools-log-publisher 13:19:11 8998bd30e6a1: Pulling fs layer 13:19:11 04944245beec: Pulling fs layer 13:19:11 699f458cf7ca: Pulling fs layer 13:19:11 765212b225bb: Pulling fs layer 13:19:11 f23df028b6ca: Pulling fs layer 13:19:11 d65c8cfc05b1: Pulling fs layer 13:19:11 2437ff75d9bd: Pulling fs layer 13:19:11 f23df028b6ca: Waiting 13:19:11 d65c8cfc05b1: Waiting 13:19:11 2437ff75d9bd: Waiting 13:19:11 765212b225bb: Waiting 13:19:11 04944245beec: Verifying Checksum 13:19:11 04944245beec: Download complete 13:19:11 765212b225bb: Verifying Checksum 13:19:11 765212b225bb: Download complete 13:19:11 f23df028b6ca: Verifying Checksum 13:19:11 f23df028b6ca: Download complete 13:19:11 d65c8cfc05b1: Verifying Checksum 13:19:11 d65c8cfc05b1: Download complete 13:19:12 699f458cf7ca: Verifying Checksum 13:19:12 699f458cf7ca: Download complete 13:19:12 8998bd30e6a1: Verifying Checksum 13:19:12 8998bd30e6a1: Download complete 13:19:15 2437ff75d9bd: Verifying Checksum 13:19:15 2437ff75d9bd: Download complete 13:19:16 8998bd30e6a1: Pull complete 13:19:17 04944245beec: Pull complete 13:19:18 699f458cf7ca: Pull complete 13:19:18 765212b225bb: Pull complete 13:19:19 f23df028b6ca: Pull complete 13:19:19 d65c8cfc05b1: Pull complete 13:19:34 2437ff75d9bd: Pull complete 13:19:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:19:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:19:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:35 prd-ubuntu20.04-docker-arm64-4c-16g-1152 does not seem to be running inside a container 13:19:35 $ 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:19:37 $ docker top 38f9b98dd0791216794c0a0202af7133304380b37982dcf6914285b372dbf37d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:38 ---> job-cost.sh 13:19:38 lf-activate-venv: SKIPPING 13:19:38 INFO: No Stack... 13:19:39 INFO: Retrieving Pricing Info for: v3-standard-4 13:19:39 INFO: Archiving Costs [Pipeline] sh 13:19:40 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 13:19:40 + cut -d, -f6 [Pipeline] lock 13:19:40 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] 13:19:40 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] did not exist. Created. 13:19:40 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:19:41 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-1f9fd937/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:19:42 + echo total: 0.10999999940395355 [Pipeline] stash 13:19:42 Warning: overwriting stash ‘stack-cost’ 13:19:42 Stashed 1 file(s) [Pipeline] } 13:19:42 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:19:42 $ docker stop --time=1 38f9b98dd0791216794c0a0202af7133304380b37982dcf6914285b372dbf37d 13:19:43 $ docker rm -f 38f9b98dd0791216794c0a0202af7133304380b37982dcf6914285b372dbf37d [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:19:45 provisioning config files... 13:19:45 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/config4916144008369756444tmp [Pipeline] { [Pipeline] sh 13:19:45 + set +x 13:19:45 + curl -s https://codecov.io/bash 13:19:45 + bash -s -- 13:19:45 13:19:45 _____ _ 13:19:45 / ____| | | 13:19:45 | | ___ __| | ___ ___ _____ __ 13:19:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:19:45 | |___| (_) | (_| | __/ (_| (_) \ V / 13:19:45 \_____\___/ \__,_|\___|\___\___/ \_/ 13:19:45 Bash-1.0.6 13:19:45 13:19:45 13:19:45 ==> git version 2.25.1 found 13:19:45 ==> 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:19:45 Release-Date: 2020-01-08 13:19:45 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:19:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:19:45 ==> Jenkins CI detected. 13:19:45 current dir:  /w/workspace/ry_app-rfid-llrp-inventory_PR-85 13:19:45 project root: . 13:19:45 --> token set from env 13:19:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:19:45 ==> Running gcov in . (disable via -X gcov) 13:19:45 ==> Python coveragepy not found 13:19:45 ==> Searching for coverage reports in: 13:19:45 + . 13:19:45 -> Found 1 reports 13:19:45 ==> Detecting git/mercurial file structure 13:19:45 ==> Reading reports 13:19:45 + ./coverage.out bytes=41008 13:19:45 ==> Appending adjustments 13:19:45 https://docs.codecov.io/docs/fixing-reports 13:19:45 + Found adjustments 13:19:45 ==> Gzipping contents 13:19:45 12K /tmp/codecov.G0LRCZ.gz 13:19:45 ==> Uploading reports 13:19:45 url: https://codecov.io 13:19:45 query: branch=PR-85&commit=4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=85&job=&cmd_args= 13:19:45 -> Pinging Codecov 13:19:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-85&commit=4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=85&job=&cmd_args= 13:19:45 -> Uploading to 13:19:45 https://storage.googleapis.com/codecov/v4/raw/2022-06-06/581DD39554BDF9B6E22D074273EAD858/4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b/44b0aeb4-0534-4d67-aa77-7f0d9eca2643.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220606%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220606T131945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b1354418734d49e0381b0bfe841ee69e5a2ce6035af7aa768116e3908792093 13:19:45 % Total % Received % Xferd Average Speed Time Time Time Current 13:19:45 Dload Upload Total Spent Left Speed 13:19:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11478 0 0 100 11478 0 49474 --:--:-- --:--:-- --:--:-- 49688 13:19:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/4f694fcadf1bdd520c2281a2e7285fc4d7e7c61b [Pipeline] } 13:19:46 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:19:47 + [ -d /w/workspace/ry_app-rfid-llrp-inventory_PR-85/archives ] 13:19:47 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-85/archives 13:19:47 total 16 13:19:47 drwxr-xr-x 3 root root 4096 Jun 6 13:12 . 13:19:47 drwxrwxr-x 12 jenkins jenkins 4096 Jun 6 13:12 .. 13:19:47 drwxr-xr-x 2 root root 4096 Jun 6 13:12 cost 13:19:47 -rw-r--r-- 1 root root 93 Jun 6 13:12 cost.csv 13:19:47 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-85/archives 13:19:47 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-85/archives 13:19:47 total 16 13:19:47 drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 13:12 . 13:19:47 drwxrwxr-x 12 jenkins jenkins 4096 Jun 6 13:12 .. 13:19:47 drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 13:12 cost 13:19:47 -rw-r--r-- 1 jenkins jenkins 93 Jun 6 13:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:19:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:19:49 ---> package-listing.sh 13:19:49 ++ facter osfamily 13:19:49 ++ tr '[:upper:]' '[:lower:]' 13:19:49 + OS_FAMILY=debian 13:19:49 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-85 13:19:49 + START_PACKAGES=/tmp/packages_start.txt 13:19:49 + END_PACKAGES=/tmp/packages_end.txt 13:19:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:19:49 + PACKAGES=/tmp/packages_start.txt 13:19:49 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-85 ']' 13:19:49 + PACKAGES=/tmp/packages_end.txt 13:19:49 + case "${OS_FAMILY}" in 13:19:49 + dpkg -l 13:19:49 + grep '^ii' 13:19:49 + '[' -f /tmp/packages_start.txt ']' 13:19:49 + '[' -f /tmp/packages_end.txt ']' 13:19:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:19:49 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-85 ']' 13:19:49 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-85/archives/ 13:19:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-85/archives/ [Pipeline] echo 13:19:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:19:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:19:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:50 prd-ubuntu20.04-docker-8c-8g-1150 does not seem to be running inside a container 13:19:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-85 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85:/w/workspace/ry_app-rfid-llrp-inventory_PR-85:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@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:19:50 $ docker top c55791337e5743e79d4834c62cfdff71389daf96b70bbe865f749dfe48d40c28 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:51 + touch /tmp/pre-build-complete [Pipeline] sh 13:19:51 + mkdir -p /var/log/sysstat [Pipeline] sh 13:19:51 + ls /var/log/sa-host 13:19:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:52 provisioning config files... 13:19:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-85@tmp/config123302806620932933tmp [Pipeline] { [Pipeline] echo 13:19:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:19:52 ---> create-netrc.sh [Pipeline] } 13:19:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:19:52 ---> python-tools-install.sh [Pipeline] echo 13:19:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:19:53 ---> sudo-logs.sh 13:19:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:19:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:19:53 ---> job-cost.sh 13:19:53 lf-activate-venv: SKIPPING 13:19:53 DEBUG: total: 0.2199999988079071 13:19:53 INFO: Retrieving Stack Cost... 13:19:54 INFO: Retrieving Pricing Info for: v3-standard-8 13:19:54 INFO: Archiving Costs [Pipeline] echo 13:19:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:19:54 ---> logs-deploy.sh 13:19:54 lf-activate-venv: SKIPPING 13:19:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-85/1 13:19:54 INFO: archiving workspace using pattern(s): 13:19:55 Archives upload complete. 13:19:55 INFO: archiving logs to Nexus